|
@@ -40,7 +40,8 @@
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
<el-table :data="corpList" v-loading="loading" size="mini">
|
|
<el-table :data="corpList" v-loading="loading" size="mini">
|
|
- <el-table-column label="企微名称" prop="corpName" width="150" align="center" fixed="left" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
+ <el-table-column label="企微名称" prop="corpName" width="150" align="center" fixed="left"
|
|
|
|
+ :show-overflow-tooltip="true" />
|
|
<el-table-column label="企微头像" prop="corpSquareLogoUrl" align="center" width="150">
|
|
<el-table-column label="企微头像" prop="corpSquareLogoUrl" align="center" width="150">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-image style="height: 23px" :src="scope.row.corpSquareLogoUrl" fit="fit" />
|
|
<el-image style="height: 23px" :src="scope.row.corpSquareLogoUrl" fit="fit" />
|
|
@@ -84,6 +85,13 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="授权时间" prop="createTime" width="130" :show-overflow-tooltip="true" />
|
|
<el-table-column label="授权时间" prop="createTime" width="130" :show-overflow-tooltip="true" />
|
|
|
|
+ <el-table-column label="用户分组" prop="sysUserGroupList" width="150" :show-overflow-tooltip="true">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div v-if="scope.row.sysUserGroupList"><span v-for="(item, index) in scope.row.sysUserGroupList"
|
|
|
|
+ :key="item.id"><i v-if="index > 0">,</i>{{ item.groupName }}</span></div>
|
|
|
|
+ <div v-else>--</div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column label="备注" prop="remark" width="250" :show-overflow-tooltip="true" />
|
|
<el-table-column label="备注" prop="remark" width="250" :show-overflow-tooltip="true" />
|
|
<el-table-column label="操作" width="200" align="center" class-name="small-padding fixed-width" fixed="right">
|
|
<el-table-column label="操作" width="200" align="center" class-name="small-padding fixed-width" fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -246,7 +254,8 @@ export default {
|
|
originCorpId: row.originCorpId,
|
|
originCorpId: row.originCorpId,
|
|
externalUserSecret: row.externalUserSecret,
|
|
externalUserSecret: row.externalUserSecret,
|
|
bookAgentIdMap: [],
|
|
bookAgentIdMap: [],
|
|
- remark: row.remark
|
|
|
|
|
|
+ remark: row.remark,
|
|
|
|
+ sysUserGroupIds: row.sysUserGroupIds
|
|
}
|
|
}
|
|
if (row.bookAgentIdMap && Object.keys(row.bookAgentIdMap).length > 0) {
|
|
if (row.bookAgentIdMap && Object.keys(row.bookAgentIdMap).length > 0) {
|
|
this.secretData.bookAgentIdMap = Object.keys(row.bookAgentIdMap).map(key => {
|
|
this.secretData.bookAgentIdMap = Object.keys(row.bookAgentIdMap).map(key => {
|