Browse Source

feat: 代码提交

listKer 2 years ago
parent
commit
c673c3d8c2
3 changed files with 1198 additions and 4 deletions
  1. 32 4
      src/pages/testSkin/details/index.vue
  2. 1158 0
      src/pages/testSkin/updates/index.vue
  3. 8 0
      src/router/map/home.js

+ 32 - 4
src/pages/testSkin/details/index.vue

@@ -100,13 +100,16 @@
100
       <div class="programme" :style="isOpen?'height: 165px;':'height: 364px;'">
100
       <div class="programme" :style="isOpen?'height: 165px;':'height: 364px;'">
101
         <div class="tab">
101
         <div class="tab">
102
           <div class="tab-title">执行方案</div>
102
           <div class="tab-title">执行方案</div>
103
-          <div class="add" @click="isPupop=true">新增</div>
103
+          <div class="add" @click="isSkin=true">新增</div>
104
         </div>
104
         </div>
105
 
105
 
106
         <div class="programmeList">
106
         <div class="programmeList">
107
           <div class="programmeWeek">
107
           <div class="programmeWeek">
108
             <div class="programmeItem" v-for="item,index in 4" :key="index">
108
             <div class="programmeItem" v-for="item,index in 4" :key="index">
109
-              <div class="weekItem">第几周</div>
109
+              <div
110
+                :class="selectWeek==index?'weekItemSelect':'weekItem'"
111
+                @click="weekSelect(index)"
112
+              >第几周</div>
110
               <div class="weekLine" v-if="index==3?false:true"></div>
113
               <div class="weekLine" v-if="index==3?false:true"></div>
111
             </div>
114
             </div>
112
           </div>
115
           </div>
@@ -195,7 +198,7 @@
195
 
198
 
196
         <div class="noticeSubmit">
199
         <div class="noticeSubmit">
197
           <div class="submit-back" @click="backSubmit(3)">返回</div>
200
           <div class="submit-back" @click="backSubmit(3)">返回</div>
198
-          <div class="submit-notice" @click="submitFrequency(3)">确定</div>
201
+          <div class="submit-notice" @click="submitFrequency(4)">确定</div>
199
           <div class="submit-notice" @click="submitFrequency(3)">跳过</div>
202
           <div class="submit-notice" @click="submitFrequency(3)">跳过</div>
200
         </div>
203
         </div>
201
       </div>
204
       </div>
@@ -235,7 +238,7 @@
235
           </el-select>
238
           </el-select>
236
           <div>次</div>
239
           <div>次</div>
237
         </div>
240
         </div>
238
-        <div class="submit-frequency" @click="submitFrequency">确定</div>
241
+        <div class="submit-frequency" @click="submitFrequency(4)">确定</div>
239
       </div>
242
       </div>
240
     </mine-pupop>
243
     </mine-pupop>
241
   </div>
244
   </div>
@@ -349,6 +352,7 @@ export default {
349
           ]
352
           ]
350
         }
353
         }
351
       ],
354
       ],
355
+      selectWeek: 0,
352
       skinTag: [
356
       skinTag: [
353
         {
357
         {
354
           title: "啥子标签",
358
           title: "啥子标签",
@@ -499,6 +503,12 @@ export default {
499
         this.$set(this.programmeList[index], "onSelect", true);
503
         this.$set(this.programmeList[index], "onSelect", true);
500
       }
504
       }
501
     },
505
     },
506
+
507
+    weekSelect(index) {
508
+      console.log("xxxx");
509
+      this.selectWeek = index;
510
+    },
511
+
502
     onSubmit() {
512
     onSubmit() {
503
       this.getSkinUpdate();
513
       this.getSkinUpdate();
504
     },
514
     },
@@ -513,6 +523,15 @@ export default {
513
         this.faceTag = false;
523
         this.faceTag = false;
514
         this.notice = true;
524
         this.notice = true;
515
       }
525
       }
526
+
527
+      if (e == 4) {
528
+        this.$router.push({
529
+          path: "/testSkin/updates",
530
+          query: {
531
+            id: e
532
+          }
533
+        });
534
+      }
516
     },
535
     },
517
     randomColor(type) {
536
     randomColor(type) {
518
       let arr = [
537
       let arr = [
@@ -839,6 +858,15 @@ export default {
839
         flex: 1;
858
         flex: 1;
840
       }
859
       }
841
 
860
 
861
+      .weekItemSelect {
862
+        text-align: center;
863
+        font-size: 13px;
864
+        font-family: PingFangSC-Regular, PingFang SC;
865
+        font-weight: 400;
866
+        color: #fa7d22;
867
+        flex: 1;
868
+      }
869
+
842
       .weekLine {
870
       .weekLine {
843
         width: 1px;
871
         width: 1px;
844
         height: 12px;
872
         height: 12px;

File diff suppressed because it is too large
+ 1158 - 0
src/pages/testSkin/updates/index.vue


+ 8 - 0
src/router/map/home.js

@@ -5,6 +5,7 @@ import layout from '@/components/common/layout/layout'
5
 import Home from '@/pages/home/index.vue'
5
 import Home from '@/pages/home/index.vue'
6
 import TestSkin from '@/pages/testSkin/index'
6
 import TestSkin from '@/pages/testSkin/index'
7
 import TestSkinDetails from '@/pages/testSkin/details'
7
 import TestSkinDetails from '@/pages/testSkin/details'
8
+import TestSkinUpdate from '@/pages/testSkin/updates'
8
 import CustomerMan from '@/pages/customerMan/index'
9
 import CustomerMan from '@/pages/customerMan/index'
9
 import CustomerManDetails from '@/pages/customerMan/details'
10
 import CustomerManDetails from '@/pages/customerMan/details'
10
 import HistoricalOrder from '@/pages/historicalOrder/index'
11
 import HistoricalOrder from '@/pages/historicalOrder/index'
@@ -36,6 +37,13 @@ export default {
36
       component: TestSkinDetails
37
       component: TestSkinDetails
37
     },
38
     },
38
     {
39
     {
40
+      path: '/testSkin/updates',
41
+      meta: {
42
+        isback: true,
43
+      },
44
+      component: TestSkinUpdate
45
+    },
46
+    {
39
       path: '/customerMan',
47
       path: '/customerMan',
40
       component: CustomerMan
48
       component: CustomerMan
41
     },
49
     },