Commit c048cd24 by zhangzhijie

功能效能评估报错问题修复

parent e6236cd2
export default { export default {
dateToStr(from) {
let date = new Date();
date.setTime(from);
let y = date.getFullYear();
let m = date.getMonth() + 1;
m = m < 10 ? "0" + m : m;
let d = date.getDate();
d = d < 10 ? "0" + d : d;
return y + '-' + m + '-' + d;
},
/** /**
* 时间戳转日期格式 * 时间戳转日期格式
* @param {Object} timeStamp * @param {Object} timeStamp
......
...@@ -102,15 +102,14 @@ ...@@ -102,15 +102,14 @@
</el-table-column </el-table-column
> >
<el-table-column align="center" label="案件侦办" <!-- <el-table-column align="center" label="案件侦办"-->
> <!-- >-->
<template slot-scope="{ row }" <!-- <template slot-scope="{ row }"-->
><span class="names" @click="goDetail(row, 'ajzbCount')">{{ <!-- ><span class="names" @click="goDetail(row, 'ajzbCount')">{{-->
row.ajzbCount <!-- row.ajzbCount-->
}}</span></template <!-- }}</span></template-->
> <!-- >-->
</el-table-column <!-- </el-table-column>-->
>
<el-table-column align="center" label="证据材料检查" <el-table-column align="center" label="证据材料检查"
> >
<template slot-scope="{ row }" <template slot-scope="{ row }"
...@@ -383,6 +382,8 @@ export default { ...@@ -383,6 +382,8 @@ export default {
this.initDate(); this.initDate();
}, },
exportFile() { exportFile() {
this.formData.djsjJssj = util.dateToStr(this.formData.djsjJssj);
this.formData.djsjKssj = util.dateToStr(this.formData.djsjKssj);
const {djsjJssj, djsjKssj, unitCode, yymcdm} = this.formData const {djsjJssj, djsjKssj, unitCode, yymcdm} = this.formData
this.qeruestFile(`/ywsjTj/exportDwczTj?djsjJssj=${djsjJssj}&djsjKssj=${djsjKssj}&unitCode=${unitCode}&yymcdm=${yymcdm}`).then((res) => { this.qeruestFile(`/ywsjTj/exportDwczTj?djsjJssj=${djsjJssj}&djsjKssj=${djsjKssj}&unitCode=${unitCode}&yymcdm=${yymcdm}`).then((res) => {
let blob = new Blob([res]); let blob = new Blob([res]);
......
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