|
|
@ -57,8 +57,8 @@ |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item,index) in nations" |
|
|
|
v-for="(item,index) in nations" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
:label="item.name" |
|
|
|
:label="item.description" |
|
|
|
:value="item.id"> |
|
|
|
:value="item.itemId"> |
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
@ -109,7 +109,7 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { mapState, mapMutations } from 'vuex' |
|
|
|
import { mapState, mapMutations } from 'vuex' |
|
|
|
import { vername, vermob } from '@/utils/verify.js' |
|
|
|
import { vername, vermob } from '@/utils/verify.js' |
|
|
|
import { addOperation } from '@/api/http'; |
|
|
|
import { addOperation, getOperation } from '@/api/http'; |
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
import { phoneListen, mailBoxListen, checkRequired, myValidate } from '@/utils/utilFunction.js' |
|
|
|
import { phoneListen, mailBoxListen, checkRequired, myValidate } from '@/utils/utilFunction.js' |
|
|
|
|
|
|
|
|
|
|
@ -161,13 +161,93 @@ export default { |
|
|
|
{name:'男',id:1}, |
|
|
|
{name:'男',id:1}, |
|
|
|
{name:'女',id:2}, |
|
|
|
{name:'女',id:2}, |
|
|
|
], |
|
|
|
], |
|
|
|
nations : [{name:"汉族",id:0}, {name:"蒙古族",id:1}, {name:"回族",id:2}, {name:"藏族",id:3}, {name:"维吾尔族",id:4}, {name:"苗族",id:5}, {name:"彝族",id:6}, {name:"壮族",id:7}, {name:"布依族",id:8}, {name:"朝鲜族",id:9}, {name:"满族",id:10}, {name:"侗族",id:11}, {name:"瑶族",id:12}, {name:"白族",id:13}, {name:"土家族",id:14},{name:"哈尼族",id:15}, {name:"哈萨克族",id:16}, {name:"傣族",id:17}, {name:"黎族",id:18}, {name:"傈僳族",id:19}, {name:"佤族",id:20}, {name:"畲族",id:21}, {name:"高山族",id:22}, {name:"拉祜族",id:23}, {name:"水族",id:24}, {name:"东乡族",id:25}, {name:"纳西族",id:26}, {name:"景颇族",id:27}, {name:"柯尔克孜族",id:28},{name:"土族",id:29}, {name:"达斡尔族",id:0}, {name:"仫佬族",id:31}, {name:"羌族",id:32}, {name:"布朗族",id:33}, {name:"撒拉族",id:34}, {name:"毛南族",id:35}, {name:"仡佬族",id:36}, {name:"锡伯族",id:37}, {name:"阿昌族",id:38}, {name:"普米族",id:39}, {name:"塔吉克族",id:40}, {name:"怒族",id:41}, {name:"乌孜别克族",id:42},{name:"俄罗斯族",id:43}, {name:"鄂温克族",id:44}, {name:"德昂族",id:45}, {name:"保安族",id:46}, {name:"裕固族",id:47}, {name:"京族",id:48}, {name:"塔塔尔族",id:49}, {name:"独龙族",id:50}, {name:"鄂伦春族",id:51}, {name:"赫哲族",id:52}, {name:"门巴族",id:53}, {name:"珞巴族",id:54}, {name:"基诺族",id:55}], |
|
|
|
nations : [ |
|
|
|
|
|
|
|
{ "itemId": 24, "description": "汉族", "options": "汉族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:44", "updateTime": "2021-12-20 12:00:44" }, |
|
|
|
|
|
|
|
{ "itemId": 25, "description": "蒙古族", "options": "蒙古族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:44", "updateTime": "2021-12-20 12:00:44" }, |
|
|
|
|
|
|
|
{ "itemId": 26, "description": "回族", "options": "回族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 27, "description": "藏族", "options": "藏族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 28, "description": "维吾尔族", "options": "维吾尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 29, "description": "苗族", "options": "苗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 30, "description": "彝族", "options": "彝族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 31, "description": "壮族", "options": "壮族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 32, "description": "布依族", "options": "布依族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 33, "description": "朝鲜族", "options": "朝鲜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 34, "description": "满族", "options": "满族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 35, "description": "侗族", "options": "侗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 36, "description": "瑶族", "options": "瑶族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 37, "description": "白族", "options": "白族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 38, "description": "土家族", "options": "土家族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 39, "description": "哈尼族", "options": "哈尼族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 40, "description": "哈萨克族", "options": "哈萨克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 41, "description": "傣族", "options": "傣族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 42, "description": "黎族", "options": "黎族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 43, "description": "傈僳族", "options": "傈僳族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 44, "description": "佤族", "options": "佤族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 45, "description": "畲族", "options": "畲族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 46, "description": "高山族", "options": "高山族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 47, "description": "拉祜族", "options": "拉祜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 48, "description": "水族", "options": "水族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 49, "description": "东乡族", "options": "东乡族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 50, "description": "纳西族", "options": "纳西族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 51, "description": "景颇族", "options": "景颇族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 52, "description": "柯尔克孜族", "options": "柯尔克孜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 53, "description": "土族", "options": "土族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 54, "description": "达斡尔族", "options": "达斡尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 55, "description": "仫佬族", "options": "仫佬族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 56, "description": "羌族", "options": "羌族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 57, "description": " 布朗族", "options": " 布朗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 58, "description": " 撒拉族", "options": " 撒拉族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 59, "description": " 毛难族", "options": " 毛难族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 60, "description": " 仡佬族", "options": " 仡佬族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
|
|
|
{ "itemId": 61, "description": " 锡伯族", "options": " 锡伯族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 62, "description": " 阿昌族", "options": " 阿昌族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 63, "description": " 普米族", "options": " 普米族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 64, "description": " 塔吉克族", "options": " 塔吉克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 65, "description": " 怒族", "options": " 怒族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 66, "description": " 乌孜别克族", "options": " 乌孜别克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 67, "description": " 俄罗斯族", "options": " 俄罗斯族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 68, "description": " 鄂温克族", "options": " 鄂温克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 69, "description": " 崩龙族", "options": " 崩龙族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 70, "description": " 保安族", "options": " 保安族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 71, "description": " 裕固族", "options": " 裕固族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 72, "description": " 京族", "options": " 京族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 73, "description": " 塔塔尔族", "options": " 塔塔尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 74, "description": " 独龙族", "options": " 独龙族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 75, "description": " 鄂伦春族", "options": " 鄂伦春族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 76, "description": " 赫哲族", "options": " 赫哲族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 77, "description": " 门巴族", "options": " 门巴族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 78, "description": " 珞巴族", "options": " 珞巴族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 79, "description": " 基诺族", "options": " 基诺族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
|
|
|
{ "itemId": 80, "description": " 其他", "options": " 其他", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" } |
|
|
|
|
|
|
|
], |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
|
|
|
|
this.getFormData() |
|
|
|
this.$refs.userName.focus(); |
|
|
|
this.$refs.userName.focus(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
getFormData(){ |
|
|
|
|
|
|
|
let param= { |
|
|
|
|
|
|
|
parentId: '0,5,25,33' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
getOperation(param).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200) { |
|
|
|
|
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
|
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
|
|
|
|
if (list[i].answerId == '40') {this.form.idType = +list[i].emptyTwo} |
|
|
|
|
|
|
|
if (list[i].answerId == '41') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)} |
|
|
|
|
|
|
|
if (list[i].answerId == '42') {this.form.userName = list[i].emptyTwo} |
|
|
|
|
|
|
|
if (list[i].answerId == '43') {this.form.sex = +list[i].emptyTwo} |
|
|
|
|
|
|
|
if (list[i].answerId == '44') {this.form.birthday = list[i].emptyTwo} |
|
|
|
|
|
|
|
if (list[i].answerId == '45') {this.form.nationality = +list[i].emptyTwo} |
|
|
|
|
|
|
|
if (list[i].answerId == '46') {this.form.mailbox = list[i].emptyTwo} |
|
|
|
|
|
|
|
if (list[i].answerId == '47') {this.form.phone = list[i].emptyTwo} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
...mapMutations({ |
|
|
|
...mapMutations({ |
|
|
|
changeShowGoods: 'system/changeShowGoods' |
|
|
|
changeShowGoods: 'system/changeShowGoods' |
|
|
|
}), |
|
|
|
}), |
|
|
@ -177,90 +257,69 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
//提交个人用户信息 |
|
|
|
//提交个人用户信息 |
|
|
|
submitForm(){ |
|
|
|
submitForm(){ |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
let formExternalData = sessionStorage.getItem('formExternalData') |
|
|
|
let formExternalData = sessionStorage.getItem('formExternalData') |
|
|
|
let consumerClientDragList = JSON.parse(formExternalData); |
|
|
|
let consumerClientDragList = JSON.parse(formExternalData); |
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
this.visible = true; |
|
|
|
this.visible = true; |
|
|
|
let formList = []; |
|
|
|
let formList = []; |
|
|
|
if(this.form.sex){ |
|
|
|
let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') |
|
|
|
formList.push({ |
|
|
|
let nomClientIdentitys = JSON.parse(nomClientIdentity); |
|
|
|
"answerId":'43', |
|
|
|
if (nomClientIdentitys && nomClientIdentitys.length > 0){ |
|
|
|
"emptyOne": "1", |
|
|
|
for (var i=0;i<nomClientIdentitys.length;i++){ |
|
|
|
"emptyTwo": this.form.sex, |
|
|
|
formList.push({"answerId":nomClientIdentitys[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,41,"+nomClientIdentitys[i].id,"type": ""}) |
|
|
|
"operationIds": "0,5,25,33,43",//性别 |
|
|
|
} |
|
|
|
"type": "1" |
|
|
|
if(this.form.sex){ |
|
|
|
}) |
|
|
|
formList.push({ |
|
|
|
} |
|
|
|
"answerId":'43', |
|
|
|
if(this.form.nationality){ |
|
|
|
"emptyOne": "1", |
|
|
|
formList.push({ |
|
|
|
"emptyTwo": this.form.sex, |
|
|
|
"answerId":'45', |
|
|
|
"operationIds": "0,5,25,33,43",//性别 |
|
|
|
"emptyOne": "3", |
|
|
|
"type": "1" |
|
|
|
"emptyTwo": this.form.nationality, |
|
|
|
}) |
|
|
|
"operationIds": "0,5,25,33,45",//民族 |
|
|
|
} |
|
|
|
"type": "1" |
|
|
|
if(this.form.nationality){ |
|
|
|
}) |
|
|
|
formList.push({ |
|
|
|
} |
|
|
|
"answerId":'45', |
|
|
|
if(this.form.mailbox){ |
|
|
|
"emptyOne": "3", |
|
|
|
formList.push({ |
|
|
|
"emptyTwo": this.form.nationality, |
|
|
|
"answerId":'46', |
|
|
|
"operationIds": "0,5,25,33,45",//民族 |
|
|
|
"emptyOne": "4", |
|
|
|
"type": "1" |
|
|
|
"emptyTwo": this.form.mailbox, |
|
|
|
}) |
|
|
|
"operationIds": "0,5,25,33,46",//通讯地址 |
|
|
|
} |
|
|
|
"type": "3" |
|
|
|
if(this.form.mailbox){ |
|
|
|
}) |
|
|
|
formList.push({ |
|
|
|
} |
|
|
|
"answerId":'46', |
|
|
|
formList.push( |
|
|
|
"emptyOne": "4", |
|
|
|
{"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "0,5,25,33,40", "type": "1"},//证件类型 |
|
|
|
"emptyTwo": this.form.mailbox, |
|
|
|
{"answerId":'46',"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,41,13", "type": ""},//证件号码 |
|
|
|
"operationIds": "0,5,25,33,46",//通讯地址 |
|
|
|
{"answerId":'42',"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,25,33,42", "type": "3"},//客户姓名 |
|
|
|
"type": "3" |
|
|
|
{"answerId":'44',"emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "0,5,25,33,44", "type": ""},//出生日期 |
|
|
|
}) |
|
|
|
{"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "0,5,25,33,47", "type": "3"}//联系电话 |
|
|
|
} |
|
|
|
); |
|
|
|
formList.push( |
|
|
|
let params= { |
|
|
|
{"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "0,5,25,33,40", "type": "1"},//证件类型 |
|
|
|
parentId:'0,5,25,33', |
|
|
|
{"answerId":'42',"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,25,33,42", "type": "3"},//客户姓名 |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
{"answerId":'44',"emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "0,5,25,33,44", "type": "3"},//出生日期 |
|
|
|
projectId:+projectId, |
|
|
|
{"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "0,5,25,33,47", "type": "3"}//联系电话 |
|
|
|
startTime:startTime, |
|
|
|
); |
|
|
|
} |
|
|
|
let params= { |
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
parentId:'0,5,25,33', |
|
|
|
this.$message({ |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
message: '提交成功', |
|
|
|
projectId:+projectId, |
|
|
|
type: 'success' |
|
|
|
startTime:startTime, |
|
|
|
}); |
|
|
|
} |
|
|
|
}).catch((error)=>{ |
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
}) |
|
|
|
this.$message({ |
|
|
|
} , this.$refs)); |
|
|
|
message: '提交成功', |
|
|
|
// |
|
|
|
type: 'success' |
|
|
|
// if(this.form.idNumber && this.form.idNumber.userName && this.form.idNumber.sex && this.form.idNumber.birthday && this.form.idNumber.phone) { |
|
|
|
}); |
|
|
|
// this.visible = true; |
|
|
|
}).catch((error)=>{ |
|
|
|
// let formList = []; |
|
|
|
}) |
|
|
|
// if(this.form.nationality){ |
|
|
|
}else{ |
|
|
|
// formList.push({ |
|
|
|
this.$message.error('有必填项未填哦~'); |
|
|
|
// "emptyOne": "", |
|
|
|
} |
|
|
|
// "emptyTwo": "", |
|
|
|
} , this.$refs)); |
|
|
|
// "operationIds": "0,5,25,33,45", |
|
|
|
|
|
|
|
// "type": "" |
|
|
|
|
|
|
|
// }) |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// if(this.form.mailbox){ |
|
|
|
|
|
|
|
// formList.push({ |
|
|
|
|
|
|
|
// "emptyOne": "", |
|
|
|
|
|
|
|
// "emptyTwo": "", |
|
|
|
|
|
|
|
// "operationIds": "0,5,25,33,46", |
|
|
|
|
|
|
|
// "type": "" |
|
|
|
|
|
|
|
// }) |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// formList.push( |
|
|
|
|
|
|
|
// {"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,40", "type": ""}, |
|
|
|
|
|
|
|
// {"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,41,13", "type": ""}, |
|
|
|
|
|
|
|
// {"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,42", "type": ""}, |
|
|
|
|
|
|
|
// {"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,44", "type": ""}, |
|
|
|
|
|
|
|
// {"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,47", "type": ""} |
|
|
|
|
|
|
|
// ); |
|
|
|
|
|
|
|
// sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
|
|
|
// }else{ |
|
|
|
|
|
|
|
// this.$message.error('有必填项为填哦~'); |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
popSure(){ |
|
|
|
popSure(){ |
|
|
|