Merge remote-tracking branch 'origin/master'

20240205
e 3 years ago
commit 129343af4b
  1. 1
      src/main.js
  2. 57
      src/pages/counter/list/index.vue
  3. 93
      src/pages/counter/list/myConfig.js
  4. 134
      src/pages/lobbyManager/list/index.vue
  5. 1
      src/pages/manage/index/index.vue
  6. 105
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  7. 6
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  8. 3
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  9. 15
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  10. 11
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  11. 16
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  12. 13
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  13. 18
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  14. 32
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  15. 13
      src/utils/utilFunction.js

@ -42,6 +42,7 @@ Vue.directive('throttle', {/* 节流 */
Vue.use(plugins); Vue.use(plugins);
Vue.use(VueLazyload, { Vue.use(VueLazyload, {
preLoad: 1.3, preLoad: 1.3,
loading: require('@/assets/img/loading.gif'), loading: require('@/assets/img/loading.gif'),

@ -323,6 +323,7 @@ export default {
commonChecked:[],// commonChecked:[],//
passwordForm:{ passwordForm:{
password:'', password:'',
passwordAgain: ''
}, },
passwordRules:{ passwordRules:{
password:[ password:[
@ -454,7 +455,6 @@ export default {
parentId: '0,5,26,57,65,94' parentId: '0,5,26,57,65,94'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) { if (data.data.status == 200) {
var list = data.data.judgmentRuleReqs var list = data.data.judgmentRuleReqs
for(var j=0;j<list.length;j++){ for(var j=0;j<list.length;j++){
@ -479,7 +479,6 @@ export default {
parentId: '0,5,26,57,66,103' parentId: '0,5,26,57,66,103'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) { if (data.data.status == 200) {
var list = data.data.judgmentRuleReqs var list = data.data.judgmentRuleReqs
for(var j=0;j<list.length;j++){ for(var j=0;j<list.length;j++){
@ -504,7 +503,6 @@ export default {
parentId: '0,5,26,57,67,113' parentId: '0,5,26,57,67,113'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) { if (data.data.status == 200) {
var list = data.data.judgmentRuleReqs var list = data.data.judgmentRuleReqs
for(var j=0;j<list.length;j++){ for(var j=0;j<list.length;j++){
@ -516,7 +514,6 @@ export default {
} }
}else{ }else{
let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1') let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1')
console.log(nomCurrentCancellCard1)
this.receptionList = JSON.parse(nomCurrentCancellCard1); this.receptionList = JSON.parse(nomCurrentCancellCard1);
if(this.receptionList == null){ if(this.receptionList == null){
this.receptionList = [] this.receptionList = []
@ -526,18 +523,13 @@ export default {
}) })
}else if (myConfig[this.$store.state.system.id]){ }else if (myConfig[this.$store.state.system.id]){
const { nbm, parentId, name } = myConfig[this.$store.state.system.id] const { nbm, parentId, name } = myConfig[this.$store.state.system.id]
console.log(nbm)
console.log(sessionStorage.getItem(name))
this.nbm = nbm this.nbm = nbm
let param= { let param= {
parentId parentId
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) { if (data.data.status == 200) {
let tmpName = sessionStorage.getItem(name) let tmpName = sessionStorage.getItem(name)
console.log(tmpName)
if(tmpName) { if(tmpName) {
this.receptionList = JSON.parse(tmpName); this.receptionList = JSON.parse(tmpName);
}else { }else {
@ -595,7 +587,7 @@ export default {
this.passwordForm.password = nomCurrentSettlePassword this.passwordForm.password = nomCurrentSettlePassword
this.passwordForm.passwordAgain = nomCurrentSettlePassword this.passwordForm.passwordAgain = nomCurrentSettlePassword
} }
}else if (myConfig[this.$store.state.system.id]){ }else if(myConfig[this.$store.state.system.id]){
const { name } = myConfig[this.$store.state.system.id] const { name } = myConfig[this.$store.state.system.id]
let nomCurrentSettlePassword = sessionStorage.getItem(name); let nomCurrentSettlePassword = sessionStorage.getItem(name);
if(nomCurrentSettlePassword){ if(nomCurrentSettlePassword){
@ -687,18 +679,13 @@ export default {
}) })
}else if (myConfig[this.$store.state.system.id]){ }else if (myConfig[this.$store.state.system.id]){
const { nbm, parentId, name } = myConfig[this.$store.state.system.id] const { nbm, parentId, name } = myConfig[this.$store.state.system.id]
console.log(nbm)
console.log(sessionStorage.getItem(name))
this.nbm = nbm this.nbm = nbm
let param= { let param= {
parentId parentId
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) { if (data.data.status == 200) {
let tmpName = sessionStorage.getItem(name) let tmpName = sessionStorage.getItem(name)
console.log(tmpName)
if(tmpName) { if(tmpName) {
this.receptionList = JSON.parse(tmpName); this.receptionList = JSON.parse(tmpName);
}else { }else {
@ -1097,15 +1084,22 @@ export default {
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id]
const { nbm, name } = myConfig[this.$store.state.system.id] const { nbm, name, isPassword } = myConfig[this.$store.state.system.id]
console.log(nbm)
this.nbm = nbm this.nbm = nbm
this.goodsShelfTotalData = this.auditGoodsShelf if(!isPassword) {
if (this.receptionList.length >0){ this.goodsShelfTotalData = this.auditGoodsShelf
sessionStorage.setItem(name, JSON.stringify(this.receptionList)) if (this.receptionList.length >0){
console.log(sessionStorage.getItem(name)) sessionStorage.setItem(name, JSON.stringify(this.receptionList))
}
}else {
if (this.passwordForm.passwordAgain){
let accountPassword = '';
accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem(name, accountPassword)
}
} }
}else if (this.$store.state.system.id == '67,3'){ }else if (this.$store.state.system.id == '67,3'){
this.nbm = 67 this.nbm = 67
if (this.passwordForm.passwordAgain){ if (this.passwordForm.passwordAgain){
@ -1113,8 +1107,7 @@ export default {
accountPassword = this.passwordForm.passwordAgain accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) sessionStorage.setItem('nomCurrentCancellPassword', accountPassword)
} }
} }else if (this.$store.state.system.id == '62,1'){
if (this.$store.state.system.id == '62,1'){
this.nbm = 62 this.nbm = 62
this.goodsShelfTotalData = this.auditGoodsShelf this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
@ -1125,8 +1118,7 @@ export default {
accountPassword = this.passwordForm.passwordAgain accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('accountPassword', accountPassword) sessionStorage.setItem('accountPassword', accountPassword)
} }
} }else if (this.$store.state.system.id == '62,2'){
if (this.$store.state.system.id == '62,2'){
this.nbm = 62 this.nbm = 62
this.goodsShelfTotalData = this.auditGoodsShelf this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
@ -1137,8 +1129,7 @@ export default {
accountPasswordTwo = this.passwordForm.passwordAgain accountPasswordTwo = this.passwordForm.passwordAgain
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo)
} }
} }else if (this.$store.state.system.id == '62,3'){
if (this.$store.state.system.id == '62,3'){
this.nbm = 62 this.nbm = 62
this.goodsShelfTotalData = this.auditGoodsShelf this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
@ -1149,7 +1140,7 @@ export default {
accountPasswordThree = this.passwordForm.passwordAgain accountPasswordThree = this.passwordForm.passwordAgain
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) sessionStorage.setItem('accountPasswordThree', accountPasswordThree)
} }
} }
} }
// this.toggleGoods() // this.toggleGoods()
if(this.popText == '密码器'){ if(this.popText == '密码器'){
@ -1161,12 +1152,12 @@ export default {
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
} }
if(this.passwordForm.password && this.passwordForm.passwordAgain){ if(this.passwordForm.password && this.passwordForm.passwordAgain){
if(this.passwordForm.password.length >=6 && this.passwordForm.passwordAgain.length >=6){ if(this.passwordForm.password.length >=6 && this.passwordForm.passwordAgain.length >=6){
if(this.passwordForm.password == this.passwordForm.passwordAgain) { if(this.passwordForm.password == this.passwordForm.passwordAgain) {
this.$store.commit('system/changePop', {show: false, text: ''}) this.$store.commit('system/changePop', {show: false, text: ''})
this.$message.success(`${this.popText}操作成功!`) this.$message.success(`${this.popText}操作成功!`)
}
} }
}
}else{ }else{
this.$message.error('请输入密码和确认密码'); this.$message.error('请输入密码和确认密码');
} }

@ -1,38 +1,117 @@
const myConfig = { const myConfig = {
'99': {
nbm: 118,
name: 'nomCurrentTransferPassword',
parentId: '0,5,26,57,65',
isPassword: true
},
'117': {
nbm: 118,
name: 'nomCurrentCancellPassword',
parentId: '0,5,26,57,67',
isPassword: true
},
'118,1': { '118,1': {
nbm: 118, nbm: 118,
name: 'nomtimeOpenAccount1', name: 'nomtimeOpenAccount1',
parentId: '0,5,26,58,118' parentId: '0,5,26,58,118',
isPassword: false
}, },
'118,2': { '118,2': {
nbm: 118, nbm: 118,
name: 'nomtimeOpenAccount2', name: 'nomtimeOpenAccount2',
parentId: '0,5,26,58,118' parentId: '0,5,26,58,118',
isPassword: false
},
'129': {
nbm: 129,
name: 'nomtimeOpenAccountPassword',
parentId: '0,5,26,58,118',
isPassword: true
}, },
'131': { '131': {
nbm: 131, nbm: 131,
name: 'nomtimeDeposit1', name: 'nomtimeDeposit1',
parentId: '0,5,26,58,119' parentId: '0,5,26,58,119',
isPassword: false
},
'140': {
nbm: 140,
name: 'nomtimeDepositlPassword',
parentId: '0,5,26,58,119',
isPassword: true
},
'154': {
nbm: 154,
name: 'nomtimeDepositWithdrawalPassword',
parentId: '0,5,26,58,120',
isPassword: true
}, },
'144,1': { '144,1': {
nbm: 144, nbm: 144,
name: 'nomtimeDepositWithdrawal1', name: 'nomtimeDepositWithdrawal1',
parentId: '0,5,26,58,120' parentId: '0,5,26,58,120',
isPassword: false
}, },
'156': { '156': {
nbm: 156, nbm: 156,
name: 'nomtimeDepositContinue', name: 'nomtimeDepositContinue',
parentId: '0,5,26,59,156' parentId: '0,5,26,59,156',
isPassword: false
}, },
'157,2': { '157,2': {
nbm: 157, nbm: 157,
name: 'nomtimeDepositContinue2', name: 'nomtimeDepositContinue2',
parentId: '0,5,26,59,157' parentId: '0,5,26,59,157',
isPassword: false
},
'166': {
nbm: 166,
name: 'nomUsefulPhrasesOpenCard',
parentId: '0,5,26,59,155',
isPassword: false
},
'167': {
nbm: 167,
name: 'nomUsefulPhrasesOpenPassword',
parentId: '0,5,26,59,155',
isPassword: true
},
'171': {
nbm: 171,
name: 'nomUsefulPhrasesContinueCard',
parentId: '0,5,26,59,156',
isPassword: false
},
'178': {
nbm: 178,
name: 'nomUsefulPhrasesContinueCard',
parentId: '0,5,26,59,156',
isPassword: true
},
'181': {
nbm: 181,
name: 'nomUsefulPhrasesClosed2',
parentId: '0,5,26,59,157',
isPassword: false
},
'192': {
nbm: 192,
name: 'nomUsefulPhrasesClosedPassword',
parentId: '0,5,26,59,157',
isPassword: true
}, },
'193,1': { '193,1': {
nbm: 193, nbm: 193,
name: 'nomCallDepositOpen2', name: 'nomCallDepositOpen2',
parentId: '0,5,26,60,193' parentId: '0,5,26,60,193',
isPassword: false
},
'220': {
nbm: 220,
name: 'nomCallDepositClosedPassword',
parentId: '0,5,26,60,194',
isPassword: true
} }
} }

@ -1,6 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<img class="sth manager" src="@/assets/img/manager.png" alt=""> <!-- src="@/assets/img/manager.png" -->
<img class="sth manager" v-lazy="lazy1" alt="">
<div class="sth guide" @click="toPart" alt=""> <div class="sth guide" @click="toPart" alt="">
返回 返回
</div> </div>
@ -9,7 +10,7 @@
<li @click="showTake">取号</li> <li @click="showTake">取号</li>
<li @click="showData">填单</li> <li @click="showData">填单</li>
<li @click="showCopy">复印</li> <li @click="showCopy">复印</li>
<li>取回</li> <li @click="showRecaption">取回</li>
</ul> </ul>
</div> </div>
<el-dialog :visible.sync="takeVisible" style="width: 100%" @close="closeTake" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> <el-dialog :visible.sync="takeVisible" style="width: 100%" @close="closeTake" :close-on-click-modal="false" :show-close="false" custom-class="data-dia">
@ -63,7 +64,13 @@
<p class="tips">- 请单击选中所需材料双击可放大预览 -</p> <p class="tips">- 请单击选中所需材料双击可放大预览 -</p>
<ul class="list"> <ul class="list">
<li :class="{checked: checkList.includes(1)}" @click="checkData(1)"> <li :class="{checked: checkList.includes(1)}" @click="checkData(1)">
<img style='width: 100%;height: 154px' src="@/assets/img/goods/accountApplyBook.jpg" alt=""> <el-image
style="margin-top: -10"
:src="elImg[0]"
:fit="elImgFit"
></el-image>
<!-- <img style='width: 100%;height: 154px' src="@/assets/img/goods/accountApplyBook.jpg" alt=""> -->
<p>开户申请书</p> <p>开户申请书</p>
</li> </li>
<li :class="{checked: checkList.includes(2)}" @click="checkData(2)"> <li :class="{checked: checkList.includes(2)}" @click="checkData(2)">
@ -87,7 +94,11 @@
<p>转账凭证</p> <p>转账凭证</p>
</li> </li>
<li :class="{checked: checkList.includes(3)}" @click="checkData(7)"> <li :class="{checked: checkList.includes(3)}" @click="checkData(7)">
<img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> <!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image
:src="elImg[1]"
:fit="elImgFit"
lazy></el-image>
<p>现金支票</p> <p>现金支票</p>
</li> </li>
<li :class="{checked: checkList.includes(4)}" @click="checkData(8)"> <li :class="{checked: checkList.includes(4)}" @click="checkData(8)">
@ -99,7 +110,11 @@
<p>支票领购单</p> <p>支票领购单</p>
</li> </li>
<li :class="{checked: checkList.includes(3)}" @click="checkData(7)"> <li :class="{checked: checkList.includes(3)}" @click="checkData(7)">
<img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> <!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image
:src="elImg[1]"
:fit="elImgFit"
lazy></el-image>
<p>现金缴款单</p> <p>现金缴款单</p>
</li> </li>
<li :class="{checked: checkList.includes(4)}" @click="checkData(8)"> <li :class="{checked: checkList.includes(4)}" @click="checkData(8)">
@ -107,6 +122,8 @@
<p>境外汇款申请书</p> <p>境外汇款申请书</p>
</li> </li>
</ul> </ul>
<div class="dia-footer"> <div class="dia-footer">
<button type="button">确定</button> <button type="button">确定</button>
</div> </div>
@ -123,8 +140,40 @@
<img src="@/assets/img/idCard-sm.png" alt=""> <img src="@/assets/img/idCard-sm.png" alt="">
<p>身份证</p> <p>身份证</p>
</li> </li>
<li :class="{checked: checkList.includes(3)}" @click="checkData(3)"> <li :class="{checked: checkList.includes(3)}" @click="checkData(3)">
<img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> <!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image
style="margin-top: -10"
:src="elImg[1]"
:fit="elImgFit"
></el-image>
<p>开户申请书</p>
</li>
</ul>
<div class="dia-footer">
<button type="button">确定</button>
</div>
</el-dialog>
<el-dialog :visible.sync="recaptionVisible" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia">
<div slot="title" class="dia-header">
<div class="data-title">取回</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeRecaption">
</div>
<p class="tips">- 请单击选中复印材料双击可放大预览 -</p>
<ul class="list" style="justify-content: center">
<li :class="{checked: checkList.includes(1)}" @click="checkData(1)">
<img src="@/assets/img/idCard-sm.png" alt="">
<p>身份证</p>
</li>
<li :class="{checked: checkList.includes(3)}" @click="checkData(3)">
<!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image
style="margin-top: -10"
:src="elImg[1]"
:fit="elImgFit"
></el-image>
<p>开户申请书</p> <p>开户申请书</p>
</li> </li>
</ul> </ul>
@ -147,7 +196,41 @@ export default {
takeResultVisible: false, takeResultVisible: false,
dataVisible: false, dataVisible: false,
checkList: [], checkList: [],
copyVisible: false copyVisible: false,
recaptionVisible: false,
elImgFit: 'contain',
elImg: [
require('@/assets/img/goods/accountApplyBook.jpg'),
require('@/assets/img/open-account-apply-sm.png')
],
listLi1 : [
{checked: 1, click: 1, src: require('@/assets/img/goods/accountApplyBook.jpg'), title: '开户申请书'},
{checked: 2, click: 2, src: require('@/assets/img/idCard-copy-sm.png'), title: '密码挂失申请书'},
{checked: 3, click: 3, src: require('@/assets/img/goods/businessSpecialApplication.png'), title: '特殊业务申请书'},
{checked: 4, click: 4, src: require('@/assets/img/goods/cash-sm.png'), title: '开立单位银行结算账户申请书'},
{checked: 1, click: 5, src: require('@/assets/img/goods/CashCertificate.png'), title: '现金存款凭证'},
{checked: 2, click: 6, src: require('@/assets/img/goods/zzpt.png'), title: '转账凭证'},
{checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '境外汇款申请书'},
{checked: 3, click: 7, src: require('@/assets/img/open-account-apply-sm.png'), title: '现金支票'},
{checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '转账支票'},
{checked: 2, click: 6, src: require('@/assets/img/idCard-copy-sm.png'), title: '支票领购单'},
{checked: 3, click: 7, src: require('@/assets/img/open-account-apply-sm.png'), title: '现金缴款单'},
{checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '境外汇款申请书'},
],
lazy1: require('@/assets/img/manager.png')
} }
}, },
mounted() { mounted() {
@ -214,6 +297,12 @@ export default {
closeCopyDia(){ closeCopyDia(){
this.copyVisible = false this.copyVisible = false
}, },
showRecaption() {
this.recaptionVisible = true
},
closeRecaption() {
this.recaptionVisible = false
},
} }
}; };
</script> </script>
@ -279,7 +368,9 @@ export default {
} }
} }
/deep/.data-dia{ /deep/.data-dia{
width:80%;min-width:960px;margin: auto; // width:80%;
min-width:960px;
margin: auto;
.take-list{ .take-list{
width: 810px; width: 810px;
margin: 0 auto; margin: 0 auto;
@ -334,5 +425,32 @@ export default {
color: #797979; color: #797979;
} }
} }
.list {
max-height: 30vh;
overflow: auto;
display: flex;
justify-content: space-around;
&>li {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
overflow: hidden;
padding: 10px;
&>img {
max-width: 90%;
}
&>.el-image {
width: 90%;
max-height: 75%;
overflow: hidden;
img {
transform: translateY(-35%);
width: 100%;
}
}
}
}
} }
</style> </style>

@ -76,6 +76,7 @@ export default {
width: 270px; width: 270px;
height: 100%; height: 100%;
border-top-left-radius: 20px; border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.top{ .top{

@ -5,17 +5,17 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="证件类型" prop="certificateType"> <el-form-item label="证件类型" prop="certificateType">
<el-select disabled v-model="form.certificateType" placeholder="请选择" ref="certificateType"> <el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType">
<el-option label="身份证" value="身份证"> </el-option> <el-option label="身份证" value="身份证"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" prop="depositNumber"> <el-form-item label="凭证号码" prop="voucherNumber">
<el-select disabled v-model="form.depositNumber" placeholder="请选择" ref="depositNumber"> <el-select v-model="form.voucherNumber" placeholder="请选择" ref="voucherNumber">
<el-option label="存单" value="存单"> </el-option> <el-option label="存单" value="存单"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-select disabled v-model="form.currency" placeholder="请选择" ref="currency"> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option label="CYN人民币" value="CYN人民币"> </el-option> <el-option label="CYN人民币" value="CYN人民币"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -45,7 +45,7 @@
<el-input :value="form.clientName" @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input> <el-input :value="form.clientName" @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="钞汇标识" prop="currencyMark"> <el-form-item label="钞汇标识" prop="currencyMark">
<el-select disabled v-model="form.currencyMark" placeholder="请选择" ref="currencyMark"> <el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option> <el-option label="钞户" value="钞户"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -53,7 +53,7 @@
<el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> <el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="存期" prop="depositDate"> <el-form-item label="存期" prop="depositDate">
<el-select disabled v-model="form.depositDate" placeholder="请选择" ref="depositDate"> <el-select v-model="form.depositDate" placeholder="请选择" ref="depositDate">
<el-option label="1年" value="1年"> </el-option> <el-option label="1年" value="1年"> </el-option>
<el-option label="3年" value="3年"> </el-option> <el-option label="3年" value="3年"> </el-option>
<el-option label="5年" value="5年"> </el-option> <el-option label="5年" value="5年"> </el-option>
@ -63,7 +63,7 @@
<el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> <el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input>
</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="popUp2('密码器')">
<p>请填凭证号码</p> <p>请填凭证号码</p>
</div> </div>
</el-form-item> </el-form-item>
@ -84,7 +84,7 @@
</template> </template>
<script> <script>
import { ratePattern, vercustomer } from '@/utils/verify.js' import { ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, ismoney } from '@/utils/utilFunction.js' import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
export default{ export default{
name:'', name:'',
props:{}, props:{},
@ -92,7 +92,7 @@ export default{
return{ return{
form:{ form:{
// //
depositNumber: '', // voucherNumber: '', //
currency: 'CYN人民币', // currency: 'CYN人民币', //
// //
clientName: '', // clientName: '', //
@ -104,6 +104,7 @@ export default{
interest: '', // interest: '', //
totalMoney: '', // totalMoney: '', //
certificateType: '', // certificateType: '', //
breathDate: '', //
}, },
rules: { rules: {
clientName: vercustomer, clientName: vercustomer,
@ -114,10 +115,10 @@ export default{
trigger: 'blur' trigger: 'blur'
} }
], ],
depositNumber: [ certificateType: [
{ {
required: true, required: true,
message: '请选择凭证号码', message: '请选择证件类型',
trigger: 'blur' trigger: 'blur'
} }
], ],
@ -128,22 +129,96 @@ export default{
} }
] ]
}, },
myTable: {
// clientName: '', //
// currencyMark: '', //
// depositNumber: '', //
// capital: '', //
// interestRate: '', //
// depositDate: '', //
// interest: '', //
// totalMoney: '', //
210: {
prop: 'clientName',//
type: '1'
},
212: {
prop: 'currencyMark',//
type: '1'
},
213: {
prop: 'depositNumber',//
type: '3'
},
214: {
prop: 'capital',//
type: '3'
},
215: {
prop: 'interestRate',//
type: '3'
},
216: {
prop: 'depositDate',//
type: '1'
},
217: {
prop: 'interest',//
type: '3'
},
218: {
prop: 'totalMoney',//
type: '3'
},
219: {
prop: 'breathDate',//
type: '3'
},
},
myTable2: {
209: {
prop: 'voucherNumber',
type: '3'
},
211: {
prop: 'currency',//
type: '1'
},
207: {
prop: 'certificateType',
type: '1'
}
},
} }
}, },
mounted() { mounted() {
this.$refs.clientName.focus() this.$refs.clientName.focus()
const parentId = '0,5,26,60,194'
const cards = {
220: 'nomCallDepositClosedPassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
}, },
methods: { methods: {
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text}) this.$store.commit('system/changePop',{show:true,text})
}, },
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '220'})
},
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.$message({ this.visible = true;
message: '验证成功', const parentId = '0,5,26,60,194'
center: true const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}); const cards = [
{
220: nomCallDepositClosedPassword
}
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs)); }, this.$refs));
}, },
ismoney: ismoney, ismoney: ismoney,

@ -16,7 +16,7 @@
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码" required>
<div class="idCard" @click="popUp3('密码器')"> <div class="idCard" @click="popUp3('密码器')">
<p>刷卡</p> <p>输入密码</p>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -32,7 +32,7 @@
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn" >提交</el-button>
</div> </div>
</template> </template>
<script> <script>
@ -115,7 +115,7 @@ export default{
console.log(this.$store.state.system.id) console.log(this.$store.state.system.id)
}, },
popUp3(text) { popUp3(text) {
this.$store.commit('system/changePop',{show:true,text, id: '67,3'}) this.$store.commit('system/changePop',{show:true,text, id: '117'})
}, },
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName

