瀏覽代碼

feat: 代码提交

listKer 2 年之前
父節點
當前提交
c673c3d8c2
共有 3 個文件被更改,包括 1198 次插入4 次删除
  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 100
       <div class="programme" :style="isOpen?'height: 165px;':'height: 364px;'">
101 101
         <div class="tab">
102 102
           <div class="tab-title">执行方案</div>
103
-          <div class="add" @click="isPupop=true">新增</div>
103
+          <div class="add" @click="isSkin=true">新增</div>
104 104
         </div>
105 105
 
106 106
         <div class="programmeList">
107 107
           <div class="programmeWeek">
108 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 113
               <div class="weekLine" v-if="index==3?false:true"></div>
111 114
             </div>
112 115
           </div>
@@ -195,7 +198,7 @@
195 198
 
196 199
         <div class="noticeSubmit">
197 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 202
           <div class="submit-notice" @click="submitFrequency(3)">跳过</div>
200 203
         </div>
201 204
       </div>
@@ -235,7 +238,7 @@
235 238
           </el-select>
236 239
           <div>次</div>
237 240
         </div>
238
-        <div class="submit-frequency" @click="submitFrequency">确定</div>
241
+        <div class="submit-frequency" @click="submitFrequency(4)">确定</div>
239 242
       </div>
240 243
     </mine-pupop>
241 244
   </div>
@@ -349,6 +352,7 @@ export default {
349 352
           ]
350 353
         }
351 354
       ],
355
+      selectWeek: 0,
352 356
       skinTag: [
353 357
         {
354 358
           title: "啥子标签",
@@ -499,6 +503,12 @@ export default {
499 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 512
     onSubmit() {
503 513
       this.getSkinUpdate();
504 514
     },
@@ -513,6 +523,15 @@ export default {
513 523
         this.faceTag = false;
514 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 536
     randomColor(type) {
518 537
       let arr = [
@@ -839,6 +858,15 @@ export default {
839 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 870
       .weekLine {
843 871
         width: 1px;
844 872
         height: 12px;

文件差異過大導致無法顯示
+ 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 5
 import Home from '@/pages/home/index.vue'
6 6
 import TestSkin from '@/pages/testSkin/index'
7 7
 import TestSkinDetails from '@/pages/testSkin/details'
8
+import TestSkinUpdate from '@/pages/testSkin/updates'
8 9
 import CustomerMan from '@/pages/customerMan/index'
9 10
 import CustomerManDetails from '@/pages/customerMan/details'
10 11
 import HistoricalOrder from '@/pages/historicalOrder/index'
@@ -36,6 +37,13 @@ export default {
36 37
       component: TestSkinDetails
37 38
     },
38 39
     {
40
+      path: '/testSkin/updates',
41
+      meta: {
42
+        isback: true,
43
+      },
44
+      component: TestSkinUpdate
45
+    },
46
+    {
39 47
       path: '/customerMan',
40 48
       component: CustomerMan
41 49
     },