From 4864873fb034854a0d6747dde368e2f9f36752d8 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 25 Apr 2023 11:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E3=80=81=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E3=80=81=E8=AF=BE=E7=A8=8B=E6=96=B0=E8=BF=AD=E4=BB=A3=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sidebar.vue | 5 + src/router/index.js | 8 + .../parnerOperation => utils}/editor.js | 0 src/views/course/Curriculum.vue | 1 + src/views/order/AddOrder.vue | 856 ++++++++++++++++-- src/views/parnerOperation/learnMg.vue | 2 +- src/views/parnerOperation/schemeSet.vue | 2 +- src/views/shop/addProduct/index.vue | 778 ++++++++++++++++ src/views/shop/list/index.vue | 54 ++ src/views/shop/list/market/index.vue | 273 ++++++ src/views/shop/list/product/index.vue | 272 ++++++ 11 files changed, 2177 insertions(+), 74 deletions(-) rename src/{views/parnerOperation => utils}/editor.js (100%) create mode 100644 src/views/shop/addProduct/index.vue create mode 100644 src/views/shop/list/index.vue create mode 100644 src/views/shop/list/market/index.vue create mode 100644 src/views/shop/list/product/index.vue diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 8c6b9b7..bd68ea5 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -117,6 +117,11 @@ export default { index: '/parnerOperation', title: '合伙运营' }, + { + icon: 'el-icon-s-shop', + index: '/shop', + title: '商城管理' + }, ], menus: [], onRoutes: this.$route.path diff --git a/src/router/index.js b/src/router/index.js index 62bf2d9..3e2e643 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -229,6 +229,14 @@ let router = new Router({ path: '/schemeSet', component: () => import('../views/parnerOperation/schemeSet'), }, + { + path: '/shop', + component: () => import('../views/shop/list'), + }, + { + path: '/shop/addProduct', + component: () => import('../views/shop/addProduct'), + }, { path: '/404', component: () => import('../views/404.vue'), diff --git a/src/views/parnerOperation/editor.js b/src/utils/editor.js similarity index 100% rename from src/views/parnerOperation/editor.js rename to src/utils/editor.js diff --git a/src/views/course/Curriculum.vue b/src/views/course/Curriculum.vue index ca8822a..496fb2f 100644 --- a/src/views/course/Curriculum.vue +++ b/src/views/course/Curriculum.vue @@ -83,6 +83,7 @@ {{ courseTypeStatus[scope.row.curriculumType] }} + @@ -275,8 +275,8 @@
添加
@@ -424,7 +424,7 @@ :active-value="1" :inactive-value="0" :active-text="scope.row.ship ? '已发货' : '未发货'" - @change="handleDeliver($event,scope.row,2)"> + @change="handleDeliver($event,scope.row,1)"> + @change="handleEnable($event,scope.row,1)"> @@ -453,8 +453,8 @@
添加
@@ -574,6 +574,159 @@ :active-value="1" :inactive-value="0" :active-text="scope.row.ship ? '已发货' : '未发货'" + @change="handleDeliver($event,scope.row,2)"> + + + + + +
+ + + + + + +
+
+
+

+ 实训课程(非集成) +
+
+ + + 添加 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +