From ebf4e9ffbc3a88a22555411fe9c567452a3711c0 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 29 Apr 2024 16:19:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E7=AB=99=E6=B7=BB=E5=8A=A0=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E5=8A=9F=E8=83=BD=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sidebar.vue | 1 - src/store/index.js | 34 +- src/views/course/AddCurriculum.vue | 12 +- src/views/course/Curriculum.vue | 662 ++++++++-------- src/views/course/contentSettings.vue | 10 +- src/views/customer/AddCustomer.vue | 13 +- src/views/customer/Order.vue | 288 ++++--- src/views/customer/customer.vue | 23 +- .../information/contentManage/contentList.vue | 431 ++++++----- src/views/match/add/index.vue | 4 +- src/views/match/add/step4.vue | 75 +- src/views/match/list/index.vue | 53 +- src/views/match/manage/index.vue | 2 +- src/views/match/manage/matchArch.vue | 3 +- src/views/match/manage/matchArchList.vue | 24 +- src/views/match/manage/matchRank.vue | 25 +- src/views/match/manage/matchSignup.vue | 7 +- src/views/order/AddOrder.vue | 12 +- src/views/order/Order.vue | 713 ++++++++++-------- src/views/parnerOperation/index.vue | 101 ++- src/views/parnerOperation/info.vue | 339 +++++++++ src/views/parnerOperation/learn.vue | 339 +++++++++ src/views/parnerOperation/learnMg.vue | 10 +- src/views/parnerOperation/mobileRole.vue | 221 ------ src/views/parnerOperation/pcRole.vue | 269 ------- src/views/parnerOperation/plan.vue | 279 +++++++ src/views/parnerOperation/schemeSet.vue | 9 +- src/views/parnerOperation/staff.vue | 268 ------- src/views/serve/Configure.vue | 122 ++- src/views/serve/backstage/index.vue | 2 +- src/views/serve/backstage/model.vue | 10 +- src/views/serve/backstage/sourceModel.vue | 9 +- src/views/serve/projectAdd.vue | 4 +- src/views/serve/projectList.vue | 83 +- src/views/shop/addProduct/index.vue | 9 +- src/views/shop/list/index.vue | 77 +- src/views/shop/list/product/index.vue | 24 +- src/views/theoreticalCourse/add/index.vue | 6 +- .../contentSettings/index.vue | 46 +- .../list/buildPlatform/index.vue | 46 +- .../list/courseManagement/index.vue | 594 ++++++++------- src/views/theoreticalCourse/list/index.vue | 95 +-- src/views/theoreticalCourse/preview/index.vue | 10 +- src/views/user/AddUser.vue | 482 ++++++------ src/views/user/User.vue | 33 +- 45 files changed, 3197 insertions(+), 2682 deletions(-) create mode 100644 src/views/parnerOperation/info.vue create mode 100644 src/views/parnerOperation/learn.vue delete mode 100644 src/views/parnerOperation/mobileRole.vue delete mode 100644 src/views/parnerOperation/pcRole.vue create mode 100644 src/views/parnerOperation/plan.vue delete mode 100644 src/views/parnerOperation/staff.vue diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 8707bb3..be09266 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -138,7 +138,6 @@ export default { methods: { handleSelect (index) { this.onRoutes = index - this.$store.commit('setOrderParam', null) this.$store.commit('setInfoTab', '1') this.$store.commit('setColumnId', '') this.$store.commit('setCompetitionCache', null) diff --git a/src/store/index.js b/src/store/index.js index 32bd85e..d184735 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -21,14 +21,13 @@ const store = new Vuex.Store({ projectFields: {}, btns: [], routes: [], - customerPage: 1, - matchPage: 1, - platformSource: 0, columnId: '', tabId: '1', dataPer: [], - orderParam: null, - competitionCache: null + competitionCache: null, + referrer: '', + innerReferrer: '', + orderParam: null, }, actions: { setSystemId({ state,commit },systemId) { @@ -54,15 +53,6 @@ const store = new Vuex.Store({ SET_USERNAME (state, userName) { state.userName = userName }, - SET_C_PAGE: (state, page) => { - state.customerPage = page - }, - SET_M_PAGE: (state, page) => { - state.matchPage = page - }, - SET_M_SOURCE: (state, platformSource) => { - state.platformSource = platformSource - }, courseData (state, payload) { state.courseId = payload.course_id }, @@ -75,10 +65,6 @@ const store = new Vuex.Store({ configData (state, payload) { state.configId = payload.config_id }, - systemData (state, payload) { - state.systemId = payload.system_id - state.orderId = payload.order_id - }, userLoginData (state, payload) { state.userLoginId = payload.userLogin_id state.userName = payload.userName @@ -105,12 +91,18 @@ const store = new Vuex.Store({ setInfoTab: (state, tabId) => { state.tabId = tabId }, - setOrderParam: (state, orderParam) => { - state.orderParam = orderParam - }, setCompetitionCache: (state, param) => { state.competitionCache = param }, + setReferrer: (state, val) => { + state.referrer = val + }, + setInnerReferrer: (state, val) => { + state.innerReferrer = val + }, + setOrderParam: (state, val) => { + state.orderParam = val + }, } }); diff --git a/src/views/course/AddCurriculum.vue b/src/views/course/AddCurriculum.vue index e3609a5..faacdcc 100644 --- a/src/views/course/AddCurriculum.vue +++ b/src/views/course/AddCurriculum.vue @@ -7,7 +7,7 @@