|
|
@ -1,58 +1,106 @@ |
|
|
|
// 企业客户 |
|
|
|
// 企业客户 |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="wrap2 wrap"> |
|
|
|
<div class="wrap2 wrap"> |
|
|
|
<MyTitle :titleArr="['客户信息', '公司客户信息建立']"/> |
|
|
|
<MyTitle :titleArr="['客户信息', '公司客户信息建立']" /> |
|
|
|
<div class="body"> |
|
|
|
<div class="body"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-form ref="form" :model="form" label-width="140px" :rules="rules"> |
|
|
|
<el-form ref="form" |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
:model="form" |
|
|
|
|
|
|
|
label-width="140px" |
|
|
|
|
|
|
|
:rules="rules"> |
|
|
|
|
|
|
|
<el-col :span="10" |
|
|
|
|
|
|
|
:offset="1"> |
|
|
|
<el-form-item label="证件类型"> |
|
|
|
<el-form-item label="证件类型"> |
|
|
|
<el-select v-model.trim="form.idType" placeholder="请选择" ref="idType"> |
|
|
|
<el-select v-model.trim="form.idType" |
|
|
|
<el-option label="统一社会信用代码证" :value="82"></el-option> |
|
|
|
placeholder="请选择" |
|
|
|
|
|
|
|
ref="idType"> |
|
|
|
|
|
|
|
<el-option label="统一社会信用代码证" |
|
|
|
|
|
|
|
:value="82"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="公司名称" prop="companyName"> |
|
|
|
<el-form-item label="公司名称" |
|
|
|
<el-input v-model.trim="form.companyName" maxlength="40" @input="(val) => checkHanzi(val, form, 'companyName')" ref="companyName"></el-input> |
|
|
|
prop="companyName"> |
|
|
|
|
|
|
|
<el-input v-model.trim="form.companyName" |
|
|
|
|
|
|
|
maxlength="40" |
|
|
|
|
|
|
|
@input="(val) => checkHanzi(val, form, 'companyName')" |
|
|
|
|
|
|
|
ref="companyName"></el-input> |
|
|
|
|
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="注册资本" class="relative"> |
|
|
|
<el-form-item label="注册资本" |
|
|
|
<el-input :value="form.registeredCapital" @input="val => ismoney(val, form, 'registeredCapital')" maxlength="15" ref="registeredCapital"></el-input> |
|
|
|
class="relative"> |
|
|
|
<span class="absolute" style="right: 10px;font-size: 16px;line-height: 40px; color: #606266;">万</span> |
|
|
|
<el-input :value="form.registeredCapital" |
|
|
|
|
|
|
|
@input="val => ismoney(val, form, 'registeredCapital')" |
|
|
|
|
|
|
|
maxlength="15" |
|
|
|
|
|
|
|
ref="registeredCapital"></el-input> |
|
|
|
|
|
|
|
<span class="absolute" |
|
|
|
|
|
|
|
style="right: 10px;font-size: 16px;line-height: 40px; color: #606266;">万</span> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="法人证件号码" required> |
|
|
|
<el-form-item label="法人证件号码" |
|
|
|
<div class="idCard" @click="popUp('身份证扫描仪')" v-if='!idNumberJudge'> |
|
|
|
required> |
|
|
|
|
|
|
|
<div class="idCard" |
|
|
|
|
|
|
|
@click="popUp('身份证扫描仪')" |
|
|
|
|
|
|
|
v-if='!idNumberJudge'> |
|
|
|
<p>请刷身份证</p> |
|
|
|
<p>请刷身份证</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<div v-else> |
|
|
|
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input> |
|
|
|
<el-input :value="form.idNumber" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
ref="idNumber"></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="联系电话" :rules="rules.phone" prop="phone"> |
|
|
|
<el-form-item label="联系电话" |
|
|
|
<el-input :value="form.phone" @input="(val) => phoneListen(val, form, 'phone')" maxlength="12" ref='phone'></el-input> |
|
|
|
:rules="rules.phone" |
|
|
|
|
|
|
|
prop="phone"> |
|
|
|
|
|
|
|
<el-input :value="form.phone" |
|
|
|
|
|
|
|
@input="(val) => phoneListen(val, form, 'phone')" |
|
|
|
|
|
|
|
maxlength="12" |
|
|
|
|
|
|
|
ref='phone'></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" |
|
|
|
<el-form-item label="代码证号" prop="codeNumber"> |
|
|
|
:offset="1"> |
|
|
|
<el-input :value="form.codeNumber" @input="(val) => checkHanzi(val, form, 'codeNumber')" ref="codeNumber"></el-input> |
|
|
|
<el-form-item label="代码证号" |
|
|
|
|
|
|
|
prop="codeNumber"> |
|
|
|
|
|
|
|
<el-input :value="form.codeNumber" |
|
|
|
|
|
|
|
@input="(val) => checkHanzi(val, form, 'codeNumber')" |
|
|
|
|
|
|
|
ref="codeNumber"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="公司地址"> |
|
|
|
<el-form-item label="公司地址"> |
|
|
|
<el-input v-model.trim="form.companyAddress" maxlength="60" ref="companyAddress"></el-input> |
|
|
|
<el-input v-model.trim="form.companyAddress" |
|
|
|
|
|
|
|
maxlength="60" |
|
|
|
|
|
|
|
ref="companyAddress"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="法人证件类型" prop="certificateType"> |
|
|
|
<el-form-item label="法人证件类型" |
|
|
|
<el-select v-model.trim="form.certificateType" placeholder="请选择" ref="certificateType"> |
|
|
|
prop="certificateType"> |
|
|
|
<el-option label="身份证" :value="83"></el-option> |
|
|
|
<el-select v-model.trim="form.certificateType" |
|
|
|
|
|
|
|
placeholder="请选择" |
|
|
|
|
|
|
|
ref="certificateType"> |
|
|
|
|
|
|
|
<el-option label="身份证" |
|
|
|
|
|
|
|
:value="132"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="法人姓名" prop="name"> |
|
|
|
<el-form-item label="法人姓名" |
|
|
|
<el-input v-model.trim="form.name" disabled @input="(val) => checkName(val, form, 'name')" ref="name"></el-input> |
|
|
|
prop="name"> |
|
|
|
|
|
|
|
<el-input v-model.trim="form.name" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
@input="(val) => checkName(val, form, 'name')" |
|
|
|
|
|
|
|
ref="name"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> |
|
|
|
<el-button @click="submitForm" |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
class="submitBtn" |
|
|
|
|
|
|
|
v-throttle>提交</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> |
|
|
|
<my-dialog :moduleName="moduleName" |
|
|
|
|
|
|
|
v-if="visible" |
|
|
|
|
|
|
|
:visible.sync="visible" |
|
|
|
|
|
|
|
:showForm="form" |
|
|
|
|
|
|
|
:formName="formName" |
|
|
|
|
|
|
|
@submitIt="submitForm2" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" /> --> |
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" /> --> |
|
|
@ -76,15 +124,15 @@ export default { |
|
|
|
NeedBefore, |
|
|
|
NeedBefore, |
|
|
|
MyDialog |
|
|
|
MyDialog |
|
|
|
}, |
|
|
|
}, |
|
|
|
mixins: [ TipsBefore ], |
|
|
|
mixins: [TipsBefore], |
|
|
|
data() { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
moduleName: 'corporateClient', |
|
|
|
moduleName: 'corporateClient', |
|
|
|
idNumberJudge: false, |
|
|
|
idNumberJudge: false, |
|
|
|
visible:false,// 表单 |
|
|
|
visible: false,// 表单 |
|
|
|
authorization:false,// 切授权 |
|
|
|
authorization: false,// 切授权 |
|
|
|
success:false,// 切成功 |
|
|
|
success: false,// 切成功 |
|
|
|
form:{ |
|
|
|
form: { |
|
|
|
idNumber: '', |
|
|
|
idNumber: '', |
|
|
|
name: '', |
|
|
|
name: '', |
|
|
|
phone: '', |
|
|
|
phone: '', |
|
|
@ -95,7 +143,7 @@ export default { |
|
|
|
companyAddress: '', |
|
|
|
companyAddress: '', |
|
|
|
certificateType: '' |
|
|
|
certificateType: '' |
|
|
|
}, |
|
|
|
}, |
|
|
|
formName:{ |
|
|
|
formName: { |
|
|
|
idNumber: '法人证件号码', |
|
|
|
idNumber: '法人证件号码', |
|
|
|
name: '法人姓名', |
|
|
|
name: '法人姓名', |
|
|
|
phone: '联系电话', |
|
|
|
phone: '联系电话', |
|
|
@ -155,7 +203,7 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
created () { |
|
|
|
// firmClientIdentity |
|
|
|
// firmClientIdentity |
|
|
|
// if(this.isNeedBefore) { |
|
|
|
// if(this.isNeedBefore) { |
|
|
|
// if(sessionStorage.getItem('firmClientIdentity')) { |
|
|
|
// if(sessionStorage.getItem('firmClientIdentity')) { |
|
|
@ -164,7 +212,7 @@ export default { |
|
|
|
// } |
|
|
|
// } |
|
|
|
// return |
|
|
|
// return |
|
|
|
// } |
|
|
|
// } |
|
|
|
if(sessionStorage.getItem('firmClientIdentity')) { |
|
|
|
if (sessionStorage.getItem('firmClientIdentity')) { |
|
|
|
this.idNumberJudge = true |
|
|
|
this.idNumberJudge = true |
|
|
|
const { idNumber, userName } = this.dataFlow |
|
|
|
const { idNumber, userName } = this.dataFlow |
|
|
|
this.form.idNumber = idNumber |
|
|
|
this.form.idNumber = idNumber |
|
|
@ -182,24 +230,24 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted () { |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
getFormData(){ |
|
|
|
getFormData () { |
|
|
|
let param= { |
|
|
|
let param = { |
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34' |
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34' |
|
|
|
} |
|
|
|
} |
|
|
|
getOperation(param).then((data)=>{ |
|
|
|
getOperation(param).then((data) => { |
|
|
|
console.log(data) |
|
|
|
console.log(data) |
|
|
|
if(data.status == 200) { |
|
|
|
if (data.status == 200) { |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
if (list[i].answerId == '48') {this.form.idType = list[i].emptyTwo} //证件类型 |
|
|
|
if (list[i].answerId == '48') { this.form.idType = list[i].emptyTwo } //证件类型 |
|
|
|
else if (list[i].answerId == '49') {this.form.codeNumber = list[i].emptyTwo} //代码证号 |
|
|
|
else if (list[i].answerId == '49') { this.form.codeNumber = list[i].emptyTwo } //代码证号 |
|
|
|
else if (list[i].answerId == '50') {this.form.companyName = list[i].emptyTwo} //公司名称 |
|
|
|
else if (list[i].answerId == '50') { this.form.companyName = list[i].emptyTwo } //公司名称 |
|
|
|
else if (list[i].answerId == '51') {this.form.companyAddress = list[i].emptyTwo} //公司地址 |
|
|
|
else if (list[i].answerId == '51') { this.form.companyAddress = list[i].emptyTwo } //公司地址 |
|
|
|
else if (list[i].answerId == '52') {this.form.registeredCapital = list[i].emptyTwo/10000} //注册资本 |
|
|
|
else if (list[i].answerId == '52') { this.form.registeredCapital = list[i].emptyTwo / 10000 } //注册资本 |
|
|
|
else if (list[i].answerId == '53') {this.form.certificateType = +list[i].emptyTwo} //法人证件类型 |
|
|
|
else if (list[i].answerId == '53') { this.form.certificateType = +list[i].emptyTwo } //法人证件类型 |
|
|
|
// else if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //法人证件号码 |
|
|
|
// else if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //法人证件号码 |
|
|
|
else if (list[i].answerId == '54') { |
|
|
|
else if (list[i].answerId == '54') { |
|
|
|
console.log('54id') |
|
|
|
console.log('54id') |
|
|
@ -207,11 +255,11 @@ export default { |
|
|
|
this.idNumberJudge = true |
|
|
|
this.idNumberJudge = true |
|
|
|
this.form.idNumber = list[i].emptyTwo |
|
|
|
this.form.idNumber = list[i].emptyTwo |
|
|
|
} |
|
|
|
} |
|
|
|
else if (list[i].answerId == '55') {this.form.name = list[i].emptyTwo} //法人姓名 |
|
|
|
else if (list[i].answerId == '55') { this.form.name = list[i].emptyTwo } //法人姓名 |
|
|
|
else if (list[i].answerId == '56') {this.form.phone = list[i].emptyTwo} //联系电话 |
|
|
|
else if (list[i].answerId == '56') { this.form.phone = list[i].emptyTwo } //联系电话 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}).catch((error)=>{ |
|
|
|
}).catch((error) => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
...mapMutations({ |
|
|
|
...mapMutations({ |
|
|
@ -222,7 +270,7 @@ export default { |
|
|
|
setNeedsModule: 'system/setNeedsModule', |
|
|
|
setNeedsModule: 'system/setNeedsModule', |
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
}), |
|
|
|
}), |
|
|
|
popUp(){// 唤起弹窗 |
|
|
|
popUp () {// 唤起弹窗 |
|
|
|
// this.$store.commit('system/changePop',{show:true,text:'身份证扫描仪',id:'34'}) |
|
|
|
// this.$store.commit('system/changePop',{show:true,text:'身份证扫描仪',id:'34'}) |
|
|
|
// this.setDataFlow() |
|
|
|
// this.setDataFlow() |
|
|
|
// let tmpForm = {} |
|
|
|
// let tmpForm = {} |
|
|
@ -237,12 +285,12 @@ export default { |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
}, |
|
|
|
}, |
|
|
|
popSure(){ |
|
|
|
popSure () { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
submitForm() { |
|
|
|
submitForm () { |
|
|
|
if (this.submited) return this.$message.error('已提交!') |
|
|
|
if (this.submited) return this.$message.error('已提交!') |
|
|
|
if(!this.form.idNumber) { |
|
|
|
if (!this.form.idNumber) { |
|
|
|
messageIdCard() |
|
|
|
messageIdCard() |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
@ -252,45 +300,45 @@ export default { |
|
|
|
this.visible = true; |
|
|
|
this.visible = true; |
|
|
|
}, this.$refs)); |
|
|
|
}, this.$refs)); |
|
|
|
}, |
|
|
|
}, |
|
|
|
submitForm2() { |
|
|
|
submitForm2 () { |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
let formList = []; |
|
|
|
let formList = []; |
|
|
|
let firmClientIdentity = sessionStorage.getItem('firmClientIdentity') |
|
|
|
let firmClientIdentity = sessionStorage.getItem('firmClientIdentity') |
|
|
|
let firmClientIdentitys = JSON.parse(firmClientIdentity); |
|
|
|
let firmClientIdentitys = JSON.parse(firmClientIdentity); |
|
|
|
if (firmClientIdentitys && firmClientIdentitys.length > 0){ |
|
|
|
if (firmClientIdentitys && firmClientIdentitys.length > 0) { |
|
|
|
// for (var i=0;i<firmClientIdentitys.length;i++){ |
|
|
|
// for (var i=0;i<firmClientIdentitys.length;i++){ |
|
|
|
// formList.push({"answerId":54,"emptyOne": "", "emptyTwo": firmClientIdentity, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,54","type": ""})// 法人证件号码 |
|
|
|
// formList.push({"answerId":54,"emptyOne": "", "emptyTwo": firmClientIdentity, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,54","type": ""})// 法人证件号码 |
|
|
|
// } |
|
|
|
// } |
|
|
|
formList.push({"answerId":54,"emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,54,13","type": ""})// 法人证件号码 |
|
|
|
formList.push({ "answerId": 54, "emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,54,13", "type": "" })// 法人证件号码 |
|
|
|
if(this.form.idType){ |
|
|
|
if (this.form.idType) { |
|
|
|
formList.push({ "answerId":'48', "emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,48","type": "1"})//证件类型 |
|
|
|
formList.push({ "answerId": '48', "emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,48", "type": "1" })//证件类型 |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.form.companyAddress){ |
|
|
|
if (this.form.companyAddress) { |
|
|
|
formList.push({ "answerId":'51', "emptyOne": "22", "emptyTwo": this.form.companyAddress, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,51", "type": "3" })//公司地址 |
|
|
|
formList.push({ "answerId": '51', "emptyOne": "22", "emptyTwo": this.form.companyAddress, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,51", "type": "3" })//公司地址 |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.form.registeredCapital){ |
|
|
|
if (this.form.registeredCapital) { |
|
|
|
const getRegisteredCapital = this.form.registeredCapital.slice(0, this.form.registeredCapital.length-1)*10000 |
|
|
|
const getRegisteredCapital = this.form.registeredCapital.slice(0, this.form.registeredCapital.length - 1) * 10000 |
|
|
|
formList.push({ "answerId":'52', "emptyOne": "23", "emptyTwo": getRegisteredCapital, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,52", "type": "3" })//注册资本 |
|
|
|
formList.push({ "answerId": '52', "emptyOne": "23", "emptyTwo": getRegisteredCapital, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,52", "type": "3" })//注册资本 |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.form.name){ |
|
|
|
if (this.form.name) { |
|
|
|
formList.push( {"answerId":'55',"emptyOne": "25", "emptyTwo": this.form.name, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,55", "type": "3"})//法人姓名 |
|
|
|
formList.push({ "answerId": '55', "emptyOne": "25", "emptyTwo": this.form.name, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,55", "type": "3" })//法人姓名 |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.form.phone){ |
|
|
|
if (this.form.phone) { |
|
|
|
formList.push({"answerId":'56',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,56", "type": "3"})//联系电话 |
|
|
|
formList.push({ "answerId": '56', "emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,56", "type": "3" })//联系电话 |
|
|
|
} |
|
|
|
} |
|
|
|
formList.push( |
|
|
|
formList.push( |
|
|
|
{ "answerId":'49', "emptyOne": "20", "emptyTwo": this.form.codeNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,49", "type": "3" },//代码证号 |
|
|
|
{ "answerId": '49', "emptyOne": "20", "emptyTwo": this.form.codeNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,49", "type": "3" },//代码证号 |
|
|
|
{ "answerId":'50', "emptyOne": "21", "emptyTwo": this.form.companyName, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,50", "type": "3" },//公司名称 |
|
|
|
{ "answerId": '50', "emptyOne": "21", "emptyTwo": this.form.companyName, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,50", "type": "3" },//公司名称 |
|
|
|
{"answerId":'53',"emptyOne": "24", "emptyTwo": this.form.certificateType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,53", "type": "1"},//法人证件类型 |
|
|
|
{ "answerId": '53', "emptyOne": "24", "emptyTwo": this.form.certificateType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,53", "type": "1" },//法人证件类型 |
|
|
|
); |
|
|
|
); |
|
|
|
let params= { |
|
|
|
let params = { |
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34', |
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq: formList, |
|
|
|
projectId:+projectId, |
|
|
|
projectId: +projectId, |
|
|
|
startTime:startTime, |
|
|
|
startTime: startTime, |
|
|
|
} |
|
|
|
} |
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
addOperation(params).then((data) => { |
|
|
|
// this.$message({ |
|
|
|
// this.$message({ |
|
|
|
// message: '提交成功', |
|
|
|
// message: '提交成功', |
|
|
|
// type: 'success' |
|
|
|
// type: 'success' |
|
|
@ -301,13 +349,13 @@ export default { |
|
|
|
this.setDataFlow({ userName: this.form.name }) |
|
|
|
this.setDataFlow({ userName: this.form.name }) |
|
|
|
// 说明已经操作过公司业务 |
|
|
|
// 说明已经操作过公司业务 |
|
|
|
this.setDataFlow({ [moduleName]: true }) |
|
|
|
this.setDataFlow({ [moduleName]: true }) |
|
|
|
this.form.registeredCapital = this.form.registeredCapital.slice(0, this.form.registeredCapital.length-1) |
|
|
|
this.form.registeredCapital = this.form.registeredCapital.slice(0, this.form.registeredCapital.length - 1) |
|
|
|
this.submited = 1 |
|
|
|
this.submited = 1 |
|
|
|
this.setPopId('') |
|
|
|
this.setPopId('') |
|
|
|
}).catch((error)=>{ |
|
|
|
}).catch((error) => { |
|
|
|
this.setTipsOperate('服务器繁忙哦,提交失败。') |
|
|
|
this.setTipsOperate('服务器繁忙哦,提交失败。') |
|
|
|
}) |
|
|
|
}) |
|
|
|
}else { |
|
|
|
} else { |
|
|
|
this.$message.error('有必填项未填哦~'); |
|
|
|
this.$message.error('有必填项未填哦~'); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -327,13 +375,13 @@ export default { |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.wrap{ |
|
|
|
.wrap { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
padding: 24px 0 24px 24px; |
|
|
|
padding: 24px 0 24px 24px; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
.body{ |
|
|
|
.body { |
|
|
|
margin-top: 50px; |
|
|
|
margin-top: 50px; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
overflow-y: auto; |
|
|
|
overflow-y: auto; |
|
|
|