|
@@ -19,22 +19,12 @@
|
|
|
<print-table-btn @click="printTable" />
|
|
<print-table-btn @click="printTable" />
|
|
|
|
|
|
|
|
<div style="display: flex; align-items: center;">
|
|
<div style="display: flex; align-items: center;">
|
|
|
- <year-month-select v-model="params.yearAndMonth"></year-month-select>
|
|
|
|
|
|
|
+ <year-month-select v-model="params.yearAndMonth" :showAllYear="false"></year-month-select>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
- <!-- 开始时间 -->
|
|
|
|
|
- <template slot="kssjSearch">
|
|
|
|
|
- <el-date-picker
|
|
|
|
|
- v-model="params.kssjRange"
|
|
|
|
|
- type="daterange"
|
|
|
|
|
- range-separator="至"
|
|
|
|
|
- start-placeholder="开始日期"
|
|
|
|
|
- end-placeholder="结束日期"
|
|
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
|
|
- style="width: 240px !important;"
|
|
|
|
|
- >
|
|
|
|
|
- </el-date-picker>
|
|
|
|
|
|
|
+ <template slot="footer">
|
|
|
|
|
+ <div>234</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
</avue-crud>
|
|
</avue-crud>
|
|
@@ -79,7 +69,6 @@ export default window.$crudCommon({
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- loadData() {},
|
|
|
|
|
handleExport() {
|
|
handleExport() {
|
|
|
exportBlob(`/api/kd-scientific/attendance/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
|
|
exportBlob(`/api/kd-scientific/attendance/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
|
|
|
downloadXls(res.data, `${this.params.yearAndMonth}研发费用汇总表.xlsx`);
|
|
downloadXls(res.data, `${this.params.yearAndMonth}研发费用汇总表.xlsx`);
|