|
@@ -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);
|