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

外部问题

上级 5daf36ad
...@@ -36,7 +36,8 @@ export function getIdList(data) { ...@@ -36,7 +36,8 @@ export function getIdList(data) {
//区域 //区域
export function getDivision(data) { export function getDivision(data) {
if(data === null) { if(data === null) {
return let empty = [];
return empty;
} }
let list = data.split('|'); let list = data.split('|');
let num = []; let num = [];
......
...@@ -656,6 +656,8 @@ export default { ...@@ -656,6 +656,8 @@ export default {
lookedPerson: [], lookedPerson: [],
changedPerson: [], changedPerson: [],
changedPerson2: [], changedPerson2: [],
//dialog
dialogShow: false,
//记录上次 //记录上次
scopeOfOrganizationLast: [], scopeOfOrganizationLast: [],
scopeOfPeopleLast: [], scopeOfPeopleLast: [],
...@@ -2044,6 +2046,7 @@ export default { ...@@ -2044,6 +2046,7 @@ export default {
scope += unionScope[i] + "|"; scope += unionScope[i] + "|";
} }
} else if (type == 3) { } else if (type == 3) {
console.log(this.scopeOfOrganizationLast,this.changedOrganization2);
let differenceScope = operationData.getDifference(this.scopeOfOrganizationLast,this.changedOrganization2); let differenceScope = operationData.getDifference(this.scopeOfOrganizationLast,this.changedOrganization2);
let unionScope = operationData.getUnion(this.changedOrganization,differenceScope); let unionScope = operationData.getUnion(this.changedOrganization,differenceScope);
for (let i = 0; i < unionScope.length; i++) { for (let i = 0; i < unionScope.length; i++) {
...@@ -2290,16 +2293,17 @@ export default { ...@@ -2290,16 +2293,17 @@ export default {
this.hasOrganizationInit = true; this.hasOrganizationInit = true;
}, },
//scope的不同status操作 //scope的不同status操作
scopeStatus(status) { scopeStatus(data) {
console.log(status); console.log(data);
let status = data;
if(status === 1) { if(status === 1) {
vm.$message({ vm.$message({
type: "info", type: "info",
message: res.message message: "您已被上级管理员移除项目,暂无权限操作",
}); });
this.$router.push("item-manager"); this.$router.push("item-manager");
} else if(status === 2) { } else if(status === 2) {
} }
}, },
//选择项目组件 //选择项目组件
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册