提交 01d61031 编写于 作者: zhentian.jia's avatar zhentian.jia

resetpeople

上级 ac3ed3f6
...@@ -2012,6 +2012,12 @@ export default { ...@@ -2012,6 +2012,12 @@ export default {
this.changedEcology2 this.changedEcology2
); );
}, },
resetPeople() {
this.checkTableState.multiplePerson = "";
this.lookedPerson = [];
this.changedPerson = [];
this.changedPerson2 = [];
},
//设定机构table全选 //设定机构table全选
checkAll(flag, name) { checkAll(flag, name) {
if (name == "multipleOrganization") { if (name == "multipleOrganization") {
...@@ -2035,8 +2041,9 @@ export default { ...@@ -2035,8 +2041,9 @@ export default {
this.lookedOrganization, this.lookedOrganization,
this.changedOrganization2 this.changedOrganization2
); );
//机构影响人员
this.checkAll(true,'multiplePerson'); //this.checkAll(true,'multiplePerson');
this.resetPeople();
} else { } else {
this.$refs[name].clearSelection(); this.$refs[name].clearSelection();
this.checkTableState[name] = false; this.checkTableState[name] = false;
...@@ -2046,8 +2053,9 @@ export default { ...@@ -2046,8 +2053,9 @@ export default {
this.lookedOrganization, this.lookedOrganization,
this.changedOrganization this.changedOrganization
); );
//机构影响人员
this.checkAll(false,'multiplePerson'); //this.checkAll(false,'multiplePerson');
this.resetPeople();
} }
//置空 //置空
} else if (name == "multiplePerson") { } else if (name == "multiplePerson") {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册