20240205
luoJunYong.123 3 years ago
parent 1027879269
commit 5e11ca199a
  1. 2
      src/api/api.js
  2. 21
      src/components/dialog/index.vue
  3. 20
      src/mixins/saveData/index.js
  4. 100
      src/mixins/tipsBefore/index.js
  5. 21
      src/pages/counter/list/index.vue
  6. 11
      src/pages/manage/index/index.vue
  7. 21
      src/pages/manage/list/business/deposit.vue
  8. 26
      src/pages/manage/list/business/openAccount.vue
  9. 19
      src/pages/manage/list/business/transfer.vue
  10. 23
      src/pages/manage/list/business/withdrawal.vue
  11. 65
      src/pages/manage/list/client/consumerClient.vue
  12. 55
      src/pages/manage/list/client/corporateClient.vue
  13. 118
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  14. 2
      src/pages/manage/list/personal/callDeposits/callDeposits.vue
  15. 58
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  16. 70
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  17. 42
      src/pages/manage/list/personal/currentAccount/deposit.vue
  18. 1
      src/pages/manage/list/personal/currentAccount/index.vue
  19. 252
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  20. 84
      src/pages/manage/list/personal/currentAccount/settle.vue
  21. 72
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  22. 53
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  23. 46
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  24. 55
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  25. 108
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  26. 73
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  27. 49
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  28. 64
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  29. 91
      src/pages/manage/list/servicesAccount/passwordChange.vue
  30. 61
      src/pages/manage/list/servicesAccount/passwordLost.vue
  31. 80
      src/pages/manage/list/servicesAccount/relieveLost.vue
  32. 44
      src/pages/manage/navbar/index.vue
  33. 7
      src/router/index.js
  34. 38
      src/store/modules/system.js
  35. 5
      src/utils/utilFunction.js
  36. 45898
      test.js

