jiajunchen před 3 týdny
rodič
revize
274a0d8859
2 změnil soubory, kde provedl 22 přidání a 7 odebrání
  1. 2
    4
      src/view/dati/examCheck/addPeo.vue
  2. 20
    3
      src/view/dati/examCheck/index.vue

+ 2
- 4
src/view/dati/examCheck/addPeo.vue Zobrazit soubor

1
 <template>
1
 <template>
2
   <div class="h5-container">
2
   <div class="h5-container">
3
-    <van-nav-bar title="添加人员" @click-left="onClickLeft" @click-right="handleDepartmentLeaderName">
4
-      <template #right>
5
-        <van-icon name="add" size="25" color="#000" />
6
-      </template>
3
+    <van-nav-bar title="查看结果" @click-left="onClickLeft" @click-right="handleDepartmentLeaderName">
4
+
7
     </van-nav-bar>
5
     </van-nav-bar>
8
 
6
 
9
     <!-- 项目列表 -->
7
     <!-- 项目列表 -->

+ 20
- 3
src/view/dati/examCheck/index.vue Zobrazit soubor

40
 
40
 
41
             <template #right>
41
             <template #right>
42
               <van-button  square class="delete-button" text="删除" @click="handleDelete(item)" />
42
               <van-button  square class="delete-button" text="删除" @click="handleDelete(item)" />
43
-              <van-button  square class="submit-button" text="添加人员" @click="goaddPeo(item)" />
43
+              <van-button  square class="submit-button" text="查看结果" @click="goaddPeo1(item)" />
44
+              <van-button square class="submit-button" text="二维码_" @click="goaddPeo(item)" />
45
+
44
             </template>
46
             </template>
45
           </van-swipe-cell>
47
           </van-swipe-cell>
46
         </div>
48
         </div>
178
     Toast('二维码生成失败,请重试');
180
     Toast('二维码生成失败,请重试');
179
   }
181
   }
180
 };
182
 };
181
-
183
+const goaddPeo1 = (item) => {
184
+  router.push({
185
+    path: '/addPeo',
186
+    query: {
187
+      data: JSON.stringify(item)
188
+    }
189
+  })
190
+}
182
 const edits = (row) => {
191
 const edits = (row) => {
183
   kz.value = true;
192
   kz.value = true;
184
   form.value = { ...row };
193
   form.value = { ...row };
881
   background-image: url('@/assets/img/sub.png');
890
   background-image: url('@/assets/img/sub.png');
882
   background-size: auto 100%;
891
   background-size: auto 100%;
883
   background-repeat: no-repeat;
892
   background-repeat: no-repeat;
884
-}
885
 
893
 
894
+}
895
+.edit-button {
896
+  height: 100%;
897
+  border: none;
898
+  color: #F9CC9D;
899
+  background-image: url('@/assets/img/edit.png');
900
+  background-size: auto 100%;
901
+  background-repeat: no-repeat;
902
+}
886
 .subsuccess {
903
 .subsuccess {
887
   height: 100%;
904
   height: 100%;
888
   border: none;
905
   border: none;

Loading…
Zrušit
Uložit