@ -119,7 +119,7 @@ export default{
if (list[i].answerId == '88') {this.form.goldLogo = 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 == '89') {this.form.money = list[i].emptyTwo} //
if (list[i].answerId == '90') {this.form.chargeWay = 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 == '91') {sessionStorage.setItem('nomCurrentWithdrawalPassword', list[i].emptyTwo)} //
if (list[i].answerId == '92') {this.form.serviceCharge = 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} // if (list[i].answerId == '93') {this.form.remark = list[i].emptyTwo} //
} }
@ -141,6 +141,7 @@ export default{
// //
if (nomCurrentWithdrawalCards && nomCurrentWithdrawalCards.length > 0 && nomCurrentWithdrawalPasswords){ if (nomCurrentWithdrawalCards && nomCurrentWithdrawalCards.length > 0 && nomCurrentWithdrawalPasswords){
formList.push({"answerId":85,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalCards, "operationIds": "0,5,26,57,64,85","type": ""})// formList.push({"answerId":85,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalCards, "operationIds": "0,5,26,57,64,85","type": ""})//
formList.push({"answerId":91,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalPassword, "operationIds": "0,5,26,57,64,91","type": ""})
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.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({"answerId":'89', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "0,5,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({"answerId":'93', "emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "0,5,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"})}//

@ -57,7 +57,7 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码" required>
<div class="idCard" @click="popUp2('输入器')"> <div class="idCard" @click="popUp2('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
</el-form-item> </el-form-item>
@ -212,8 +212,8 @@ export default{
getFormData(){ getFormData(){
const parentId = '0,5,26,58,119' const parentId = '0,5,26,58,119'
const cards = { const cards = {
131: 'nomtimeDeposit1' 131: 'nomtimeDeposit1',
// 129: 'nomCurrentCancellPassword' 140: 'nomtimeDepositlPassword'
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
}, },
@ -221,10 +221,11 @@ export default{
this.$store.commit('system/changePop',{show:true,text, id: '131'}) this.$store.commit('system/changePop',{show:true,text, id: '131'})
}, },
popUp2(text) { popUp2(text) {
this.$store.commit('system/changePop',{show:true,text}) this.$store.commit('system/changePop',{show:true,text, id: '140'})
}, },
submitForm() { submitForm() {
let nomtimeDeposit1 = sessionStorage.getItem('nomtimeDeposit1') let nomtimeDeposit1 = sessionStorage.getItem('nomtimeDeposit1')
let nomtimeDepositlPassword = sessionStorage.getItem('nomtimeDepositlPassword')
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
@ -232,10 +233,10 @@ export default{
const cards = [ const cards = [
{ {
131: nomtimeDeposit1 131: nomtimeDeposit1
},
{
140: nomtimeDepositlPassword
} }
// {
// 129: nomCurrentCancellPassword
// }
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs)); }, this.$refs));

@ -160,7 +160,7 @@ export default{
const cards = { const cards = {
13: 'nomtimeOpenAccount1', 13: 'nomtimeOpenAccount1',
128: 'nomtimeOpenAccount2', 128: 'nomtimeOpenAccount2',
// 129: 'nomCurrentCancellPassword' 129: 'nomtimeOpenAccountPassword'
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
}, },
@ -174,7 +174,7 @@ export default{
this.$store.commit('system/changePop',{show:true,text, id: '118,1'}) this.$store.commit('system/changePop',{show:true,text, id: '118,1'})
}, },
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text}) this.$store.commit('system/changePop',{show:true,text, id: '129'})
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
@ -182,6 +182,7 @@ export default{
this.visible = true; this.visible = true;
let nomtimeOpenAccount1 = sessionStorage.getItem('nomtimeOpenAccount1') let nomtimeOpenAccount1 = sessionStorage.getItem('nomtimeOpenAccount1')
let nomtimeOpenAccount2 = sessionStorage.getItem('nomtimeOpenAccount2') let nomtimeOpenAccount2 = sessionStorage.getItem('nomtimeOpenAccount2')
let nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
const cards = [ const cards = [
{ {
13: nomtimeOpenAccount1 13: nomtimeOpenAccount1
@ -189,9 +190,9 @@ export default{
{ {
128: nomtimeOpenAccount2 128: nomtimeOpenAccount2
}, },
// { {
// 129: nomCurrentCancellPassword 129: nomtimeOpenAccountPassword
// } }
] ]
const parentId = '0,5,26,58,118' const parentId = '0,5,26,58,118'
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)

@ -24,7 +24,7 @@
<el-input :value="form.interest" @input="(val) => checkHanzi(val, form, 'interest')" ref="interest"></el-input> <el-input :value="form.interest" @input="(val) => checkHanzi(val, form, 'interest')" ref="interest"></el-input>
</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="popUp2('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
</el-form-item> </el-form-item>
@ -144,16 +144,20 @@ export default{
getFormData(){ getFormData(){
const parentId = '0,5,26,58,120' const parentId = '0,5,26,58,120'
const cards = { const cards = {
144: 'nomtimeDepositWithdrawal1' 144: 'nomtimeDepositWithdrawal1',
// 129: 'nomCurrentCancellPassword' 154: 'nomtimeDepositWithdrawalPassword'
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
}, },
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id: '144,1'}) this.$store.commit('system/changePop',{show:true,text, id: '144,1'})
}, },
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '154'})
},
submitIt() { submitIt() {
let nomtimeDepositWithdrawal1 = sessionStorage.getItem('nomtimeDepositWithdrawal1') let nomtimeDepositWithdrawal1 = sessionStorage.getItem('nomtimeDepositWithdrawal1')
let nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
@ -161,10 +165,10 @@ export default{
const cards = [ const cards = [
{ {
144: nomtimeDepositWithdrawal1 144: nomtimeDepositWithdrawal1
},
{
154: nomtimeDepositWithdrawalPassword
} }
// {
// 129: nomCurrentCancellPassword
// }
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs)); }, this.$refs));

@ -66,7 +66,7 @@
<el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> <el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input>
</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="popUp2('密码器')">
<p>请设置密码</p> <p>请设置密码</p>
</div> </div>
</el-form-item> </el-form-item>
@ -190,7 +190,8 @@ export default{
getFormData(){ getFormData(){
const parentId = '0,5,26,59,157' const parentId = '0,5,26,59,157'
const cards = { const cards = {
181: 'nomtimeDepositContinue2' 181: 'nomUsefulPhrasesClosed2',
192: 'nomUsefulPhrasesClosedPassword'
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
}, },
@ -198,17 +199,19 @@ export default{
this.$store.commit('system/changePop',{show:true,text, id: '181'}) this.$store.commit('system/changePop',{show:true,text, id: '181'})
}, },
popUp2(text) { popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '157,2'}) this.$store.commit('system/changePop',{show:true,text, id: '192'})
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const parentId = '0,5,26,59,157' const parentId = '0,5,26,59,157'
const nomtimeDepositContinue2 = sessionStorage.getItem('nomtimeDepositContinue2') const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2')
const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
const cards = [ const cards = [
{ {
181: nomtimeDepositContinue2 181: nomUsefulPhrasesClosed2,
192: nomUsefulPhrasesClosedPassword
} }
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)

@ -38,7 +38,7 @@
</el-select> </el-select>
</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="popUp2('密码器')">
<p>请设置密码</p> <p>请设置密码</p>
</div> </div>
</el-form-item> </el-form-item>
@ -122,22 +122,30 @@ export default{
getFormData(){ getFormData(){
const parentId = '0,5,26,59,156' const parentId = '0,5,26,59,156'
const cards = { const cards = {
171: 'nomtimeDepositContinue' 171: 'nomUsefulPhrasesContinueCard',
178: 'nomUsefulPhrasesContinuePassword'
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
}, },
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id: '156'}) this.$store.commit('system/changePop',{show:true,text, id: '171'})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '178'})
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
const nomtimeDepositContinue = sessionStorage.getItem('nomtimeDepositContinue') let nomUsefulPhrasesContinueCard = sessionStorage.getItem('nomUsefulPhrasesContinueCard')
let nomUsefulPhrasesContinuePassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
this.visible = true; this.visible = true;
const parentId = '0,5,26,59,156' const parentId = '0,5,26,59,156'
const cards = [ const cards = [
{ {
171: nomtimeDepositContinue 171: nomUsefulPhrasesContinueCard,
},
{
178: nomUsefulPhrasesContinuePassword
} }
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)

@ -23,7 +23,7 @@
</el-select> </el-select>
</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="popUp3('密码器')">
<p>请设置密码</p> <p>请设置密码</p>
</div> </div>
</el-form-item> </el-form-item>
@ -38,7 +38,7 @@
</el-col> </el-col>
<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="popUp1('身份证扫描器')">
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
</el-form-item> </el-form-item>
@ -51,7 +51,7 @@
</el-select> </el-select>
</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="popUp2('刷卡器')">
<p>请刷银行卡</p> <p>请刷银行卡</p>
</div> </div>
</el-form-item> </el-form-item>
@ -187,19 +187,39 @@ export default{
this.$refs.clientNumber.focus() this.$refs.clientNumber.focus()
}, },
methods: { methods: {
popUp(text) { popUp1(text) {
this.$store.commit('system/changePop',{show:true,text}) this.$store.commit('system/changePop',{show:true,text})
}, },
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: 166})
},
popUp3(text) {
this.$store.commit('system/changePop',{show:true,text, id: 167})
},
getFormData(){ getFormData(){
const parentId = '0,5,26,59,155' const parentId = '0,5,26,59,155'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) const cards = {
166: 'nomUsefulPhrasesOpenCard',
167: 'nomUsefulPhrasesOpenPassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
}, },
submitForm() { submitForm() {
let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard')
let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const parentId = '0,5,26,59,155' const parentId = '0,5,26,59,155'
autoPlay(parentId, this.form, this.myTable2, this.myTable) const cards = [
{
166: nomUsefulPhrasesOpenCard
},
{
167: nomUsefulPhrasesOpenPassword
}
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs)); }, this.$refs));
}, },
ismoney: ismoney, ismoney: ismoney,

@ -161,7 +161,7 @@ const autoPlay2 = (parentId, form, myTable2, myTable, cardArr) => {
parentId parentId
} }
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
console.log(data) console.log('---拿到的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
@ -172,10 +172,15 @@ const autoPlay2 = (parentId, form, myTable2, myTable, cardArr) => {
form[tmpObj[answerId].prop] = emptyTwo form[tmpObj[answerId].prop] = emptyTwo
} else { } else {
if(cardArr[answerId]) { if(cardArr[answerId]) {
sessionStorage.setItem(cardArr[answerId], JSON.parse(list[i].emptyTwo)) try{
// form[tmpObj[answerId].prop] = emptyTwo console.log(answerId)
sessionStorage.setItem(cardArr[answerId], JSON.parse(list[i].emptyTwo))
}catch(e) {
// sessionStorage.setItem(cardArr[answerId], list[i].emptyTwo)
continue;
}
}else { }else {
console.log(emptyTwo)
form[tmpObj[answerId].prop] = emptyTwo form[tmpObj[answerId].prop] = emptyTwo
} }
} }

Loading…
Cancel
Save