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(VueLazyload, {
preLoad: 1.3,
loading: require('@/assets/img/loading.gif'),

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

@ -1,38 +1,117 @@
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': {
nbm: 118,
name: 'nomtimeOpenAccount1',
parentId: '0,5,26,58,118'
parentId: '0,5,26,58,118',
isPassword: false
},
'118,2': {
nbm: 118,
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': {
nbm: 131,
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': {
nbm: 144,
name: 'nomtimeDepositWithdrawal1',
parentId: '0,5,26,58,120'
parentId: '0,5,26,58,120',
isPassword: false
},
'156': {
nbm: 156,
name: 'nomtimeDepositContinue',
parentId: '0,5,26,59,156'
parentId: '0,5,26,59,156',
isPassword: false
},
'157,2': {
nbm: 157,
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': {
nbm: 193,
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>
<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>
@ -9,7 +10,7 @@
<li @click="showTake">取号</li>
<li @click="showData">填单</li>
<li @click="showCopy">复印</li>
<li>取回</li>
<li @click="showRecaption">取回</li>
</ul>
</div>
<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>
<ul class="list">
<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>
</li>
<li :class="{checked: checkList.includes(2)}" @click="checkData(2)">
@ -87,7 +94,11 @@
<p>转账凭证</p>
</li>
<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>
</li>
<li :class="{checked: checkList.includes(4)}" @click="checkData(8)">
@ -99,7 +110,11 @@
<p>支票领购单</p>
</li>
<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>
</li>
<li :class="{checked: checkList.includes(4)}" @click="checkData(8)">
@ -107,6 +122,8 @@
<p>境外汇款申请书</p>
</li>
</ul>
<div class="dia-footer">
<button type="button">确定</button>
</div>
@ -123,8 +140,40 @@
<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="">
<!-- <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>
</li>
</ul>
@ -147,7 +196,41 @@ export default {
takeResultVisible: false,
dataVisible: false,
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() {
@ -214,6 +297,12 @@ export default {
closeCopyDia(){
this.copyVisible = false
},
showRecaption() {
this.recaptionVisible = true
},
closeRecaption() {
this.recaptionVisible = false
},
}
};
</script>
@ -279,7 +368,9 @@ export default {
}
}
/deep/.data-dia{
width:80%;min-width:960px;margin: auto;
// width:80%;
min-width:960px;
margin: auto;
.take-list{
width: 810px;
margin: 0 auto;
@ -334,5 +425,32 @@ export default {
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>

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

@ -5,17 +5,17 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<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-select>
</el-form-item>
<el-form-item label="凭证号码" prop="depositNumber">
<el-select disabled v-model="form.depositNumber" placeholder="请选择" ref="depositNumber">
<el-form-item label="凭证号码" prop="voucherNumber">
<el-select v-model="form.voucherNumber" placeholder="请选择" ref="voucherNumber">
<el-option label="存单" value="存单"> </el-option>
</el-select>
</el-form-item>
<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-select>
</el-form-item>
@ -45,7 +45,7 @@
<el-input :value="form.clientName" @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input>
</el-form-item>
<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-select>
</el-form-item>
@ -53,7 +53,7 @@
<el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input>
</el-form-item>
<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="3年" value="3年"> </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-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('输入器')">
<div class="idCard" @click="popUp2('密码器')">
<p>请填凭证号码</p>
</div>
</el-form-item>
@ -84,7 +84,7 @@
</template>
<script>
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{
name:'',
props:{},
@ -92,7 +92,7 @@ export default{
return{
form:{
//
depositNumber: '', //
voucherNumber: '', //
currency: 'CYN人民币', //
//
clientName: '', //
@ -104,6 +104,7 @@ export default{
interest: '', //
totalMoney: '', //
certificateType: '', //
breathDate: '', //
},
rules: {
clientName: vercustomer,
@ -114,10 +115,10 @@ export default{
trigger: 'blur'
}
],
depositNumber: [
certificateType: [
{
required: true,
message: '请选择凭证号码',
message: '请选择证件类型',
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() {
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: {
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '220'})
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
this.visible = true;
const parentId = '0,5,26,60,194'
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
const cards = [
{
220: nomCallDepositClosedPassword
}
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));
},
ismoney: ismoney,

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

@ -119,7 +119,7 @@ export default{
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 == '91') {sessionStorage.setItem('nomCurrentWithdrawalPassword', 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} //
}
@ -141,6 +141,7 @@ export default{
//
if (nomCurrentWithdrawalCards && nomCurrentWithdrawalCards.length > 0 && nomCurrentWithdrawalPasswords){
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.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"})}//

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

@ -160,7 +160,7 @@ export default{
const cards = {
13: 'nomtimeOpenAccount1',
128: 'nomtimeOpenAccount2',
// 129: 'nomCurrentCancellPassword'
129: 'nomtimeOpenAccountPassword'
}
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'})
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
this.$store.commit('system/changePop',{show:true,text, id: '129'})
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
@ -182,6 +182,7 @@ export default{
this.visible = true;
let nomtimeOpenAccount1 = sessionStorage.getItem('nomtimeOpenAccount1')
let nomtimeOpenAccount2 = sessionStorage.getItem('nomtimeOpenAccount2')
let nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
const cards = [
{
13: nomtimeOpenAccount1
@ -189,9 +190,9 @@ export default{
{
128: nomtimeOpenAccount2
},
// {
// 129: nomCurrentCancellPassword
// }
{
129: nomtimeOpenAccountPassword
}
]
const parentId = '0,5,26,58,118'
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-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('刷卡器')">
<div class="idCard" @click="popUp2('密码器')">
<p>请输入密码</p>
</div>
</el-form-item>
@ -144,16 +144,20 @@ export default{
getFormData(){
const parentId = '0,5,26,58,120'
const cards = {
144: 'nomtimeDepositWithdrawal1'
// 129: 'nomCurrentCancellPassword'
144: 'nomtimeDepositWithdrawal1',
154: 'nomtimeDepositWithdrawalPassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id: '144,1'})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '154'})
},
submitIt() {
let nomtimeDepositWithdrawal1 = sessionStorage.getItem('nomtimeDepositWithdrawal1')
let nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
@ -161,10 +165,10 @@ export default{
const cards = [
{
144: nomtimeDepositWithdrawal1
},
{
154: nomtimeDepositWithdrawalPassword
}
// {
// 129: nomCurrentCancellPassword
// }
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));

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

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

@ -23,7 +23,7 @@
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('密码器')">
<div class="idCard" @click="popUp3('密码器')">
<p>请设置密码</p>
</div>
</el-form-item>
@ -38,7 +38,7 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp('身份证扫描器')">
<div class="idCard" @click="popUp1('身份证扫描器')">
<p>请刷身份证</p>
</div>
</el-form-item>
@ -51,7 +51,7 @@
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
<div class="idCard" @click="popUp('刷卡器')">
<div class="idCard" @click="popUp2('刷卡器')">
<p>请刷银行卡</p>
</div>
</el-form-item>
@ -187,19 +187,39 @@ export default{
this.$refs.clientNumber.focus()
},
methods: {
popUp(text) {
popUp1(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(){
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() {
let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard')
let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
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));
},
ismoney: ismoney,

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

Loading…
Cancel
Save