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)"> + + + + + +
+ + + + + + +
+
+
+

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