56 lines
1.9 KiB
Vue
56 lines
1.9 KiB
Vue
<template>
|
|
<el-dialog title="授权人/法人变更历史" :visible.sync="dialogVisible" width="60%">
|
|
<el-table :data="list" style="width: 100%">
|
|
<el-table-column prop="type" label="授权人类型">
|
|
<template #default="{ row }">
|
|
{{ row.type === 1 ? '法人' : '授权人' }}
|
|
</template>
|
|
</el-table-column>
|
|
<el-table-column prop="personName" label="姓名"/>
|
|
<el-table-column prop="certType" label="证件类型">
|
|
<template #default="{ row }">
|
|
<div>{{ row.certType === 0 ? '身份证' : '护照'}}</div>
|
|
</template>
|
|
</el-table-column>
|
|
<el-table-column prop="idCard" label="证件号"/>
|
|
<el-table-column label="身份证头像面">
|
|
<template #default="{ row }">
|
|
<el-image :src="row.headPhotoPath"/>
|
|
</template>
|
|
</el-table-column>
|
|
<el-table-column label="身份证国徽面">
|
|
<template #default="{ row }">
|
|
<el-image :src="row.backgroundIdCardPath"/>
|
|
</template>
|
|
</el-table-column>
|
|
<el-table-column prop="_add_time_str" label="变更时间"/>
|
|
</el-table>
|
|
</el-dialog>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "ManagerChangeLog",
|
|
data() {
|
|
return {
|
|
dialogVisible: false,
|
|
list: [],
|
|
}
|
|
},
|
|
methods: {
|
|
open(userId){
|
|
this.getList(userId)
|
|
},
|
|
async getList(userId){
|
|
const {rows} = await vk.callFunction({
|
|
url: 'admin/system/user/sys/managerChangeLog',
|
|
data: {
|
|
userId
|
|
}
|
|
})
|
|
this.dialogVisible = true
|
|
this.list = rows
|
|
}
|
|
}
|
|
}
|
|
</script> |