清理idCardNoUtils,改使用ID对象
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
import {ID} from "dvcp-ui/lib/js/utils";
|
||||
|
||||
export default {
|
||||
name: "psList",
|
||||
@@ -60,7 +61,7 @@ export default {
|
||||
},
|
||||
{label: '类型', prop: 'residentType', align: 'center', dict: "residentType"},
|
||||
{label: '姓名', prop: 'name', align: 'center'},
|
||||
{label: '身份证号', render: (h, {row}) => h('p', this.idCardNoUtil.hideId(row.idNumber)), width: 165},
|
||||
{label: '身份证号', render: (h, {row}) => h('p', ID.hideId(row.idNumber)), width: 165},
|
||||
{label: '联系电话', prop: 'phone', align: 'center', width: 120}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user