diff --git a/src/pages/Home.vue b/src/pages/Home.vue index 35fa918..f1f5001 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -1,341 +1,367 @@ - - - + + + - - - - - - 退出登录 - - - - - 优客后台管理 - + + + + + + 退出登录 + + + + + 优客后台管理 + - - - - 首页 - - - - - {{item.name}} - - - {{cItem.name}} - - - - - - - - - {{selectedMenu}} - {{selectedSubMenu}} - - - - - - - - - - + + + + 首页 + + + + + {{item.name}} + + + {{cItem.name}} + + + + + + + + + {{selectedMenu}} + {{selectedSubMenu}} + + + + + + + + + + diff --git a/src/pages/activity/useTable.vue b/src/pages/activity/useTable.vue index ea43047..41dce79 100644 --- a/src/pages/activity/useTable.vue +++ b/src/pages/activity/useTable.vue @@ -1,46 +1,50 @@ - - + + - - - + + + - - - - + + + + - 上一步 - 下一步 - 完成 + 上一步 + 下一步 + 完成 @@ -62,7 +66,7 @@ export default { useActivityStepFoure }, inject: ["setMenuName"], - data() { + data () { return { currentStep: 0, modal_loading: false, @@ -83,27 +87,26 @@ export default { } }, watch: { - show() { + show () { this.showUse = this.show; }, - schedule() { + schedule () { store.getters.useData.scheduleId = this.schedule.id; } }, - created() { - this.setMenuName("活动管理", "活动计划"); + created () { }, - mounted() {}, + mounted () { }, methods: { - visibleChange(show) {}, - cancel() { + visibleChange (show) { }, + cancel () { store.commit("RSET_useData"); this.$emit("doShow", false); this.modal_loading = false; this.showUse = false; this.currentStep = 0; }, - next() { + next () { let data = store.getters.useData; data.name = this.schedule.name; if (this.currentStep === 0) { @@ -146,17 +149,18 @@ export default { store.commit("SET_useData", data); this.currentStep = this.currentStep + 1; }, - back() { + back () { this.currentStep = this.currentStep - 1; }, - finish() { + finish () { let that = this; let data = store.getters.useData; data.isGetActivityInfo = true; this.modal_loading = true; - ActivityManager.saveActivityData(store.getters.useData, function(data) { + ActivityManager.saveActivityData(store.getters.useData, function (data) { store.commit("RSET_useData"); that.$emit("doShow", false); + that.setMenuName("活动管理", "活动计划"); that.$router.push("/activity/plan"); that.currentStep = 0; that.modal_loading = false;