@@ -412,6 +422,8 @@ export default {
multipleChange(e) {
// console.log(e.join(','));
this.form.plannedMouth = e.join(",");
+ this.searchBefore = { ...this.searchBefore, ...this.form };
+ this.getList();
},
filterTable(a, b) {
if (!b) return;
@@ -423,14 +435,10 @@ export default {
this.option.map((item) => {
if (item.value == district) {
name = item.label;
- // console.log(item);
- // console.log(district);
- // console.log(name);
} else {
item.children.map((itemTwo) => {
if (itemTwo.value == district) {
name = item.label + "-" + itemTwo.label;
- // console.log(name);
}
});
}
@@ -453,8 +461,11 @@ export default {
this.searchBefore = {
pageSize: 10,
pageNum: 1,
+ plannedMouth: "",
};
+ this.plannedMouth = "";
+ this.checkList = [""];
this.form.plannedYear = this.$moment(new Date()).format("yyyy");
this.searchBefore = { ...this.searchBefore, ...this.form };
},
@@ -467,6 +478,7 @@ export default {
this.addShow = false;
},
look(e) {
+ console.log(e);
this.addShow = true;
this.detailLoad = true;
enforcingGet(e.longId).then((res) => {
@@ -518,6 +530,7 @@ export default {
pageSize: 10,
pageNum: 1,
};
+ this.searchBefore.plannedMouth = this.plannedMouth;
this.searchBefore = { ...this.searchBefore, ...this.form };
this.getList();
},
@@ -585,6 +598,18 @@ export default {
mounted() {
this.checkListTwo = this.checkList;
},
+ filters: {
+ checkAgeing: function (value) {
+ switch (value) {
+ case 1:
+ return "当月";
+ case 2:
+ return "提前";
+ case 3:
+ return "滞后";
+ }
+ },
+ },
};