提交 640c02a4 编写于 作者: kai.wang's avatar kai.wang

取消暂存功能

上级 96498ff3
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
vm = this; vm = this;
(this.projectId = 775); (this.projectId = 775);
this.initRange(); this.initRange();
//this.editManager(); //Idtype:1,内部 2.外部
vm.idType = localStorage.getItem("storageIdType"); vm.idType = localStorage.getItem("storageIdType");
console.log("this.idType:" + vm.idType); console.log("this.idType:" + vm.idType);
}, },
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
</el-steps> </el-steps>
</el-col> </el-col>
<el-col :span="5" :offset="5"> <el-col :span="5" :offset="5">
<el-button v-if="showStorage" size="small" @click="storage">暂存</el-button>
<el-button v-if="active<1" size="small" type="primary" @click="nextStep">下一步</el-button> <el-button v-if="active<1" size="small" type="primary" @click="nextStep">下一步</el-button>
<el-button v-if="active>=1" size="small" type="primary" @click="complete">完成</el-button> <el-button v-if="active>=1" size="small" type="primary" @click="complete">完成</el-button>
</el-col> </el-col>
...@@ -49,7 +48,6 @@ ...@@ -49,7 +48,6 @@
active: 0, active: 0,
//页面展示位置 //页面展示位置
stepData: [true, false], stepData: [true, false],
showStorage: true,
formData: { formData: {
projectName: '', projectName: '',
imgUrl1: '', imgUrl1: '',
...@@ -78,8 +76,6 @@ ...@@ -78,8 +76,6 @@
}, },
methods: { methods: {
//暂存
storage() { },
//下一步 //下一步
nextStep() { nextStep() {
// debugger // debugger
...@@ -110,13 +106,9 @@ ...@@ -110,13 +106,9 @@
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);
<<<<<<< HEAD
this.formData.id = res.id this.formData.id = res.id
this.active = 1 this.active = 1
this.stepData = [false, true]; this.stepData = [false, true];
=======
this.formData.id = res.data
>>>>>>> 483bda123beb0544ca13309ee13897a8908d2820
} else { } else {
// //
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册