Commit b55b8938 by yuzhenWang

修改证件类型为多位

parent 231d894f
...@@ -25,6 +25,54 @@ const customer = [ ...@@ -25,6 +25,54 @@ const customer = [
} }
] ]
}, },
// 证件信息
{
fatherTitle: '证件信息',
keyType: 'Array', //用于表单收集值时,判断是数组还是对象
key: 'apiCertificateDtoList',
anchorKey: 'apiCertificateDtoList',
moudleType: 'apiCertificateDtoList',
dataLength: 1, //设置dataLength,用于控制子级dom的个数,子级保存一个样例数据,便于加子级数据
showMoudle: true,
showTable: true,
addChildren: true, //是否可以新增子级dom
addChildrenTxt: '证件', //新增按钮得文本
fatherRequired: false, //父级必填,代表个人资料这个模块有必填项
isOpen: false, //dom是否展开
// 表格列配置
columns: [
{
label: '证件类型',
prop: 'documentType',
type: 'select',
dictType: 'csf_id_type',
placeholder: '请选择证件类型',
required: true
},
{
label: '证件号码',
prop: 'idNumber',
type: 'input',
placeholder: '请输入证件号码',
required: true
},
{
label: '证件有效期',
prop: 'certificateValidityPeriod',
type: 'datePicker',
timeType: 'daterange',
placeholder: '请选择证件有效期',
required: true
},
{
label: '是否长期有效',
prop: 'isPermanent',
type: 'radioGroup',
required: false
}
],
data: []
},
// 基础信息 // 基础信息
{ {
fatherTitle: '基础信息', fatherTitle: '基础信息',
...@@ -68,35 +116,35 @@ const customer = [ ...@@ -68,35 +116,35 @@ const customer = [
lg: 8 //栅格布局份数 lg: 8 //栅格布局份数
}, },
{ // {
label: '证件类型', // label: '证件类型',
key: 'documentType', // key: 'documentType',
domType: 'Select', // domType: 'Select',
required: true, // required: true,
disabled: false, // disabled: false,
placeholder: '请选择', // placeholder: '请选择',
dictType: 'csf_id_type', // dictType: 'csf_id_type',
show: true, // show: true,
labelPosition: 'top', //标签的位置 // labelPosition: 'top', //标签的位置
labelWidth: '120px', //标签宽度 // labelWidth: '120px', //标签宽度
sm: 12, //栅格布局份数 // sm: 12, //栅格布局份数
lg: 8 //栅格布局份数 // lg: 8 //栅格布局份数
}, // },
{ // {
label: '证件号码', // label: '证件号码',
key: 'idNumber', // key: 'idNumber',
domType: 'Input', // domType: 'Input',
inputType: 'text', // inputType: 'text',
required: true, // required: true,
maxLength: 20, // maxLength: 20,
disabled: false, // disabled: false,
placeholder: '请输入', // placeholder: '请输入',
show: true, // show: true,
labelPosition: 'top', //标签的位置 // labelPosition: 'top', //标签的位置
labelWidth: '120px', //标签宽度 // labelWidth: '120px', //标签宽度
sm: 12, //栅格布局份数 // sm: 12, //栅格布局份数
lg: 8 //栅格布局份数 // lg: 8 //栅格布局份数
}, // },
{ {
label: '性别', label: '性别',
...@@ -346,6 +394,21 @@ const customer = [ ...@@ -346,6 +394,21 @@ const customer = [
addChildrenTxt: '税务', //新增按钮得文本 addChildrenTxt: '税务', //新增按钮得文本
fatherRequired: false, //父级必填,代表个人资料这个模块有必填项 fatherRequired: false, //父级必填,代表个人资料这个模块有必填项
isOpen: false, //dom是否展开 isOpen: false, //dom是否展开
// 表格列配置
columns: [
{
label: '税务国家',
prop: 'taxCountry',
type: 'Input',
placeholder: '请输入税务国家'
},
{
label: '税务编号',
prop: 'taxId',
type: 'Input',
placeholder: '请税务编号'
}
],
data: [ data: [
// { // {
// id: Date.now() + Math.floor(Math.random() * 1000), //唯一标识 // id: Date.now() + Math.floor(Math.random() * 1000), //唯一标识
......
...@@ -83,13 +83,13 @@ ...@@ -83,13 +83,13 @@
<el-row v-if="isEmbed"> <el-row v-if="isEmbed">
<el-col> <el-col>
<div class="topButtonBox"> <div class="topButtonBox">
<el-button <!-- <el-button
v-if="!idsObj.appointmentBizId" v-if="!idsObj.appointmentBizId"
type="primary" type="primary"
icon="Plus" icon="Plus"
@click="execlDialog = true" @click="execlDialog = true"
>导入</el-button >导入</el-button
> > -->
<el-button <el-button
v-if="pageSource !== 'policyList' && idsObj.appointmentBizId" v-if="pageSource !== 'policyList' && idsObj.appointmentBizId"
type="primary" type="primary"
...@@ -927,7 +927,6 @@ const beforeTabLeave = async (activeTabName, oldTabName) => { ...@@ -927,7 +927,6 @@ const beforeTabLeave = async (activeTabName, oldTabName) => {
} }
} }
const handleSubmit = async type => { const handleSubmit = async type => {
// 提交得时候要拿到各个步骤得表单数据 // 提交得时候要拿到各个步骤得表单数据
if (appointmentInfoRef.value) { if (appointmentInfoRef.value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment