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

外部问题

上级 9f400f81
......@@ -1201,8 +1201,12 @@ export default {
//移动到选择项目组件
//console.log(res);
this.scopeStatus(res.data.status);
this.active++;
this.stepData = [false, false, true];
if(res.data.status === 0) {
this.active++;
this.stepData = [false, false, true];
} else {
console.log('不能改变范围status:'+res.data.status)
}
} else {
vm.$message({
type: "info",
......@@ -1244,9 +1248,13 @@ export default {
vm.POST("portal/scope", req).then(res => {
if (res.code == "000000") {
//移动到选择项目组件
console.log(res);
this.active++;
this.stepData = [false, false, true];
this.scopeStatus(res.data.status);
if(res.data.status === 0) {
this.active++;
this.stepData = [false, false, true];
} else {
console.log('不能改变范围status:'+res.data.status)
}
} else {
vm.$message({
type: "info",
......@@ -1849,6 +1857,13 @@ export default {
if(this.setKindOfOrganizationLast === -1) {
kind = 1;
}
//初始化0或1
if(kind == 0 && this.changedOrganization2.length > 0) {
kind = 3;
}
if(kind == 1 && this.changedOrganization.length > 0) {
kind = 2;
}
}
} else if (type == "department") {
kind = 3;
......@@ -1873,6 +1888,13 @@ export default {
if(this.setKindOfPeopleLast === -1) {
kind = 1;
}
//初始化0或1
if(kind == 0 && this.changedPerson2.length > 0) {
kind = 3;
}
if(kind == 1 && this.changedPerson.length > 0) {
kind = 2;
}
}
}
return kind;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册