-
-
-
+
+
+
+
-
-
保存{{ releaseType ? '草稿' : '' }}
-
发布
-
保存并下一步
+
+
+
+ 保存{{ releaseType ? '草稿' : '' }}
+ 发布
+ 保存并下一步
+
预览
- 取消
+ 取消
@@ -46,23 +53,26 @@ import quill from "@/components/quill";
import step1 from './step1'
import step2 from './step2'
import step3 from './step3'
+import step4 from './step4'
export default {
name: "add",
data() {
return {
- releaseType: 1,
- form: {},
+ id: this.$route.query.id,
step: 1,
submiting: false,
updateTime: 0,
- setupId: ''
+ setupId: '',
+ releaseType: 0,
+ editing: 0
};
},
components: {
quill,
step1,
step2,
- step3
+ step3,
+ step4
},
mounted() {
@@ -70,7 +80,6 @@ export default {
methods: {
// 提交
save(status, next = 0) {
- // if (this.submiting) return false
this.$refs['step' + this.step].save(status, next, this.releaseType)
},
// 发布后的逻辑
@@ -111,6 +120,11 @@ export default {
\ No newline at end of file
diff --git a/src/views/match/manage/index.vue b/src/views/match/manage/index.vue
index 22cfa5a..d8e7a8a 100644
--- a/src/views/match/manage/index.vue
+++ b/src/views/match/manage/index.vue
@@ -10,14 +10,11 @@
-
-
-
-
-
-
-
-
+
+
+
+
+