@ -4,7 +4,7 @@ import router from '../router';
const service = axios.create({
// baseURL: "http://www.huorantech.cn:9000",//线上
// baseURL: "http://124.71.12.62:9000",//线上
baseURL: "http://39.108.250.202:9000/", // 中台测试服
baseURL: "http://39.108.250.202:9000/", // 中台测试服
// baseURL: "http://192.168.31.137:9000/", // 赓
// baseURL: "http://192.168.31.151:9000/", // 榕
// baseURL: "http://192.168.31.125:9000/", // 坤

@ -84,6 +84,20 @@ const nameMap = {
103: '专用户',
104: '临时户'
},
accountQualityTwo: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
accountQualityThree: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
voucherType: {
15: 'IC卡',
115: '转账支票',
@ -124,6 +138,13 @@ const nameMap = {
123: '存单',
127: '银行'
},
voucherTypesThree: {
15: 'IC卡',
115: '转账支票',
116: '现金支票',
123: '存单',
127: '银行'
},
accountTypeTwo: {
16: '一类户',
17: '二类户',

@ -1,12 +1,24 @@
export default {
export const saveData = {
created() {
if(sessionStorage.getItem(this.moduleName)) {
const getBeforeData = JSON.parse(sessionStorage.getItem(this.moduleName))
for(const key in getBeforeData) {
this.form[key] = Number(getBeforeData[key])? Number(getBeforeData[key]): getBeforeData[key]
}
}
},
methods: {
clearSaveData() {
sessionStorage.removeItem(this.moduleName)
}
},
beforeDestroy() {
let tmpForm = {}
for(const key in this.form) {
if(this.form[key]) {
if(this.form[key] !== '') {
tmpForm[key] = this.form[key]
}
}
this.setDataFlow({ ...tmpForm })
tmpForm = null
sessionStorage.setItem(this.moduleName, JSON.stringify(tmpForm))
}
}

@ -0,0 +1,100 @@
const obj = {
// 'consumerClient': '/counter/list/manage/consumerClient',
// 'currentAccount/openAccount': '/counter/list/manage/currentAccount',
// 'currentAccount/deposit': '/counter/list/manage/currentAccount'
'consumerClient': '客户信息 -> 个人客户信息建立',
'corporateClient': '客户信息 -> 公司客户信息建立',
'currentAccount/openAccount': '活期业务 -> 开户',
'currentAccount/deposit': '活期业务 -> 存款',
'currentAccount/withdrawal': '活期业务 -> 取款',
'currentAccount/transferAccounts': '活期业务 -> 转账',
'currentAccount/settle': '活期业务 -> 结清',
'currentAccount/Cancell': '活期业务 -> 销户',
'timeDeposit/openAccount': '整存整取 -> 开户',
'timeDeposit/deposit': '整存整取 -> 存款',
'timeDeposit/withdrawal': '整存整取 -> 取款',
'timeDeposit/deposit': '整存整取 -> 存款',
'business/openAccount': '公司业务 -> 开户'
}
import { mapGetters } from 'vuex'
export default {
data(){
return {
unNeed: false,
isNeedBefore: false,
needBefore: false,
tipsNefore: null
}
},
created() {
if(this.inMyWork(this.moduleName)) {
if(this.needsModule(this.moduleName)) {
this.isNeedBefore = true
this.needBefore = this.needsModule(this.moduleName)
// 因为依赖前一个项目,所以要提示
this.tipsNefore = setInterval(() => {
this.$message({
type: 'info',
message: '请先完成' + obj[this.needBefore] + '。',
center: true
});
}, 3000)
}
// 这个业务是我们需要的,所以我们拿存的数据
if(sessionStorage.getItem(this.moduleName)) {
const getBeforeData = JSON.parse(sessionStorage.getItem(this.moduleName))
for(const key in getBeforeData) {
this.form[key] = Number(getBeforeData[key])? Number(getBeforeData[key]): getBeforeData[key]
}
}
}else {
this.isNeedBefore = true
this.unNeed = true
return;
}
},
methods: {
// 暴露出外面的方法,可以提交后删存的数据
clearSaveData() {
sessionStorage.removeItem(this.moduleName)
}
},
beforeDestroy() {
// clearInterval(this.myTipBefore)
// this.myTipBefore = null
// 这个业务是我们需要的,所以我们存数据
if(!this.unNeed) {
let tmpForm = {}
for(const key in this.form) {
if(this.form[key] !== '') {
tmpForm[key] = this.form[key]
}
}
sessionStorage.setItem(this.moduleName, JSON.stringify(tmpForm))
}
if(this.tipsNefore) {
clearInterval(this.tipsNefore)
this.tipsNefore = null
}
},
computed: {
...mapGetters({
needsModule: 'system/needsModule',
inMyWork: 'system/inMyWork'
})
},
}

@ -9,10 +9,12 @@
<!-- 系统录入 height: 178px;position:relative;top:-450px;right:20px-->
<el-tooltip placement="top" popper-class="sth-popper">
<div slot="content" class="computerContent" style="">
<div slot="content" class="computerContent" style="" @click="showManage">
<img style="height: 150px;" v-lazy="lazyImg[3]" alt="" />
</div>
<img @click="showManage" class="sth computer cp" v-lazy="lazyImg[4]" alt="" />
<div class="bg-gray-50" @click="showManage">
<img class="sth computer cp" v-lazy="lazyImg[4]" alt="" @click="showManage"/>
</div>
</el-tooltip>
<!-- 点击打开传票栏-->
<el-tooltip placement="top" popper-class="sth-popper" offset="50">
@ -253,6 +255,7 @@ import manage from '../../manage/index';
import { addOperation, getOperation } from '@/api/http';
import backButton from '@/components/backButton'
import { myConfig } from './myConfig.js'
import saveSystemModule from '@/mixins/saveSystemModule'
export default {
name: 'index',
@ -260,6 +263,7 @@ export default {
manage: manage,
backButton
},
mixins: [saveSystemModule],
data() {
var validatePass = (rule, value, callback) => {
if (value === '') {
@ -374,7 +378,7 @@ export default {
// ],
popArr:[/* 弹窗展示的物品 */
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428},
{name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
@ -455,7 +459,7 @@ export default {
],
importanceArr:[/* 重要空白凭证 */
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428},
{name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
@ -1399,8 +1403,13 @@ export default {
},
showManage() {//
this.manageVisible = true;
// this.$router.push('/counter/list/manage/consumerClient');
this.$router.push('/counter/list/manage/consumerClient');
const path = sessionStorage.getItem('computerPath')
if(path) {
this.$router.push(path)
}else {
this.$router.push('/counter/list/manage/consumerClient');
}
},
popSure(){/* 弹框-确定 */

@ -46,11 +46,12 @@ export default {
return this.$store.state.system.fullScreen
}
},
created() {
if(sessionStorage.getItem('computerPath')) {
this.$router.push(sessionStorage.getItem('computerPath'))
}
},
// beforeMount() {
// const path = sessionStorage.getItem('computerPath')
// console.log('router-view')
// console.log(path)
// this.$router.push(path)
// },
methods: {
close(){
sessionStorage.setItem('computerPath', this.$route.fullPath)

@ -54,6 +54,7 @@ import { checkHanzi, checkName, ismoney, rateListen, myValidate, autoPlay, autoP
import { vercustomer, verrate } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'business/deposit'
import { mapMutations, mapGetters } from 'vuex'
@ -66,13 +67,12 @@ export default {
NeedBefore,
MyDialog
},
mixins: [ TipsBefore ],
data() {
return {
moduleName: 'business/deposit',
text:'存款',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
@ -177,17 +177,10 @@ export default {
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
if(this.isNeedBefore) {
return
}
this.getFormData()
},
methods: {
...mapMutations({

@ -99,6 +99,8 @@ const moduleName = 'business/openAccount'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default {
name: 'index',
components:{
@ -108,11 +110,9 @@ export default {
},
data() {
return {
moduleName: 'business/openAccount',
text:'开户',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
@ -291,21 +291,15 @@ export default {
}
}
},
mixins: [ TipsBefore ],
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
const { peopleNumber, userName } = this.dataFlow
this.form.customerName = userName
this.form.customerNumber = peopleNumber
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
const { peopleNumber, userName } = this.dataFlow
this.form.customerName = userName
this.form.customerNumber = peopleNumber
this.getFormData()
},
methods: {
...mapMutations({

@ -76,6 +76,7 @@ import { mapState } from 'vuex'
import { myValidate, ismoney, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import { vercustomer } from '@/utils/verify.js'
import MyTitle from '@/components/myTitle'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'business/transfer'
import { mapMutations, mapGetters } from 'vuex'
@ -88,13 +89,12 @@ export default {
NeedBefore,
MyDialog
},
mixins: [ TipsBefore ],
data() {
return {
moduleName: 'business/transfer',
text:'转账',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
transoutNum: '', //
@ -239,17 +239,10 @@ export default {
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
this.getFormData()
},
mounted() {
},

@ -76,6 +76,7 @@ import { myValidate, ismoney, checkName, checkHanzi, autoPlay, autoPlay2 } from
import { vercustomer, verrate } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle'
import TipsBefore from '@/mixins/tipsBefore'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
@ -88,13 +89,12 @@ export default {
NeedBefore,
MyDialog
},
mixins: [ TipsBefore ],
data() {
return {
moduleName: 'business/withdrawal',
text:'取款',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
@ -211,21 +211,10 @@ export default {
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// CNY
// const { }
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
this.getFormData()
},
methods: {
...mapMutations({

@ -88,6 +88,7 @@ import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/veri
import { phoneListen, mailBoxListen, checkRequired, randomPeopleNumber, myValidate, checkName, messageIdCard } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle'
import TipsBefore from '@/mixins/tipsBefore'
import MyDialog from '@/components/dialog'
import NeedBefore from '@/components/needBefore'
@ -96,9 +97,7 @@ export default {
name: 'consumerClient',
data() {
return {
unNeed: false,
isNeedBefore: '',
needBefore: '',
moduleName: 'consumerClient',
idNumberJudge: false,
visible:false,//
form:{
@ -223,38 +222,30 @@ export default {
NeedBefore
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomClientIdentity')) {
this.idNumberJudge = true
const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow
this.form.idNumber = idNumber
this.form.idType = 83
this.form.userName = userName
// let sexs = null
// if (sex == ''){
// sexs = 1
// }else{
// sexs = 2
// }
this.form.sex = sex
this.form.birthday = birthday
this.form.nationality = nationality
this.form.mailbox = mailbox
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomClientIdentity')) {
this.idNumberJudge = true
const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow
this.form.idNumber = idNumber
this.form.idType = 83
this.form.userName = userName
// let sexs = null
// if (sex == ''){
// sexs = 1
// }else{
// sexs = 2
// }
this.form.sex = sex
this.form.birthday = birthday
this.form.nationality = nationality
this.form.mailbox = mailbox
}
this.getFormData()
},
mixins: [ TipsBefore ],
mounted() {
},
methods: {
//
@ -270,13 +261,10 @@ export default {
getOperation(param).then((data)=>{
if(data.status == 200) {
var list = data.data.judgmentRuleReqs
console.log(list)
for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '40') {this.form.idType = +list[i].emptyTwo}
// if (list[i].answerId == '41') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)}
if (list[i].answerId == '41' && list[i].emptyTwo) {
console.log('---')
console.log(list[i].emptyTwo)
this.idNumberJudge = true
this.form.idNumber = list[i].emptyTwo
}
@ -400,6 +388,11 @@ export default {
this.setNeedsModule(moduleName)
this.setDataFlow({ ...this.form })
}).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
})
},
@ -407,13 +400,11 @@ export default {
throttle(fn,wait=1000){//
var timer = null;
console.log(timer,'触发节流,查看timer')
return function(){
console.log('进入timer0')
var context = this;
var args = fn;
if(!timer){
console.log('进入timer')
timer = setTimeout(function(){
fn.apply(context,fn);
timer = null;

@ -64,22 +64,20 @@ import { phoneListen, checkRequired, myValidate, checkHanzi, checkName, ismoney,
import MyTitle from '@/components/myTitle'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import myMixin from '@/mixins/saveData'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'corporateClient'
export default {
name: 'index',
mixins: [ myMixin ],
components: {
MyTitle,
NeedBefore,
MyDialog
},
mixins: [ TipsBefore ],
data() {
return {
unNeed: false,
isNeedBefore: '',
needBefore: '',
moduleName: 'corporateClient',
idNumberJudge: false,
visible:false,//
authorization:false,//
@ -149,31 +147,24 @@ export default {
},
created() {
// firmClientIdentity
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('firmClientIdentity')) {
this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow
this.form.idNumber = idNumber
this.form.name = userName
}
for(const key in this.dataFlow) {
if(key === 'idNumber' || key === 'userName') {
continue;
}
if(this.form.hasOwnProperty(key)) {
this.form[key] = this.dataFlow[key]
}
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('firmClientIdentity')) {
this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow
this.form.idNumber = idNumber
this.form.name = userName
}
// for(const key in this.dataFlow) {
// if(key === 'idNumber' || key === 'userName') {
// continue;
// }
// if(this.form.hasOwnProperty(key)) {
// this.form[key] = this.dataFlow[key]
// }
// }
this.getFormData()
},
mounted() {
},
@ -224,7 +215,6 @@ export default {
// }
// }
// this.setDataFlow({ ...tmpForm })
tmpForm = null
this.$message.warning('请刷身份证');
this.setPopId('34')
sessionStorage.setItem('computerPath', this.$route.fullPath)
@ -290,6 +280,11 @@ export default {
this.setNeedsModule(moduleName)
this.setDataFlow({ userName: this.form.name })
}).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
})
}else {
this.$message.error('有必填项未填哦~');

@ -103,22 +103,22 @@ import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messag
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'callDeposits/accountClosed'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
data(){
return{
moduleName: 'callDeposits/accountClosed',
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
payMoney: '', // ()
@ -280,69 +280,63 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType } = this.dataFlow
this.form.certificateType = 83
this.form.voucherType = 123
this.form.noticeType = noticeType
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.interest = interest
this.form.totalMoney = totalMoney
// this.form.drawWayType = 93
this.form.drawWayType = 133
this.form.idNumber = idNumber
this.form.clientNumber = peopleNumber
this.form.clientName = userName
this.form.customerNumber = peopleNumber
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.voucherNumber = voucherNumber
this.form.payMoney = payMoney
this.form.voucherType = voucherType
// this.form.idNumber =
}
if(this.isNeedBefore) {
return
}
console.log('???')
if(sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType } = this.dataFlow
this.form.certificateType = 83
this.form.voucherType = 123
this.form.noticeType = noticeType
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.interest = interest
this.form.totalMoney = totalMoney
// this.form.drawWayType = 93
this.form.drawWayType = 133
this.form.idNumber = idNumber
this.form.clientNumber = peopleNumber
this.form.clientName = userName
this.form.customerNumber = peopleNumber
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.voucherNumber = voucherNumber
this.form.payMoney = payMoney
this.form.voucherType = voucherType
// this.form.idNumber =
}
if(sessionStorage.getItem('nomCallDepositClosedCard2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('nomCallDepositClosedCard2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('nomCallDepositClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}
if(sessionStorage.getItem('nomCallDepositClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289'
const cards = {
// 302: 'nomCallDepositClosedCard',
// 392: 'nomCallDepositClosedCard2',
// 394: 'nomCallDepositClosedPassword'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('nomCallDepositOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289'
const cards = {
// 302: 'nomCallDepositClosedCard',
// 392: 'nomCallDepositClosedCard2',
// 394: 'nomCallDepositClosedPassword'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('nomCallDepositOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
},
methods: {
...mapMutations({

@ -43,6 +43,7 @@
import openAccount from './openAccount.vue'
import accountClosed from './accountClosed.vue'
import MyTitle from '@/components/myTitle'
import TipsBefore from '@/mixins/tipsBefore'
export default {
name: 'index',
@ -50,6 +51,7 @@ export default {
openAccount,accountClosed,
MyTitle
},
mixins: [ TipsBefore ],
data() {
return {
text:'',/* 顶部文字 */

@ -86,23 +86,23 @@ import { myValidate, checkHanzi, checkName, ismoney, autoPlay2, autoPlay, messag
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'callDeposits/openAccount'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
data(){
return{
moduleName: 'callDeposits/openAccount',
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
@ -268,38 +268,28 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// 291: 'nomCallDepositOpen2',
// 297: 'nomCallDepositOpen3',
// 301: 'nomCallDepositOpenPassword'
if(sessionStorage.getItem('nomCallDepositOpen2')) {
this.idNumberJudge = true
const { idNumber, peopleNumber, userName, currency, goldLogo, depositType } = this.dataFlow
this.form.idNumber = idNumber
this.form.clientNumber = peopleNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.depositType = depositType
}
if(sessionStorage.getItem('nomCallDepositOpen3')) {
const { voucherNumber } = this.dataFlow
this.cardNumberJudge = true
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomCallDepositOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositOpenPassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCallDepositOpen2')) {
this.idNumberJudge = true
const { idNumber, peopleNumber, userName, currency, goldLogo, depositType } = this.dataFlow
this.form.idNumber = idNumber
this.form.clientNumber = peopleNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.depositType = depositType
}
if(sessionStorage.getItem('nomCallDepositOpen3')) {
const { voucherNumber } = this.dataFlow
this.cardNumberJudge = true
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomCallDepositOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositOpenPassword')
}
this.getFormData()
},
methods: {
...mapMutations({

@ -48,21 +48,21 @@ import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2, inputListen, me
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/Cancell' // 怀
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
data(){
return{
moduleName:'currentAccount/Cancell',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
idNumberJudge: false,
cardNumberJudge: false,
form:{
@ -114,47 +114,41 @@ export default{
}
},
created() {
//
//
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
const { voucherNumber, userName } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.userName = userName
if(sessionStorage.getItem('nomCurrentCancellCard2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCurrentCancellPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentCancellPassword')
}
const { voucherNumber, userName } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.userName = userName
if(sessionStorage.getItem('nomCurrentCancellCard2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('nomCurrentCancellPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentCancellPassword')
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,67'
const cardArr = {
// 113: 'nomCurrentCancellCard1',
// 116: 'nomCurrentCancellCard2',
// 117: 'nomCurrentCancellPassword'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(sessionStorage.getItem('nomCurrentCancellPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentCancellPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,67'
const cardArr = {
// 113: 'nomCurrentCancellCard1',
// 116: 'nomCurrentCancellCard2',
// 117: 'nomCurrentCancellPassword'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(sessionStorage.getItem('nomCurrentCancellPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentCancellPassword')
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
},
mounted() {

@ -55,6 +55,7 @@ import { mapMutations, mapGetters } from 'vuex'
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { ismoney, myValidate, checkName, rateListen, messageCard } from '@/utils/utilFunction.js'
import { addOperation, getOperation } from '@/api/http';
import TipsBefore from '@/mixins/tipsBefore'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
@ -62,16 +63,15 @@ const moduleName = 'currentAccount/deposit'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
data(){
return{
moduleName: 'currentAccount/deposit',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false,
form:{
currency:'',
@ -121,25 +121,20 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomBusinessDepositCard')) {
const { userName, goldLogo, currency, voucherNumber } = this.dataFlow
this.form.userName = userName
this.form.goldLogo = goldLogo // goldLogo // 13是什么鬼
this.form.currency = currency
this.form.voucherNumber = voucherNumber
this.cardNumberJudge = true
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomBusinessDepositCard')) {
const { userName, goldLogo, currency, voucherNumber } = this.dataFlow
this.form.userName = userName
this.form.goldLogo = goldLogo // goldLogo // 13是什么鬼
this.form.currency = currency
this.form.voucherNumber = voucherNumber
this.cardNumberJudge = true
}
this.getFormData()
},
methods: {
@ -220,6 +215,11 @@ export default{
// type: 'success'
// });
}).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
})
}else {
this.$message.error('有必填项未填哦~');

@ -114,6 +114,7 @@ export default {
},
destroyed() {
sessionStorage.setItem('currentAccountIndex', this.cacheVal)
},
methods: {
handleSelect(val){

@ -40,12 +40,32 @@
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQuality" placeholder="请选择" ref="accountQuality">
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<!-- <el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
-->
<el-option label="个人结算户" :value="14"> </el-option>
<el-option label="基本户" :value="101"> </el-option>
<el-option label="一般户" :value="102"> </el-option>
<el-option label="专用户" :value="103"> </el-option>
<el-option label="临时户" :value="104"> </el-option>
<!-- 14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户' -->
</el-select>
</el-form-item>
<el-form-item label="账户类型" prop="accountType">
<el-select v-model="form.accountType" placeholder="请选择" ref="accountType">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<!-- 16: '一类户',
17: '二类户',
97: '结算户',
98: '结算户',
99: '委托保障金户',
100: '资本临时户' -->
<el-option label="一类户" :value="16"> </el-option>
<el-option label="二类户" :value="17"> </el-option>
<el-option label="结算户" :value="97"> </el-option>
<el-option label="委托保障金户" :value="100"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" prop="drawWay">
@ -58,7 +78,11 @@
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" prop="voucherType">
<el-select v-model="form.voucherType" placeholder="请选择" ref="voucherType">
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option label="IC卡" :value="15"> </el-option>
<el-option label="转账支票" :value="115"> </el-option>
<el-option label="现金支票" :value="116"> </el-option>
<el-option label="存单" :value="123"> </el-option>
<el-option label="银行" :value="127"> </el-option>
</el-select>
</el-form-item>
@ -89,13 +113,20 @@
<el-form ref="form2" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQualitysTwo" placeholder="请选择" disabled>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-select v-model="form.accountQualitysTwo" placeholder="请选择">
<el-option label="个人结算户" :value="14"> </el-option>
<el-option label="基本户" :value="101"> </el-option>
<el-option label="一般户" :value="102"> </el-option>
<el-option label="专用户" :value="103"> </el-option>
<el-option label="临时户" :value="104"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesTwo" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option label="一类户" :value="16"> </el-option>
<el-option label="二类户" :value="17"> </el-option>
<el-option label="结算户" :value="97"> </el-option>
<el-option label="委托保障金户" :value="100"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
@ -108,8 +139,13 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required>
<el-select v-model="form.voucherTypesTwo" placeholder="请选择" disabled>
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-select v-model="form.voucherTypesTwo" placeholder="请选择">
<el-option label="IC卡" :value="15"> </el-option>
<el-option label="转账支票" :value="115"> </el-option>
<el-option label="现金支票" :value="116"> </el-option>
<el-option label="存单" :value="123"> </el-option>
<el-option label="银行" :value="127"> </el-option>
<!-- <el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> -->
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
@ -138,13 +174,20 @@
<el-form ref="form3" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQualitysThree" placeholder="请选择" disabled>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-select v-model="form.accountQualitysThree" placeholder="请选择">
<el-option label="个人结算户" :value="14"> </el-option>
<el-option label="基本户" :value="101"> </el-option>
<el-option label="一般户" :value="102"> </el-option>
<el-option label="专用户" :value="103"> </el-option>
<el-option label="临时户" :value="104"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesThree" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option label="一类户" :value="16"> </el-option>
<el-option label="二类户" :value="17"> </el-option>
<el-option label="结算户" :value="97"> </el-option>
<el-option label="委托保障金户" :value="100"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
@ -157,8 +200,12 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required>
<el-select v-model="form.voucherTypesThree" placeholder="请选择" disabled>
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
<el-select v-model="form.voucherTypesThree" placeholder="请选择">
<el-option label="IC卡" :value="15"> </el-option>
<el-option label="转账支票" :value="115"> </el-option>
<el-option label="现金支票" :value="116"> </el-option>
<el-option label="存单" :value="123"> </el-option>
<el-option label="银行" :value="127"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
@ -187,26 +234,6 @@
<el-button @click="formSubmit" type="primary" class="submitBtn" v-throttle>提交</el-button>
</div>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="popSure" :needAuth="false" />
<!-- <el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>提交后将不可更改您确认提交吗</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="popSure"> </el-button>
</div>
</el-dialog> -->
</div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
@ -218,16 +245,19 @@ import { vercustomer } from '@/utils/verify.js'
import { myValidate, checkName, checkHanzi, inputListen } from '@/utils/utilFunction.js'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/openAccount'
export default {
data(){
return{
moduleName: 'currentAccount/openAccount',
passwordTag: '',
cardNumberTag: '',
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false,
cardNumberJudge2: false,
@ -350,53 +380,82 @@ export default {
num:0,
}
},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
const { peopleNumber, userName } = this.dataFlow
this.form.userNumber = peopleNumber
this.form.userName = userName
const { voucherNumber } = this.dataFlow
// mixins
if(sessionStorage.getItem('openAccountCount')) {
this.count = parseInt(sessionStorage.getItem('openAccountCount'))
if(this.count === 1) {
this.formTwo = true
}else if(this.count === 2) {
this.formTwo = true
this.formThree = true
}
// this.formThree = true
// this.openAccount()
}
// 使
if(sessionStorage.getItem('accountVoucher')) {
this.form.cardNumber = voucherNumber
this.cardNumberJudge = true
}
if(sessionStorage.getItem('accountVoucherTwo')) {
this.form.cardNumber2 = voucherNumber
this.cardNumberJudge2 = true
}
if(sessionStorage.getItem('accountVoucherThree')) {
this.form.cardNumber3 = voucherNumber
this.cardNumberJudge3 = true
}
if(this.isNeedBefore) {
return
}
//
if(sessionStorage.getItem('accountPassword')) {
this.form.drawPassword = sessionStorage.getItem('accountPassword')
}
if(sessionStorage.getItem('accountPasswordTwo')) {
this.form.drawPassword2 = sessionStorage.getItem('accountPasswordTwo')
}
if(sessionStorage.getItem('accountPasswordThree')) {
this.form.drawPassword3 = sessionStorage.getItem('accountPasswordThree')
}
console.log('s..asdasd')
this.getOptionsList()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
const { peopleNumber, userName } = this.dataFlow
this.form.userNumber = peopleNumber
this.form.userName = userName
const { voucherNumber } = this.dataFlow
// 使
if(sessionStorage.getItem('accountVoucher')) {
this.form.cardNumber = voucherNumber
this.cardNumberJudge = true
}
if(sessionStorage.getItem('accountVoucherTwo')) {
this.form.cardNumber2 = voucherNumber
this.cardNumberJudge2 = true
}
if(sessionStorage.getItem('accountVoucherThree')) {
this.form.cardNumber3 = voucherNumber
this.cardNumberJudge3 = true
}
//
if(sessionStorage.getItem('accountPassword')) {
this.form.drawPassword = sessionStorage.getItem('accountPassword')
}
if(sessionStorage.getItem('accountPasswordTwo')) {
this.form.drawPassword2 = sessionStorage.getItem('accountPasswordTwo')
}
if(sessionStorage.getItem('accountPasswordThree')) {
this.form.drawPassword3 = sessionStorage.getItem('accountPasswordThree')
}
this.getOptionsList()
// this.getOptionsList()
// itemid
// this.$nextTick(() => {
// if(sessionStorage.getItem('openAccountCount')) {
// this.count = sessionStorage.getItem('openAccountCount')
// if(this.count === 1) {
// this.formTwo = true
// }else {
// this.formThree = true
// }
// // this.formThree = true
// // this.openAccount()
// }
// })
},
mounted(){
// currencySelectList:[
@ -415,6 +474,10 @@ export default {
setDataFlow: 'system/setDataFlow',
setPopId: 'system/setPopId'
}),
initData() {
},
getOptionsList(){
for(var i=8;i<14;i++){
this.getSubjectInfoData(i)
@ -559,8 +622,6 @@ export default {
}else if (item == '13'){
this.drawWaySelectList = data.data.items;
this.form.drawWay = this.drawWaySelectList[0].itemId
console.log('---drawWaySelectList')
console.log(this.drawWaySelectList)
}
}
}).catch((error)=>{
@ -575,23 +636,33 @@ export default {
})
},
openAccount(){
// if(sessionStorage.getItem('openAccountCount')) {
// this.count = sessionStorage.getItem('openAccountCount')
// }
this.count = this.count+1;
sessionStorage.setItem('openAccountCount', this.count)
if (this.count > 2){
this.count = 2
this.$message({
type: 'error',
message: '最多只能添加三个!'
message: '最多只能添加三个!',
center: true
});
}
if(this.count == 1 || this.count == 2){
this.formTwo = true
this.form.accountQualitysTwo = this.accountQualitySelectList[0].itemId
this.form.voucherTypesTwo = this.voucherTypeSelectList[0].itemId
// this.form.accountQualitysTwo = this.accountQualitySelectList[0].itemId
this.form.accountQualitysTwo = 14
// this.form.voucherTypesTwo = this.voucherTypeSelectList[0].itemId
this.form.voucherTypesTwo = 15
}
if (this.count == 2){
this.formThree = true
this.form.accountQualitysThree = this.accountQualitySelectList[0].itemId
this.form.voucherTypesThree = this.voucherTypeSelectList[0].itemId
// this.form.accountQualitysThree = this.accountQualitySelectList[0].itemId
this.form.accountQualitysThree = 14
// this.form.voucherTypesThree = this.voucherTypeSelectList[0].itemId
this.form.voucherTypesThree = 15
}
},
//
@ -675,6 +746,11 @@ export default {
addOperation(param).then((data)=>{
}).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
})
formList.push(
{"answerId":'77',"emptyOne": "17", "emptyTwo": drawPassword, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,77", "type": "3"},//
@ -730,6 +806,11 @@ export default {
// type: 'success'
// });
}).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
})
},
deleteSecond(){
@ -739,6 +820,7 @@ export default {
type: 'warning'
}).then(() => {
this.count = this.count-1;
sessionStorage.setItem('openAccountCount', this.count)
if (this.count < 1){this.count = 0}
if (this.count == 0){this.formTwo = false}
if (this.count == 1){this.formThree = false}
@ -820,7 +902,13 @@ export default {
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork'
})
}
},
watch: {
count(newVal) {
console.log(newVal)
}
},
};
</script>
<style lang="scss" scoped>

@ -70,20 +70,20 @@ import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputL
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/settle'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
data(){
return{
moduleName: 'currentAccount/settle',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false,
form:{
cardNumber: '',
@ -177,53 +177,45 @@ export default{
}
},
created() {
console.log(this.getSelectList)
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomCurrentSettleCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, interest, voucherNumber, balance, totalMoney } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.drawWay = 93 //
this.form.interest = interest
this.form.balance = balance
this.form.totalMoney = totalMoney
}
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCurrentSettleCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, interest, voucherNumber, balance, totalMoney } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.drawWay = 93 //
this.form.interest = interest
this.form.balance = balance
this.form.totalMoney = totalMoney
}
if(sessionStorage.getItem('nomCurrentSettlePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentSettlePassword')
}
if(sessionStorage.getItem('nomCurrentSettlePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentSettlePassword')
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,66'
const cardArr = {
// 103: 'nomCurrentSettleCard',
// 111: 'nomCurrentSettlePassword'
}
const callback = () => {
if(this.form.cardNumber) {
this.cardNumberJudge = true
this.setDataFlow({ voucherNumber: this.form.cardNumber })
}
if(this.form.userName) {
this.setDataFlow({ userName: this.form.userName })
}
if(sessionStorage.getItem('nomCurrentSettlePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentSettlePassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,66'
const cardArr = {
// 103: 'nomCurrentSettleCard',
// 111: 'nomCurrentSettlePassword'
}
const callback = () => {
if(this.form.cardNumber) {
this.cardNumberJudge = true
this.setDataFlow({ voucherNumber: this.form.cardNumber })
}
if(this.form.userName) {
this.setDataFlow({ userName: this.form.userName })
}
if(sessionStorage.getItem('nomCurrentSettlePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentSettlePassword')
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
},
mounted() {

@ -62,23 +62,22 @@
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, ismoney, checkName, autoPlay, autoPlay2, messageCard, messagePassword } from '@/utils/utilFunction.js'
import { mapMutations, mapGetters } from 'vuex'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/transferAccounts'
import MyDialog from '@/components/dialog'
import NeedBefore from '@/components/needBefore'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
MyDialog,
NeedBefore
},
data(){
return{
moduleName: 'currentAccount/transferAccounts',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false,
form:{
cardNumber: '',
@ -190,49 +189,36 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
//
// 94: nomCurrentTransferCard
// },
// {
// 99: nomCurrentTransferPassword,
if(sessionStorage.getItem('nomCurrentTransferCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, voucherNumber } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
}
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCurrentTransferCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, voucherNumber } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
}
if(sessionStorage.getItem('nomCurrentTransferPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentTransferPassword')
}
if(sessionStorage.getItem('nomCurrentTransferPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentTransferPassword')
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,65'
const cardArr = {
// 94: 'nomCurrentTransferCard',
// 99: 'nomCurrentTransferPassword'
}
const callback = () => {
if(this.form.cardNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('nomCurrentTransferPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentTransferPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,65'
const cardArr = {
// 94: 'nomCurrentTransferCard',
// 99: 'nomCurrentTransferPassword'
}
const callback = () => {
if(this.form.cardNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('nomCurrentTransferPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentTransferPassword')
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
},
mounted() {
// this.$refs.money.focus()

@ -68,6 +68,7 @@ import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/veri
import { myValidate, ismoney, checkName, checkHanzi, messagePassword } from '@/utils/utilFunction.js'
import { addOperation, getOperation } from '@/api/http';
import { mapMutations, mapGetters } from 'vuex'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/withdrawal'
import MyDialog from '@/components/dialog'
@ -77,47 +78,36 @@ export default{
props:{
depositFinish: Boolean
},
mixins: [ TipsBefore ],
components: {
MyDialog,
NeedBefore
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomCurrentWithdrawalCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, serviceCharge, drawWay, voucherNumber } = this.dataFlow
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.serviceCharge = serviceCharge
this.form.drawWay = drawWay
this.form.cardNumber = voucherNumber
}
if(sessionStorage.getItem('nomCurrentWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword')
}
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCurrentWithdrawalCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, serviceCharge, drawWay, voucherNumber } = this.dataFlow
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.serviceCharge = serviceCharge
this.form.drawWay = drawWay
this.form.cardNumber = voucherNumber
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(sessionStorage.getItem('nomCurrentWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword')
}
this.getFormData()
},
data(){
return{
moduleName: 'currentAccount/withdrawal',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false,
form:{
cardNumber: '',
@ -270,6 +260,11 @@ export default{
this.setDataFlow({ ...this.form })
this.setNeedsModule(moduleName)
}).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
})
}else{
this.$message.error('有必填项未填哦~');

@ -91,19 +91,19 @@ const moduleName = 'timeDeposit/deposit'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
data(){
return{
moduleName: 'timeDeposit/deposit',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false,
form:{
//
@ -270,32 +270,24 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// nomtimeDepositlPassword, nomtimeDeposit1
if(sessionStorage.getItem('nomtimeDeposit1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, voucherNumber } = this.dataFlow
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomtimeDepositlPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositlPassword')
}
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomtimeDeposit1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, voucherNumber } = this.dataFlow
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomtimeDepositlPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositlPassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
this.getFormData()
},
mounted() {

@ -80,20 +80,20 @@ import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verif
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'timeDeposit/openAccount'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
data(){
return{
moduleName: 'timeDeposit/openAccount',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
idNumberJudge: false,
cardNumberJudge: false,
form:{
@ -218,39 +218,32 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
this.form.clientNumber = this.dataFlow.peopleNumber
if(this.isNeedBefore) {
return
}
this.form.clientNumber = this.dataFlow.peopleNumber
if(sessionStorage.getItem('nomtimeOpenAccount1')) {
const { idNumber, userName, currency, goldLogo } = this.dataFlow
this.form.idNumber = idNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
if(sessionStorage.getItem('nomtimeOpenAccount1')) {
const { idNumber, userName, currency, goldLogo } = this.dataFlow
this.form.idNumber = idNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.idNumberJudge = true
console.log(this.idNumberJudge)
}
this.idNumberJudge = true
console.log(this.idNumberJudge)
}
if(sessionStorage.getItem('nomtimeOpenAccount2')) {
const { voucherNumber } = this.dataFlow
this.cardNumberJudge = true
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomtimeOpenAccount2')) {
const { voucherNumber } = this.dataFlow
this.cardNumberJudge = true
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomtimeOpenAccountPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(sessionStorage.getItem('nomtimeOpenAccountPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
}
this.getFormData()
},
mounted() {

@ -76,83 +76,73 @@ const moduleName = 'timeDeposit/withdrawal'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
const { withdrawWay } = this.dataFlow
if(withdrawWay === 126) {
this.form.interest = 5.75
this.rules.withdrawAmount[0].required = false
if(sessionStorage.getItem('nomtimeDepositWithdrawal2')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')
}
}else {
this.form.interest = 0.00
if(this.isNeedBefore) {
return
}
const { withdrawWay } = this.dataFlow
if(withdrawWay === 126) {
this.form.interest = 5.75
this.rules.withdrawAmount[0].required = false
if(sessionStorage.getItem('nomtimeDepositWithdrawal1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
if(sessionStorage.getItem('nomtimeDepositWithdrawal2')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
console.log(this.form.drawPassword)
}
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')
}
}else {
this.form.interest = 0.00
if(sessionStorage.getItem('nomtimeDepositWithdrawal1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
this.getFormData()
// this.$nextTick(() => {
// this.$refs.depositNumber.focus()
// })
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
console.log(this.form.drawPassword)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
this.getFormData()
},
data(){
return{
moduleName: 'timeDeposit/withdrawal',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
capitalDisabled: false, //
cardNumberJudge: false,
form:{

@ -107,6 +107,7 @@ const moduleName = 'usefulPhrases/accoumtClosed'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{
name:'',
props:{},
@ -114,56 +115,44 @@ export default{
NeedBefore,
MyDialog
},
mixins: [ TipsBefore ],
created() {
if(this.inMyWork(moduleName)) {
// 180: 'nomUsefulPhrasesClosed',
// 181: 'nomUsefulPhrasesClosed2',
// 192: 'nomUsefulPhrasesClosedPassword'
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomUsefulPhrasesClosed')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) {
this.cardNumberJudge = true
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow
this.form.currency = currency
this.form.customerName = userName
this.form.depositNumber = depositNumber
this.form.goldLogo = goldLogo
this.form.capital = capital
this.form.interestRate = interestRate
this.form.interest = interest
this.form.totalMoney = totalMoney
this.form.signDate = signDate
this.form.voucherNumber = voucherNumber
this.form.depositTerm = depositTerm
console.log(depositTerm)
}
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomUsefulPhrasesClosed')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) {
this.cardNumberJudge = true
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow
this.form.currency = currency
this.form.customerName = userName
this.form.depositNumber = depositNumber
this.form.goldLogo = goldLogo
this.form.capital = capital
this.form.interestRate = interestRate
this.form.interest = interest
this.form.totalMoney = totalMoney
this.form.signDate = signDate
this.form.voucherNumber = voucherNumber
this.form.depositTerm = depositTerm
console.log(depositTerm)
}
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
}
this.getFormData()
},
data(){
return{
moduleName: 'usefulPhrases/accoumtClosed',
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
idNumber: '', //

@ -64,48 +64,39 @@ const moduleName = 'usefulPhrases/continueDeposit'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// 171: 'nomUsefulPhrasesContinueCard',
// 178: 'nomUsefulPhrasesContinuePassword'
if(sessionStorage.getItem('nomUsefulPhrasesContinueCard')) {
this.cardNumberJudge = true
const { voucherNumber, userName, depositNumber, currency, goldLogo, depositTerm, monthDeposit } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currency = currency
this.form.depositTerm = depositTerm
this.form.depositNumber = depositNumber
this.form.goldLogo = goldLogo
this.form.monthDeposit = monthDeposit
}
if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomUsefulPhrasesContinueCard')) {
this.cardNumberJudge = true
const { voucherNumber, userName, depositNumber, currency, goldLogo, depositTerm, monthDeposit } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currency = currency
this.form.depositTerm = depositTerm
this.form.depositNumber = depositNumber
this.form.goldLogo = goldLogo
this.form.monthDeposit = monthDeposit
}
if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
}
this.getFormData()
},
data(){
return{
moduleName: 'usefulPhrases/continueDeposit',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false,
form:{
//

@ -94,6 +94,7 @@ const moduleName = 'usefulPhrases/openAccount'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{
name:'',
props:{},
@ -101,51 +102,38 @@ export default{
NeedBefore,
MyDialog
},
mixins: [ TipsBefore ],
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// 1399: 'nomUsefulPhrasesOpenCard2',
// 166: 'nomUsefulPhrasesOpenCard',
// 167: 'nomUsefulPhrasesOpenPassword'
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
this.idNumberJudge = true
//
const { idNumber, userName, peopleNumber, currency, goldLogo } = this.dataFlow
this.form.clientNumber = peopleNumber
this.form.idNumber = idNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.voucherType = 127
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
}
this.getFormData()
// this.$refs.clientNumber.focus()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
this.idNumberJudge = true
//
const { idNumber, userName, peopleNumber, currency, goldLogo } = this.dataFlow
this.form.clientNumber = peopleNumber
this.form.idNumber = idNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.voucherType = 127
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
}
this.getFormData()
},
data(){
return{
moduleName: 'usefulPhrases/openAccount',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false,
idNumberJudge: false,
form:{

@ -70,10 +70,12 @@ import MyTitle from '@/components/myTitle'
const moduleName = 'servicesAccount/passwordChange'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import TipsBefore from '@/mixins/tipsBefore'
import MyDialog from '@/components/dialog'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
MyTitle,
NeedBefore,
@ -81,12 +83,10 @@ export default{
},
data(){
return{
moduleName: 'servicesAccount/passwordChange',
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
// identityCard: '', //
@ -162,55 +162,48 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('servicesPasswordChange')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('servicesPasswordChange2')) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('servicesPasswordChange3')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordChange3')
}
if(sessionStorage.getItem('servicesPasswordChange4')) {
this.form.newPayPassword = sessionStorage.getItem('servicesPasswordChange4')
}
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('servicesPasswordChange')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('servicesPasswordChange2')) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('servicesPasswordChange3')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordChange3')
}
if(sessionStorage.getItem('servicesPasswordChange4')) {
this.form.newPayPassword = sessionStorage.getItem('servicesPasswordChange4')
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,28,316'
const cards = {
// 320: 'servicesPasswordChange',
// 323: 'servicesPasswordChange2'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('servicesPasswordChange3')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordChange3')
}
console.log(sessionStorage.getItem('servicesPasswordChange4'))
if(sessionStorage.getItem('servicesPasswordChange4')) {
this.form.newPayPassword = sessionStorage.getItem('servicesPasswordChange4')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,28,316'
const cards = {
// 320: 'servicesPasswordChange',
// 323: 'servicesPasswordChange2'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('servicesPasswordChange3')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordChange3')
}
console.log(sessionStorage.getItem('servicesPasswordChange4'))
if(sessionStorage.getItem('servicesPasswordChange4')) {
this.form.newPayPassword = sessionStorage.getItem('servicesPasswordChange4')
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
mounted() {

@ -54,9 +54,11 @@ const moduleName = 'servicesAccount/passwordLost'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
MyTitle,
NeedBefore,
@ -64,13 +66,11 @@ export default{
},
data(){
return{
moduleName: 'servicesAccount/passwordLost',
idNumberJudge: false,
cardNumberJudge: false,
idNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
@ -114,40 +114,31 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('servicesPasswordLost')) {
console.log('刷了的。。。。。。。。。。。。。。。。。')
this.cardNumberJudge = true
const { voucherNumber, userName } = this.dataFlow
this.form.customerName = userName
this.form.voucherNumber = voucherNumber
}
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('servicesPasswordLost')) {
this.cardNumberJudge = true
const { voucherNumber, userName } = this.dataFlow
this.form.customerName = userName
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('servicesPasswordLost2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('servicesPasswordLost2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,28,328'
const cards = {
// 329: 'servicesPasswordLost',
// 333: 'servicesPasswordLost2'
}
const callback = () => {
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,28,328'
const cards = {
// 329: 'servicesPasswordLost',
// 333: 'servicesPasswordLost2'
}
const callback = () => {
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
mounted() {

@ -61,11 +61,13 @@ import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2, messageIdCard,
import MyTitle from '@/components/myTitle'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import TipsBefore from '@/mixins/tipsBefore'
import MyDialog from '@/components/dialog'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
MyTitle,
MyDialog,
@ -73,12 +75,10 @@ export default{
},
data(){
return{
moduleName: 'servicesAccount/relieveLost',
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
@ -205,50 +205,42 @@ export default{
// 341: 'servicesPasswordRelieveLost',
// 337: 'servicesPasswordRelieveLost2',
// 343: 'servicesPasswordRelievePassword',
console.log(this.dataFlow.idNumber)
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('servicesPasswordRelieveLost')) {
this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow
this.form.idNumber = idNumber
this.form.customerName = userName
}
if(sessionStorage.getItem('servicesPasswordRelieveLost2')) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('servicesPasswordRelievePassword')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordRelievePassword')
}
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('servicesPasswordRelieveLost')) {
this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow
this.form.idNumber = idNumber
this.form.customerName = userName
}
if(sessionStorage.getItem('servicesPasswordRelieveLost2')) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('servicesPasswordRelievePassword')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordRelievePassword')
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,28,336'
const cards = {
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('servicesPasswordRelievePassword')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordRelievePassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,28,336'
const cards = {
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('servicesPasswordRelievePassword')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordRelievePassword')
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
computed: {

@ -1,6 +1,6 @@
<template>
<!-- 商业银行系统菜单文件 -->
<el-menu class="sidebar-el-menu" :default-active="onRoutes" router background-color="#313540" text-color="#fff" active-text-color="#ffd04b" unique-opened>
<el-menu class="sidebar-el-menu" :default-active="onRoutes" @select="select" router background-color="#313540" text-color="#fff" active-text-color="#ffd04b" unique-opened>
<template v-for="(item,index) in menus">
<template v-if="item.children">
<el-submenu :index="item.index" :key="item.index">
@ -19,6 +19,7 @@
v-for="(threeItem,i) in subItem.children"
:key="i"
:index="threeItem.index"
>{{ threeItem.title }}</el-menu-item>
</el-submenu>
<el-menu-item
@ -45,9 +46,16 @@ import { mapState } from 'vuex'
// import bus from '@/libs/bus';
import Setting from '@/setting';
export default {
// props: {
// needIndex: {
// type: String,
// required: true
// }
// },
data() {
return {
onRoutes:'/counter/list/manage/consumerClient',
// onRoutes:'/counter/list/manage/consumerClient',
onRoutes: '',
menus: [
{
icon: 'menu-icon icon-index',
@ -200,17 +208,37 @@ export default {
}
},
watch: {
'$route.path':function (val) {
this.onRoutes = val
// '$route.path':function (val) {
// this.onRoutes = val
// },
needIndex(newVal) {
this.onRoutes = newVal
}
},
created() {
this.onRoutes = this.$route.path
const path = sessionStorage.getItem('computerPath')
if(path) {
this.onRoutes = path
}else {
this.onRoutes = this.$route.path
}
// this.onRoutes = this.$route.path
// this.onRoutes = this.needIndex;
// console.log(this.onRoutes)
// console.log(this.needIndex)
// this.onRoutes = this.$route.path
},
methods: {
}
select(path) {
this.onRoutes = path
}
},
beforeDestroy() {
sessionStorage.setItem('computerPath', this.onRoutes)
this.$router.push('/counter/list/')
},
};
</script>

@ -3,6 +3,13 @@ import Router from 'vue-router'
import routes from './routes'
import Setting from '@/setting'
// 去除push警告
const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}
Vue.use(Router)
const createRouter = () => new Router({

@ -5,7 +5,7 @@
/* 所有物品名字 */
const allGoods = {
16: {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16},
19: {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
428: {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428},
439: {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
412: {name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412},
30: {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
@ -104,7 +104,7 @@ const myInitState = {
data: [15, 13, 23, 14],
needs: [16, 17],
isStamp: {
'业务专用章': [14,19],
'业务专用章': [14,428],
'附件章': [23],
// '收讫章': [ 17 ]
},
@ -202,7 +202,7 @@ const myInitState = {
'项目三': {
id: 491,
data: [15, 13, 23, 14], // 现金、身份证原件、复印件、开户申请书
needs: [19],
needs: [428],
isStamp: {
'业务专用章': [14]
},
@ -218,7 +218,7 @@ const myInitState = {
printer: [], // 打印机
resource: [], // 资料
importanceArr: [ 19 ], // 重要空白凭证箱
importanceArr: [ 428 ], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
@ -444,13 +444,13 @@ const myInitState = {
'项目九': {
id: 498,
data: [ 15, 13, 23, 14 ], // 现金、身份证原件、复印件、开户申请书
needs: [ 19, 17 ], // 定期存单 存款凭条
needs: [ 428, 17 ], // 定期存单 存款凭条
isStamp: {
'附件章': [ 23 ],
'业务专用章': [14, 19 ],
'业务专用章': [14, 428 ],
'收讫章': [ 17 ]
},
backPeople: [ 21, 13, 19, 269 ], // 少了开户申请书回单、身份证、定期存单、存款凭条凭证联 (判分可减)
backPeople: [ 21, 13, 428, 269 ], // 少了开户申请书回单、身份证、定期存单、存款凭条凭证联 (判分可减)
cultureArr: [ 23, 24, 269 ], // 少了身份证复印件、开户申请书凭证联、存款凭条凭证联
// 各种物品信息
moneyBox: [ ], // 钱箱
@ -491,7 +491,7 @@ const myInitState = {
},
'项目十': {
id: 499,
data: [ 13, 23, 19 ], // 身份证原件、复印件、定期存单
data: [ 13, 23, 428 ], // 身份证原件、复印件、定期存单
needs: [ 425, 427, 15 ], // 多了取款凭条、利息清单 现金
isStamp: {
'付讫章': [ 425, 427 ],
@ -499,7 +499,7 @@ const myInitState = {
'销户章': [ 430 ],
},
backPeople: [ 13, 421, 424, 15 ], // 少了身份证原件、421、424、现金
cultureArr: [ 23, 420, 420, 19 ], // 少了复印件、420、422、定期存单
cultureArr: [ 23, 420, 420, 428 ], // 少了复印件、420、422、定期存单
// 各种物品信息
moneyBox: [ 15 ], // 钱箱
needBackMoney: true, // 需要钱箱取钱
@ -1133,7 +1133,7 @@ export default {
data: [15, 13, 23, 14],
needs: [16, 17],
isStamp: {
'业务专用章': [14,19],
'业务专用章': [14,428],
'附件章': [23],
// '收讫章': [ 17 ]
},
@ -1231,7 +1231,7 @@ export default {
'项目三': {
id: 491,
data: [15, 13, 23, 14], // 现金、身份证原件、复印件、开户申请书
needs: [19],
needs: [428],
isStamp: {
'业务专用章': [14]
},
@ -1247,7 +1247,7 @@ export default {
printer: [], // 打印机
resource: [], // 资料
importanceArr: [ 19 ], // 重要空白凭证箱
importanceArr: [ 428 ], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
@ -1473,13 +1473,13 @@ export default {
'项目九': {
id: 498,
data: [ 15, 13, 23, 14 ], // 现金、身份证原件、复印件、开户申请书
needs: [ 19, 17 ], // 定期存单 存款凭条
needs: [ 428, 17 ], // 定期存单 存款凭条
isStamp: {
'附件章': [ 23 ],
'业务专用章': [14, 19 ],
'业务专用章': [14, 428 ],
'收讫章': [ 17 ]
},
backPeople: [ 21, 13, 19, 269 ], // 少了开户申请书回单、身份证、定期存单、存款凭条凭证联 (判分可减)
backPeople: [ 21, 13, 428, 269 ], // 少了开户申请书回单、身份证、定期存单、存款凭条凭证联 (判分可减)
cultureArr: [ 23, 24, 269 ], // 少了身份证复印件、开户申请书凭证联、存款凭条凭证联
// 各种物品信息
moneyBox: [ ], // 钱箱
@ -1520,7 +1520,7 @@ export default {
},
'项目十': {
id: 499,
data: [ 13, 23, 19 ], // 身份证原件、复印件、定期存单
data: [ 13, 23, 428 ], // 身份证原件、复印件、定期存单
needs: [ 425, 427, 15 ], // 多了取款凭条、利息清单 现金
isStamp: {
'付讫章': [ 425, 427 ],
@ -1528,7 +1528,7 @@ export default {
'销户章': [ 430 ],
},
backPeople: [ 13, 421, 424, 15 ], // 少了身份证原件、421、424、现金
cultureArr: [ 23, 420, 420, 19 ], // 少了复印件、420、422、定期存单
cultureArr: [ 23, 420, 420, 428 ], // 少了复印件、420、422、定期存单
// 各种物品信息
moneyBox: [ 15 ], // 钱箱
needBackMoney: true, // 需要钱箱取钱
@ -2325,9 +2325,9 @@ export default {
stampSuccess = '18'
}else if(id === 429) {
stampSuccess = '449'
}else if(id === 19) {
}else if(id === 428) {
console.log('定期存单呗盖')
stampSuccess = '19'
stampSuccess = '428'
}else if(id === 432) {
state.businessSelect[state.businessKey].data.push(432, 433)
judgeDelete = false

@ -191,6 +191,11 @@ const autoPlay = (parentId, form, myTable2, myTable, cards=[]) => {
// message: '提交成功'
// })
}).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
})
}

45898
test.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save