居民档案
This commit is contained in:
@@ -92,11 +92,11 @@
|
|||||||
:total="page.total" :current.sync="page.current" :size.sync="page.size"
|
:total="page.total" :current.sync="page.current" :size.sync="page.size"
|
||||||
@getList="refreshTable"
|
@getList="refreshTable"
|
||||||
@selection-change="handleSelectionChange">
|
@selection-change="handleSelectionChange">
|
||||||
<el-table-column slot="idNumber" label="身份证号" show-overflow-tooltip align="center">
|
<!-- <el-table-column slot="idNumber" label="身份证号" show-overflow-tooltip align="center">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<ai-id mode="show" v-model="row.idNumber" :showEyes="false"/>
|
<ai-id mode="show" v-model="row.idNumber" :showEyes="false"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column slot="fileStatus" label="档案状态" show-overflow-tooltip align="center">
|
<el-table-column slot="fileStatus" label="档案状态" show-overflow-tooltip align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.fileStatus==0" style="color:rgba(46,162,34,1);">正常</span>
|
<span v-if="scope.row.fileStatus==0" style="color:rgba(46,162,34,1);">正常</span>
|
||||||
@@ -160,7 +160,8 @@ export default {
|
|||||||
{type: "selection"},
|
{type: "selection"},
|
||||||
{label: "姓名", prop: "name", align: "center"},
|
{label: "姓名", prop: "name", align: "center"},
|
||||||
{label: "性别", prop: "sex", dict: 'sex', align: "center"},
|
{label: "性别", prop: "sex", dict: 'sex', align: "center"},
|
||||||
{slot: "idNumber"},
|
// {slot: "idNumber"},
|
||||||
|
{prop: 'idNumber', label: '身份证号', align: 'center', format: v => v.substring(0, 10) + '****' + v.substring(14, 18) },
|
||||||
{label: "年龄", prop: "age", align: "center"},
|
{label: "年龄", prop: "age", align: "center"},
|
||||||
{label: "民族", prop: "nation", align: "center", dict: "nation"},
|
{label: "民族", prop: "nation", align: "center", dict: "nation"},
|
||||||
{label: "文化程度", prop: "education", align: "center", dict: "education"},
|
{label: "文化程度", prop: "education", align: "center", dict: "education"},
|
||||||
|
|||||||
Reference in New Issue
Block a user