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

勾选人员wenti

上级 5bc4268d
...@@ -1509,6 +1509,7 @@ export default { ...@@ -1509,6 +1509,7 @@ export default {
let tabName = tab.name; let tabName = tab.name;
if (tabName == "second") { if (tabName == "second") {
//设定机构 //设定机构
this.formOrganization.pageNum = 1;
this.formOrganization.name =""; this.formOrganization.name ="";
this.formOrganization.administrativeIdList = ['0']; this.formOrganization.administrativeIdList = ['0'];
this.formOrganization.level ="-1"; this.formOrganization.level ="-1";
...@@ -1523,6 +1524,7 @@ export default { ...@@ -1523,6 +1524,7 @@ export default {
// } // }
} else if (tabName == "fourth") { } else if (tabName == "fourth") {
//设定人员 //设定人员
this.formPerson.pageNum = 1;
this.formPerson.name =""; this.formPerson.name ="";
this.formPerson.departmentId = -1; this.formPerson.departmentId = -1;
this.formPerson.hospitalId = 0; this.formPerson.hospitalId = 0;
...@@ -1791,6 +1793,7 @@ export default { ...@@ -1791,6 +1793,7 @@ export default {
this.changedOrganization2 this.changedOrganization2
); );
this.updatePerson(); this.updatePerson();
this.$refs.multiplePerson.clearSelection();
}, },
//改变机构 table 的check状态 //改变机构 table 的check状态
selectionChangeDepartment(val) { selectionChangeDepartment(val) {
...@@ -2380,6 +2383,7 @@ export default { ...@@ -2380,6 +2383,7 @@ export default {
}); });
}, },
initPeopleStatus() { initPeopleStatus() {
let tableStatus = this.tablePerson; let tableStatus = this.tablePerson;
tableStatus.forEach(row => { tableStatus.forEach(row => {
if (row.status == 1) { if (row.status == 1) {
...@@ -2436,6 +2440,8 @@ export default { ...@@ -2436,6 +2440,8 @@ export default {
); );
//console.log('全部看过的:',this.lookedPerson); //console.log('全部看过的:',this.lookedPerson);
if (vm.checkTableState.multiplePerson === "") { if (vm.checkTableState.multiplePerson === "") {
console.log('intersect',intersect);
// debugger;
if (intersect.length == 0) { if (intersect.length == 0) {
this.initPeopleStatus(); this.initPeopleStatus();
} }
...@@ -2511,9 +2517,9 @@ export default { ...@@ -2511,9 +2517,9 @@ export default {
}, },
//设定机构改变更新设定人员 //设定机构改变更新设定人员
updatePerson() { updatePerson() {
// this.lookedPerson = []; this.lookedPerson = [];
// this.changedPerson = []; this.changedPerson = [];
// this.changedPerson2 = []; this.changedPerson2 = [];
}, },
//scope的不同status操作 //scope的不同status操作
scopeStatus(data) { scopeStatus(data) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册