20240205
luoJunYong.123 3 years ago
parent 0b6b040b76
commit 96565c4503
  1. 5
      src/components/dialog/index.vue
  2. 6
      src/pages/counter/list/index.vue
  3. 96
      src/pages/manage/list/personal/currentAccount/openAccount.vue

@ -28,7 +28,7 @@
<el-form label-width="100px">
<el-col :span="10" :offset="1">
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'">
<div>{{ val? val: '未填写' }}</div>
<div>{{ val }}</div>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
@ -72,6 +72,9 @@ export default {
}
let num = 0;
for(const key in this.showForm) {
if(!this.showForm[key]) {
continue;
}
if(num%2 === 0) {
this.leftObj[this.formName[key]] = this.showForm[key]
}else {

@ -668,7 +668,11 @@ export default {
}
else if(this.$store.state.system.popText == '密码器'){
if(this.$store.state.system.id == '62,1'){
let accountPassword = sessionStorage.getItem('accountPassword');
if(accountPassword){
this.passwordForm.password = accountPassword
this.passwordForm.passwordAgain = accountPassword
}
}else if(this.$store.state.system.id == '64'){
let nomCurrentWithdrawalPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword');
if(nomCurrentWithdrawalPassword){

@ -63,15 +63,15 @@
<p>请刷卡</p>
</div>
<div v-else>
<el-input ref="cardNumber" :value="form.cardNumber" @input="(val) => inputListen(val, form, 'cardNumber')"></el-input>
<el-input ref="cardNumber" :value="form.cardNumber" disabled @input="(val) => inputListen(val, form, 'cardNumber')"></el-input>
</div>
</el-form-item>
<el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUps('密码器')">
<p>请输入密码</p>
</div>
<div v-else>
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input>
<div v-else @click="popUps('密码器')">
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
</el-col>
@ -215,16 +215,16 @@ export default {
userName: '', //
goldLogo: '', //
accountQuality: '', //
accountType: '一类账户', //
drawWay: '密码', //
accountType: '', //
drawWay: '', //
voucherType: '', //
accountQualitysTwo: '', // 2
accountTypesTwo: '二类账户', // 2
drawWaysTwo: '密码', // 2
accountTypesTwo: '', // 2
drawWaysTwo: '', // 2
voucherTypesTwo: '', // 2
accountQualitysThree: '', // 3
accountTypesThree: '三类账户', // 3
drawWaysThree: '密码', // 3
accountTypesThree: '', // 3
drawWaysThree: '', // 3
voucherTypesThree: '', // 3
},
formName:{
@ -339,35 +339,37 @@ export default {
parentId: '285,287,5,26,57,62'
}
getOperation(param).then((data)=>{
console.log('need')
connsole.log(data)
if(data.status.status == 200) {
if(data.status == 200) {
var list = data.data.judgmentRuleReqs
for (var i = 0; i < list.length; i++) {
console.log(list[i].emptyTwo)
if (list[i].answerId == '68') {this.form.userNumber = list[i].emptyTwo}
if (list[i].answerId == '69') {this.form.userName = list[i].emptyTwo}
if (list[i].answerId == '70') {this.form.currency = +list[i].emptyTwo}
if (list[i].answerId == '71') {this.form.goldLogo = +list[i].emptyTwo}
if (list[i].answerId == '72') {this.form.accountQuality = +list[i].emptyTwo}
if (list[i].answerId == '73') {this.form.voucherType = +list[i].emptyTwo}
if (list[i].answerId == '74') {this.form.accountType = +list[i].emptyTwo}
if (list[i].answerId == '75') {
else if (list[i].answerId == '69') {this.form.userName = list[i].emptyTwo}
else if (list[i].answerId == '70') {this.form.currency = list[i].emptyTwo}
else if (list[i].answerId == '71') {this.form.goldLogo = list[i].emptyTwo}
else if (list[i].answerId == '72') {this.form.accountQuality = list[i].emptyTwo}
else if (list[i].answerId == '73') {this.form.voucherType = list[i].emptyTwo}
else if (list[i].answerId == '74') {this.form.accountType = list[i].emptyTwo}
else if (list[i].answerId == '75') {
this.form.cardNumber = list[i].emptyTwo
this.cardNumberJudge = true
}
if (list[i].answerId == '76') {this.form.drawWay = +list[i].emptyTwo}
// if (list[i].answerId == '77') {sessionStorage.setItem('accountPasswordAll', list[i].emptyTwo)}
if (list[i].answerId == '77') {
else if (list[i].answerId == '76') {this.form.drawWay = list[i].emptyTwo}
// else if (list[i].answerId == '77') {sessionStorage.setItem('accountPasswordAll', list[i].emptyTwo)}
else if (list[i].answerId == '77') {
this.form.drawPassword = list[i].emptyTwo
sessionStorage.setItem('accountPassword', list[i].emptyTwo)
console.log(sessionStorage.getItem('accountPassword'))
}
if (list[i].answerId == '270') {this.form.accountQualitysTwo = +list[i].emptyTwo}
if (list[i].answerId == '271') {this.form.voucherTypesTwo = +list[i].emptyTwo}
if (list[i].answerId == '272') {this.form.accountTypesTwo = +list[i].emptyTwo}
if (list[i].answerId == '274') {this.form.drawWaysTwo = +list[i].emptyTwo}
if (list[i].answerId == '276') {this.form.accountQualitysThree = +list[i].emptyTwo}
if (list[i].answerId == '277') {this.form.voucherTypesThree = +list[i].emptyTwo}
if (list[i].answerId == '278') {this.form.accountTypesThree = +list[i].emptyTwo}
if (list[i].answerId == '280') {this.form.drawWaysThree = +list[i].emptyTwo}
else if (list[i].answerId == '270') {this.form.accountQualitysTwo = list[i].emptyTwo}
else if (list[i].answerId == '271') {this.form.voucherTypesTwo = list[i].emptyTwo}
else if (list[i].answerId == '272') {this.form.accountTypesTwo = list[i].emptyTwo}
else if (list[i].answerId == '274') {this.form.drawWaysTwo = list[i].emptyTwo}
else if (list[i].answerId == '276') {this.form.accountQualitysThree = list[i].emptyTwo}
else if (list[i].answerId == '277') {this.form.voucherTypesThree = list[i].emptyTwo}
else if (list[i].answerId == '278') {this.form.accountTypesThree = list[i].emptyTwo}
else if (list[i].answerId == '280') {this.form.drawWaysThree = list[i].emptyTwo}
}
}else{
@ -381,13 +383,11 @@ export default {
parentId: '285,287,5,25,33'
}
getOperation(param).then((data)=>{
console.log(data)
if(data.status == 200) {
var list = data.data.judgmentRuleReqs
for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '42') {this.form.userName = list[i].emptyTwo}
else if (list[i].answerId == '75') {
console.log(list[i].emptyTwo)
this.form.cardNumber = list[i].emptyTwo
this.cardNumberJudge = true
}
@ -405,17 +405,19 @@ export default {
}
let dataList = [];
getOperation(param).then((data)=>{
console.log('what>')
console.log(data)
if(data.status == 200){
let list = data.data.judgmentRuleReqs;
for(var i=0;i<list.length;i++){
dataList.push(list[i])
// for(var i=0;i<list.length;i++){
// dataList.push(list[i])
// }
if(list.length > 0) {
this.cardNumberJudge = true;
this.form.cardNumber = list[0].emptyTwo
}
}else{
dataList = []
// dataList = []
}
sessionStorage.setItem('dataList',JSON.stringify(dataList))
// sessionStorage.setItem('dataList',JSON.stringify(dataList))
}).catch((error)=>{
})
},
@ -493,8 +495,22 @@ export default {
// return;
// }
this.$refs.form.validate(myValidate(() => {
//
this.visible = true
//
// this.formTwo == true && (this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo)
// this.formThree == true && (this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)
let judgeVisible2 = true
let judgeVisible3 = true
if(this.formTwo) {
judgeVisible2 = this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo
}
if(this.formThree) {
judgeVisible3 = this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree
}
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && this.cardNumberJudge && this.form.drawPassword && judgeVisible2 && judgeVisible3) {
this.visible = true
}else {
this.$message.error('有必填项未填哦~');
}
}, this.$refs));
},
//

Loading…
Cancel
Save