执法计划导出修复

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 = "";

@ -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