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: '专用户',
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');
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) === '') {
if(this.isNeedBefore) {
return
}
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
}
},
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,8 +222,9 @@ export default {
NeedBefore
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomClientIdentity')) {
this.idNumberJudge = true
const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow
@ -243,18 +243,9 @@ export default {
this.form.mailbox = mailbox
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
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(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]
}
}
// 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
}
},
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,8 +280,10 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
console.log('???')
if(sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
@ -335,14 +337,6 @@ export default{
}
}
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: {
...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,11 +268,9 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// 291: 'nomCallDepositOpen2',
// 297: 'nomCallDepositOpen3',
// 301: 'nomCallDepositOpenPassword'
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCallDepositOpen2')) {
this.idNumberJudge = true
const { idNumber, peopleNumber, userName, currency, goldLogo, depositType } = this.dataFlow
@ -292,14 +290,6 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomCallDepositOpenPassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
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,10 +114,12 @@ export default{
}
},
created() {
//
//
if(this.isNeedBefore) {
return
}
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
const { voucherNumber, userName } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.userName = userName
@ -147,14 +149,6 @@ export default{
}
}
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() {

@ -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,8 +121,11 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomBusinessDepositCard')) {
const { userName, goldLogo, currency, voucherNumber } = this.dataFlow
this.form.userName = userName
@ -132,14 +135,6 @@ export default{
this.cardNumberJudge = true
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
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,13 +380,33 @@ export default {
num:0,
}
},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// 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(this.isNeedBefore) {
return
}
console.log('s..asdasd')
const { peopleNumber, userName } = this.dataFlow
this.form.userNumber = peopleNumber
this.form.userName = userName
@ -376,6 +426,7 @@ export default {
this.cardNumberJudge3 = true
}
//
if(sessionStorage.getItem('accountPassword')) {
this.form.drawPassword = sessionStorage.getItem('accountPassword')
@ -389,14 +440,22 @@ export default {
this.getOptionsList()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
// 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,9 +177,9 @@ export default{
}
},
created() {
console.log(this.getSelectList)
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCurrentSettleCard')) {
this.cardNumberJudge = true
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)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
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,14 +189,9 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
//
// 94: nomCurrentTransferCard
// },
// {
// 99: nomCurrentTransferPassword,
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCurrentTransferCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, voucherNumber } = this.dataFlow
@ -225,14 +219,6 @@ export default{
}
}
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() {
// 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,13 +78,15 @@ export default{
props:{
depositFinish: Boolean
},
mixins: [ TipsBefore ],
components: {
MyDialog,
NeedBefore
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomCurrentWithdrawalCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, serviceCharge, drawWay, voucherNumber } = this.dataFlow
@ -98,26 +101,13 @@ export default{
if(sessionStorage.getItem('nomCurrentWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
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,9 +270,9 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// nomtimeDepositlPassword, nomtimeDeposit1
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomtimeDeposit1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, voucherNumber } = this.dataFlow
@ -288,14 +288,6 @@ export default{
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
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,8 +218,9 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
this.form.clientNumber = this.dataFlow.peopleNumber
if(sessionStorage.getItem('nomtimeOpenAccount1')) {
@ -243,14 +244,6 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
mounted() {

@ -76,16 +76,19 @@ 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) === '') {
if(this.isNeedBefore) {
return
}
const { withdrawWay } = this.dataFlow
if(withdrawWay === 126) {
this.form.interest = 5.75
@ -135,24 +138,11 @@ export default{
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(){
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,13 +115,11 @@ export default{
NeedBefore,
MyDialog
},
mixins: [ TipsBefore ],
created() {
if(this.inMyWork(moduleName)) {
// 180: 'nomUsefulPhrasesClosed',
// 181: 'nomUsefulPhrasesClosed2',
// 192: 'nomUsefulPhrasesClosedPassword'
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomUsefulPhrasesClosed')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
@ -147,23 +146,13 @@ export default{
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
data(){
return{
moduleName: 'usefulPhrases/accoumtClosed',
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
idNumber: '', //

@ -64,18 +64,19 @@ 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(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomUsefulPhrasesContinueCard')) {
this.cardNumberJudge = true
const { voucherNumber, userName, depositNumber, currency, goldLogo, depositTerm, monthDeposit } = this.dataFlow
@ -91,21 +92,11 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
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,12 +102,11 @@ export default{
NeedBefore,
MyDialog
},
mixins: [ TipsBefore ],
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// 1399: 'nomUsefulPhrasesOpenCard2',
// 166: 'nomUsefulPhrasesOpenCard',
// 167: 'nomUsefulPhrasesOpenPassword'
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
this.idNumberJudge = true
//
@ -129,23 +129,11 @@ export default{
this.getFormData()
// this.$refs.clientNumber.focus()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
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,8 +162,9 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('servicesPasswordChange')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
@ -203,14 +204,6 @@ export default{
}
}
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() {

@ -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,11 +114,10 @@ export default{
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('servicesPasswordLost')) {
console.log('刷了的。。。。。。。。。。。。。。。。。')
this.cardNumberJudge = true
const { voucherNumber, userName } = this.dataFlow
this.form.customerName = userName
@ -140,14 +139,6 @@ export default{
}
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() {

@ -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,9 +205,9 @@ export default{
// 341: 'servicesPasswordRelieveLost',
// 337: 'servicesPasswordRelieveLost2',
// 343: 'servicesPasswordRelievePassword',
console.log(this.dataFlow.idNumber)
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.isNeedBefore) {
return
}
if(sessionStorage.getItem('servicesPasswordRelieveLost')) {
this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow
@ -241,14 +241,6 @@ export default{
}
}
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: {

@ -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() {
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'
});
})
}

46032
test.js

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