Browse Source

应用分组

gzb
guozhongbo 9 months ago
parent
commit
26981fe0d6

+ 4
- 4
src/views/regionSection/applicationManage/applicationGroup.vue View File

210
         {
210
         {
211
           title: "图标",
211
           title: "图标",
212
           slot: "iconPath",
212
           slot: "iconPath",
213
-          width: 190,
213
+          width: 120,
214
           align: "center"
214
           align: "center"
215
         },
215
         },
216
         {
216
         {
222
         {
222
         {
223
           title: "创建时间",
223
           title: "创建时间",
224
           key: "createtime",
224
           key: "createtime",
225
-          width: 190,
225
+          width: 180,
226
           align: "center"
226
           align: "center"
227
         },
227
         },
228
         {
228
         {
234
         {
234
         {
235
           title: "操作时间",
235
           title: "操作时间",
236
           key: "updatetime",
236
           key: "updatetime",
237
-          width: 190,
237
+          width: 180,
238
           align: "center"
238
           align: "center"
239
         },
239
         },
240
         {
240
         {
241
           title: "操作",
241
           title: "操作",
242
           slot: "actionSlot",
242
           slot: "actionSlot",
243
-          width: 220,
243
+          width: 200,
244
           align: "center"
244
           align: "center"
245
         }
245
         }
246
       ]
246
       ]

+ 40
- 6
src/views/regionSection/personal.vue View File

2
   <div class="main_root">
2
   <div class="main_root">
3
     <div class="personal_list">
3
     <div class="personal_list">
4
       <div class="personal_item" v-for="item in personal_list" :key="item.id">
4
       <div class="personal_item" v-for="item in personal_list" :key="item.id">
5
-        <div>{{ item.title }}</div>
5
+        <div
6
+          @click="curmodel = item.id"
7
+          :class="[curmodel === item.id ? 'active' : '']"
8
+        >
9
+          {{ item.title }}
10
+        </div>
6
       </div>
11
       </div>
7
     </div>
12
     </div>
8
-    <div class="content"></div>
13
+    <div class="contents" v-if="curmodel === 1">
14
+      <div class="user"></div>
15
+      <div class="comm"></div>
16
+    </div>
17
+    <div class="content" v-else></div>
9
   </div>
18
   </div>
10
 </template>
19
 </template>
11
 
20
 
26
           id: 3,
35
           id: 3,
27
           title: "历史登录"
36
           title: "历史登录"
28
         }
37
         }
29
-      ]
38
+      ],
39
+      curmodel: 1
30
     };
40
     };
31
   },
41
   },
32
   methods: {}
42
   methods: {}
37
 .main_root {
47
 .main_root {
38
   background-color: transparent;
48
   background-color: transparent;
39
   border: navajowhite;
49
   border: navajowhite;
40
-  height: calc(100% - 10px);
50
+  height: calc(100% - 20px);
41
   display: flex;
51
   display: flex;
42
   .personal_list {
52
   .personal_list {
43
     width: 200px;
53
     width: 200px;
44
     height: 100%;
54
     height: 100%;
45
     border-radius: 15px;
55
     border-radius: 15px;
56
+    padding: 20px 10px;
46
     border: 1px solid #e9f0f9;
57
     border: 1px solid #e9f0f9;
47
     background: #ffffff;
58
     background: #ffffff;
48
-    margin-right: 10px;
59
+    margin-right: 20px;
60
+    .personal_item {
61
+      line-height: 30px;
62
+      text-align: center;
63
+      cursor: pointer;
64
+    }
65
+    .active {
66
+      border-radius: 6px;
67
+      background: #339dff;
68
+      color: white;
69
+    }
70
+  }
71
+  .contents {
72
+    width: calc(100% - 220px);
73
+    height: 100%;
74
+    .uaer{
75
+      height: 200px;
76
+      border-radius: 6px;
77
+      background: white;
78
+      margin-bottom: 20px;
79
+    }
80
+    .comm{
81
+      height: calc(100% - 220px);
82
+    }
49
   }
83
   }
50
   .content {
84
   .content {
51
-    width: calc(100% - 210px);
85
+    width: calc(100% - 220px);
52
     height: 100%;
86
     height: 100%;
53
     border-radius: 15px;
87
     border-radius: 15px;
54
     border: 1px solid #e9f0f9;
88
     border: 1px solid #e9f0f9;

+ 1
- 1
src/views/regionSection/regionManage/regionManage.vue View File

617
         show: true,
617
         show: true,
618
         regionid: row.regionid,
618
         regionid: row.regionid,
619
         rversion: row.rversion,
619
         rversion: row.rversion,
620
-        sso: row.sso,
620
+        sso: row.sso || 1,
621
         authUrl: row.authUrl,
621
         authUrl: row.authUrl,
622
         authKey: row.authKey,
622
         authKey: row.authKey,
623
         authType: row.authType
623
         authType: row.authType

Loading…
Cancel
Save