Merge branch 'master' of ssh://git.czcyedu.com:222/huoran/FE_bankTeaching into master

20240205
luoJunYong.123 3 years ago
commit 108f30874c
  1. 7
      src/pages/counter/list/index.vue
  2. 56
      src/pages/manage/list/client/consumerClient.vue

@ -790,7 +790,12 @@ export default {
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let formList = []; let formList = [];
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,1,"+this.receptionList[i].id, "type": "" })} for (var i=0;i<this.receptionList.length;i++){formList.push({
"answerId":this.receptionList[i].id,
"emptyOne": "",
"emptyTwo": "",
"operationIds": "0,1,"+this.receptionList[i].id,
"type": "" })}
let params= { let params= {
parentId:'0,1', parentId:'0,1',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,

@ -108,6 +108,8 @@
<script> <script>
import { mapState, mapMutations } from 'vuex' import { mapState, mapMutations } from 'vuex'
import { vername, vermob } from '@/utils/verify.js'
import { addOperation } 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, checkName } from '@/utils/utilFunction.js' import { phoneListen, mailBoxListen, checkRequired, myValidate, checkName } from '@/utils/utilFunction.js'
@ -180,31 +182,55 @@ export default {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
this.visible = true; this.visible = true;
let formList = []; let formList = [];
if(this.form.sex){
formList.push({
"answerId":'43',
"emptyOne": "1",
"emptyTwo": this.form.sex,
"operationIds": "0,5,25,33,43",//
"type": "1"
})
}
if(this.form.nationality){ if(this.form.nationality){
formList.push({ formList.push({
"emptyOne": "", "answerId":'45',
"emptyTwo": "", "emptyOne": "3",
"operationIds": "0,5,25,33,45", "emptyTwo": this.form.nationality,
"type": "" "operationIds": "0,5,25,33,45",//
"type": "1"
}) })
} }
if(this.form.mailbox){ if(this.form.mailbox){
formList.push({ formList.push({
"emptyOne": "", "answerId":'46',
"emptyTwo": "", "emptyOne": "4",
"operationIds": "0,5,25,33,46", "emptyTwo": this.form.mailbox,
"type": "" "operationIds": "0,5,25,33,46",//
"type": "3"
}) })
} }
formList.push( formList.push(
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,40", "type": ""}, {"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "0,5,25,33,40", "type": "1"},//
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,41,13", "type": ""}, {"answerId":'46',"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,41,13", "type": ""},//
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,42", "type": ""}, {"answerId":'42',"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,25,33,42", "type": "3"},//
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,44", "type": ""}, {"answerId":'44',"emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "0,5,25,33,44", "type": ""},//
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,47", "type": ""} {"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "0,5,25,33,47", "type": "3"}//
); );
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) let params= {
}, this.$refs)); parentId:'0,5,25,33',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{
})
} , this.$refs));
//
// if(this.form.idNumber && this.form.idNumber.userName && this.form.idNumber.sex && this.form.idNumber.birthday && this.form.idNumber.phone) { // if(this.form.idNumber && this.form.idNumber.userName && this.form.idNumber.sex && this.form.idNumber.birthday && this.form.idNumber.phone) {
// this.visible = true; // this.visible = true;
// let formList = []; // let formList = [];

Loading…
Cancel
Save