Browse Source

区域设置单点登录

gzb
guozhongbo 7 months ago
parent
commit
0221c55752

+ 1
- 2
src/views/personal/personal.vue View File

@@ -69,8 +69,7 @@
69 69
         </div>
70 70
       </div>
71 71
       <div class="table_wrap">
72
-        <Table :columns="columns" :data="searchForm.list">
73
-        </Table>
72
+        <Table :columns="columns" :data="searchForm.list"> </Table>
74 73
       </div>
75 74
       <div class="page_wrap">
76 75
         <Page

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

@@ -12,6 +12,9 @@
12 12
     </div>
13 13
     <div class="table_wrap">
14 14
       <Table :columns="columns" :data="searchForm.list">
15
+        <template slot-scope="{ row }" slot="sso">
16
+          <span>{{ row.sso === 1 ? "平台" : "单点登录" }}</span>
17
+        </template>
15 18
         <template slot-scope="{ row }" slot="actionSlot">
16 19
           <div class="action_list">
17 20
             <div
@@ -479,7 +482,7 @@ export default {
479 482
         },
480 483
         {
481 484
           title: "登录类型",
482
-          key: "sso",
485
+          slot: "sso",
483 486
           align: "center"
484 487
         },
485 488
         {
@@ -774,10 +777,7 @@ export default {
774 777
       }).then((data) => {
775 778
         this.showLoading = false;
776 779
         if (data.code === 0) {
777
-          this.searchForm.list = data.obj.data.map((v) => {
778
-            v.sso = v.sso === 1 ? "平台" : "单点登录";
779
-            return v;
780
-          });
780
+          this.searchForm.list = data.obj.data;
781 781
           this.searchForm.total = data.obj.total;
782 782
         } else {
783 783
           this.$Message.error(data.msg);

Loading…
Cancel
Save