许成详 6 年之前
父節點
當前提交
31c2702217

+ 1
- 1
dist/index.html 查看文件

@@ -1 +1 @@
1
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.731b74a5c538095590399406a7bd57fb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.992319e39e0ff64940a3.js></script><script type=text/javascript src=./static/js/app.f0a04e2332009ff462ca.js></script></body></html>
1
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.8aa2dac72d3912673a3cbcb45c0b9b26.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.992319e39e0ff64940a3.js></script><script type=text/javascript src=./static/js/app.196328bf2a5080433653.js></script></body></html>

+ 4
- 4
src/pages/system/cardAndCouponManager/cardManager/index.vue 查看文件

@@ -382,19 +382,19 @@ export default {
382 382
     //   this.copyDialogVisible = true
383 383
     // },
384 384
     toCopy (index, row) { // 复制
385
-      console.log(1)
385
+      // console.log(1)
386 386
       var clipboard = new Clipboard(this.$refs['copy' + index])
387 387
       clipboard.on('success', e => {
388
-        console.log('复制成功')
388
+        // console.log('复制成功')
389 389
         clipboard.destroy()
390 390
       })
391 391
       clipboard.on('error', e => {
392
-        console.log('该浏览器不支持自动复制')
392
+        // console.log('该浏览器不支持自动复制')
393 393
         clipboard.destroy()
394 394
       })
395 395
     },
396 396
     addCard () {
397
-      this.$router.push({ name: 'editCard', query: {} })
397
+      this.$router.push({ name: 'addCard', query: {} })
398 398
     },
399 399
     onCopy () {
400 400
       this.$message({

+ 1
- 1
src/pages/system/cardAndCouponManager/couponManager/edit.vue 查看文件

@@ -122,7 +122,7 @@
122 122
             </div>
123 123
           </div>
124 124
         </li>
125
-        <li class="flex-h" v-if="couponInfo.IsAll === '0'">
125
+        <li class="flex-h" v-if="couponInfo.IsAll === 0">
126 126
           <div class="flex-item">
127 127
             <div style="border: 1px solid #eee;">
128 128
               <el-table

+ 1
- 1
src/pages/system/cardAndCouponManager/couponManager/index.vue 查看文件

@@ -338,7 +338,7 @@ export default {
338 338
       })
339 339
     },
340 340
     addCoupon (val) {
341
-      this.$router.push({ name: 'editCoupon', query: { type: val } })
341
+      this.$router.push({ name: 'addCoupon', query: { type: val } })
342 342
     },
343 343
     ForCustomer () {
344 344
       if (this.selUsers === '') {

+ 1
- 1
src/pages/system/cardAndCouponManager/vipManager/index.vue 查看文件

@@ -174,7 +174,7 @@ export default {
174 174
       this.getList()
175 175
     },
176 176
     addVIP () {
177
-      this.$router.push({ name: 'editVip' })
177
+      this.$router.push({ name: 'addVip' })
178 178
     },
179 179
     activateVip () {
180 180
       this.$router.push({ name: 'activateVip' })

+ 1
- 1
src/pages/system/caseManager/deviceManager/index.vue 查看文件

@@ -154,7 +154,7 @@ export default {
154 154
       this.getList()
155 155
     },
156 156
     addRole () {
157
-      this.$router.push({ name: 'editDevice' })
157
+      this.$router.push({ name: 'addDevice' })
158 158
     },
159 159
   },
160 160
 }

+ 1
- 1
src/pages/system/cmsManager/majorProjects/index.vue 查看文件

@@ -170,7 +170,7 @@ export default {
170 170
       this.getList()
171 171
     },
172 172
     addMajorProjects () {
173
-      this.$router.push({ name: 'editIndexCase' })
173
+      this.$router.push({ name: 'addIndexCase' })
174 174
     },
175 175
     getList () {
176 176
       this.tableData = []

+ 1
- 1
src/pages/system/courseManager/courseList/index.vue 查看文件

@@ -363,7 +363,7 @@ export default {
363 363
       this.getList()
364 364
     },
365 365
     handleEdit (index, row) { // 编辑
366
-      this.$router.push({ name: 'addCourse', query: { id: row.CourseId } })
366
+      this.$router.push({ name: 'editCourse', query: { id: row.CourseId } })
367 367
     },
368 368
     handleDelete (index, row) { // 删除
369 369
       this.$confirm('确认删除此课程?', '提示', {

+ 1
- 1
src/pages/system/goodsManager/goodManager/index.vue 查看文件

@@ -197,7 +197,7 @@ export default {
197 197
     },
198 198
     addRole () {
199 199
       this.SetNull()
200
-      this.$router.push({ name: 'editGoods' })
200
+      this.$router.push({ name: 'addGoods' })
201 201
     },
202 202
   },
203 203
   created () {

+ 53
- 5
src/pages/system/page.js 查看文件

@@ -1,4 +1,4 @@
1
-
1
+/* eslint-disable */
2 2
 import system from './index' // 系统首页
3 3
 
4 4
 import noAccessRight from './noAccessRight/index' // 暂无菜单权限
@@ -17,7 +17,8 @@ import caseInfo from './caseManager/caseInfo/index' // 案场信息
17 17
 import addCase from './caseManager/caseInfo/addCase/index' // 新增案场
18 18
 import editCase from './caseManager/caseInfo/editCase/index' // 新增案场
19 19
 import deviceManager from './caseManager/deviceManager/index' // 体检设备
20
-import editDevice from './caseManager/deviceManager/add' // 添加体检设备
20
+import addDevice from './caseManager/deviceManager/add' // 添加体检设备
21
+import editDevice from './caseManager/deviceManager/add' // 编辑体检设备
21 22
 import pplConcerned from './caseManager/caseInfo/pplConcerned/index' // 相关人员
22 23
 import editPPLConcerned from './caseManager/caseInfo/pplConcerned/editPPLConcerned/index' // 编辑相关人员
23 24
 import keyManager from './caseManager/keyManager/index' // 钥匙管理
@@ -41,6 +42,7 @@ import goodsSpecManager from './goodsManager/goodsSpecManager/index' // 商品
41 42
 import addGoodsSpec from './goodsManager/goodsSpecManager/add' // 新增商品规格
42 43
 import editGoodsSpec from './goodsManager/goodsSpecManager/edit' // 编辑商品规格管理
43 44
 import goodsList from './goodsManager/goodManager/index' // 商品管理
45
+import addGoods from './goodsManager/goodManager/edit' // 商品新增
44 46
 import editGoods from './goodsManager/goodManager/edit' // 商品编辑
45 47
 
46 48
 import cmsManager from './cmsManager/index' // cms管理
@@ -49,6 +51,7 @@ import addBanner from './cmsManager/bannerManager/add' // 添加轮播图
49 51
 import editBanner from './cmsManager/bannerManager/edit' // 编辑轮播图
50 52
 import indexCase from './cmsManager/majorProjects/index' // 售楼处项目专题
51 53
 import editIndexCase from './cmsManager/majorProjects/edit' // 编辑售楼处项目专题
54
+import addIndexCase from './cmsManager/majorProjects/edit' // 新增售楼处项目专题
52 55
 import indexMsg from './cmsManager/indexMsg/index' // 首页消息
53 56
 import addIndexMsg from './cmsManager/indexMsg/add' // 新增首页消息
54 57
 import editIndexMsg from './cmsManager/indexMsg/edit' // 新增首页消息
@@ -67,6 +70,7 @@ import addFiveA from './courseManager/fiveA/add' // 全龄生活5A添加
67 70
 import editFiveA from './courseManager/fiveA/edit' // 全龄生活5A编辑
68 71
 import courseList from './courseManager/courseList/index' // 课程列表
69 72
 import addCourse from './courseManager/courseList/add' // 新增课程
73
+import editCourse from './courseManager/courseList/add' // 新增课程
70 74
 import courseTag from './courseManager/courseTag/index' // 课程标签
71 75
 import scheduleManager from './courseManager/scheduleManager/index' // 排课管理
72 76
 import editSchedule from './courseManager/scheduleManager/edit' // 新增、编辑排课
@@ -94,13 +98,17 @@ import newOrderList from './newOrder/newOrderList/index' // 新订单列表
94 98
 
95 99
 import cardAndCouponManager from './cardAndCouponManager/index' // 卡券管理
96 100
 import cardList from './cardAndCouponManager/cardManager/index' // 卡列表
101
+import addCard from './cardAndCouponManager/cardManager/edit' // 新增卡
97 102
 import editCard from './cardAndCouponManager/cardManager/edit' // 编辑卡
98 103
 import couponList from './cardAndCouponManager/couponManager/index' // 券列表
104
+import addCoupon from './cardAndCouponManager/couponManager/edit' // 新增券
99 105
 import editCoupon from './cardAndCouponManager/couponManager/edit' // 编辑券
100 106
 import bodyBuildingCardManager from './cardAndCouponManager/bodyBuildingCardManager/index' // 健身卡列表
107
+import addBodyBuildingCard from './cardAndCouponManager/bodyBuildingCardManager/edit' // 健身卡新增
101 108
 import editBodyBuildingCard from './cardAndCouponManager/bodyBuildingCardManager/edit' // 健身卡编辑
102 109
 import givingRecords from './cardAndCouponManager/givingRecords' // 赠送记录
103 110
 import vipList from './cardAndCouponManager/vipManager/index' // vip列表
111
+import addVip from './cardAndCouponManager/vipManager/edit' // 新增vip
104 112
 import editVip from './cardAndCouponManager/vipManager/edit' // 编辑vip
105 113
 import activateVip from './cardAndCouponManager/vipManager/activateVip' // 激活vip
106 114
 
@@ -197,6 +205,11 @@ export default {
197 205
           name: 'deviceManager',
198 206
           component: deviceManager,
199 207
           children: [{ // 添加体检设备
208
+            path: 'addDevice',
209
+            name: 'addDevice',
210
+            component: addDevice,
211
+            children: []
212
+          }, { // 编辑体检设备
200 213
             path: 'editDevice',
201 214
             name: 'editDevice',
202 215
             component: editDevice,
@@ -301,7 +314,12 @@ export default {
301 314
           path: 'goodsInfo',
302 315
           name: 'goodsInfo',
303 316
           component: goodsList,
304
-          children: [{ // 编辑商品
317
+          children: [{ // 新增商品
318
+            path: 'addGoods',
319
+            name: 'addGoods',
320
+            component: addGoods,
321
+            children: []
322
+          }, { // 编辑商品
305 323
             path: 'editGoods',
306 324
             name: 'editGoods',
307 325
             component: editGoods,
@@ -331,7 +349,12 @@ export default {
331 349
           path: 'indexCase',
332 350
           name: 'indexCase',
333 351
           component: indexCase,
334
-          children: [{ // 编辑售楼处项目专题
352
+          children: [{ // 新增售楼处项目专题
353
+            path: 'addIndexCase',
354
+            name: 'addIndexCase',
355
+            component: addIndexCase,
356
+            children: []
357
+          }, { // 编辑售楼处项目专题
335 358
             path: 'editIndexCase',
336 359
             name: 'editIndexCase',
337 360
             component: editIndexCase,
@@ -416,6 +439,11 @@ export default {
416 439
             name: 'addCourse',
417 440
             component: addCourse,
418 441
             children: []
442
+          }, { // 编辑课程
443
+            path: 'editCourse',
444
+            name: 'editCourse',
445
+            component: editCourse,
446
+            children: []
419 447
           }]
420 448
         }, { // 排课管理
421 449
           path: 'scheduleManager',
@@ -541,6 +569,11 @@ export default {
541 569
             name: 'editCard',
542 570
             component: editCard,
543 571
             children: []
572
+          }, { // 新增卡
573
+            path: 'addCard',
574
+            name: 'addCard',
575
+            component: addCard,
576
+            children: []
544 577
           }]
545 578
         }, { // 券列表
546 579
           path: 'couponList',
@@ -551,6 +584,11 @@ export default {
551 584
             name: 'editCoupon',
552 585
             component: editCoupon,
553 586
             children: []
587
+          }, { // 新增券
588
+            path: 'addCoupon',
589
+            name: 'addCoupon',
590
+            component: addCoupon,
591
+            children: []
554 592
           }]
555 593
         }, { // 健身卡列表
556 594
           path: 'bodyBuildingCardManager',
@@ -561,6 +599,11 @@ export default {
561 599
             name: 'editBodyBuildingCard',
562 600
             component: editBodyBuildingCard,
563 601
             children: []
602
+          }, { // 新增健身卡
603
+            path: 'addBodyBuildingCard',
604
+            name: 'addBodyBuildingCard',
605
+            component: addBodyBuildingCard,
606
+            children: []
564 607
           }]
565 608
         }, { // 赠送记录
566 609
           path: 'givingRecords',
@@ -571,7 +614,12 @@ export default {
571 614
           path: 'vipList',
572 615
           name: 'vipList',
573 616
           component: vipList,
574
-          children: [{ // 编辑vip
617
+          children: [{ // 新增vip
618
+            path: 'addVip',
619
+            name: 'addVip',
620
+            component: addVip,
621
+            children: []
622
+          }, { // 编辑vip
575 623
             path: 'editVip',
576 624
             name: 'editVip',
577 625
             component: editVip,