20240205
luoJunYong.123 3 years ago
parent 1027879269
commit 5e11ca199a
  1. 21
      src/components/dialog/index.vue
  2. 20
      src/mixins/saveData/index.js
  3. 100
      src/mixins/tipsBefore/index.js
  4. 19
      src/pages/counter/list/index.vue
  5. 11
      src/pages/manage/index/index.vue
  6. 19
      src/pages/manage/list/business/deposit.vue
  7. 20
      src/pages/manage/list/business/openAccount.vue
  8. 19
      src/pages/manage/list/business/transfer.vue
  9. 23
      src/pages/manage/list/business/withdrawal.vue
  10. 31
      src/pages/manage/list/client/consumerClient.vue
  11. 43
      src/pages/manage/list/client/corporateClient.vue
  12. 20
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  13. 2
      src/pages/manage/list/personal/callDeposits/callDeposits.vue
  14. 22
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  15. 22
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  16. 26
      src/pages/manage/list/personal/currentAccount/deposit.vue
  17. 1
      src/pages/manage/list/personal/currentAccount/index.vue
  18. 194
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  19. 20
      src/pages/manage/list/personal/currentAccount/settle.vue
  20. 26
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  21. 27
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  22. 20
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  23. 19
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  24. 22
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  25. 23
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  26. 21
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  27. 24
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  28. 19
      src/pages/manage/list/servicesAccount/passwordChange.vue
  29. 21
      src/pages/manage/list/servicesAccount/passwordLost.vue
  30. 20
      src/pages/manage/list/servicesAccount/relieveLost.vue
  31. 38
      src/pages/manage/navbar/index.vue
  32. 7
      src/router/index.js
  33. 38
      src/store/modules/system.js
  34. 5
      src/utils/utilFunction.js
  35. 46032
      test.js

