|
|
@@ -10,8 +10,8 @@
|
|
|
label="操作"
|
|
|
width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.adminUU === enterpriseList[0].adminUU" >管理员</span>
|
|
|
- <el-button type="text" size="small" v-if="scope.row.adminUU !== enterpriseList[0].adminUU"
|
|
|
+ <span v-if="scope.row.adminUU === userInfo.userUU" >管理员</span>
|
|
|
+ <el-button type="text" size="small" v-if="scope.row.adminUU !== userInfo.userUU"
|
|
|
@click="handleClick(scope.row)">解除绑定
|
|
|
</el-button>
|
|
|
</template>
|
|
|
@@ -32,7 +32,7 @@
|
|
|
width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="adminUU"
|
|
|
+ prop="spaceUU"
|
|
|
label="企业UU号"
|
|
|
width="120">
|
|
|
</el-table-column>
|
|
|
@@ -249,7 +249,7 @@
|
|
|
this.bindUserInfo = {}
|
|
|
},
|
|
|
searchAndSelectAdmin () {
|
|
|
- const params = { userUU: this.enterpriseList[0].admin.userUU, key: this.key, keyword: this.keyword }
|
|
|
+ const params = { userUU: this.userInfo.userUU, key: this.key, keyword: this.keyword }
|
|
|
|
|
|
const error = error => {
|
|
|
console.log(error)
|