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

20240205
luoJunYong.123 3 years ago
commit ac7b6c8873
  1. 5
      src/pages/counter/list/index.vue
  2. 1
      src/pages/manage/list/business/withdrawal.vue
  3. 62
      src/pages/manage/list/personal/currentAccount/withdrawal.vue

@ -407,12 +407,16 @@ export default {
} }
} }
if(this.$store.state.system.popText == '密码器'){ if(this.$store.state.system.popText == '密码器'){
if(this.$store.state.system.id == '62,1'){
}else{
let accountPasswordAll = sessionStorage.getItem('accountPasswordAll'); let accountPasswordAll = sessionStorage.getItem('accountPasswordAll');
if(accountPasswordAll){ if(accountPasswordAll){
this.passwordForm.password = accountPasswordAll this.passwordForm.password = accountPasswordAll
this.passwordForm.passwordAgain = accountPasswordAll this.passwordForm.passwordAgain = accountPasswordAll
} }
} }
}
if(this.$store.state.system.popText == '身份证扫描仪'){ if(this.$store.state.system.popText == '身份证扫描仪'){
if (this.$store.state.system.id == '33'){ if (this.$store.state.system.id == '33'){
this.nbm = 33 this.nbm = 33
@ -439,7 +443,6 @@ export default {
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.$store.state.system.id == '34'){ }else if (this.$store.state.system.id == '34'){
console.log('===========')
this.nbm = 34 this.nbm = 34
let param= { let param= {
parentId: '0,5,25,34,54' parentId: '0,5,25,34,54'

@ -228,7 +228,6 @@ export default {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const formList = []
const parentId = '0,5,27,226' const parentId = '0,5,27,226'
autoPlay(parentId, this.form, this.myTable2, this.myTable, projectId, startTime) autoPlay(parentId, this.form, this.myTable2, this.myTable, projectId, startTime)
// let tmpIndex = 100; // let tmpIndex = 100;

@ -2,7 +2,7 @@
<template> <template>
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :rules="rules" :model="form" label-width="120px" @click.native="depositFinishJudge"> <el-form ref="form" :rules="rules" :model="form" label-width="120px">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="卡号" required> <el-form-item label="卡号" required>
<div class="idCard" @click="popUp('刷卡器')"> <div class="idCard" @click="popUp('刷卡器')">
@ -19,7 +19,7 @@
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('密码器')"> <div class="idCard" @click="popUp('密码器')">
<p>刷卡</p> <p>输入密码</p>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -54,6 +54,7 @@
<script> <script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, ismoney, checkName, checkHanzi } from '@/utils/utilFunction.js' import { myValidate, ismoney, checkName, checkHanzi } from '@/utils/utilFunction.js'
import { addOperation, getOperation } from '@/api/http';
export default{ export default{
name:'', name:'',
props:{ props:{
@ -97,36 +98,61 @@ export default{
} }
}, },
mounted() { mounted() {
this.getFormData()
this.$refs.userName.focus(); this.$refs.userName.focus();
}, },
methods: { methods: {
// getFormData(){
depositFinishJudge() { let param= {
if(!this.depositFinish) { parentId: '0,5,26,57,64'
this.$alert('请根据案例内容,操作存款业务', '提示', { }
confirmButtonText: '确定' 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 == '85') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
if (list[i].answerId == '86') {this.form.userName = list[i].emptyTwo} //
if (list[i].answerId == '87') {this.form.currency = list[i].emptyTwo} //
if (list[i].answerId == '88') {this.form.goldLogo = list[i].emptyTwo} //
if (list[i].answerId == '89') {this.form.money = list[i].emptyTwo} //
if (list[i].answerId == '90') {this.form.chargeWay = list[i].emptyTwo} //
if (list[i].answerId == '91') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
if (list[i].answerId == '92') {this.form.serviceCharge = list[i].emptyTwo} //
if (list[i].answerId == '93') {this.form.remark = list[i].emptyTwo} //
} }
}
}).catch((error)=>{
})
}, },
submitForm(){ submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs') let projectId = sessionStorage.getItem('projectId')
let formList = JSON.parse(ruleReqs); let startTime = sessionStorage.getItem('startTime')
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
this.visible = true;
let formList = [];
// //
if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,64,87","type": "3"})}// if (this.form.currency){formList.push({"answerId":'87', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,64,87","type": "1"})}//
if (this.form.money){formList.push({"emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "26,57,64,89", "type": "3"})}// if (this.form.money){formList.push({"answerId":'89', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "0,5,26,57,64,89", "type": "3"})}//
if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,64,93", "type": "3"})}// if (this.form.remark){formList.push({"answerId":'93', "emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "0,5,26,57,64,93", "type": "3"})}//
formList.push( formList.push(
{"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "26,57,64,86", "type": "3"},// {"answerId":'86', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,64,86", "type": "3"},//
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,64,88", "type": "3"},// {"answerId":'88', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,64,88", "type": "1"},//
{"emptyOne": "15", "emptyTwo": this.form.chargeWay, "operationIds": "26,57,64,90", "type": "3"},// {"answerId":'90', "emptyOne": "15", "emptyTwo": this.form.chargeWay, "operationIds": "0,5,26,57,64,90", "type": "1"},//
{"emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "26,57,64,92", "type": "3"},// {"answerId":'92', "emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "0,5,26,57,64,92", "type": "3"},//
) )
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) let params= {
parentId:'0,5,26,57,64',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
this.$message({ this.$message({
message: '提交成功', message: '提交成功',
type: 'success' type: 'success'
}); });
}).catch((error)=>{
})
}, this.$refs)); }, this.$refs));
// if(this.form.userName && this.form.goldLogo && this.form.chargeWay && this.form.serviceCharge){ // if(this.form.userName && this.form.goldLogo && this.form.chargeWay && this.form.serviceCharge){
// if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,64,87","type": "3"})}// // if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,64,87","type": "3"})}//

Loading…
Cancel
Save