Commit 98b77dc7 by zhangzhijie

单位效能分析导出错误修复

parent 619e6ffb
......@@ -102,14 +102,14 @@
</el-table-column
>
<!-- <el-table-column align="center" label="案件侦办"-->
<!-- >-->
<!-- <template slot-scope="{ row }"-->
<!-- ><span class="names" @click="goDetail(row, 'ajzbCount')">{{-->
<!-- row.ajzbCount-->
<!-- }}</span></template-->
<!-- >-->
<!-- </el-table-column>-->
<!-- <el-table-column align="center" label="案件侦办"-->
<!-- >-->
<!-- <template slot-scope="{ row }"-->
<!-- ><span class="names" @click="goDetail(row, 'ajzbCount')">{{-->
<!-- row.ajzbCount-->
<!-- }}</span></template-->
<!-- >-->
<!-- </el-table-column>-->
<el-table-column align="center" label="证据材料检查"
>
<template slot-scope="{ row }"
......@@ -195,14 +195,14 @@
>
</el-table-column
>
<!-- <el-table-column align="center" label="大屏统计"-->
<!-- >-->
<!-- <template slot-scope="{ row }"-->
<!-- ><span class="names" @click="goDetail(row, 'dptjCount')">{{-->
<!-- row.dptjCount-->
<!-- }}</span></template-->
<!-- >-->
<!-- </el-table-column>-->
<!-- <el-table-column align="center" label="大屏统计"-->
<!-- >-->
<!-- <template slot-scope="{ row }"-->
<!-- ><span class="names" @click="goDetail(row, 'dptjCount')">{{-->
<!-- row.dptjCount-->
<!-- }}</span></template-->
<!-- >-->
<!-- </el-table-column>-->
</el-table>
</div>
</div>
......@@ -381,9 +381,14 @@ export default {
this.initDate();
},
exportFile() {
this.formData.djsjJssj = util.dateToStr(this.formData.djsjJssj);
this.formData.djsjKssj = util.dateToStr(this.formData.djsjKssj);
if (this.formData.djsjJssj) {
this.formData.djsjJssj = util.dateToStr(this.formData.djsjJssj);
}
if (this.formData.djsjKssj) {
this.formData.djsjKssj = util.dateToStr(this.formData.djsjKssj);
}
const {djsjJssj, djsjKssj, unitCode, yymcdm} = this.formData
console.log(this.formData)
this.qeruestFile(`/ywsjTj/exportDwczTj?djsjJssj=${djsjJssj}&djsjKssj=${djsjKssj}&unitCode=${unitCode}&yymcdm=${yymcdm}`).then((res) => {
let blob = new Blob([res]);
let fileName = "单位操作统计.xlsx";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment