提交 0ce65889 编写于 作者: kai.wang's avatar kai.wang

修改编辑 入口router

上级 8a44ca56
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</div> </div>
<div class="second-step" v-else-if="active === 1"> <div class="second-step" v-else-if="active === 1">
<organzation></organzation> <organzation></organzation>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
...@@ -84,12 +84,10 @@ ...@@ -84,12 +84,10 @@
nextStep() { nextStep() {
// debugger // debugger
if (this.enterType == 1) { if (this.enterType == 1) {
//edit //create
console.log("add");
this.commitQuanziInfo(); this.commitQuanziInfo();
} else { } else {
console.log("edit"); //edit
this.active = 1 this.active = 1
this.stepData = [false, true]; this.stepData = [false, true];
} }
...@@ -108,11 +106,13 @@ ...@@ -108,11 +106,13 @@
dynamicFlag: this.formData.contentRole, dynamicFlag: this.formData.contentRole,
}; };
console.log("commitQuanziInfo() : name = " + req.name + ", headUrl = " + req.headUrl console.log("commitQuanziInfo() : name = " + req.name + ", headUrl = " + req.headUrl
+ ", coverUrl = " + req.coverUrl + ", introduce = " + req.introduce + ", dynamicFlag = " + req.dynamicFlag) + ", coverUrl = " + req.coverUrl + ", introduce = " + req.introduce + ", dynamicFlag = " + req.dynamicFlag)
vm.POST("circle/circle/save", req).then(res => { vm.POST("circle/circle/save", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
// console.log(res); // console.log(res);
this.formData.id = res.id this.formData.id = res.id
this.active = 1
this.stepData = [false, true];
} else { } else {
// //
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册