'3.5问题修复'

This commit is contained in:
hhl123456789
2024-03-05 16:29:54 +08:00
parent 9fbd20a098
commit fc0272dca0
2 changed files with 15 additions and 2 deletions
@@ -47,8 +47,15 @@ export default {
watch: { watch: {
mediatorVisable(val) { mediatorVisable(val) {
if (val) { if (val) {
listMediator().then(res=>{ listMediator({caseAppliId: this.mediatorData.id}).then(res=>{
this.tableData = res.data; this.tableData = res.data;
this.tableData.forEach((item)=> {
if (item.echoFlag) {
this.$nextTick(()=>{
this.$refs.multipleTable.toggleRowSelection(item, true);
})
}
})
}) })
} }
} }
@@ -88,7 +95,6 @@ export default {
}, },
handleSelectionChange(val) { handleSelectionChange(val) {
this.multipleSelection = val; this.multipleSelection = val;
// console.log(this.multipleSelection,"LLLLLLLLLLLLLLLLL");
} }
}, },
}; };
+7
View File
@@ -35,6 +35,13 @@ export default {
iconHead: process.env.VUE_APP_BASE_API iconHead: process.env.VUE_APP_BASE_API
}; };
}, },
watch: {
$route(val) {
if (val) {
this.gettodoCount();
}
}
},
created() { created() {
this.gettodoCount(); this.gettodoCount();
}, },