执法计划导出修复

zhangtao
laozt 1 year ago
parent 21c2f4ecf8
commit b9c512f673

@ -25,7 +25,7 @@
size="small"
/>
</el-form-item>
<el-form-item label="月份" prop="">
<el-form-item label="月份" prop="plannedMonth">
<el-select
v-model="plannedMonth"
multiple
@ -448,7 +448,7 @@ export default {
// console.log(e.join(','));
this.form.plannedMonth = e.join(",");
this.searchBefore = { ...this.searchBefore, ...this.form };
this.getList();
// this.getList();
},
filterTable(a, b) {
if (!b) return;
@ -487,6 +487,7 @@ export default {
pageSize: 10,
pageNum: 1,
plannedMonth: "",
status: 1,
};
this.plannedMonth = "";

@ -424,36 +424,36 @@ export default {
this.infoData = infoObj;
});
// getByUuto(row.enterpriseId.trim()).then((res) => {
// console.log(res.data);
// let infoObj = res.data;
//
// infoObj["aboveDesignated"] =
// infoObj.aboveDesignated == 1 ? "" : "";
// infoObj["riskReport"] = infoObj.riskReport == 1 ? "" : "";
// infoObj["aboveDesignatedTwo"] =
// infoObj.aboveDesignatedTwo == 1
// ? ""
// : infoObj.aboveDesignatedTwo == 2
// ? ""
// : infoObj.aboveDesignatedTwo == 3
// ? ""
// : infoObj.aboveDesignatedTwo == 4
// ? ""
// : "";
// infoObj["supervisionLarge"] = this.supervisionLarge(
// infoObj.supervisionLarge
// );
// infoObj["district"] =
// this.componendDistrict(infoObj.subdistrict) || "/";
// console.log(res.data);
// let infoObj = res.data;
//
// infoObj["aboveDesignated"] =
// infoObj.aboveDesignated == 1 ? "" : "";
// infoObj["riskReport"] = infoObj.riskReport == 1 ? "" : "";
// infoObj["aboveDesignatedTwo"] =
// infoObj.aboveDesignatedTwo == 1
// ? ""
// : infoObj.aboveDesignatedTwo == 2
// ? ""
// : infoObj.aboveDesignatedTwo == 3
// ? ""
// : infoObj.aboveDesignatedTwo == 4
// ? ""
// : "";
// infoObj["supervisionLarge"] = this.supervisionLarge(
// infoObj.supervisionLarge
// );
// infoObj["district"] =
// this.componendDistrict(infoObj.subdistrict) || "/";
// infoObj["createTime"] = this.$moment(infoObj.createTime).format(
// "yyyy-MM-DD"
// );
// infoObj["updateTime"] = this.$moment(infoObj.createTime).format(
// "yyyy-MM-DD"
// );
// infoObj["createTime"] = this.$moment(infoObj.createTime).format(
// "yyyy-MM-DD"
// );
// infoObj["updateTime"] = this.$moment(infoObj.createTime).format(
// "yyyy-MM-DD"
// );
// this.infoData = infoObj;
// this.infoData = infoObj;
// });
},
supervisionLarge(value) {

@ -376,7 +376,7 @@ export default {
multipleChange(e) {
// console.log(e.join(","));
this.queryParams.plannedMonth = e.join(",");
this.getList();
// this.getList();
},
handleQuery() {
this.queryParams.pageNum = 1;

@ -459,7 +459,6 @@ export default {
},
//
handleExport() {
// this.multipleSelection.length > 0 ? `` :
this.$confirm(`确认根据您的搜索条件导出搜索之后的数据吗?`, "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
@ -469,8 +468,7 @@ export default {
this.download(
"/pharmaceuticals/bPlanEnterprise/exportplan",
{
...this.form,
district: this.district,
...this.queryParams,
},
`计划管理.xlsx`
);

Loading…
Cancel
Save