|
@@ -24,8 +24,8 @@
|
|
|
<el-table :data="response.rows" border @selection-change="selects" height="calc(100vh - 270px)">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
<el-table-column label="姓名" align="center" prop="name" />
|
|
|
- <el-table-column label="手机号" align="center" prop="phone" />
|
|
|
<el-table-column label="身份证" align="center" prop="idCard" />
|
|
|
+ <el-table-column label="手机号" align="center" prop="phone" />
|
|
|
<el-table-column label="实名认证" align="center" prop="isAuthentication" width="130">
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag type="danger" v-if="scope.row.isAuthentication == 0">未实名</el-tag>
|
|
@@ -39,7 +39,7 @@
|
|
|
<el-tag type="success" v-if="scope.row.isContract == 1">已签署</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="注册日期" align="center" prop="createTime" />
|
|
|
+ <el-table-column label="关联企业" align="center" prop="isCompany" width="130" />
|
|
|
<el-table-column label="账号状态" align="center" prop="state" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="switch">
|
|
@@ -49,8 +49,10 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" align="center" fixed="right">
|
|
|
+ <el-table-column label="注册日期" align="center" prop="createTime" />
|
|
|
+ <el-table-column label="操作" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-view" @click="op('detail', scope.row)" v-hasPermi="['work:user:list']">详情</el-button>
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="op('edit', scope.row)" v-hasPermi="['work:user:edit']">审核</el-button>
|
|
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="del(scope.row)" v-hasPermi="['work:user:remove']">删除</el-button>
|
|
|
</template>
|
|
@@ -105,8 +107,11 @@ export default {
|
|
|
this.ids = rows.map((item) => item.id);
|
|
|
},
|
|
|
op(tag, row) {
|
|
|
+ const id = row.id || this.ids[0];
|
|
|
+ if (tag == 'detail') {
|
|
|
+ this.iframe({ obj: audit, param: { id: id, detail: true, companyName: row.companyName }, title: '充值详情', width: '45%', height: '65%' });
|
|
|
+ }
|
|
|
if (tag == 'edit') {
|
|
|
- const id = row.id || this.ids[0];
|
|
|
this.iframe({ obj: edit, param: { id: id }, title: '审核', width: '60%', height: '70%' });
|
|
|
}
|
|
|
//账号状态
|