|
@@ -265,7 +265,8 @@
|
|
|
$helpers.permission('export/EXPORT_INDEX_HISTORY_ERR_DATA') ||
|
|
|
$helpers.permission('export/EXPORT_STUDENT_SUBCOURSE') ||
|
|
|
$helpers.permission('export/EXPORT_TRAINING_STATISTICS') ||
|
|
|
- $helpers.permission('export/EXPORT_OPERATING_VISIT_STATISTICS')
|
|
|
+ $helpers.permission('export/EXPORT_OPERATING_VISIT_STATISTICS') ||
|
|
|
+ $helpers.permission('export/CLOUD_COACH_ACTIVATION_DETAILS')
|
|
|
"
|
|
|
>
|
|
|
<template slot="title">
|
|
@@ -777,23 +778,6 @@
|
|
|
value-format="yyyy-MM"
|
|
|
class="organSelect"
|
|
|
></el-date-picker>
|
|
|
- <!-- <el-select v-model.trim="courseScheduleType"
|
|
|
- style="marginLeft:10px"
|
|
|
- filterable
|
|
|
- clearable
|
|
|
- multiple
|
|
|
- placeholder="课程类型">
|
|
|
- <el-option v-for="(item, index) in courseArray"
|
|
|
- :key="index"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value"></el-option>
|
|
|
- </el-select> -->
|
|
|
- <!-- <el-button
|
|
|
- style="margin-left: 10px"
|
|
|
- type="primary"
|
|
|
- @click="exportSalar"
|
|
|
- >导出</el-button
|
|
|
- > -->
|
|
|
<ExportChiose
|
|
|
style="margin-left: 10px"
|
|
|
ExportEnum="EXPORT_OPERATING_VISIT_STATISTICS"
|
|
@@ -802,14 +786,6 @@
|
|
|
errorMsg="请选择月份"
|
|
|
:flag="!this.visitmouth"
|
|
|
/>
|
|
|
- <!-- <el-tooltip placement="top" popper-class="mTooltip">
|
|
|
- <div slot="content">将只导出当前选择月份已结算的课程课酬。</div>
|
|
|
- <i
|
|
|
- class="el-icon-question micon el-tooltip"
|
|
|
- style="font-size: 18px; color: #f56c6c"
|
|
|
- v-permission="'export/teacherSalary'"
|
|
|
- ></i>
|
|
|
- </el-tooltip> -->
|
|
|
</div>
|
|
|
<div class="m-wrap" v-permission="'export/EXPORT_CLOUD_TEACHER_SUM'">
|
|
|
<div class="title">云教练统计导出:</div>
|
|
@@ -852,6 +828,47 @@
|
|
|
:isDownList="true"
|
|
|
/>
|
|
|
</div>
|
|
|
+
|
|
|
+ <div
|
|
|
+ class="m-wrap"
|
|
|
+ v-permission="'export/CLOUD_COACH_ACTIVATION_DETAILS'"
|
|
|
+ >
|
|
|
+ <div class="title">云教练激活明细:</div>
|
|
|
+ <select-all
|
|
|
+ v-model.trim="cloudAcivationOrganId"
|
|
|
+ class="organSelect"
|
|
|
+ style="width: 100%"
|
|
|
+ filterable
|
|
|
+ multiple
|
|
|
+ placeholder="请选择分部"
|
|
|
+ clearable
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in selects.branchs"
|
|
|
+ :key="index"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id"
|
|
|
+ ></el-option>
|
|
|
+ </select-all>
|
|
|
+
|
|
|
+ <el-date-picker
|
|
|
+ style="margin-left: 15px"
|
|
|
+ v-model="expotAcivationMouth"
|
|
|
+ type="month"
|
|
|
+ placeholder="选择月"
|
|
|
+ value-format="yyyy-MM"
|
|
|
+ class="organSelect"
|
|
|
+ ></el-date-picker>
|
|
|
+
|
|
|
+ <ExportChiose
|
|
|
+ style="margin-left: 10px"
|
|
|
+ ExportEnum="CLOUD_COACH_ACTIVATION_DETAILS"
|
|
|
+ :exportData="expotAcivationDetails"
|
|
|
+ fileName="云教练激活明细导出"
|
|
|
+ errorMsg="请选择分部"
|
|
|
+ :flag="this.cloudAcivationOrganId.length <= 0"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</el-collapse-item>
|
|
|
<el-collapse-item
|
|
|
name="3"
|
|
@@ -1261,6 +1278,10 @@ export default {
|
|
|
reportCountMouth: "",
|
|
|
oaDetailMouth: "",
|
|
|
oaCountMouth: "",
|
|
|
+
|
|
|
+ cloudAcivationOrganId: [],
|
|
|
+ expotAcivationMouth: "",
|
|
|
+
|
|
|
cloudTimer: [],
|
|
|
yunOrganId: [],
|
|
|
yunTimer: [
|
|
@@ -1740,6 +1761,13 @@ export default {
|
|
|
let data = { month: this.visitmouth };
|
|
|
return data;
|
|
|
},
|
|
|
+ expotAcivationDetails() {
|
|
|
+ let data = {
|
|
|
+ month: this.expotAcivationMouth,
|
|
|
+ organId: this.cloudAcivationOrganId.join(",")
|
|
|
+ };
|
|
|
+ return data;
|
|
|
+ },
|
|
|
exportAccount() {
|
|
|
let endTime, startTime;
|
|
|
if (this.AccountTimer && this.AccountTimer.length > 1) {
|