zhangtao
laozt 1 year ago
parent d26fc58d9b
commit e13e2a8884

@ -24,7 +24,7 @@
<div class="select-input"> <div class="select-input">
<div class="select-span">月份:</div> <div class="select-span">月份:</div>
<el-select <el-select
v-model="plannedMouth" v-model="plannedMonth"
multiple multiple
collapse-tags collapse-tags
style="margin-left: 20px" style="margin-left: 20px"
@ -285,12 +285,12 @@ export default {
form: { form: {
district: "", district: "",
plannedYear: "", plannedYear: "",
plannedMouth: "", plannedMonth: "",
// //
checkStatus: "", checkStatus: "",
enterpriseName: "", enterpriseName: "",
}, },
plannedMouth: "", plannedMonth: "",
checkList: [""], checkList: [""],
checkListTwo: [], checkListTwo: [],
listDes: [ listDes: [
@ -421,7 +421,7 @@ export default {
methods: { methods: {
multipleChange(e) { multipleChange(e) {
// console.log(e.join(',')); // console.log(e.join(','));
this.form.plannedMouth = e.join(","); this.form.plannedMonth = e.join(",");
this.searchBefore = { ...this.searchBefore, ...this.form }; this.searchBefore = { ...this.searchBefore, ...this.form };
this.getList(); this.getList();
}, },
@ -461,10 +461,10 @@ export default {
this.searchBefore = { this.searchBefore = {
pageSize: 10, pageSize: 10,
pageNum: 1, pageNum: 1,
plannedMouth: "", plannedMonth: "",
}; };
this.plannedMouth = ""; this.plannedMonth = "";
this.checkList = [""]; this.checkList = [""];
this.form.plannedYear = this.$moment(new Date()).format("yyyy"); this.form.plannedYear = this.$moment(new Date()).format("yyyy");
this.searchBefore = { ...this.searchBefore, ...this.form }; this.searchBefore = { ...this.searchBefore, ...this.form };
@ -530,7 +530,7 @@ export default {
pageSize: 10, pageSize: 10,
pageNum: 1, pageNum: 1,
}; };
this.searchBefore.plannedMouth = this.plannedMouth; this.searchBefore.plannedMonth = this.plannedMonth;
this.searchBefore = { ...this.searchBefore, ...this.form }; this.searchBefore = { ...this.searchBefore, ...this.form };
this.getList(); this.getList();
}, },

Loading…
Cancel
Save