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

勾选人员wenti

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