Browse Source

区域设置单点登录

gzb
guozhongbo 7 months ago
parent
commit
0221c55752

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

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

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

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

Loading…
Cancel
Save