diff --git a/src/pages/Home.vue b/src/pages/Home.vue index f1f5001..1764684 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -1,367 +1,358 @@ - - - + + + - - - - - - 退出登录 - - - - - 优客后台管理 - + + + + + + 退出登录 + + + + + 优客后台管理 + - - - - 首页 - - - - - {{item.name}} - - - {{cItem.name}} - - - - - - - - - {{selectedMenu}} - {{selectedSubMenu}} - - - - - - - - - - + + + + 首页 + + + + + {{item.name}} + + + {{cItem.name}} + + + + + + + + + {{selectedMenu}} + {{selectedSubMenu}} + + + + + + + + + + diff --git a/src/pages/activity/useActivityStepOne.vue b/src/pages/activity/useActivityStepOne.vue index 2556159..dc78059 100644 --- a/src/pages/activity/useActivityStepOne.vue +++ b/src/pages/activity/useActivityStepOne.vue @@ -175,7 +175,8 @@ export default { .text { position: relative; - left: 100px; + left: 50px; + line-height: 44px; } .inputClass { diff --git a/src/pages/activity/useTable.vue b/src/pages/activity/useTable.vue index 41dce79..fc91527 100644 --- a/src/pages/activity/useTable.vue +++ b/src/pages/activity/useTable.vue @@ -1,50 +1,46 @@ - - + + - - - + + + - - - - + + + + - 上一步 - 下一步 - 完成 + 上一步 + 下一步 + 完成 @@ -66,7 +62,7 @@ export default { useActivityStepFoure }, inject: ["setMenuName"], - data () { + data() { return { currentStep: 0, modal_loading: false, @@ -87,26 +83,27 @@ export default { } }, watch: { - show () { + show() { this.showUse = this.show; }, - schedule () { + schedule() { store.getters.useData.scheduleId = this.schedule.id; } }, - created () { + created() { + this.setMenuName("活动管理", "活动计划"); }, - 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) { @@ -149,22 +146,29 @@ 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.$router.push("/activity/plan"); that.currentStep = 0; that.modal_loading = false; that.showUse = false; + + let request = { + selectedMenu: "活动管理", + selectedSubMenu: "活动计划", + data: {}, + type: 2 + }; + that.bus.$emit("callBack",request); }); } } diff --git a/src/pages/user/RoleManager.vue b/src/pages/user/RoleManager.vue index 6e01101..2d82b83 100644 --- a/src/pages/user/RoleManager.vue +++ b/src/pages/user/RoleManager.vue @@ -367,7 +367,13 @@ goToAccManagerPage: function (item) { // this.$router.push({path: '/account/manager',query:item}); // 回调首页更新菜单栏选择 - this.bus.$emit("callBack",item); + let request = { + selectedMenu: "设置管理", + selectedSubMenu: "账户管理", + data: item, + type: 1 + }; + this.bus.$emit("callBack",request); }, //选中角色 selectRole: function (id) { diff --git a/src/services/CommonHttp.js b/src/services/CommonHttp.js index c9ae297..62d6774 100755 --- a/src/services/CommonHttp.js +++ b/src/services/CommonHttp.js @@ -7,7 +7,7 @@ import commonUtils from '../utils/Common' // http://mf.kiisoo.com:58080/ // axios.defaults.baseURL = 'https://wxtk.bsdits.com/kiisoo-ic/'; axios.defaults.baseURL = - process.env.NODE_ENV === 'production' ? '/kiisoo-ic' : '/kiisoo-ic' + process.env.NODE_ENV === 'production' ? 'https://wxtk.bsdits.com/kiisoo-ic/' : '/kiisoo-ic' //响应时间 axios.defaults.timeout = 120000