|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="page"> |
|
|
|
<div> |
|
|
|
<p class="page-name mb">用户信息</p> |
|
|
|
<p class="page-name mb">用户信息</p> |
|
|
|
<div> |
|
|
|
<div class="page m-b-20"> |
|
|
|
<p class="l-title">账号信息</p> |
|
|
|
<p class="l-title">账号信息</p> |
|
|
|
<el-form v-for="(item, i) in userAccountList" |
|
|
|
<el-form v-for="(item, i) in userAccountList" |
|
|
|
:key="i" |
|
|
|
:key="i" |
|
|
@ -27,98 +27,98 @@ |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="aline"></div> |
|
|
|
<div class="page m-b-20"> |
|
|
|
|
|
|
|
<p class="l-title">实名认证信息({{ form.authentication }})</p> |
|
|
|
<p class="l-title">实名认证信息({{ form.authentication }})</p> |
|
|
|
<el-form ref="form" |
|
|
|
<el-form ref="form" |
|
|
|
class="input-form" |
|
|
|
class="input-form" |
|
|
|
:model="form" |
|
|
|
:model="form" |
|
|
|
:rules="rules" |
|
|
|
:rules="rules" |
|
|
|
label-width="120px" |
|
|
|
label-width="120px" |
|
|
|
:disabled="isDetail"> |
|
|
|
:disabled="isDetail"> |
|
|
|
<div class="item-line"> |
|
|
|
<div class="item-line"> |
|
|
|
<el-form-item prop="userName" |
|
|
|
<el-form-item prop="userName" |
|
|
|
label="用户姓名"> |
|
|
|
label="用户姓名"> |
|
|
|
<el-input v-model="form.userName" |
|
|
|
<el-input v-model="form.userName" |
|
|
|
placeholder="请输入"></el-input> |
|
|
|
placeholder="请输入"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="phone" |
|
|
|
<el-form-item prop="phone" |
|
|
|
label="手机号"> |
|
|
|
label="手机号"> |
|
|
|
<el-input v-model="form.phone" |
|
|
|
<el-input v-model="form.phone" |
|
|
|
placeholder="请输入手机号" |
|
|
|
placeholder="请输入手机号" |
|
|
|
maxlength="11"></el-input> |
|
|
|
maxlength="11"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="item-line"> |
|
|
|
|
|
|
|
<el-form-item label="证件类型" |
|
|
|
|
|
|
|
prop="documentType"> |
|
|
|
|
|
|
|
<el-select value="1" |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
placeholder="请选择证件类型"> |
|
|
|
|
|
|
|
<el-option label="身份证" |
|
|
|
|
|
|
|
value="1"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item prop="idNumber" |
|
|
|
<div class="item-line"> |
|
|
|
label="证件号码"> |
|
|
|
<el-form-item label="证件类型" |
|
|
|
<el-input v-model="form.idNumber" |
|
|
|
prop="documentType"> |
|
|
|
placeholder="请输入证件号码" |
|
|
|
<el-select value="1" |
|
|
|
maxlength="18"></el-input> |
|
|
|
clearable |
|
|
|
</el-form-item> |
|
|
|
placeholder="请选择证件类型"> |
|
|
|
</div> |
|
|
|
<el-option label="身份证" |
|
|
|
</el-form> |
|
|
|
value="1"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<div class="line m-b-20"></div> |
|
|
|
<el-form-item prop="idNumber" |
|
|
|
|
|
|
|
label="证件号码"> |
|
|
|
|
|
|
|
<el-input v-model="form.idNumber" |
|
|
|
|
|
|
|
placeholder="请输入证件号码" |
|
|
|
|
|
|
|
maxlength="18"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<p class="l-title">已绑定的平台和用户信息</p> |
|
|
|
<div class="page"> |
|
|
|
<el-table :data="platformList" |
|
|
|
<p class="l-title">已绑定的平台和用户信息</p> |
|
|
|
class="table" |
|
|
|
<el-table :data="platformList" |
|
|
|
stripe |
|
|
|
class="table" |
|
|
|
header-align="center" |
|
|
|
stripe |
|
|
|
row-key="accountId"> |
|
|
|
header-align="center" |
|
|
|
<el-table-column type="index" |
|
|
|
row-key="accountId"> |
|
|
|
width="100" |
|
|
|
<el-table-column type="index" |
|
|
|
label="序号" |
|
|
|
width="100" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="序号" |
|
|
|
<el-table-column prop="organizationName" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="组织名称" |
|
|
|
<el-table-column prop="organizationName" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="组织名称" |
|
|
|
<el-table-column prop="companyName" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="类型" |
|
|
|
<el-table-column prop="companyName" |
|
|
|
align="center"> |
|
|
|
label="类型" |
|
|
|
<template slot-scope="scope"> |
|
|
|
align="center"> |
|
|
|
{{ platformSource.find(e => e.id == scope.row.platformId).name }} |
|
|
|
<template slot-scope="scope"> |
|
|
|
</template> |
|
|
|
{{ platformSource.find(e => e.id == scope.row.platformId).name }} |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
<el-table-column prop="creditCode" |
|
|
|
</el-table-column> |
|
|
|
label="统一社会信用代码" |
|
|
|
<el-table-column prop="creditCode" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="统一社会信用代码" |
|
|
|
<el-table-column prop="authentication" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="组织认证状态" |
|
|
|
<el-table-column prop="authentication" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="组织认证状态" |
|
|
|
<el-table-column prop="roleName" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="组织会员状态" |
|
|
|
<el-table-column prop="roleName" |
|
|
|
align="center"></el-table-column> |
|
|
|
label="组织会员状态" |
|
|
|
<el-table-column label="操作" |
|
|
|
align="center"></el-table-column> |
|
|
|
width="180" |
|
|
|
<el-table-column label="操作" |
|
|
|
align="center"> |
|
|
|
width="180" |
|
|
|
<template slot-scope="scope"> |
|
|
|
align="center"> |
|
|
|
<el-button type="text" |
|
|
|
<template slot-scope="scope"> |
|
|
|
@click="show(scope.row)">查看</el-button> |
|
|
|
<el-button type="text" |
|
|
|
<el-button type="text" |
|
|
|
@click="show(scope.row)">查看</el-button> |
|
|
|
@click="del(scope.row)">移除</el-button> |
|
|
|
<el-button type="text" |
|
|
|
<el-switch v-if="scope.row.openId!==1" |
|
|
|
@click="del(scope.row)">移除</el-button> |
|
|
|
v-model="scope.row.isEnable" |
|
|
|
<el-switch v-if="scope.row.openId!==1" |
|
|
|
:active-value="0" |
|
|
|
v-model="scope.row.isEnable" |
|
|
|
:inactive-value="1" |
|
|
|
:active-value="0" |
|
|
|
style="margin: 0 10px 0 5px" |
|
|
|
:inactive-value="1" |
|
|
|
:active-text="scope.row.isEnable ? '禁用' : '启用'" |
|
|
|
style="margin: 0 10px 0 5px" |
|
|
|
@change="switchUser($event,scope.row,scope.$index)"></el-switch> |
|
|
|
:active-text="scope.row.isEnable ? '禁用' : '启用'" |
|
|
|
</template> |
|
|
|
@change="switchUser($event,scope.row,scope.$index)"></el-switch> |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
</el-table> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -212,7 +212,7 @@ export default { |
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.bb:not(:last-child) { |
|
|
|
.bb:not(:last-child) { |
|
|
|
margin-bottom: 20px; |
|
|
|
margin-bottom: 20px; |
|
|
|
border-bottom: 1px solid #f1f1f1; |
|
|
|
border-bottom: 1px dashed #e3e3e3; |
|
|
|
} |
|
|
|
} |
|
|
|
.l-title { |
|
|
|
.l-title { |
|
|
|
margin-bottom: 15px; |
|
|
|
margin-bottom: 15px; |
|
|
|