소스 검색

管理后台-财务-财务概况-修改-列表

sunxbiao 1 년 전
부모
커밋
eb7f64e187
2개의 변경된 파일713개의 추가작업 그리고 710개의 파일을 삭제
  1. 10 11
      src/components/cards/userCard.vue
  2. 703 699
      src/views/accounts/gaikuang/index.vue

+ 10 - 11
src/components/cards/userCard.vue

@@ -4,7 +4,7 @@
4 4
       v-for="(item, index) in cardLists"
5 5
       :key="index"
6 6
       class="ivu-mb mb10"
7
-      @click="pushToPage(index)"
7
+      @click="pushToPage(index, item)"
8 8
     >
9 9
       <div class="card_box">
10 10
         <div class="card_box_cir" :class="{'one':index%5==0,'two':index%5==1,'three':index%5==2,'four':index%5==3,'five':index%5==4}">
@@ -29,19 +29,18 @@ export default {
29 29
     cardLists: Array
30 30
   },
31 31
   methods: {
32
-    pushToPage(index) {
33
-
34
-
35
-
36
-
37
-
38
-      if (index > 2) {
39
-        index += 1
32
+    pushToPage(index, item) {
33
+      // if (index > 2) {
34
+      //   index += 1
35
+      // }
36
+      // console.log('index = ', index)
37
+      var query = {};
38
+      if (item.user_group) {
39
+        query = { user_group: item.user_group}
40 40
       }
41
-      console.log('index = ', index)
42 41
       this.$router.push({
43 42
         path: roterPre + '/user/list/',
44
-        query: { user_group: index + 1 }
43
+        query: query
45 44
       })
46 45
     }
47 46
   }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 703 - 699
src/views/accounts/gaikuang/index.vue