|
@@ -8,12 +8,12 @@
|
|
|
<zz-form :cols="formCols" :data="formData" :rules="formRules" :errors="formErrors" labelWidth="70" ref="form">
|
|
|
<!-- 查看审核 -->
|
|
|
<template>
|
|
|
- <template slot="name">{{ formData.name }}</template>
|
|
|
- <template slot="phone">{{ formData.phone }}</template>
|
|
|
- <template slot="personnelNumber">{{ formData.personnelNumber }}</template>
|
|
|
+ <template slot="name">{{ formData.name || '--' }}</template>
|
|
|
+ <template slot="phone">{{ formData.phone || '--' }}</template>
|
|
|
+ <template slot="personnelNumber">{{ formData.personnelNumber || '--' }}</template>
|
|
|
<template slot="sex" v-if="formData.sex === 0">未知</template>
|
|
|
<template slot="sex" v-else>{{ formData.sex === 1 ? '男' : '女' }}</template>
|
|
|
- <template slot="remarks">{{ formData.remarks || '--'}}</template>
|
|
|
+ <template slot="remarks">{{ formData.remarks || '--' }}</template>
|
|
|
</template>
|
|
|
</zz-form>
|
|
|
|
|
@@ -37,11 +37,11 @@
|
|
|
<!-- 查看审核 -->
|
|
|
<template>
|
|
|
<template slot="idType">{{ formData.idType | matchingVal(idTypeArray) }}</template>
|
|
|
- <template slot="idNumber">{{ formData.idNumber }}</template>
|
|
|
- <template slot="permanentAddress">{{ formData.permanentAddress }}</template>
|
|
|
- <template slot="issuingAuthority">{{ formData.issuingAuthority }}</template>
|
|
|
+ <template slot="idNumber">{{ formData.idNumber || '--' }}</template>
|
|
|
+ <template slot="permanentAddress">{{ formData.permanentAddress || '--' }}</template>
|
|
|
+ <template slot="issuingAuthority">{{ formData.issuingAuthority || '--' }}</template>
|
|
|
<template slot="effectiveDate">{{
|
|
|
- !!formData.effectiveDateStart ? formData.effectiveDateStart + ' —— ' + formData.effectiveDateStart : ''
|
|
|
+ !!formData.effectiveDateStart ? formData.effectiveDateStart + ' —— ' + formData.effectiveDateStart : '--'
|
|
|
}}</template>
|
|
|
<template slot="nationality">{{ formData.nationality | matchingVal(nationalityArray) }}</template>
|
|
|
<template slot="nativePlace">{{ formData.nativePlace | matchingVal(nativePlaceArray) }}</template>
|
|
@@ -146,20 +146,17 @@ export default {
|
|
|
{
|
|
|
label: '姓名',
|
|
|
prop: 'name',
|
|
|
- slot: 'name',
|
|
|
- input: true
|
|
|
+ slot: 'name'
|
|
|
},
|
|
|
{
|
|
|
label: '手机号',
|
|
|
prop: 'phone',
|
|
|
- slot: 'phone',
|
|
|
- input: true
|
|
|
+ slot: 'phone'
|
|
|
},
|
|
|
{
|
|
|
label: '人员编号',
|
|
|
prop: 'personnelNumber',
|
|
|
- slot: 'personnelNumber',
|
|
|
- input: true
|
|
|
+ slot: 'personnelNumber'
|
|
|
},
|
|
|
{
|
|
|
label: '性别',
|
|
@@ -183,20 +180,17 @@ export default {
|
|
|
{
|
|
|
label: '证件号码',
|
|
|
prop: 'idNumber',
|
|
|
- slot: 'idNumber',
|
|
|
- input: true
|
|
|
+ slot: 'idNumber'
|
|
|
},
|
|
|
{
|
|
|
label: '户籍地址',
|
|
|
prop: 'permanentAddress',
|
|
|
- slot: 'permanentAddress',
|
|
|
- input: true
|
|
|
+ slot: 'permanentAddress'
|
|
|
},
|
|
|
{
|
|
|
label: '签发机关',
|
|
|
prop: 'issuingAuthority',
|
|
|
- slot: 'issuingAuthority',
|
|
|
- input: true
|
|
|
+ slot: 'issuingAuthority'
|
|
|
},
|
|
|
{
|
|
|
label: '有效期',
|