|
|
|
|
|
|
35
|
<uni-data-checkbox class='checkbox' :disabled="ids?true:false" :localdata="objectiJurisArr"
|
35
|
<uni-data-checkbox class='checkbox' :disabled="ids?true:false" :localdata="objectiJurisArr"
|
|
36
|
v-model="formData.organizeFlag" @change='clearValidate'></uni-data-checkbox>
|
36
|
v-model="formData.organizeFlag" @change='clearValidate'></uni-data-checkbox>
|
|
37
|
</uni-forms-item>
|
37
|
</uni-forms-item>
|
|
38
|
- <button type="primary" @click="addMultiple" style="margin-bottom: 20px;">新增多个信息</button>
|
|
|
|
39
|
- <view v-for="(item ,index ) in formData.affiliate" :key="index">
|
|
|
|
40
|
- <button class="mini-btn" type="primary" size="mini" @tap="delValue(index)" v-if="delShow">删除</button>
|
|
|
|
41
|
- <uni-section :title="'双方信息' + (index + 1)" type="line" padding></uni-section>
|
|
|
|
|
|
38
|
+ <!-- 新增多个申请人 -->
|
|
|
|
39
|
+ <button type="primary" @click="addMultipleApplicants" size="mini" style="margin-bottom: 20px;">新增多个申请人</button>
|
|
|
|
40
|
+ <view class="" v-for="(item,index) in formData.affiliate.applicant">
|
|
|
|
41
|
+ <button class="mini-btn" type="primary" size="mini" @tap="delValue(index)" v-if="index>=1?true:false">删除</button>
|
|
|
|
42
|
+ <uni-section :title="'申请人信息' + (index + 1)" type="line" padding></uni-section>
|
|
42
|
<uni-forms-item label="是否操作人" label-width="120px">
|
43
|
<uni-forms-item label="是否操作人" label-width="120px">
|
|
43
|
<uni-data-checkbox
|
44
|
<uni-data-checkbox
|
|
44
|
- v-model="formData.affiliate[index].applicant.operatorFlag"
|
|
|
|
|
|
45
|
+ v-model="formData.affiliate.applicant[index].applicant.operatorFlag"
|
|
45
|
:localdata="isOperate"
|
46
|
:localdata="isOperate"
|
|
46
|
></uni-data-checkbox>
|
47
|
></uni-data-checkbox>
|
|
47
|
</uni-forms-item>
|
48
|
</uni-forms-item>
|
|
48
|
- <uni-forms-item :label="formData.organizeFlag==0 ? '申请人':'申请机构'" :rules="rulesPersonName"
|
|
|
|
49
|
- :name="['affiliate',index,'applicant','name']" label-width="120px" required>
|
|
|
|
50
|
- <uni-easyinput v-model="formData.affiliate[index].applicant.name" type="text"
|
|
|
|
|
|
49
|
+ <uni-forms-item :label="formData.organizeFlag==0 ? '申请人':'申请机构'" :rules="rulesPersonName"
|
|
|
|
50
|
+ :name="['affiliate','applicant',index,'applicant','name']" label-width="120px" required>
|
|
|
|
51
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicant.name" type="text"
|
|
51
|
:placeholder="formData.organizeFlag==0 ? '请输入申请人姓名':'请输入申请机构名称'" />
|
52
|
:placeholder="formData.organizeFlag==0 ? '请输入申请人姓名':'请输入申请机构名称'" />
|
|
52
|
</uni-forms-item>
|
53
|
</uni-forms-item>
|
|
53
|
<uni-forms-item label="证件类型" label-width="120px" v-if="formData.organizeFlag==0">
|
54
|
<uni-forms-item label="证件类型" label-width="120px" v-if="formData.organizeFlag==0">
|
|
54
|
<uni-data-select
|
55
|
<uni-data-select
|
|
55
|
- v-model="formData.affiliate[index].applicant.idType"
|
|
|
|
|
|
56
|
+ v-model="formData.affiliate.applicant[index].applicant.idType"
|
|
56
|
:localdata="certificate"
|
57
|
:localdata="certificate"
|
|
57
|
@change="changeDocment"
|
58
|
@change="changeDocment"
|
|
58
|
></uni-data-select>
|
59
|
></uni-data-select>
|
|
59
|
</uni-forms-item>
|
60
|
</uni-forms-item>
|
|
60
|
<uni-forms-item label="地区" label-width="120px">
|
61
|
<uni-forms-item label="地区" label-width="120px">
|
|
61
|
<uni-data-select
|
62
|
<uni-data-select
|
|
62
|
- v-model="formData.affiliate[index].applicant.nationality"
|
|
|
|
|
|
63
|
+ v-model="formData.affiliate.applicant[index].applicant.nationality"
|
|
63
|
:localdata="nationality"
|
64
|
:localdata="nationality"
|
|
64
|
@change="changeArea"
|
65
|
@change="changeArea"
|
|
65
|
-
|
|
|
|
66
|
></uni-data-select>
|
66
|
></uni-data-select>
|
|
67
|
</uni-forms-item>
|
67
|
</uni-forms-item>
|
|
68
|
-
|
|
|
|
69
|
- <uni-forms-item key = 'code' v-if="formData.organizeFlag==1" label="机构代码" required label-width="120px" :name="['affiliate',index,'applicant','code']" :rules="[{required: true,errorMessage: '机构代码不能为空'}]">
|
|
|
|
70
|
- <uni-easyinput v-model="formData.affiliate[index].applicant.code" type="text"
|
|
|
|
|
|
68
|
+ <uni-forms-item key = 'code' v-if="formData.organizeFlag==1" label="机构代码" required label-width="120px" :name="['affiliate','applicant',index,'applicant','code']" :rules="[{required: true,errorMessage: '机构代码不能为空'}]">
|
|
|
|
69
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicant.code" type="text"
|
|
71
|
placeholder="请输入统一社会代码" />
|
70
|
placeholder="请输入统一社会代码" />
|
|
72
|
</uni-forms-item>
|
71
|
</uni-forms-item>
|
|
73
|
-
|
|
|
|
74
|
-
|
|
|
|
75
|
- <uni-forms-item label="证件号码" key = 'idCard' v-if="formData.organizeFlag==0" :name="['affiliate',index,'applicant','idCard']"
|
|
|
|
|
|
72
|
+ <uni-forms-item label="证件号码" key = 'idCard' v-if="formData.organizeFlag==0" :name="['affiliate','applicant',index,'applicant','idCard']"
|
|
76
|
label-width="120px" required :rules="[
|
73
|
label-width="120px" required :rules="[
|
|
77
|
{required: true,errorMessage: '申请人身份证号不能为空'},
|
74
|
{required: true,errorMessage: '申请人身份证号不能为空'},
|
|
78
|
{pattern:'^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$',errorMessage:'申请人身份证格式错误'}]">
|
75
|
{pattern:'^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$',errorMessage:'申请人身份证格式错误'}]">
|
|
79
|
- <uni-easyinput v-model="formData.affiliate[index].applicant.idCard" type="text"
|
|
|
|
|
|
76
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicant.idCard" type="text"
|
|
80
|
placeholder="请输入证件号码" />
|
77
|
placeholder="请输入证件号码" />
|
|
81
|
</uni-forms-item>
|
78
|
</uni-forms-item>
|
|
82
|
|
79
|
|
|
83
|
<uni-forms-item label="申请人邮箱:" key="email" v-if="formData.organizeFlag==0"
|
80
|
<uni-forms-item label="申请人邮箱:" key="email" v-if="formData.organizeFlag==0"
|
|
84
|
- :name="['affiliate',index,'applicant','email']" label-width="120px" required :rules="[
|
|
|
|
|
|
81
|
+ :name="['affiliate','applicant',index,'applicant','email']" label-width="120px" required :rules="[
|
|
85
|
{required: true,errorMessage: '被申请人邮箱不能为空'},
|
82
|
{required: true,errorMessage: '被申请人邮箱不能为空'},
|
|
86
|
{pattern:'^\\S+?@\\S+?\\.\\S+?$',errorMessage:'邮箱格式不正确'}
|
83
|
{pattern:'^\\S+?@\\S+?\\.\\S+?$',errorMessage:'邮箱格式不正确'}
|
|
87
|
]">
|
84
|
]">
|
|
88
|
- <uni-easyinput v-model="formData.affiliate[index].applicant.email"
|
|
|
|
|
|
85
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicant.email"
|
|
89
|
type="text" placeholder="请输入申请人邮箱" />
|
86
|
type="text" placeholder="请输入申请人邮箱" />
|
|
90
|
</uni-forms-item>
|
87
|
</uni-forms-item>
|
|
91
|
<uni-forms-item label="申请人电话:" key="phone" v-if="formData.organizeFlag==0"
|
88
|
<uni-forms-item label="申请人电话:" key="phone" v-if="formData.organizeFlag==0"
|
|
92
|
- :name="['affiliate',index,'applicant','phone']" label-width="120px" :required="testVerify" :rules="rulesRespondentPhone">
|
|
|
|
93
|
- <uni-easyinput v-model="formData.affiliate[index].applicant.phone"
|
|
|
|
|
|
89
|
+ :name="['affiliate','applicant',index,'applicant','phone']" label-width="120px" :required="testVerify" :rules="rulesRespondentPhone">
|
|
|
|
90
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicant.phone"
|
|
94
|
type="text" placeholder="请输入申请人电话" />
|
91
|
type="text" placeholder="请输入申请人电话" />
|
|
95
|
</uni-forms-item>
|
92
|
</uni-forms-item>
|
|
96
|
<uni-forms-item label="法定代表人:" v-if="formData.organizeFlag==1"
|
93
|
<uni-forms-item label="法定代表人:" v-if="formData.organizeFlag==1"
|
|
97
|
- :name="['affiliate',index,'applicant','compLegalPerson']" key="compLegalPerson" label-width="120px" required :rules="[{required: true,errorMessage: '法定代表人不能为空'}]">
|
|
|
|
98
|
- <uni-easyinput v-model="formData.affiliate[index].applicant.compLegalPerson" type="text" placeholder="请输入法定代表人" />
|
|
|
|
|
|
94
|
+ :name="['affiliate','applicant',index,'applicant','compLegalPerson']" key="compLegalPerson" label-width="120px" required :rules="[{required: true,errorMessage: '法定代表人不能为空'}]">
|
|
|
|
95
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicant.compLegalPerson" type="text" placeholder="请输入法定代表人" />
|
|
99
|
</uni-forms-item>
|
96
|
</uni-forms-item>
|
|
100
|
- <uni-forms-item label="申请人住所:" :name="['affiliate',index,'applicant','home']" label-width="120px" required
|
|
|
|
|
|
97
|
+ <uni-forms-item label="申请人住所:" :name="['affiliate','applicant',index,'applicant','home']" label-width="120px" required
|
|
101
|
:rules="[{required: true,errorMessage: '申请人住所不能为空'}]">
|
98
|
:rules="[{required: true,errorMessage: '申请人住所不能为空'}]">
|
|
102
|
- <uni-easyinput v-model="formData.affiliate[index].applicant.home" type="text" placeholder="请输入申请人住所" />
|
|
|
|
|
|
99
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicant.home" type="text" placeholder="请输入申请人住所" />
|
|
103
|
</uni-forms-item>
|
100
|
</uni-forms-item>
|
|
104
|
- <uni-forms-item label="申请人联系地址:" :name="['affiliate',index,'applicant','address']" label-width="120px" required
|
|
|
|
|
|
101
|
+ <uni-forms-item label="申请人联系地址:" :name="['affiliate','applicant',index,'applicant','address']" label-width="120px" required
|
|
105
|
:rules="[{required: true,errorMessage: '申请人联系地址不能为空'}]">
|
102
|
:rules="[{required: true,errorMessage: '申请人联系地址不能为空'}]">
|
|
106
|
- <uni-easyinput v-model="formData.affiliate[index].applicant.address" type="text" placeholder="请输入申请人联系地址" />
|
|
|
|
|
|
103
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicant.address" type="text" placeholder="请输入申请人联系地址" />
|
|
107
|
</uni-forms-item>
|
104
|
</uni-forms-item>
|
|
108
|
<uni-section title="申请代理人" type="line" padding></uni-section>
|
105
|
<uni-section title="申请代理人" type="line" padding></uni-section>
|
|
109
|
<uni-forms-item label="是否操作人" label-width="120px">
|
106
|
<uni-forms-item label="是否操作人" label-width="120px">
|
|
110
|
<uni-data-checkbox
|
107
|
<uni-data-checkbox
|
|
111
|
- v-model="formData.affiliate[index].applicantAgent.operatorFlag"
|
|
|
|
|
|
108
|
+ v-model="formData.affiliate.applicant[index].applicantAgent.operatorFlag"
|
|
112
|
:localdata="isProxyApplicant"
|
109
|
:localdata="isProxyApplicant"
|
|
113
|
></uni-data-checkbox>
|
110
|
></uni-data-checkbox>
|
|
114
|
</uni-forms-item>
|
111
|
</uni-forms-item>
|
|
115
|
<uni-forms-item label="代理人联系电话:" label-width="120px">
|
112
|
<uni-forms-item label="代理人联系电话:" label-width="120px">
|
|
116
|
- <uni-easyinput v-model="formData.affiliate[index].applicantAgent.phone" type="text"
|
|
|
|
117
|
- placeholder="请输入代理人联系电话" />
|
|
|
|
118
|
- </uni-forms-item>
|
|
|
|
119
|
- <uni-forms-item label="代理人姓名:" label-width="120px">
|
|
|
|
120
|
- <uni-easyinput v-model="formData.affiliate[index].applicantAgent.name" type="text"
|
|
|
|
121
|
- placeholder="请输入委托代理人姓名" />
|
|
|
|
122
|
- </uni-forms-item>
|
|
|
|
123
|
- <uni-forms-item label="代理人邮箱:" label-width="120px">
|
|
|
|
124
|
- <uni-easyinput v-model="formData.affiliate[index].applicantAgent.email" type="text"
|
|
|
|
125
|
- placeholder="请输入代理人邮箱" />
|
|
|
|
126
|
- </uni-forms-item>
|
|
|
|
127
|
- <uni-section title="被申请人" type="line" padding></uni-section>
|
|
|
|
128
|
- <uni-forms-item label="是否操作人" label-width="120px">
|
|
|
|
129
|
- <uni-data-checkbox
|
|
|
|
130
|
- v-model="formData.affiliate[index].res.operatorFlag"
|
|
|
|
131
|
- :localdata="isRespondent"
|
|
|
|
132
|
- ></uni-data-checkbox>
|
|
|
|
133
|
- </uni-forms-item>
|
|
|
|
134
|
- <uni-forms-item label="被申请人姓名:" :name="['affiliate',index,'res','name']" label-width="120px" required
|
|
|
|
135
|
- :rules="[{required: true,errorMessage: '被申请人姓名不能为空'}]">
|
|
|
|
136
|
- <uni-easyinput v-model="formData.affiliate[index].res.name" type="text" placeholder="请输入被申请人姓名" />
|
|
|
|
137
|
- </uni-forms-item>
|
|
|
|
138
|
- <uni-forms-item label="被申请人联系电话:" :name="['affiliate',index,'res','phone']" label-width="120px" :required="testVerify" :rules="rulesRespondentPhone">
|
|
|
|
139
|
- <uni-easyinput v-model="formData.affiliate[index].res.phone" type="text" placeholder="请输入被申请人联系电话" />
|
|
|
|
140
|
- </uni-forms-item>
|
|
|
|
141
|
- <uni-forms-item label="被申请人身份证号:" :name="['affiliate',index,'res','idCard']" label-width="120px" required
|
|
|
|
142
|
- :rules="[
|
|
|
|
143
|
- {required: true,errorMessage: '被申请人身份证号不能为空'},
|
|
|
|
144
|
- {pattern:'^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$',errorMessage:'被申请人身份证格式错误'}
|
|
|
|
145
|
-
|
|
|
|
146
|
- ]">
|
|
|
|
147
|
- <uni-easyinput v-model="formData.affiliate[index].res.idCard" @blur="handleBlur(index)" type="text"
|
|
|
|
148
|
- placeholder="请输入被申请人身份证号" />
|
|
|
|
149
|
- </uni-forms-item>
|
|
|
|
150
|
- <uni-forms-item label="被申请人性别" label-width="120px" required>
|
|
|
|
151
|
- <uni-data-checkbox class='checkbox' :disabled='true' v-model="formData.affiliate[index].res.sex"
|
|
|
|
152
|
- :localdata="respondentSexy"></uni-data-checkbox>
|
|
|
|
153
|
- </uni-forms-item>
|
|
|
|
154
|
- <uni-forms-item label="被申请人出生年月日" label-width="120px">
|
|
|
|
155
|
- <uni-datetime-picker v-model="formData.affiliate[index].res.birth" :disabled='true' type="date"
|
|
|
|
156
|
- :clear-icon="false" />
|
|
|
|
157
|
- </uni-forms-item>
|
|
|
|
158
|
- <uni-forms-item label="被申请人住所:" :name="['affiliate',index,'res','home']" label-width="120px" required
|
|
|
|
159
|
- :rules="[{required: true,errorMessage: '被申请人住所不能为空'}]">
|
|
|
|
160
|
- <uni-easyinput v-model="formData.affiliate[index].res.home" type="text" placeholder="请输入被申请人住所" />
|
|
|
|
161
|
- </uni-forms-item>
|
|
|
|
162
|
- <uni-forms-item label="被申请人邮箱:" :name="['affiliate',index,'res','email']" label-width="120px" required :rules="[
|
|
|
|
163
|
- {required: true,errorMessage: '被申请人邮箱不能为空'},
|
|
|
|
164
|
- {pattern:'^\\S+?@\\S+?\\.\\S+?$',errorMessage:'邮箱格式不正确'}
|
|
|
|
165
|
-
|
|
|
|
166
|
- ]">
|
|
|
|
167
|
- <uni-easyinput v-model="formData.affiliate[index].res.email" type="text" placeholder="请输入被申请人邮箱" />
|
|
|
|
168
|
- </uni-forms-item>
|
|
|
|
169
|
- <uni-section title="被申请代理人" type="line" padding></uni-section>
|
|
|
|
170
|
- <uni-forms-item label="是否操作人" label-width="120px">
|
|
|
|
171
|
- <uni-data-checkbox
|
|
|
|
172
|
- v-model="formData.affiliate[index].resAgent.operatorFlag"
|
|
|
|
173
|
- :localdata="isResApplicant"
|
|
|
|
174
|
- ></uni-data-checkbox>
|
|
|
|
175
|
- </uni-forms-item>
|
|
|
|
176
|
- <uni-forms-item label="代理人联系电话:" label-width="120px">
|
|
|
|
177
|
- <uni-easyinput v-model="formData.affiliate[index].resAgent.phone" type="text"
|
|
|
|
|
|
113
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicantAgent.phone" type="text"
|
|
178
|
placeholder="请输入代理人联系电话" />
|
114
|
placeholder="请输入代理人联系电话" />
|
|
179
|
</uni-forms-item>
|
115
|
</uni-forms-item>
|
|
180
|
<uni-forms-item label="代理人姓名:" label-width="120px">
|
116
|
<uni-forms-item label="代理人姓名:" label-width="120px">
|
|
181
|
- <uni-easyinput v-model="formData.affiliate[index].resAgent.name" type="text"
|
|
|
|
|
|
117
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicantAgent.name" type="text"
|
|
182
|
placeholder="请输入委托代理人姓名" />
|
118
|
placeholder="请输入委托代理人姓名" />
|
|
183
|
</uni-forms-item>
|
119
|
</uni-forms-item>
|
|
184
|
<uni-forms-item label="代理人邮箱:" label-width="120px">
|
120
|
<uni-forms-item label="代理人邮箱:" label-width="120px">
|
|
185
|
- <uni-easyinput v-model="formData.affiliate[index].resAgent.email" type="text"
|
|
|
|
|
|
121
|
+ <uni-easyinput v-model="formData.affiliate.applicant[index].applicantAgent.email" type="text"
|
|
186
|
placeholder="请输入代理人邮箱" />
|
122
|
placeholder="请输入代理人邮箱" />
|
|
187
|
</uni-forms-item>
|
123
|
</uni-forms-item>
|
|
188
|
- </view>
|
|
|
|
|
|
124
|
+ </view>
|
|
|
|
125
|
+ <!-- 新增多个被申请人 -->
|
|
|
|
126
|
+ <button type="primary" @click="addRespondent" size="mini" style="margin-bottom: 20px;">新增多个被申请人</button>
|
|
|
|
127
|
+ <view class="" v-for="(item,index) in formData.affiliate.res">
|
|
|
|
128
|
+ <button class="mini-btn" type="primary" size="mini" @tap="delRespondent(index)" v-if="index>=1?true:false">删除</button>
|
|
|
|
129
|
+ <uni-section :title="'被申请人信息'+(index+1)" type="line" padding></uni-section>
|
|
|
|
130
|
+ <uni-forms-item label="是否操作人" label-width="120px">
|
|
|
|
131
|
+ <uni-data-checkbox
|
|
|
|
132
|
+ v-model="formData.affiliate.res[index].res.operatorFlag"
|
|
|
|
133
|
+ :localdata="isRespondent"
|
|
|
|
134
|
+ ></uni-data-checkbox>
|
|
|
|
135
|
+ </uni-forms-item>
|
|
|
|
136
|
+ <uni-forms-item label="被申请人姓名:" :name="['affiliate','res',index,'res','name']" label-width="120px" required
|
|
|
|
137
|
+ :rules="[{required: true,errorMessage: '被申请人姓名不能为空'}]">
|
|
|
|
138
|
+ <uni-easyinput v-model="formData.affiliate.res[index].res.name" type="text" placeholder="请输入被申请人姓名" />
|
|
|
|
139
|
+ </uni-forms-item>
|
|
|
|
140
|
+ <uni-forms-item label="被申请人联系电话:" :name="['affiliate','res',index,'res','phone']" label-width="120px" :required="testVerify" :rules="rulesRespondentPhone">
|
|
|
|
141
|
+ <uni-easyinput v-model="formData.affiliate.res[index].res.phone" type="text" placeholder="请输入被申请人联系电话" />
|
|
|
|
142
|
+ </uni-forms-item>
|
|
|
|
143
|
+ <uni-forms-item label="被申请人身份证号:" :name="['affiliate','res',index,'res','idCard']" label-width="120px" required
|
|
|
|
144
|
+ :rules="[
|
|
|
|
145
|
+ {required: true,errorMessage: '被申请人身份证号不能为空'},
|
|
|
|
146
|
+ {pattern:'^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$',errorMessage:'被申请人身份证格式错误'}
|
|
|
|
147
|
+
|
|
|
|
148
|
+ ]">
|
|
|
|
149
|
+ <uni-easyinput v-model="formData.affiliate.res[index].res.idCard" @blur="handleBlur(index)" type="text"
|
|
|
|
150
|
+ placeholder="请输入被申请人身份证号" />
|
|
|
|
151
|
+ </uni-forms-item>
|
|
|
|
152
|
+ <uni-forms-item label="被申请人性别" label-width="120px" required>
|
|
|
|
153
|
+ <uni-data-checkbox class='checkbox' :disabled='true' v-model="formData.affiliate.res[index].res.sex"
|
|
|
|
154
|
+ :localdata="respondentSexy"></uni-data-checkbox>
|
|
|
|
155
|
+ </uni-forms-item>
|
|
|
|
156
|
+ <uni-forms-item label="被申请人出生年月日" label-width="120px">
|
|
|
|
157
|
+ <uni-datetime-picker v-model="formData.affiliate.res[index].res.birth" :disabled='true' type="date"
|
|
|
|
158
|
+ :clear-icon="false" />
|
|
|
|
159
|
+ </uni-forms-item>
|
|
|
|
160
|
+ <uni-forms-item label="被申请人住所:" :name="['affiliate','res',index,'res','home']" label-width="120px" required
|
|
|
|
161
|
+ :rules="[{required: true,errorMessage: '被申请人住所不能为空'}]">
|
|
|
|
162
|
+ <uni-easyinput v-model="formData.affiliate.res[index].res.home" type="text" placeholder="请输入被申请人住所" />
|
|
|
|
163
|
+ </uni-forms-item>
|
|
|
|
164
|
+ <uni-forms-item label="被申请人邮箱:" :name="['affiliate','res',index,'res','email']" label-width="120px" required :rules="[
|
|
|
|
165
|
+ {required: true,errorMessage: '被申请人邮箱不能为空'},
|
|
|
|
166
|
+ {pattern:'^\\S+?@\\S+?\\.\\S+?$',errorMessage:'邮箱格式不正确'}
|
|
|
|
167
|
+
|
|
|
|
168
|
+ ]">
|
|
|
|
169
|
+ <uni-easyinput v-model="formData.affiliate.res[index].res.email" type="text" placeholder="请输入被申请人邮箱" />
|
|
|
|
170
|
+ </uni-forms-item>
|
|
|
|
171
|
+ <uni-section title="被申请代理人" type="line" padding></uni-section>
|
|
|
|
172
|
+ <uni-forms-item label="是否操作人" label-width="120px">
|
|
|
|
173
|
+ <uni-data-checkbox
|
|
|
|
174
|
+ v-model="formData.affiliate.res[index].resAgent.operatorFlag"
|
|
|
|
175
|
+ :localdata="isResApplicant"
|
|
|
|
176
|
+ ></uni-data-checkbox>
|
|
|
|
177
|
+ </uni-forms-item>
|
|
|
|
178
|
+ <uni-forms-item label="代理人联系电话:" label-width="120px">
|
|
|
|
179
|
+ <uni-easyinput v-model="formData.affiliate.res[index].resAgent.phone" type="text"
|
|
|
|
180
|
+ placeholder="请输入代理人联系电话" />
|
|
|
|
181
|
+ </uni-forms-item>
|
|
|
|
182
|
+ <uni-forms-item label="代理人姓名:" label-width="120px">
|
|
|
|
183
|
+ <uni-easyinput v-model="formData.affiliate.res[index].resAgent.name" type="text"
|
|
|
|
184
|
+ placeholder="请输入委托代理人姓名" />
|
|
|
|
185
|
+ </uni-forms-item>
|
|
|
|
186
|
+ <uni-forms-item label="代理人邮箱:" label-width="120px">
|
|
|
|
187
|
+ <uni-easyinput v-model="formData.affiliate.res[index].resAgent.email" type="text"
|
|
|
|
188
|
+ placeholder="请输入代理人邮箱" />
|
|
|
|
189
|
+ </uni-forms-item>
|
|
|
|
190
|
+ </view>
|
|
189
|
</uni-forms>
|
191
|
</uni-forms>
|
|
190
|
<view class="determine" style="text-align: center;">
|
192
|
<view class="determine" style="text-align: center;">
|
|
191
|
<button class="mini-btn" type="primary" size="mini" @tap="submitReasont">确定</button>
|
193
|
<button class="mini-btn" type="primary" size="mini" @tap="submitReasont">确定</button>
|
|
|
|
|
|
|
245
|
// roleType:1,
|
247
|
// roleType:1,
|
|
246
|
// respondentSex: 0,
|
248
|
// respondentSex: 0,
|
|
247
|
// },
|
249
|
// },
|
|
248
|
- affiliate:[{
|
|
|
|
249
|
- applicant: {
|
|
|
|
250
|
- roleType: 1,
|
|
|
|
251
|
- name: "",
|
|
|
|
252
|
- idCard: "",
|
|
|
|
253
|
- code: "",
|
|
|
|
254
|
- phone: "",
|
|
|
|
255
|
- compLegalPerson: "",
|
|
|
|
256
|
- email: "",
|
|
|
|
257
|
- home: "",
|
|
|
|
258
|
- address: "",
|
|
|
|
259
|
- idType: 0,
|
|
|
|
260
|
- nationality: 0,
|
|
|
|
261
|
- birth: "",
|
|
|
|
262
|
- sex: "",
|
|
|
|
263
|
- group_order: 1,
|
|
|
|
264
|
- operatorFlag:1
|
|
|
|
265
|
- },
|
|
|
|
266
|
- applicantAgent: {
|
|
|
|
267
|
- roleType: 2,
|
|
|
|
268
|
- name: "",
|
|
|
|
269
|
- idCard: "",
|
|
|
|
270
|
- code: "",
|
|
|
|
271
|
- phone: "",
|
|
|
|
272
|
- compLegalPerson: "",
|
|
|
|
273
|
- email: "",
|
|
|
|
274
|
- home: "",
|
|
|
|
275
|
- address: "",
|
|
|
|
276
|
- idType: 0,
|
|
|
|
277
|
- nationality: 1,
|
|
|
|
278
|
- birth: "",
|
|
|
|
279
|
- sex: "",
|
|
|
|
280
|
- group_order: 1,
|
|
|
|
281
|
- operatorFlag:1
|
|
|
|
282
|
- },
|
|
|
|
283
|
- res:{
|
|
|
|
284
|
- roleTyp: 3,
|
|
|
|
285
|
- name: "",
|
|
|
|
286
|
- idCard: "",
|
|
|
|
287
|
- code: "",
|
|
|
|
288
|
- phone: "",
|
|
|
|
289
|
- compLegalPerson: "",
|
|
|
|
290
|
- email: "",
|
|
|
|
291
|
- home: "",
|
|
|
|
292
|
- address: "",
|
|
|
|
293
|
- idType: 0,
|
|
|
|
294
|
- nationality: 1,
|
|
|
|
295
|
- birth: "",
|
|
|
|
296
|
- sex: "0",
|
|
|
|
297
|
- group_order: 1,
|
|
|
|
298
|
- operatorFlag:1
|
|
|
|
299
|
- },
|
|
|
|
300
|
- resAgent: {
|
|
|
|
301
|
- roleType: 4,
|
|
|
|
302
|
- name: "",
|
|
|
|
303
|
- idCard: "",
|
|
|
|
304
|
- code: "",
|
|
|
|
305
|
- phone: "",
|
|
|
|
306
|
- compLegalPerson: "",
|
|
|
|
307
|
- email: "",
|
|
|
|
308
|
- home: "",
|
|
|
|
309
|
- address: "",
|
|
|
|
310
|
- idType: 0,
|
|
|
|
311
|
- nationality: 1,
|
|
|
|
312
|
- birth: "",
|
|
|
|
313
|
- sex: "",
|
|
|
|
314
|
- group_order: 1,
|
|
|
|
315
|
- operatorFlag:1
|
|
|
|
316
|
- }
|
|
|
|
317
|
- }],
|
|
|
|
|
|
250
|
+ affiliate:{
|
|
|
|
251
|
+ applicant:[{
|
|
|
|
252
|
+ applicant:{
|
|
|
|
253
|
+ roleType: 1,
|
|
|
|
254
|
+ name: "",
|
|
|
|
255
|
+ idCard: "",
|
|
|
|
256
|
+ code: "",
|
|
|
|
257
|
+ phone: "",
|
|
|
|
258
|
+ compLegalPerson: "",
|
|
|
|
259
|
+ email: "",
|
|
|
|
260
|
+ home: "",
|
|
|
|
261
|
+ address: "",
|
|
|
|
262
|
+ idType: 0,
|
|
|
|
263
|
+ nationality: 0,
|
|
|
|
264
|
+ birth: "",
|
|
|
|
265
|
+ sex: "",
|
|
|
|
266
|
+ group_order: 1,
|
|
|
|
267
|
+ operatorFlag:1
|
|
|
|
268
|
+ },
|
|
|
|
269
|
+ applicantAgent:{
|
|
|
|
270
|
+ roleType:2,
|
|
|
|
271
|
+ name:"",
|
|
|
|
272
|
+ idCard:"",
|
|
|
|
273
|
+ code:"",
|
|
|
|
274
|
+ phone:"",
|
|
|
|
275
|
+ compLegalPerson:"",
|
|
|
|
276
|
+ email:"",
|
|
|
|
277
|
+ home:"",
|
|
|
|
278
|
+ address:"",
|
|
|
|
279
|
+ idType:0,
|
|
|
|
280
|
+ nationality:1,
|
|
|
|
281
|
+ birth:"",
|
|
|
|
282
|
+ sex:"",
|
|
|
|
283
|
+ operatorFlag:1
|
|
|
|
284
|
+ }
|
|
|
|
285
|
+ }],
|
|
|
|
286
|
+ res:[{
|
|
|
|
287
|
+ res:{
|
|
|
|
288
|
+ roleType: 1,
|
|
|
|
289
|
+ name: "",
|
|
|
|
290
|
+ idCard: "",
|
|
|
|
291
|
+ code: "",
|
|
|
|
292
|
+ phone: "",
|
|
|
|
293
|
+ compLegalPerson: "",
|
|
|
|
294
|
+ email: "",
|
|
|
|
295
|
+ home: "",
|
|
|
|
296
|
+ address: "",
|
|
|
|
297
|
+ idType: 0,
|
|
|
|
298
|
+ nationality: 0,
|
|
|
|
299
|
+ birth: "",
|
|
|
|
300
|
+ sex: "",
|
|
|
|
301
|
+ group_order: 1,
|
|
|
|
302
|
+ operatorFlag:1
|
|
|
|
303
|
+ },
|
|
|
|
304
|
+ resAgent:{
|
|
|
|
305
|
+ roleType: 1,
|
|
|
|
306
|
+ name: "",
|
|
|
|
307
|
+ idCard: "",
|
|
|
|
308
|
+ code: "",
|
|
|
|
309
|
+ phone: "",
|
|
|
|
310
|
+ compLegalPerson: "",
|
|
|
|
311
|
+ email: "",
|
|
|
|
312
|
+ home: "",
|
|
|
|
313
|
+ address: "",
|
|
|
|
314
|
+ idType: 0,
|
|
|
|
315
|
+ nationality: 0,
|
|
|
|
316
|
+ birth: "",
|
|
|
|
317
|
+ sex: "",
|
|
|
|
318
|
+ group_order: 1,
|
|
|
|
319
|
+ operatorFlag:1
|
|
|
|
320
|
+ }
|
|
|
|
321
|
+ }]
|
|
|
|
322
|
+ },
|
|
318
|
columnValueList: [],
|
323
|
columnValueList: [],
|
|
319
|
caseAttachList: [],
|
324
|
caseAttachList: [],
|
|
320
|
},
|
325
|
},
|
|
|
|
|
|
|
338
|
text: '男',
|
343
|
text: '男',
|
|
339
|
value: 0
|
344
|
value: 0
|
|
340
|
}],
|
345
|
}],
|
|
341
|
- disabledVal: false,
|
|
|
|
342
|
- disabledApplicat: false,
|
|
|
|
343
|
fileList: {},
|
346
|
fileList: {},
|
|
344
|
fileListZip: {},
|
347
|
fileListZip: {},
|
|
345
|
rules: {},
|
348
|
rules: {},
|
|
|
|
|
|
|
391
|
// 获取新增默认值
|
394
|
// 获取新增默认值
|
|
392
|
getUserInfoNumber() {
|
395
|
getUserInfoNumber() {
|
|
393
|
let indexs = ""
|
396
|
let indexs = ""
|
|
394
|
- this.formData.affiliate.forEach((item,index)=>{
|
|
|
|
|
|
397
|
+ this.formData.affiliate.applicant.forEach((item,index)=>{
|
|
395
|
indexs = index
|
398
|
indexs = index
|
|
396
|
})
|
399
|
})
|
|
397
|
getUserInfo().then(res => {
|
400
|
getUserInfo().then(res => {
|
|
398
|
this.getUserInfoList = res.data
|
401
|
this.getUserInfoList = res.data
|
|
399
|
- console.log(res.data.nationality)
|
|
|
|
400
|
if (this.formData.organizeFlag == 0) {
|
402
|
if (this.formData.organizeFlag == 0) {
|
|
401
|
- this.$set(this.formData.affiliate[indexs].applicant, 'name', res.data.nickName)
|
|
|
|
402
|
- this.$set(this.formData.affiliate[indexs].applicant, 'idCard', res.data.idCard)
|
|
|
|
403
|
- this.$set(this.formData.affiliate[indexs].applicant, 'email', res.data.email)
|
|
|
|
404
|
- this.$set(this.formData.affiliate[indexs].applicant, 'phone', res.data.phonenumber)
|
|
|
|
405
|
- this.$set(this.formData.affiliate[indexs].applicant, 'idType', res.data.idType)
|
|
|
|
406
|
- this.$set(this.formData.affiliate[indexs].applicant, 'nationality', res.data.nationality)
|
|
|
|
|
|
403
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'name', res.data.nickName)
|
|
|
|
404
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'idCard', res.data.idCard)
|
|
|
|
405
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'email', res.data.email)
|
|
|
|
406
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'phone', res.data.phonenumber)
|
|
|
|
407
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'idType', res.data.idType)
|
|
|
|
408
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'nationality', res.data.nationality)
|
|
407
|
if(res.data.nationality == 0){
|
409
|
if(res.data.nationality == 0){
|
|
408
|
this.testVerify = true
|
410
|
this.testVerify = true
|
|
409
|
this.rulesRespondentPhone[0].required = true;
|
411
|
this.rulesRespondentPhone[0].required = true;
|
|
|
|
|
|
|
413
|
}
|
415
|
}
|
|
414
|
} else if (this.formData.organizeFlag == 1) {
|
416
|
} else if (this.formData.organizeFlag == 1) {
|
|
415
|
console.log(this.formData.organizeFlag)
|
417
|
console.log(this.formData.organizeFlag)
|
|
416
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'name', res.data.nickName)
|
|
|
|
417
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'email', res.data.email)
|
|
|
|
418
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'phone', res.data.phonenumber)
|
|
|
|
419
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'nationality', res.data.nationality)
|
|
|
|
|
|
418
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'name', res.data.nickName)
|
|
|
|
419
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'email', res.data.email)
|
|
|
|
420
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'phone', res.data.phonenumber)
|
|
|
|
421
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'nationality', res.data.nationality)
|
|
420
|
}
|
422
|
}
|
|
421
|
|
423
|
|
|
422
|
})
|
424
|
})
|
|
423
|
},
|
425
|
},
|
|
424
|
clearValidate(val) {
|
426
|
clearValidate(val) {
|
|
425
|
let indexs = ""
|
427
|
let indexs = ""
|
|
426
|
- this.formData.affiliate.forEach((item,index)=>{
|
|
|
|
|
|
428
|
+ this.formData.affiliate.applicant.forEach((item,index)=>{
|
|
427
|
indexs = index
|
429
|
indexs = index
|
|
428
|
})
|
430
|
})
|
|
429
|
if (this.formData.organizeFlag == 0) {
|
431
|
if (this.formData.organizeFlag == 0) {
|
|
430
|
- this.$set(this.formData.affiliate[indexs].applicant, 'name', this.getUserInfoList.nickName)
|
|
|
|
431
|
- this.$set(this.formData.affiliate[indexs].applicant, 'idCard', this.getUserInfoList.idCard)
|
|
|
|
432
|
- this.$set(this.formData.affiliate[indexs].applicant, 'email', this.getUserInfoList.email)
|
|
|
|
433
|
- this.$set(this.formData.affiliate[indexs].applicant, 'phone', this.getUserInfoList.phonenumber)
|
|
|
|
|
|
432
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'name', this.getUserInfoList.nickName)
|
|
|
|
433
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'idCard', this.getUserInfoList.idCard)
|
|
|
|
434
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'email', this.getUserInfoList.email)
|
|
|
|
435
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'phone', this.getUserInfoList.phonenumber)
|
|
434
|
if (this.formZipData.affiliate) {
|
436
|
if (this.formZipData.affiliate) {
|
|
435
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
437
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
|
436
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
438
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
|
437
|
- this.$set(this.formData.affiliate[0].applicant, 'home', this.formZipData.affiliate[0]
|
|
|
|
|
|
439
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'home', this.formZipData.affiliate.applicant[0]
|
|
438
|
.applicant.home);
|
440
|
.applicant.home);
|
|
439
|
- this.$set(this.formData.affiliate[0].applicant, 'address', this.formZipData.affiliate[0]
|
|
|
|
|
|
441
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate.applicant[0]
|
|
440
|
.applicant.address);
|
442
|
.applicant.address);
|
|
441
|
- this.$set(this.formData.affiliate[0].applicantAgent, 'phone', this.formZipData
|
|
|
|
442
|
- .affiliate[0].applicantAgent.phone);
|
|
|
|
443
|
- this.$set(this.formData.affiliate[0].applicantAgent, 'name', this.formZipData.affiliate[0]
|
|
|
|
|
|
443
|
+ this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData
|
|
|
|
444
|
+ .affiliate.applicant[0].applicantAgent.phone);
|
|
|
|
445
|
+ this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate.applicant[0]
|
|
444
|
.applicantAgent.name);
|
446
|
.applicantAgent.name);
|
|
445
|
- this.$set(this.formData.affiliate[0].applicantAgent, 'email', this.formZipData.affiliate[0]
|
|
|
|
|
|
447
|
+ this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate.applicant[0]
|
|
446
|
.applicantAgent.email);
|
448
|
.applicantAgent.email);
|
|
447
|
- this.$set(this.formData.affiliate[0].res, 'name', this.formZipData.affiliate[0]
|
|
|
|
|
|
449
|
+ this.$set(this.formData.affiliate.applicant[0].res, 'name', this.formZipData.affiliate.applicant[0]
|
|
448
|
.res.name);
|
450
|
.res.name);
|
|
449
|
- this.$set(this.formData.affiliate[0].res, 'phone', this.formZipData.affiliate[0]
|
|
|
|
|
|
451
|
+ this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0]
|
|
450
|
.res.phone);
|
452
|
.res.phone);
|
|
451
|
- this.$set(this.formData.affiliate[0].res, 'idCard', this.formZipData
|
|
|
|
452
|
- .affiliate[0].res.idCard);
|
|
|
|
453
|
- this.$set(this.formData.affiliate[0].res, 'sex', Number(this.formZipData
|
|
|
|
454
|
- .affiliate[0].res.sex));
|
|
|
|
455
|
- this.$set(this.formData.affiliate[0].res, 'birth', this.formZipData.affiliate[0]
|
|
|
|
|
|
453
|
+ this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData
|
|
|
|
454
|
+ .affiliate.res[0].res.idCard);
|
|
|
|
455
|
+ this.$set(this.formData.affiliate.res[0].res, 'sex', Number(this.formZipData
|
|
|
|
456
|
+ .affiliate.res[0].res.sex));
|
|
|
|
457
|
+ this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0]
|
|
456
|
.res.birth);
|
458
|
.res.birth);
|
|
457
|
- this.$set(this.formData.affiliate[0].res, 'home', this.formZipData.affiliate[0]
|
|
|
|
|
|
459
|
+ this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0]
|
|
458
|
.res.home);
|
460
|
.res.home);
|
|
459
|
- this.$set(this.formData.affiliate[0].res, 'email', this.formZipData.affiliate[0]
|
|
|
|
|
|
461
|
+ this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0]
|
|
460
|
.res.email);
|
462
|
.res.email);
|
|
461
|
} else {
|
463
|
} else {
|
|
462
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'name', null)
|
|
|
|
463
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'email', null)
|
|
|
|
464
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'phone', null)
|
|
|
|
|
|
464
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'name', null)
|
|
|
|
465
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'email', null)
|
|
|
|
466
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'phone', null)
|
|
465
|
}
|
467
|
}
|
|
466
|
- this.disabledVal = false
|
|
|
|
467
|
- this.disabledApplicat = true
|
|
|
|
468
|
} else if (this.formData.organizeFlag == 1) {
|
468
|
} else if (this.formData.organizeFlag == 1) {
|
|
469
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'name', this.getUserInfoList.nickName)
|
|
|
|
470
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'email', this.getUserInfoList.email)
|
|
|
|
471
|
- this.$set(this.formData.affiliate[indexs].applicantAgent, 'phone', this.getUserInfoList.phonenumber)
|
|
|
|
|
|
469
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'name', this.getUserInfoList.nickName)
|
|
|
|
470
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'email', this.getUserInfoList.email)
|
|
|
|
471
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicantAgent, 'phone', this.getUserInfoList.phonenumber)
|
|
472
|
if (this.formZipData.affiliate) {
|
472
|
if (this.formZipData.affiliate) {
|
|
473
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
473
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
|
474
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
474
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
|
475
|
- this.$set(this.formData.affiliate[0].applicant, 'name', this.formZipData.affiliate[0]
|
|
|
|
|
|
475
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate[0]
|
|
476
|
.applicant.name);
|
476
|
.applicant.name);
|
|
477
|
- this.$set(this.formData.affiliate[0].applicant, 'code', this.formZipData.affiliate[0].applicant.code);
|
|
|
|
478
|
- this.$set(this.formData.affiliate[0].applicant, 'home', this.formZipData.affiliate[0]
|
|
|
|
|
|
477
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'code', this.formZipData.affiliate[0].applicant.code);
|
|
|
|
478
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'home', this.formZipData.affiliate[0]
|
|
479
|
.applicant.home);
|
479
|
.applicant.home);
|
|
480
|
- this.$set(this.formData.affiliate[0].applicant, 'address', this.formZipData.affiliate[0]
|
|
|
|
|
|
480
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate[0]
|
|
481
|
.applicant.address);
|
481
|
.applicant.address);
|
|
482
|
- this.$set(this.formData.affiliate[0].applicant, 'compLegalPerson', this.formZipData.affiliate[0]
|
|
|
|
|
|
482
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'compLegalPerson', this.formZipData.affiliate[0]
|
|
483
|
.applicant.compLegalPerson);
|
483
|
.applicant.compLegalPerson);
|
|
484
|
- this.$set(this.formData.affiliate[0].applicant, 'email', this.formZipData.affiliate[0]
|
|
|
|
|
|
484
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'email', this.formZipData.affiliate[0]
|
|
485
|
.applicant.email);
|
485
|
.applicant.email);
|
|
486
|
- this.$set(this.formData.affiliate[0].applicant, 'phone', this.formZipData.affiliate[0]
|
|
|
|
|
|
486
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'phone', this.formZipData.affiliate[0]
|
|
487
|
.applicant.phone);
|
487
|
.applicant.phone);
|
|
488
|
- this.$set(this.formData.affiliate[0].res, 'name', this.formZipData.affiliate[0]
|
|
|
|
|
|
488
|
+ this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0]
|
|
489
|
.res.name);
|
489
|
.res.name);
|
|
490
|
- this.$set(this.formData.affiliate[0].res, 'phone', this.formZipData.affiliate[0]
|
|
|
|
|
|
490
|
+ this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0]
|
|
491
|
.res.phone);
|
491
|
.res.phone);
|
|
492
|
- this.$set(this.formData.affiliate[0].res, 'idCard', this.formZipData
|
|
|
|
493
|
- .affiliate[0].res.idCard);
|
|
|
|
494
|
- this.$set(this.formData.affiliate[0].res, 'sex', Number(this.formZipData
|
|
|
|
495
|
- .affiliate[0].res.sex));
|
|
|
|
496
|
- this.$set(this.formData.affiliate[0].res, 'birth', this.formZipData.affiliate[0]
|
|
|
|
|
|
492
|
+ this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData
|
|
|
|
493
|
+ .affiliate.res[0].res.idCard);
|
|
|
|
494
|
+ this.$set(this.formData.affiliate.res[0].res, 'sex', Number(this.formZipData
|
|
|
|
495
|
+ .affiliate.res[0].res.sex));
|
|
|
|
496
|
+ this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0]
|
|
497
|
.res.birth);
|
497
|
.res.birth);
|
|
498
|
- this.$set(this.formData.affiliate[0].res, 'home', this.formZipData.affiliate[0]
|
|
|
|
|
|
498
|
+ this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0]
|
|
499
|
.res.home);
|
499
|
.res.home);
|
|
500
|
- this.$set(this.formData.affiliate[0].res, 'email', this.formZipData.affiliate[0]
|
|
|
|
|
|
500
|
+ this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0]
|
|
501
|
.res.email);
|
501
|
.res.email);
|
|
502
|
} else {
|
502
|
} else {
|
|
503
|
- this.$set(this.formData.affiliate[indexs].applicant, 'name', null)
|
|
|
|
504
|
- this.$set(this.formData.affiliate[indexs].applicant, 'idCard', null)
|
|
|
|
505
|
- this.$set(this.formData.affiliate[indexs].applicant, 'email', null)
|
|
|
|
506
|
- this.$set(this.formData.affiliate[indexs].applicant, 'phone', null)
|
|
|
|
|
|
503
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'name', null)
|
|
|
|
504
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'idCard', null)
|
|
|
|
505
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'email', null)
|
|
|
|
506
|
+ this.$set(this.formData.affiliate.applicant[indexs].applicant, 'phone', null)
|
|
507
|
}
|
507
|
}
|
|
508
|
- this.disabledVal = true
|
|
|
|
509
|
- this.disabledApplicat = false
|
|
|
|
510
|
}
|
508
|
}
|
|
511
|
- // this.formData.affiliate.applicationName =null
|
|
|
|
512
|
- // this.formData.affiliate.code =null
|
|
|
|
513
|
this.$refs["form"].clearValidate()
|
509
|
this.$refs["form"].clearValidate()
|
|
514
|
},
|
510
|
},
|
|
515
|
/** 获取裁决书模板 */
|
511
|
/** 获取裁决书模板 */
|
|
|
|
|
|
|
528
|
caseApplicationSelectByIdFn(data) {
|
524
|
caseApplicationSelectByIdFn(data) {
|
|
529
|
caseApplicationSelectById(data).then(res => {
|
525
|
caseApplicationSelectById(data).then(res => {
|
|
530
|
let data = res.data
|
526
|
let data = res.data
|
|
|
|
527
|
+ console.log( res.data)
|
|
531
|
let indexs = ""
|
528
|
let indexs = ""
|
|
532
|
- data.affiliate.forEach((item,index) =>{
|
|
|
|
533
|
- indexs = index
|
|
|
|
|
|
529
|
+ data.affiliate.applicant.forEach((item,index) =>{
|
|
534
|
if(!item.applicant){
|
530
|
if(!item.applicant){
|
|
535
|
item.applicant = {}
|
531
|
item.applicant = {}
|
|
536
|
}
|
532
|
}
|
|
537
|
if(!item.applicantAgent){
|
533
|
if(!item.applicantAgent){
|
|
538
|
item.applicantAgent = {}
|
534
|
item.applicantAgent = {}
|
|
539
|
}
|
535
|
}
|
|
540
|
- if(!item.res){
|
|
|
|
541
|
- item.res = {}
|
|
|
|
542
|
- }
|
|
|
|
543
|
- if(!item.resAgent){
|
|
|
|
544
|
- item.resAgent = {}
|
|
|
|
545
|
- }
|
|
|
|
546
|
})
|
536
|
})
|
|
547
|
- data.affiliate[indexs].res.sex = Number(data.affiliate[indexs].res.sex)
|
|
|
|
|
|
537
|
+ if(data.affiliate.res.length==0){
|
|
|
|
538
|
+ data.affiliate.res.push({
|
|
|
|
539
|
+ res:{},
|
|
|
|
540
|
+ resAgent:{}
|
|
|
|
541
|
+ })
|
|
|
|
542
|
+ }else{
|
|
|
|
543
|
+ data.affiliate.res.forEach((item,index) =>{
|
|
|
|
544
|
+ indexs = index
|
|
|
|
545
|
+ if(!item.res){
|
|
|
|
546
|
+ item.res ={}
|
|
|
|
547
|
+ }else{
|
|
|
|
548
|
+ data.affiliate.res[indexs].res.sex = Number(data.affiliate.res[indexs].res.sex)
|
|
|
|
549
|
+ }
|
|
|
|
550
|
+ if(!item.resAgent){
|
|
|
|
551
|
+ item.resAgent = {}
|
|
|
|
552
|
+ }
|
|
|
|
553
|
+ })
|
|
|
|
554
|
+ }
|
|
548
|
this.formData = data
|
555
|
this.formData = data
|
|
549
|
- console.log(this.formData)
|
|
|
|
|
|
556
|
+
|
|
550
|
})
|
557
|
})
|
|
551
|
},
|
558
|
},
|
|
552
|
// 被申请人获取性别出生年月
|
559
|
// 被申请人获取性别出生年月
|
|
553
|
handleBlur(index) {
|
560
|
handleBlur(index) {
|
|
554
|
- console.log(this.formData.affiliate[index].res.idCard)
|
|
|
|
555
|
let idCards = {
|
561
|
let idCards = {
|
|
556
|
- idCard: this.formData.affiliate[index].res.idCard,
|
|
|
|
|
|
562
|
+ idCard: this.formData.affiliate.res[index].res.idCard,
|
|
557
|
};
|
563
|
};
|
|
558
|
|
564
|
|
|
559
|
getInfoByIdCard(idCards).then(res => {
|
565
|
getInfoByIdCard(idCards).then(res => {
|
|
560
|
- this.formData.affiliate[index].res.sex = Number(res.respondentSex);
|
|
|
|
561
|
- this.formData.affiliate[index].res.birth= res.respondentBirth;
|
|
|
|
|
|
566
|
+ this.formData.affiliate.res[index].res.sex = Number(res.respondentSex);
|
|
|
|
567
|
+ this.formData.affiliate.res[index].res.birth= res.respondentBirth;
|
|
562
|
})
|
568
|
})
|
|
563
|
},
|
569
|
},
|
|
564
|
// 新增案件
|
570
|
// 新增案件
|
|
|
|
|
|
|
611
|
},
|
617
|
},
|
|
612
|
name: 'file',
|
618
|
name: 'file',
|
|
613
|
success: (res) => {
|
619
|
success: (res) => {
|
|
|
|
620
|
+ console.log(res)
|
|
614
|
let result = JSON.parse(res.data)
|
621
|
let result = JSON.parse(res.data)
|
|
615
|
uni.showToast({
|
622
|
uni.showToast({
|
|
616
|
title: '上传成功',
|
623
|
title: '上传成功',
|
|
617
|
icon: 'none',
|
624
|
icon: 'none',
|
|
618
|
duration: 1000
|
625
|
duration: 1000
|
|
619
|
})
|
626
|
})
|
|
620
|
- this.formZipData = result.data;
|
|
|
|
621
|
- let idnexVal = ""
|
|
|
|
622
|
- this.formData.affiliate.forEach((item,index)=>{
|
|
|
|
623
|
- idnexVal = index
|
|
|
|
624
|
- })
|
|
|
|
625
|
- console.log(this.formZipData)
|
|
|
|
|
|
627
|
+ this.formZipData = result.data;
|
|
626
|
if (this.formData.organizeFlag == 0) {
|
628
|
if (this.formData.organizeFlag == 0) {
|
|
627
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
629
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
|
628
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
630
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
|
629
|
- this.$set(this.formData.affiliate[0].applicant, 'home', this.formZipData.affiliate[0]
|
|
|
|
|
|
631
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'home', this.formZipData.affiliate.applicant[0]
|
|
630
|
.applicant.home);
|
632
|
.applicant.home);
|
|
631
|
- this.$set(this.formData.affiliate[0].applicant, 'address', this.formZipData.affiliate[0]
|
|
|
|
|
|
633
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate.applicant[0]
|
|
632
|
.applicant.address);
|
634
|
.applicant.address);
|
|
633
|
- this.$set(this.formData.affiliate[0].applicantAgent, 'phone', this.formZipData
|
|
|
|
634
|
- .affiliate[0].applicantAgent.phone);
|
|
|
|
635
|
- this.$set(this.formData.affiliate[0].applicantAgent, 'name', this.formZipData.affiliate[0]
|
|
|
|
|
|
635
|
+ this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData
|
|
|
|
636
|
+ .affiliate.applicant[0].applicantAgent.phone);
|
|
|
|
637
|
+ this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate.applicant[0]
|
|
636
|
.applicantAgent.name);
|
638
|
.applicantAgent.name);
|
|
637
|
- this.$set(this.formData.affiliate[0].applicantAgent, 'email', this.formZipData.affiliate[0]
|
|
|
|
|
|
639
|
+ this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate.applicant[0]
|
|
638
|
.applicantAgent.email);
|
640
|
.applicantAgent.email);
|
|
639
|
- this.$set(this.formData.affiliate[0].res, 'name', this.formZipData.affiliate[0]
|
|
|
|
|
|
641
|
+ this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0]
|
|
640
|
.res.name);
|
642
|
.res.name);
|
|
641
|
- this.$set(this.formData.affiliate[0].res, 'phone', this.formZipData.affiliate[0]
|
|
|
|
|
|
643
|
+ this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0]
|
|
642
|
.res.phone);
|
644
|
.res.phone);
|
|
643
|
- this.$set(this.formData.affiliate[0].res, 'idCard', this.formZipData
|
|
|
|
644
|
- .affiliate[0].res.idCard);
|
|
|
|
645
|
- this.$set(this.formData.affiliate[0].res, 'sex', Number(this.formZipData
|
|
|
|
646
|
- .affiliate[0].res.sex));
|
|
|
|
647
|
- this.$set(this.formData.affiliate[0].res, 'birth', this.formZipData.affiliate[0]
|
|
|
|
|
|
645
|
+ this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData
|
|
|
|
646
|
+ .affiliate.res[0].res.idCard);
|
|
|
|
647
|
+ this.$set(this.formData.affiliate.res[0].res, 'sex', Number(this.formZipData
|
|
|
|
648
|
+ .affiliate.res[0].res.sex));
|
|
|
|
649
|
+ this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0]
|
|
648
|
.res.birth);
|
650
|
.res.birth);
|
|
649
|
- this.$set(this.formData.affiliate[0].res, 'home', this.formZipData.affiliate[0]
|
|
|
|
|
|
651
|
+ this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0]
|
|
650
|
.res.home);
|
652
|
.res.home);
|
|
651
|
- this.$set(this.formData.affiliate[0].res, 'email', this.formZipData.affiliate[0]
|
|
|
|
|
|
653
|
+ this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0]
|
|
652
|
.res.email);
|
654
|
.res.email);
|
|
653
|
// this.$set(this.formData.affiliate[0].resAgent, 'phone', this.formZipData
|
655
|
// this.$set(this.formData.affiliate[0].resAgent, 'phone', this.formZipData
|
|
654
|
// .affiliate[0].resAgent.phone);
|
656
|
// .affiliate[0].resAgent.phone);
|
|
|
|
|
|
|
659
|
} else if (this.formData.organizeFlag == 1) {
|
661
|
} else if (this.formData.organizeFlag == 1) {
|
|
660
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
662
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
|
661
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
663
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
|
662
|
- this.$set(this.formData.affiliate[0].applicant, 'name', this.formZipData.affiliate[0]
|
|
|
|
|
|
664
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate.applicant[0]
|
|
663
|
.applicant.name);
|
665
|
.applicant.name);
|
|
664
|
- this.$set(this.formData.affiliate[0].applicant, 'code', this.formZipData.affiliate[0].applicant.code);
|
|
|
|
665
|
- this.$set(this.formData.affiliate[0].applicant, 'home', this.formZipData.affiliate[0]
|
|
|
|
|
|
666
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'code', this.formZipData.affiliate.applicant[0].applicant.code);
|
|
|
|
667
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'home', this.formZipData.affiliate.applicant[0]
|
|
666
|
.applicant.home);
|
668
|
.applicant.home);
|
|
667
|
- this.$set(this.formData.affiliate[0].applicant, 'address', this.formZipData.affiliate[0]
|
|
|
|
|
|
669
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate.applicant[0]
|
|
668
|
.applicant.address);
|
670
|
.applicant.address);
|
|
669
|
- this.$set(this.formData.affiliate[0].applicant, 'compLegalPerson', this.formZipData.affiliate[0]
|
|
|
|
|
|
671
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'compLegalPerson', this.formZipData.affiliate.applicant[0]
|
|
670
|
.applicant.compLegalPerson);
|
672
|
.applicant.compLegalPerson);
|
|
671
|
- this.$set(this.formData.affiliate[0].applicant, 'email', this.formZipData.affiliate[0]
|
|
|
|
|
|
673
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'email', this.formZipData.affiliate.applicant[0]
|
|
672
|
.applicant.email);
|
674
|
.applicant.email);
|
|
673
|
- this.$set(this.formData.affiliate[0].applicant, 'phone', this.formZipData.affiliate[0]
|
|
|
|
|
|
675
|
+ this.$set(this.formData.affiliate.applicant[0].applicant, 'phone', this.formZipData.affiliate.applicant[0]
|
|
674
|
.applicant.phone);
|
676
|
.applicant.phone);
|
|
675
|
- this.$set(this.formData.affiliate[0].res, 'name', this.formZipData.affiliate[0]
|
|
|
|
|
|
677
|
+ this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0]
|
|
676
|
.res.name);
|
678
|
.res.name);
|
|
677
|
- this.$set(this.formData.affiliate[0].res, 'phone', this.formZipData.affiliate[0]
|
|
|
|
|
|
679
|
+ this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0]
|
|
678
|
.res.phone);
|
680
|
.res.phone);
|
|
679
|
- this.$set(this.formData.affiliate[0].res, 'idCard', this.formZipData
|
|
|
|
680
|
- .affiliate[0].res.idCard);
|
|
|
|
681
|
- this.$set(this.formData.affiliate[0].res, 'sex', Number(this.formZipData
|
|
|
|
682
|
- .affiliate[0].res.sex));
|
|
|
|
683
|
- this.$set(this.formData.affiliate[0].res, 'birth', this.formZipData.affiliate[0]
|
|
|
|
|
|
681
|
+ this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData
|
|
|
|
682
|
+ .affiliate.res[0].res.idCard);
|
|
|
|
683
|
+ this.$set(this.formData.affiliate.res[0].res, 'sex', Number(this.formZipData
|
|
|
|
684
|
+ .affiliate.res[0].res.sex));
|
|
|
|
685
|
+ this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0]
|
|
684
|
.res.birth);
|
686
|
.res.birth);
|
|
685
|
- this.$set(this.formData.affiliate[0].res, 'home', this.formZipData.affiliate[0]
|
|
|
|
|
|
687
|
+ this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0]
|
|
686
|
.res.home);
|
688
|
.res.home);
|
|
687
|
- this.$set(this.formData.affiliate[0].res, 'email', this.formZipData.affiliate[0]
|
|
|
|
|
|
689
|
+ this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0]
|
|
688
|
.res.email);
|
690
|
.res.email);
|
|
689
|
}
|
691
|
}
|
|
690
|
uni.hideLoading();
|
692
|
uni.hideLoading();
|
|
|
|
|
|
|
772
|
// 新增多个申请代理人
|
774
|
// 新增多个申请代理人
|
|
773
|
addMultiple(){
|
775
|
addMultiple(){
|
|
774
|
this.delShow =true
|
776
|
this.delShow =true
|
|
775
|
- this.formData.affiliate.push({
|
|
|
|
776
|
- applicant:{
|
|
|
|
777
|
- roleType: 1,
|
|
|
|
778
|
- name: "",
|
|
|
|
779
|
- idCard: "",
|
|
|
|
780
|
- code: "",
|
|
|
|
781
|
- phone: "",
|
|
|
|
782
|
- compLegalPerson: "",
|
|
|
|
783
|
- email: "",
|
|
|
|
784
|
- home: "",
|
|
|
|
785
|
- address: "",
|
|
|
|
786
|
- idType: 0,
|
|
|
|
787
|
- nationality: 0,
|
|
|
|
788
|
- birth: "",
|
|
|
|
789
|
- sex: "",
|
|
|
|
790
|
- group_order: 1,
|
|
|
|
791
|
- operatorFlag:1
|
|
|
|
792
|
- },
|
|
|
|
793
|
- applicantAgent: {
|
|
|
|
794
|
- roleType: 2,
|
|
|
|
795
|
- name: "",
|
|
|
|
796
|
- idCard: "",
|
|
|
|
797
|
- code: "",
|
|
|
|
798
|
- phone: "",
|
|
|
|
799
|
- compLegalPerson: "",
|
|
|
|
800
|
- email: "",
|
|
|
|
801
|
- home: "",
|
|
|
|
802
|
- address: "",
|
|
|
|
803
|
- idType: 0,
|
|
|
|
804
|
- nationality: 1,
|
|
|
|
805
|
- birth: "",
|
|
|
|
806
|
- sex: "",
|
|
|
|
807
|
- group_order: 1,
|
|
|
|
808
|
- operatorFlag:1
|
|
|
|
809
|
- },
|
|
|
|
810
|
- res:{
|
|
|
|
811
|
- roleTyp: 3,
|
|
|
|
812
|
- name: "",
|
|
|
|
813
|
- idCard: "",
|
|
|
|
814
|
- code: "",
|
|
|
|
815
|
- phone: "",
|
|
|
|
816
|
- compLegalPerson: "",
|
|
|
|
817
|
- email: "",
|
|
|
|
818
|
- home: "",
|
|
|
|
819
|
- address: "",
|
|
|
|
820
|
- idType: 0,
|
|
|
|
821
|
- nationality: 1,
|
|
|
|
822
|
- birth: "",
|
|
|
|
823
|
- sex: "0",
|
|
|
|
824
|
- group_order: 1,
|
|
|
|
825
|
- operatorFlag:1
|
|
|
|
826
|
- },
|
|
|
|
827
|
- resAgent: {
|
|
|
|
828
|
- roleType: 4,
|
|
|
|
829
|
- name: "",
|
|
|
|
830
|
- idCard: "",
|
|
|
|
831
|
- code: "",
|
|
|
|
832
|
- phone: "",
|
|
|
|
833
|
- compLegalPerson: "",
|
|
|
|
834
|
- email: "",
|
|
|
|
835
|
- home: "",
|
|
|
|
836
|
- address: "",
|
|
|
|
837
|
- idType: 0,
|
|
|
|
838
|
- nationality: 1,
|
|
|
|
839
|
- birth: "",
|
|
|
|
840
|
- sex: "",
|
|
|
|
841
|
- group_order: 1,
|
|
|
|
842
|
- operatorFlag:1
|
|
|
|
843
|
- }
|
|
|
|
844
|
- })
|
|
|
|
845
|
let idnexVal = ""
|
777
|
let idnexVal = ""
|
|
846
|
this.formData.affiliate.forEach((item,index)=>{
|
778
|
this.formData.affiliate.forEach((item,index)=>{
|
|
847
|
idnexVal = index
|
779
|
idnexVal = index
|
|
|
|
|
|
|
864
|
|
796
|
|
|
865
|
})
|
797
|
})
|
|
866
|
},
|
798
|
},
|
|
|
|
799
|
+ // 新增多个申请人和申请代理人
|
|
|
|
800
|
+ addMultipleApplicants(){
|
|
|
|
801
|
+ this.formData.affiliate.applicant.push({
|
|
|
|
802
|
+ applicant:{
|
|
|
|
803
|
+ roleType: 1,
|
|
|
|
804
|
+ name: "",
|
|
|
|
805
|
+ idCard: "",
|
|
|
|
806
|
+ code: "",
|
|
|
|
807
|
+ phone: "",
|
|
|
|
808
|
+ compLegalPerson: "",
|
|
|
|
809
|
+ email: "",
|
|
|
|
810
|
+ home: "",
|
|
|
|
811
|
+ address: "",
|
|
|
|
812
|
+ idType: 0,
|
|
|
|
813
|
+ nationality: 0,
|
|
|
|
814
|
+ birth: "",
|
|
|
|
815
|
+ sex: "",
|
|
|
|
816
|
+ group_order: 1,
|
|
|
|
817
|
+ operatorFlag:1
|
|
|
|
818
|
+ },
|
|
|
|
819
|
+ applicantAgent:{
|
|
|
|
820
|
+ roleType:2,
|
|
|
|
821
|
+ name:"",
|
|
|
|
822
|
+ idCard:"",
|
|
|
|
823
|
+ code:"",
|
|
|
|
824
|
+ phone:"",
|
|
|
|
825
|
+ compLegalPerson:"",
|
|
|
|
826
|
+ email:"",
|
|
|
|
827
|
+ home:"",
|
|
|
|
828
|
+ address:"",
|
|
|
|
829
|
+ idType:0,
|
|
|
|
830
|
+ nationality:1,
|
|
|
|
831
|
+ birth:"",
|
|
|
|
832
|
+ sex:"",
|
|
|
|
833
|
+ operatorFlag:1
|
|
|
|
834
|
+ }
|
|
|
|
835
|
+ })
|
|
|
|
836
|
+ let idnexVal = ""
|
|
|
|
837
|
+ this.formData.affiliate.applicant.forEach((item,index)=>{
|
|
|
|
838
|
+ idnexVal = index
|
|
|
|
839
|
+ })
|
|
|
|
840
|
+ getUserInfo().then(res => {
|
|
|
|
841
|
+ this.getUserInfoList = res.data
|
|
|
|
842
|
+ if (this.formData.organizeFlag == 0) {
|
|
|
|
843
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicant, 'name', res.data.nickName)
|
|
|
|
844
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicant, 'idCard', res.data.idCard)
|
|
|
|
845
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicant, 'email', res.data.email)
|
|
|
|
846
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicant, 'phone', res.data.phonenumber)
|
|
|
|
847
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicant, 'idType', res.data.idType)
|
|
|
|
848
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicant, 'nationality', res.data.nationality)
|
|
|
|
849
|
+ } else if (this.formData.organizeFlag == 1) {
|
|
|
|
850
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicantAgent, 'name', res.data.nickName)
|
|
|
|
851
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicantAgent, 'email', res.data.email)
|
|
|
|
852
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicantAgent, 'phone', res.data.phonenumber)
|
|
|
|
853
|
+ this.$set(this.formData.affiliate.applicant[idnexVal].applicantAgent, 'nationality', res.data.nationality)
|
|
|
|
854
|
+ }
|
|
|
|
855
|
+
|
|
|
|
856
|
+ })
|
|
|
|
857
|
+ },
|
|
|
|
858
|
+ // 新增多个被申请人和代理人
|
|
|
|
859
|
+ addRespondent(){
|
|
|
|
860
|
+ this.formData.affiliate.res.push({
|
|
|
|
861
|
+ res:{
|
|
|
|
862
|
+ roleType: 1,
|
|
|
|
863
|
+ name: "",
|
|
|
|
864
|
+ idCard: "",
|
|
|
|
865
|
+ code: "",
|
|
|
|
866
|
+ phone: "",
|
|
|
|
867
|
+ compLegalPerson: "",
|
|
|
|
868
|
+ email: "",
|
|
|
|
869
|
+ home: "",
|
|
|
|
870
|
+ address: "",
|
|
|
|
871
|
+ idType: 0,
|
|
|
|
872
|
+ nationality: 0,
|
|
|
|
873
|
+ birth: "",
|
|
|
|
874
|
+ sex: "",
|
|
|
|
875
|
+ group_order: 1,
|
|
|
|
876
|
+ operatorFlag:1
|
|
|
|
877
|
+ },
|
|
|
|
878
|
+ resAgent:{
|
|
|
|
879
|
+ roleType: 1,
|
|
|
|
880
|
+ name: "",
|
|
|
|
881
|
+ idCard: "",
|
|
|
|
882
|
+ code: "",
|
|
|
|
883
|
+ phone: "",
|
|
|
|
884
|
+ compLegalPerson: "",
|
|
|
|
885
|
+ email: "",
|
|
|
|
886
|
+ home: "",
|
|
|
|
887
|
+ address: "",
|
|
|
|
888
|
+ idType: 0,
|
|
|
|
889
|
+ nationality: 0,
|
|
|
|
890
|
+ birth: "",
|
|
|
|
891
|
+ sex: "",
|
|
|
|
892
|
+ group_order: 1,
|
|
|
|
893
|
+ operatorFlag:1
|
|
|
|
894
|
+ }
|
|
|
|
895
|
+ })
|
|
|
|
896
|
+ },
|
|
867
|
//删除新增的多个申请代理人
|
897
|
//删除新增的多个申请代理人
|
|
868
|
delValue(id){
|
898
|
delValue(id){
|
|
869
|
- let index = this.formData.affiliate.findIndex(v => v.id === id)
|
|
|
|
870
|
- this.formData.affiliate.splice(index, 1)
|
|
|
|
871
|
- }
|
|
|
|
872
|
-
|
|
|
|
|
|
899
|
+ let index = this.formData.affiliate.applicant.findIndex(v => v.id === id)
|
|
|
|
900
|
+ this.formData.affiliate.applicant.splice(index, 1)
|
|
|
|
901
|
+ },
|
|
|
|
902
|
+ //删除新增多个被申请代理人
|
|
|
|
903
|
+ delRespondent(id){
|
|
|
|
904
|
+ let index = this.formData.affiliate.res.findIndex(v => v.id === id)
|
|
|
|
905
|
+ this.formData.affiliate.res.splice(index, 1)
|
|
|
|
906
|
+ }
|
|
873
|
},
|
907
|
},
|
|
874
|
onLoad(data) {
|
908
|
onLoad(data) {
|
|
875
|
this.ids = data.id
|
909
|
this.ids = data.id
|