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

流程全部走通

上级 569ca78a
...@@ -746,7 +746,7 @@ export default { ...@@ -746,7 +746,7 @@ export default {
this.changeOnStep(this.active); this.changeOnStep(this.active);
this.getComponentInfo(); this.getComponentInfo();
this.editManager(); //this.editManager();
this.idTypeValue = vm.idType; this.idTypeValue = vm.idType;
//console.log('this.idType:'+vm.idType); //console.log('this.idType:'+vm.idType);
if (vm.idType == 2) { if (vm.idType == 2) {
...@@ -754,8 +754,6 @@ export default { ...@@ -754,8 +754,6 @@ export default {
} }
this.$nextTick(function() { this.$nextTick(function() {
//this.getDepartment(); //this.getDepartment();
//this.idTypeValue = 2;
//this.editManager();
}); });
}, },
// 挂载到Dom完成时 // 挂载到Dom完成时
...@@ -986,6 +984,7 @@ export default { ...@@ -986,6 +984,7 @@ export default {
this.optionsComponent = optionsComponent; this.optionsComponent = optionsComponent;
this.optionsCertificate = optionsCertificate; this.optionsCertificate = optionsCertificate;
} }
this.editManager();
}); });
}, },
//项目组件信息 暂存/完成 //项目组件信息 暂存/完成
...@@ -1194,15 +1193,16 @@ export default { ...@@ -1194,15 +1193,16 @@ export default {
openLoading(vm); openLoading(vm);
vm.POST("portal/scope", req).then(res => { vm.POST("portal/scope", req).then(res => {
closeLoading(vm); closeLoading(vm);
vm.$message({
type: "info",
message: res.message
});
if (res.code == "000000") { if (res.code == "000000") {
//移动到选择项目组件 //移动到选择项目组件
console.log(res); console.log(res);
this.active++; this.active++;
this.stepData = [false, false, true]; this.stepData = [false, false, true];
} else {
vm.$message({
type: "info",
message: res.message
});
} }
}); });
} else { } else {
...@@ -1237,15 +1237,16 @@ export default { ...@@ -1237,15 +1237,16 @@ export default {
req.scopeOfPeople = this.getScopePeople(req.setKindOfPeople); req.scopeOfPeople = this.getScopePeople(req.setKindOfPeople);
} }
vm.POST("portal/scope", req).then(res => { vm.POST("portal/scope", req).then(res => {
vm.$message({
type: "info",
message: res.message
});
if (res.code == "000000") { if (res.code == "000000") {
//移动到选择项目组件 //移动到选择项目组件
console.log(res); console.log(res);
this.active++; this.active++;
this.stepData = [false, false, true]; this.stepData = [false, false, true];
} else {
vm.$message({
type: "info",
message: res.message
});
} }
}); });
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册