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

勾选单页全空问题

上级 899f27c0
......@@ -2036,7 +2036,7 @@ export default {
this.getOrganizationChoose();
}
},
//初始化搜索人员状态
//初始化搜索机构状态
initOrganizationChoose() {
let tableStatus = this.tableOrganization;
if(typeof tableStatus === 'undefined') {
......@@ -2148,13 +2148,20 @@ export default {
this.lookedOrganization,
idList
);
// this.changedOrganization2 = operationData.getDifference(
// this.lookedOrganization,
// this.changedOrganization
// );
let difference = operationData.getDifference(
idList,
this.changedOrganization2
);
//debugger;
//console.log('全部看过的:',this.lookedOrganization);
if (vm.checkTableState.multipleOrganization === "") {
if (intersect.length == 0) {
if (intersect.length == 0 && difference.length > 0) {
this.initOrganizationStatus();
}
// this.initOrganizationChoose();
} else if (vm.checkTableState.multipleOrganization === true) {
let intersect2 = operationData.getIntersect(
idList,
......@@ -2436,15 +2443,18 @@ export default {
this.lookedPerson,
idList
);
this.changedPerson2 = operationData.getDifference(
this.lookedPerson,
this.changedPerson
// this.changedPerson2 = operationData.getDifference(
// this.lookedPerson,
// this.changedPerson
// );
let difference = operationData.getDifference(
idList,
this.changedPerson2
);
//console.log('全部看过的:',this.lookedPerson);
if (vm.checkTableState.multiplePerson === "") {
console.log('intersect',intersect);
// debugger;
if (intersect.length == 0) {
// console.log('intersect',intersect);
if (intersect.length == 0 && difference.length > 0) {
this.initPeopleStatus();
}
} else if (vm.checkTableState.multiplePerson === true) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册