@ -84,6 +84,20 @@ const nameMap = {
103: '专用户', 103: '专用户',
104: '临时户' 104: '临时户'
}, },
accountQualityTwo: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
accountQualityThree: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
voucherType: { voucherType: {
15: 'IC卡', 15: 'IC卡',
115: '转账支票', 115: '转账支票',
@ -124,6 +138,13 @@ const nameMap = {
123: '存单', 123: '存单',
127: '银行' 127: '银行'
}, },
voucherTypesThree: {
15: 'IC卡',
115: '转账支票',
116: '现金支票',
123: '存单',
127: '银行'
},
accountTypeTwo: { accountTypeTwo: {
16: '一类户', 16: '一类户',
17: '二类户', 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() { beforeDestroy() {
let tmpForm = {} let tmpForm = {}
for(const key in this.form) { for(const key in this.form) {
if(this.form[key]) { if(this.form[key] !== '') {
tmpForm[key] = this.form[key] tmpForm[key] = this.form[key]
} }
} }
this.setDataFlow({ ...tmpForm }) sessionStorage.setItem(this.moduleName, JSON.stringify(tmpForm))
tmpForm = null
} }
} }

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

@ -46,11 +46,12 @@ export default {
return this.$store.state.system.fullScreen return this.$store.state.system.fullScreen
} }
}, },
created() { // beforeMount() {
if(sessionStorage.getItem('computerPath')) { // const path = sessionStorage.getItem('computerPath')
this.$router.push(sessionStorage.getItem('computerPath')) // console.log('router-view')
} // console.log(path)
}, // this.$router.push(path)
// },
methods: { methods: {
close(){ close(){
sessionStorage.setItem('computerPath', this.$route.fullPath) 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 { vercustomer, verrate } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http'; import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'business/deposit' const moduleName = 'business/deposit'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
@ -66,13 +67,12 @@ export default {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
mixins: [ TipsBefore ],
data() { data() {
return { return {
moduleName: 'business/deposit',
text:'存款',/* 顶部文字 */ text:'存款',/* 顶部文字 */
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
customerName: '', // customerName: '', //
@ -177,17 +177,10 @@ export default {
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
} }
this.getFormData()
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({

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

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

@ -76,6 +76,7 @@ import { myValidate, ismoney, checkName, checkHanzi, autoPlay, autoPlay2 } from
import { vercustomer, verrate } from '@/utils/verify.js' import { vercustomer, verrate } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http'; import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
import TipsBefore from '@/mixins/tipsBefore'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
@ -88,13 +89,12 @@ export default {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
mixins: [ TipsBefore ],
data() { data() {
return { return {
moduleName: 'business/withdrawal',
text:'取款',/* 顶部文字 */ text:'取款',/* 顶部文字 */
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
customerName: '', // customerName: '', //
@ -211,21 +211,10 @@ export default {
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
// CNY
// const { }
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
} }
this.getFormData()
}, },
methods: { methods: {
...mapMutations({ ...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 { phoneListen, mailBoxListen, checkRequired, randomPeopleNumber, myValidate, checkName, messageIdCard } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
import TipsBefore from '@/mixins/tipsBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
@ -96,9 +97,7 @@ export default {
name: 'consumerClient', name: 'consumerClient',
data() { data() {
return { return {
unNeed: false, moduleName: 'consumerClient',
isNeedBefore: '',
needBefore: '',
idNumberJudge: false, idNumberJudge: false,
visible:false,// visible:false,//
form:{ form:{
@ -223,8 +222,9 @@ export default {
NeedBefore NeedBefore
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
}
if(sessionStorage.getItem('nomClientIdentity')) { if(sessionStorage.getItem('nomClientIdentity')) {
this.idNumberJudge = true this.idNumberJudge = true
const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow
@ -243,18 +243,9 @@ export default {
this.form.mailbox = mailbox this.form.mailbox = mailbox
} }
this.getFormData() this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
mixins: [ TipsBefore ],
mounted() { mounted() {
}, },
methods: { methods: {
// //
@ -270,13 +261,10 @@ export default {
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
if(data.status == 200) { if(data.status == 200) {
var list = data.data.judgmentRuleReqs var list = data.data.judgmentRuleReqs
console.log(list)
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '40') {this.form.idType = +list[i].emptyTwo} 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') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)}
if (list[i].answerId == '41' && list[i].emptyTwo) { if (list[i].answerId == '41' && list[i].emptyTwo) {
console.log('---')
console.log(list[i].emptyTwo)
this.idNumberJudge = true this.idNumberJudge = true
this.form.idNumber = list[i].emptyTwo this.form.idNumber = list[i].emptyTwo
} }
@ -400,6 +388,11 @@ export default {
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
this.setDataFlow({ ...this.form }) this.setDataFlow({ ...this.form })
}).catch((error)=>{ }).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
}) })
}, },
@ -407,13 +400,11 @@ export default {
throttle(fn,wait=1000){// throttle(fn,wait=1000){//
var timer = null; var timer = null;
console.log(timer,'触发节流,查看timer')
return function(){ return function(){
console.log('进入timer0') console.log('进入timer0')
var context = this; var context = this;
var args = fn; var args = fn;
if(!timer){ if(!timer){
console.log('进入timer')
timer = setTimeout(function(){ timer = setTimeout(function(){
fn.apply(context,fn); fn.apply(context,fn);
timer = null; timer = null;

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

@ -103,22 +103,22 @@ import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messag
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'callDeposits/accountClosed' const moduleName = 'callDeposits/accountClosed'
export default{ export default{
name:'', name:'',
props:{}, props:{},
mixins: [ TipsBefore ],
components: { components: {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
data(){ data(){
return{ return{
moduleName: 'callDeposits/accountClosed',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
payMoney: '', // () payMoney: '', // ()
@ -280,8 +280,10 @@ export default{
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
}
console.log('???')
if(sessionStorage.getItem('nomCallDepositClosedCard')) { if(sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber, const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
@ -335,14 +337,6 @@ export default{
} }
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) 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
}
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({

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

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

@ -48,21 +48,21 @@ import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2, inputListen, me
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/Cancell' // 怀 const moduleName = 'currentAccount/Cancell' // 怀
export default{ export default{
name:'', name:'',
props:{}, props:{},
mixins: [ TipsBefore ],
components: { components: {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
data(){ data(){
return{ return{
moduleName:'currentAccount/Cancell',
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
@ -114,10 +114,12 @@ export default{
} }
}, },
created() { created() {
// //
if(this.isNeedBefore) {
return
}
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
const { voucherNumber, userName } = this.dataFlow const { voucherNumber, userName } = this.dataFlow
this.form.cardNumber = voucherNumber this.form.cardNumber = voucherNumber
this.form.userName = userName this.form.userName = userName
@ -147,14 +149,6 @@ export default{
} }
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
mounted() { mounted() {

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

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

@ -40,12 +40,32 @@
<el-col :span="10" :offset="2"> <el-col :span="10" :offset="2">
<el-form-item label="账户性质"> <el-form-item label="账户性质">
<el-select v-model="form.accountQuality" placeholder="请选择" ref="accountQuality"> <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-select>
</el-form-item> </el-form-item>
<el-form-item label="账户类型" prop="accountType"> <el-form-item label="账户类型" prop="accountType">
<el-select v-model="form.accountType" placeholder="请选择" ref="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-select>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" prop="drawWay"> <el-form-item label="支取方式" prop="drawWay">
@ -58,7 +78,11 @@
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="凭证类型" prop="voucherType"> <el-form-item label="凭证类型" prop="voucherType">
<el-select v-model="form.voucherType" placeholder="请选择" ref="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-select>
</el-form-item> </el-form-item>
@ -89,13 +113,20 @@
<el-form ref="form2" :model="form" label-width="120px"> <el-form ref="form2" :model="form" label-width="120px">
<el-col :span="10" :offset="2"> <el-col :span="10" :offset="2">
<el-form-item label="账户性质"> <el-form-item label="账户性质">
<el-select v-model="form.accountQualitysTwo" placeholder="请选择" disabled> <el-select v-model="form.accountQualitysTwo" placeholder="请选择">
<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>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="账户类型" required> <el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesTwo" placeholder="请选择"> <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-select>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" required> <el-form-item label="支取方式" required>
@ -108,8 +139,13 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required> <el-form-item label="凭证类型" required>
<el-select v-model="form.voucherTypesTwo" placeholder="请选择" disabled> <el-select v-model="form.voucherTypesTwo" placeholder="请选择">
<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-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
@ -138,13 +174,20 @@
<el-form ref="form3" :model="form" label-width="120px"> <el-form ref="form3" :model="form" label-width="120px">
<el-col :span="10" :offset="2"> <el-col :span="10" :offset="2">
<el-form-item label="账户性质"> <el-form-item label="账户性质">
<el-select v-model="form.accountQualitysThree" placeholder="请选择" disabled> <el-select v-model="form.accountQualitysThree" placeholder="请选择">
<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>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="账户类型" required> <el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesThree" placeholder="请选择"> <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-select>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" required> <el-form-item label="支取方式" required>
@ -157,8 +200,12 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required> <el-form-item label="凭证类型" required>
<el-select v-model="form.voucherTypesThree" placeholder="请选择" disabled> <el-select v-model="form.voucherTypesThree" placeholder="请选择">
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.options" :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-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
@ -187,26 +234,6 @@
<el-button @click="formSubmit" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="formSubmit" type="primary" class="submitBtn" v-throttle>提交</el-button>
</div> </div>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="popSure" :needAuth="false" /> <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> </div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> <!-- <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 { myValidate, checkName, checkHanzi, inputListen } from '@/utils/utilFunction.js'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/openAccount' const moduleName = 'currentAccount/openAccount'
export default { export default {
data(){ data(){
return{ return{
moduleName: 'currentAccount/openAccount',
passwordTag: '', passwordTag: '',
cardNumberTag: '', cardNumberTag: '',
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
cardNumberJudge2: false, cardNumberJudge2: false,
@ -350,13 +380,33 @@ export default {
num:0, num:0,
} }
}, },
mixins: [ TipsBefore ],
components: { components: {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
created() { created() {
if(this.inMyWork(moduleName)) { // mixins
if(this.needsModule(moduleName) === '') {
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(this.isNeedBefore) {
return
}
console.log('s..asdasd')
const { peopleNumber, userName } = this.dataFlow const { peopleNumber, userName } = this.dataFlow
this.form.userNumber = peopleNumber this.form.userNumber = peopleNumber
this.form.userName = userName this.form.userName = userName
@ -376,6 +426,7 @@ export default {
this.cardNumberJudge3 = true this.cardNumberJudge3 = true
} }
// //
if(sessionStorage.getItem('accountPassword')) { if(sessionStorage.getItem('accountPassword')) {
this.form.drawPassword = sessionStorage.getItem('accountPassword') this.form.drawPassword = sessionStorage.getItem('accountPassword')
@ -389,14 +440,22 @@ export default {
this.getOptionsList() this.getOptionsList()
}else { // this.getOptionsList()
this.isNeedBefore = true // itemid
this.needBefore = this.needsModule(moduleName) // this.$nextTick(() => {
} // if(sessionStorage.getItem('openAccountCount')) {
}else { // this.count = sessionStorage.getItem('openAccountCount')
this.isNeedBefore = true // if(this.count === 1) {
this.unNeed = true // this.formTwo = true
} // }else {
// this.formThree = true
// }
// // this.formThree = true
// // this.openAccount()
// }
// })
}, },
mounted(){ mounted(){
// currencySelectList:[ // currencySelectList:[
@ -415,6 +474,10 @@ export default {
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setPopId: 'system/setPopId' setPopId: 'system/setPopId'
}), }),
initData() {
},
getOptionsList(){ getOptionsList(){
for(var i=8;i<14;i++){ for(var i=8;i<14;i++){
this.getSubjectInfoData(i) this.getSubjectInfoData(i)
@ -559,8 +622,6 @@ export default {
}else if (item == '13'){ }else if (item == '13'){
this.drawWaySelectList = data.data.items; this.drawWaySelectList = data.data.items;
this.form.drawWay = this.drawWaySelectList[0].itemId this.form.drawWay = this.drawWaySelectList[0].itemId
console.log('---drawWaySelectList')
console.log(this.drawWaySelectList)
} }
} }
}).catch((error)=>{ }).catch((error)=>{
@ -575,23 +636,33 @@ export default {
}) })
}, },
openAccount(){ openAccount(){
// if(sessionStorage.getItem('openAccountCount')) {
// this.count = sessionStorage.getItem('openAccountCount')
// }
this.count = this.count+1; this.count = this.count+1;
sessionStorage.setItem('openAccountCount', this.count)
if (this.count > 2){ if (this.count > 2){
this.count = 2 this.count = 2
this.$message({ this.$message({
type: 'error', type: 'error',
message: '最多只能添加三个!' message: '最多只能添加三个!',
center: true
}); });
} }
if(this.count == 1 || this.count == 2){ if(this.count == 1 || this.count == 2){
this.formTwo = true this.formTwo = true
this.form.accountQualitysTwo = this.accountQualitySelectList[0].itemId // this.form.accountQualitysTwo = this.accountQualitySelectList[0].itemId
this.form.voucherTypesTwo = this.voucherTypeSelectList[0].itemId this.form.accountQualitysTwo = 14
// this.form.voucherTypesTwo = this.voucherTypeSelectList[0].itemId
this.form.voucherTypesTwo = 15
} }
if (this.count == 2){ if (this.count == 2){
this.formThree = true this.formThree = true
this.form.accountQualitysThree = this.accountQualitySelectList[0].itemId // this.form.accountQualitysThree = this.accountQualitySelectList[0].itemId
this.form.voucherTypesThree = this.voucherTypeSelectList[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)=>{ addOperation(param).then((data)=>{
}).catch((error)=>{ }).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
}) })
formList.push( 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"},// {"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' // type: 'success'
// }); // });
}).catch((error)=>{ }).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
}) })
}, },
deleteSecond(){ deleteSecond(){
@ -739,6 +820,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.count = this.count-1; this.count = this.count-1;
sessionStorage.setItem('openAccountCount', this.count)
if (this.count < 1){this.count = 0} if (this.count < 1){this.count = 0}
if (this.count == 0){this.formTwo = false} if (this.count == 0){this.formTwo = false}
if (this.count == 1){this.formThree = false} if (this.count == 1){this.formThree = false}
@ -820,7 +902,13 @@ export default {
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork' inMyWork: 'system/inMyWork'
}) })
},
watch: {
count(newVal) {
console.log(newVal)
} }
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

@ -70,20 +70,20 @@ import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputL
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/settle' const moduleName = 'currentAccount/settle'
export default{ export default{
name:'', name:'',
props:{}, props:{},
mixins: [ TipsBefore ],
components: { components: {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
data(){ data(){
return{ return{
moduleName: 'currentAccount/settle',
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
cardNumber: '', cardNumber: '',
@ -177,9 +177,9 @@ export default{
} }
}, },
created() { created() {
console.log(this.getSelectList) if(this.isNeedBefore) {
if(this.inMyWork(moduleName)) { return
if(this.needsModule(moduleName) === '') { }
if(sessionStorage.getItem('nomCurrentSettleCard')) { if(sessionStorage.getItem('nomCurrentSettleCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { currency, userName, goldLogo, interest, voucherNumber, balance, totalMoney } = this.dataFlow const { currency, userName, goldLogo, interest, voucherNumber, balance, totalMoney } = this.dataFlow
@ -216,14 +216,6 @@ export default{
} }
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
mounted() { mounted() {

@ -62,23 +62,22 @@
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, ismoney, checkName, autoPlay, autoPlay2, messageCard, messagePassword } from '@/utils/utilFunction.js' import { myValidate, checkHanzi, ismoney, checkName, autoPlay, autoPlay2, messageCard, messagePassword } from '@/utils/utilFunction.js'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/transferAccounts' const moduleName = 'currentAccount/transferAccounts'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
export default{ export default{
name:'', name:'',
props:{}, props:{},
mixins: [ TipsBefore ],
components: { components: {
MyDialog, MyDialog,
NeedBefore NeedBefore
}, },
data(){ data(){
return{ return{
moduleName: 'currentAccount/transferAccounts',
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
cardNumber: '', cardNumber: '',
@ -190,14 +189,9 @@ export default{
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
// }
// 94: nomCurrentTransferCard
// },
// {
// 99: nomCurrentTransferPassword,
if(sessionStorage.getItem('nomCurrentTransferCard')) { if(sessionStorage.getItem('nomCurrentTransferCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { currency, userName, goldLogo, voucherNumber } = this.dataFlow const { currency, userName, goldLogo, voucherNumber } = this.dataFlow
@ -225,14 +219,6 @@ export default{
} }
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
mounted() { mounted() {
// this.$refs.money.focus() // 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 { myValidate, ismoney, checkName, checkHanzi, messagePassword } from '@/utils/utilFunction.js'
import { addOperation, getOperation } from '@/api/http'; import { addOperation, getOperation } from '@/api/http';
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'currentAccount/withdrawal' const moduleName = 'currentAccount/withdrawal'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
@ -77,13 +78,15 @@ export default{
props:{ props:{
depositFinish: Boolean depositFinish: Boolean
}, },
mixins: [ TipsBefore ],
components: { components: {
MyDialog, MyDialog,
NeedBefore NeedBefore
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
}
if(sessionStorage.getItem('nomCurrentWithdrawalCard')) { if(sessionStorage.getItem('nomCurrentWithdrawalCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { currency, userName, goldLogo, serviceCharge, drawWay, voucherNumber } = this.dataFlow const { currency, userName, goldLogo, serviceCharge, drawWay, voucherNumber } = this.dataFlow
@ -98,26 +101,13 @@ export default{
if(sessionStorage.getItem('nomCurrentWithdrawalPassword')) { if(sessionStorage.getItem('nomCurrentWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword') this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword')
} }
this.getFormData() this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
data(){ data(){
return{ return{
moduleName: 'currentAccount/withdrawal',
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
cardNumber: '', cardNumber: '',
@ -270,6 +260,11 @@ export default{
this.setDataFlow({ ...this.form }) this.setDataFlow({ ...this.form })
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
}).catch((error)=>{ }).catch((error)=>{
this.$message({
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
}) })
}else{ }else{
this.$message.error('有必填项未填哦~'); this.$message.error('有必填项未填哦~');

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

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

@ -76,16 +76,19 @@ const moduleName = 'timeDeposit/withdrawal'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{ export default{
name:'', name:'',
props:{}, props:{},
mixins: [ TipsBefore ],
components: { components: {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
}
const { withdrawWay } = this.dataFlow const { withdrawWay } = this.dataFlow
if(withdrawWay === 126) { if(withdrawWay === 126) {
this.form.interest = 5.75 this.form.interest = 5.75
@ -135,24 +138,11 @@ export default{
this.getFormData() this.getFormData()
// this.$nextTick(() => {
// this.$refs.depositNumber.focus()
// })
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
data(){ data(){
return{ return{
moduleName: 'timeDeposit/withdrawal',
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
capitalDisabled: false, // capitalDisabled: false, //
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{

@ -107,6 +107,7 @@ const moduleName = 'usefulPhrases/accoumtClosed'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{ export default{
name:'', name:'',
props:{}, props:{},
@ -114,13 +115,11 @@ export default{
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
mixins: [ TipsBefore ],
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
// 180: 'nomUsefulPhrasesClosed', return
// 181: 'nomUsefulPhrasesClosed2', }
// 192: 'nomUsefulPhrasesClosedPassword'
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomUsefulPhrasesClosed')) { if(sessionStorage.getItem('nomUsefulPhrasesClosed')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber } = this.dataFlow const { idNumber } = this.dataFlow
@ -147,23 +146,13 @@ export default{
} }
this.getFormData() this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
data(){ data(){
return{ return{
moduleName: 'usefulPhrases/accoumtClosed',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
idNumber: '', // idNumber: '', //

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

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

@ -70,10 +70,12 @@ import MyTitle from '@/components/myTitle'
const moduleName = 'servicesAccount/passwordChange' const moduleName = 'servicesAccount/passwordChange'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import TipsBefore from '@/mixins/tipsBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
export default{ export default{
name:'', name:'',
props:{}, props:{},
mixins: [ TipsBefore ],
components: { components: {
MyTitle, MyTitle,
NeedBefore, NeedBefore,
@ -81,12 +83,10 @@ export default{
}, },
data(){ data(){
return{ return{
moduleName: 'servicesAccount/passwordChange',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
// identityCard: '', // // identityCard: '', //
@ -162,8 +162,9 @@ export default{
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
}
if(sessionStorage.getItem('servicesPasswordChange')) { if(sessionStorage.getItem('servicesPasswordChange')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber } = this.dataFlow const { idNumber } = this.dataFlow
@ -203,14 +204,6 @@ export default{
} }
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, 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
}
}, },
mounted() { mounted() {

@ -54,9 +54,11 @@ const moduleName = 'servicesAccount/passwordLost'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{ export default{
name:'', name:'',
props:{}, props:{},
mixins: [ TipsBefore ],
components: { components: {
MyTitle, MyTitle,
NeedBefore, NeedBefore,
@ -64,13 +66,11 @@ export default{
}, },
data(){ data(){
return{ return{
moduleName: 'servicesAccount/passwordLost',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
idNumberJudge: false, idNumberJudge: false,
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
customerName: '', // customerName: '', //
@ -114,11 +114,10 @@ export default{
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.isNeedBefore) {
if(this.needsModule(moduleName) === '') { return
}
if(sessionStorage.getItem('servicesPasswordLost')) { if(sessionStorage.getItem('servicesPasswordLost')) {
console.log('刷了的。。。。。。。。。。。。。。。。。')
this.cardNumberJudge = true this.cardNumberJudge = true
const { voucherNumber, userName } = this.dataFlow const { voucherNumber, userName } = this.dataFlow
this.form.customerName = userName this.form.customerName = userName
@ -140,14 +139,6 @@ export default{
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, 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
}
}, },
mounted() { mounted() {

@ -61,11 +61,13 @@ import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2, messageIdCard,
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import TipsBefore from '@/mixins/tipsBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
export default{ export default{
name:'', name:'',
props:{}, props:{},
mixins: [ TipsBefore ],
components: { components: {
MyTitle, MyTitle,
MyDialog, MyDialog,
@ -73,12 +75,10 @@ export default{
}, },
data(){ data(){
return{ return{
moduleName: 'servicesAccount/relieveLost',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
customerName: '', // customerName: '', //
@ -205,9 +205,9 @@ export default{
// 341: 'servicesPasswordRelieveLost', // 341: 'servicesPasswordRelieveLost',
// 337: 'servicesPasswordRelieveLost2', // 337: 'servicesPasswordRelieveLost2',
// 343: 'servicesPasswordRelievePassword', // 343: 'servicesPasswordRelievePassword',
console.log(this.dataFlow.idNumber) if(this.isNeedBefore) {
if(this.inMyWork(moduleName)) { return
if(this.needsModule(moduleName) === '') { }
if(sessionStorage.getItem('servicesPasswordRelieveLost')) { if(sessionStorage.getItem('servicesPasswordRelieveLost')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow const { idNumber, userName } = this.dataFlow
@ -241,14 +241,6 @@ export default{
} }
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, 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
}
}, },
computed: { computed: {

@ -1,6 +1,6 @@
<template> <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-for="(item,index) in menus">
<template v-if="item.children"> <template v-if="item.children">
<el-submenu :index="item.index" :key="item.index"> <el-submenu :index="item.index" :key="item.index">
@ -19,6 +19,7 @@
v-for="(threeItem,i) in subItem.children" v-for="(threeItem,i) in subItem.children"
:key="i" :key="i"
:index="threeItem.index" :index="threeItem.index"
>{{ threeItem.title }}</el-menu-item> >{{ threeItem.title }}</el-menu-item>
</el-submenu> </el-submenu>
<el-menu-item <el-menu-item
@ -45,9 +46,16 @@ import { mapState } from 'vuex'
// import bus from '@/libs/bus'; // import bus from '@/libs/bus';
import Setting from '@/setting'; import Setting from '@/setting';
export default { export default {
// props: {
// needIndex: {
// type: String,
// required: true
// }
// },
data() { data() {
return { return {
onRoutes:'/counter/list/manage/consumerClient', // onRoutes:'/counter/list/manage/consumerClient',
onRoutes: '',
menus: [ menus: [
{ {
icon: 'menu-icon icon-index', icon: 'menu-icon icon-index',
@ -200,17 +208,37 @@ export default {
} }
}, },
watch: { watch: {
'$route.path':function (val) { // '$route.path':function (val) {
this.onRoutes = val // this.onRoutes = val
// },
needIndex(newVal) {
this.onRoutes = newVal
} }
}, },
created() { created() {
const path = sessionStorage.getItem('computerPath')
if(path) {
this.onRoutes = path
}else {
this.onRoutes = this.$route.path 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: { methods: {
select(path) {
this.onRoutes = path
} }
},
beforeDestroy() {
sessionStorage.setItem('computerPath', this.onRoutes)
this.$router.push('/counter/list/')
},
}; };
</script> </script>

@ -3,6 +3,13 @@ import Router from 'vue-router'
import routes from './routes' import routes from './routes'
import Setting from '@/setting' 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) Vue.use(Router)
const createRouter = () => new Router({ const createRouter = () => new Router({

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

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

46032
test.js

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