|
@@ -768,6 +768,49 @@
|
|
|
<template slot="title">
|
|
|
<p class="wrapTitle">财务数据</p>
|
|
|
</template>
|
|
|
+ <div class="m-wrap" v-permission="'export/EXPORT_OPERATING_REPORT_NEW'">
|
|
|
+ <div class="title">经营报表导出:</div>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="operatingMouth"
|
|
|
+ type="month"
|
|
|
+ placeholder="选择月"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ 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_REPORT_NEW"
|
|
|
+ :exportData="exportOperating"
|
|
|
+ fileName="经营报表"
|
|
|
+ errorMsg="请选择月份"
|
|
|
+ :flag="!this.operatingMouth"
|
|
|
+ />
|
|
|
+ <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/teacherSalary'">
|
|
|
<div class="title">课酬导出:</div>
|
|
|
<el-date-picker
|
|
@@ -1003,6 +1046,7 @@ export default {
|
|
|
trainingOrganId: [],
|
|
|
trainingTimer: [],
|
|
|
visitmouth: "",
|
|
|
+ operatingMouth:''
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -1827,6 +1871,10 @@ export default {
|
|
|
let data = { date: this.mouth };
|
|
|
return data;
|
|
|
},
|
|
|
+ exportOperating(){
|
|
|
+ let data = { date: this.operatingMouth };
|
|
|
+ return data;
|
|
|
+ },
|
|
|
exportVisit() {
|
|
|
let data = { month: this.visitmouth };
|
|
|
return data;
|