20240205
luoJunYong.123 3 years ago
parent 299e56310f
commit 315cd47a0a
  1. 49
      src/components/needBefore/index.vue
  2. 21
      src/components/selectBusiness/index.vue
  3. 99
      src/pages/counter/list/index.vue
  4. 4
      src/pages/manage/list/acceptanceDraft/invoice.vue
  5. 4
      src/pages/manage/list/business/deposit.vue
  6. 4
      src/pages/manage/list/business/openAccount.vue
  7. 4
      src/pages/manage/list/business/transfer.vue
  8. 4
      src/pages/manage/list/business/withdrawal.vue
  9. 4
      src/pages/manage/list/cityWide/cityWideIn.vue
  10. 4
      src/pages/manage/list/cityWide/cityWideOut.vue
  11. 38
      src/pages/manage/list/client/consumerClient.vue
  12. 50
      src/pages/manage/list/client/corporateClient.vue
  13. 4
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  14. 4
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  15. 49
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  16. 18
      src/pages/manage/list/personal/currentAccount/deposit.vue
  17. 113
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  18. 50
      src/pages/manage/list/personal/currentAccount/settle.vue
  19. 17
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  20. 23
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  21. 22
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  22. 27
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  23. 57
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  24. 17
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  25. 21
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  26. 24
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  27. 4
      src/pages/manage/list/servicesAccount/passwordChange.vue
  28. 4
      src/pages/manage/list/servicesAccount/passwordLost.vue
  29. 4
      src/pages/manage/list/servicesAccount/relieveLost.vue
  30. 37
      src/store/modules/system.js

@ -1,7 +1,10 @@
<template> <template>
<!-- <div class="flex mt-8 ml-12 text-xl title"> --> <!-- <div class="flex mt-8 ml-12 text-xl title"> -->
<div class="title"> <div v-if="!this.unNeed">
<h1 @click="goto">请完成上一个步骤</h1> <h1 class="title" @click="goto">请完成上一个步骤</h1>
</div>
<div v-else>
<h1 class="title2" @click="goto2">您无需完成该操作</h1>
</div> </div>
</template> </template>
@ -12,6 +15,7 @@ const obj = {
// 'currentAccount/openAccount': '/counter/list/manage/currentAccount', // 'currentAccount/openAccount': '/counter/list/manage/currentAccount',
// 'currentAccount/deposit': '/counter/list/manage/currentAccount' // 'currentAccount/deposit': '/counter/list/manage/currentAccount'
'consumerClient': '客户信息 -> 个人客户信息建立', 'consumerClient': '客户信息 -> 个人客户信息建立',
'corporateClient': '客户信息 -> 公司客户信息建立',
'currentAccount/openAccount': '活期业务 -> 开户', 'currentAccount/openAccount': '活期业务 -> 开户',
'currentAccount/deposit': '活期业务 -> 存款', 'currentAccount/deposit': '活期业务 -> 存款',
'currentAccount/withdrawal': '活期业务 -> 取款', 'currentAccount/withdrawal': '活期业务 -> 取款',
@ -30,13 +34,25 @@ export default {
moduleName: { moduleName: {
type: String, type: String,
require: true require: true
},
unNeed: {
type: Boolean,
default: false
} }
}, },
created() { created() {
this.$message({ if(this.unNeed) {
message: '请先完成' + obj[this.moduleName], this.$message({
type: 'info' message: '您无需完成该操作!',
}); type: 'info'
});
}else {
this.$message({
message: '请先完成' + obj[this.moduleName],
type: 'info'
});
}
}, },
methods: { methods: {
goto() { goto() {
@ -46,7 +62,13 @@ export default {
message: '请先完成' + obj[this.moduleName], message: '请先完成' + obj[this.moduleName],
type: 'info' type: 'info'
}); });
} },
goto2() {
this.$message({
message: '您无需完成该操作!',
type: 'info'
});
},
}, },
computed: { computed: {
...mapGetters({ ...mapGetters({
@ -56,14 +78,23 @@ export default {
} }
</script> </script>
<style scoped> <style scoped lang='scss'>
.title{ .title{
width: 100%; width: 100%;
height: 100%; height: 10vh;
background-color: skyblue; background-color: skyblue;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
} }
.title2{
width: 100%;
height: 10vh;
background-color: pink;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
</style> </style>

@ -196,19 +196,6 @@ export default {
}, },
selectBusiness() { selectBusiness() {
if(!this.takeCheck) { if(!this.takeCheck) {
// this.$confirm(', ?', '', {
// confirmButtonText: '',
// cancelButtonText: '',
// type: 'warning',
// center: true
// }).then(() => {
// this.$router.push('/index')
// }).catch(() => {
// this.$message({
// type: 'info',
// message: ''
// });
// });
this.$message({ this.$message({
type: 'info', type: 'info',
message: '请选择一个业务' message: '请选择一个业务'
@ -216,8 +203,16 @@ export default {
return return
} }
this.setBusinessKey(this.takeCheck) this.setBusinessKey(this.takeCheck)
if(!this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id) {
this.$message({
type: 'info',
message: '业务开发中,尽请期待!'
});
return
}
this.setShowBusiness(false) this.setShowBusiness(false)
sessionStorage.setItem('businessKey', this.$store.state.system.businessKey) sessionStorage.setItem('businessKey', this.$store.state.system.businessKey)
}, },
}, },
computed: { computed: {

@ -315,16 +315,15 @@ export default {
popArr:[/* 弹窗展示的物品 */ popArr:[/* 弹窗展示的物品 */
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
{name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:'预留印鉴卡'}, {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:'转账支票'}, {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},
{name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'}, {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:411},
// {name:'',src:require('@/assets/img/seal/paid.png'),id:''}, {name:'取款凭条',src:require('@/assets/img/goods/qkpt.png'),id:425},
{name:'取款凭条',src:require('@/assets/img/goods/qkpt.png'),id:'取款凭条'}, {name:'转账凭条',src:require('@/assets/img/goods/zzpt.png'),id:426},
{name:'转账凭条',src:require('@/assets/img/goods/zzpt.png'),id:'转账凭条'}, {name:'业务收费凭证',src:require('@/assets/img/goods/ywsfpz.png'),id:479},
{name:'业务收费凭证',src:require('@/assets/img/goods/ywsfpz.png'),id:'业务收费凭证'}, {name:'利息清单',src:require('@/assets/img/goods/lxqd.png'),id:427},
{name:'利息清单',src:require('@/assets/img/goods/lxqd.png'),id:'利息清单'}, {name:'普通空白凭证',src:require('@/assets/img/goods/ptkbpz.png'),id:438},
{name:'普通空白凭证',src:require('@/assets/img/goods/ptkbpz.png'),id:'普通空白凭证'},
{name:'身份证',src:require('@/assets/img/goods/idcard.png'),id:13}, {name:'身份证',src:require('@/assets/img/goods/idcard.png'),id:13},
{name:'身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:23}, {name:'身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:23},
{name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14}, {name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14},
@ -399,19 +398,19 @@ export default {
importanceArr:[/* 重要空白凭证 */ importanceArr:[/* 重要空白凭证 */
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
{name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:'预留印鉴卡'}, {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:'转账支票'}, {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},
{name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'}, {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:411},
{name:'新定期存单',src:require('@/assets/img/seal/paid.png'),id:192}, {name:'新定期存单',src:require('@/assets/img/seal/paid.png'),id:192},
], ],
commonArr:[/* 普通凭证箱 */ commonArr:[/* 普通凭证箱 */
{name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17}, {name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17},
{name:'取款凭条',src:require('@/assets/img/goods/qkpt.png'),id:'取款凭条'}, {name:'取款凭条',src:require('@/assets/img/goods/qkpt.png'),id:425},
{name:'转账凭条',src:require('@/assets/img/goods/zzpt.png'),id:'转账凭条'}, {name:'转账凭条',src:require('@/assets/img/goods/zzpt.png'),id:426},
{name:'业务收费凭证',src:require('@/assets/img/goods/ywsfpz.png'),id:'业务收费凭证'}, {name:'业务收费凭证',src:require('@/assets/img/goods/ywsfpz.png'),id:479},
{name:'利息清单',src:require('@/assets/img/goods/lxqd.png'),id:'利息清单'}, {name:'利息清单',src:require('@/assets/img/goods/lxqd.png'),id:427},
{name:'普通空白凭证',src:require('@/assets/img/goods/ptkbpz.png'),id:'普通空白凭证'}, {name:'普通空白凭证',src:require('@/assets/img/goods/ptkbpz.png'),id:438},
], ],
sealChecked:[],/* 印章盒选中 */ sealChecked:[],/* 印章盒选中 */
importantChecked:[],// importantChecked:[],//
@ -480,7 +479,7 @@ export default {
if (this.$store.state.system.id == '62,1'){ if (this.$store.state.system.id == '62,1'){
this.nbm = 62 this.nbm = 62
let param= { let param= {
parentId: '285,287,5,26,57,62,75' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,62,75'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -504,7 +503,7 @@ export default {
}else if (this.$store.state.system.id == '63'){ }else if (this.$store.state.system.id == '63'){
this.nbm = 63 this.nbm = 63
let param= { let param= {
parentId: '285,287,5,26,57,63,78' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,63,78'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -528,7 +527,7 @@ export default {
}else if (this.$store.state.system.id == '64'){ }else if (this.$store.state.system.id == '64'){
this.nbm = 64 this.nbm = 64
let param= { let param= {
parentId: '285,287,5,26,57,64,85' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,64,85'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -552,7 +551,7 @@ export default {
}else if (this.$store.state.system.id == '65'){ }else if (this.$store.state.system.id == '65'){
this.nbm = 65 this.nbm = 65
let param= { let param= {
parentId: '285,287,5,26,57,65,94' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,65,94'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -576,7 +575,7 @@ export default {
}else if (this.$store.state.system.id == '66'){ }else if (this.$store.state.system.id == '66'){
this.nbm = 66 this.nbm = 66
let param= { let param= {
parentId: '285,287,5,26,57,66,103' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,66,103'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -600,7 +599,7 @@ export default {
}else if (this.$store.state.system.id == '67,1'){ }else if (this.$store.state.system.id == '67,1'){
this.nbm = 67 this.nbm = 67
let param= { let param= {
parentId: '285,287,5,26,57,67,113' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,67,113'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -622,7 +621,9 @@ export default {
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (myConfig[this.$store.state.system.id]){ }else if (myConfig[this.$store.state.system.id]){
const { nbm, parentId, name } = myConfig[this.$store.state.system.id] let { nbm, parentId, name } = myConfig[this.$store.state.system.id]
parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + parentId
this.nbm = nbm this.nbm = nbm
let param= { let param= {
parentId parentId
@ -710,7 +711,7 @@ export default {
if (this.$store.state.system.id == '33'){ if (this.$store.state.system.id == '33'){
this.nbm = 33 this.nbm = 33
let param= { let param= {
parentId: '285,287,5,25,33,41' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,25,33,41'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -734,7 +735,7 @@ export default {
}else if (this.$store.state.system.id == '34'){ }else if (this.$store.state.system.id == '34'){
this.nbm = 34 this.nbm = 34
let param= { let param= {
parentId: '285,287,5,25,34,54' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,25,34,54'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -758,7 +759,7 @@ export default {
}else if (this.$store.state.system.id == '67,2'){ }else if (this.$store.state.system.id == '67,2'){
this.nbm = 67 this.nbm = 67
let param= { let param= {
parentId: '285,287,5,26,57,67,116' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,67,116'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -782,7 +783,8 @@ export default {
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (myConfig[this.$store.state.system.id]){ }else if (myConfig[this.$store.state.system.id]){
const { nbm, parentId, name } = myConfig[this.$store.state.system.id] let { nbm, parentId, name } = myConfig[this.$store.state.system.id]
parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + parentId
this.nbm = nbm this.nbm = nbm
let param= { let param= {
parentId parentId
@ -1118,25 +1120,25 @@ export default {
// this.goodsShelfTotalData = this.systemInputGoodsShelf // this.goodsShelfTotalData = this.systemInputGoodsShelf
let parentId = '' let parentId = ''
if(type == '普通凭证箱'){ if(type == '普通凭证箱'){
parentId = '285,287,3' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,3'
} }
if(type == '系统'){ if(type == '系统'){
parentId = '285,287,5' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5'
} }
}else if(type == '身份证扫描仪' || type == '验钞机' || type == '资料' || type == '重要空白凭证箱' || type == '身份证扫描器'){ }else if(type == '身份证扫描仪' || type == '验钞机' || type == '资料' || type == '重要空白凭证箱' || type == '身份证扫描器'){
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
let parentId = '' let parentId = ''
if(type == '重要空白凭证箱'){ if(type == '重要空白凭证箱'){
parentId = '285,287,2' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,2'
} }
if(type == '资料'){ if(type == '资料'){
parentId = '285,287,11' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,11'
} }
if(type == '验钞机'){ if(type == '验钞机'){
parentId = '285,287,9' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,9'
} }
if(type == '身份证扫描仪'){ if(type == '身份证扫描仪'){
parentId = '285,287,7' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,7'
} }
let param= { let param= {
parentId: parentId parentId: parentId
@ -1145,18 +1147,18 @@ export default {
// this.goodsShelfTotalData = this.printoutGoodsShelf // this.goodsShelfTotalData = this.printoutGoodsShelf
let parentId = '' let parentId = ''
if(type == '打印机'){ if(type == '打印机'){
parentId = '285,287,10' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,10'
} }
if(type == '客户签字'){ if(type == '客户签字'){
parentId = '285,287,12' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,12'
} }
if(type == '印章盒'){ if(type == '印章盒'){
parentId = '285,287,8' parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,8'
} }
}else if(type == '钱箱'){ }else if(type == '钱箱'){
// this.goodsShelfTotalData = this.cashboxGoodsShelf; // this.goodsShelfTotalData = this.cashboxGoodsShelf;
let param= { let param= {
parentId: '285,287,1' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,1'
} }
getOperation(param).then((data)=> { getOperation(param).then((data)=> {
if (data.data.status == 200) { if (data.data.status == 200) {
@ -1226,6 +1228,7 @@ export default {
that.checkList.length=0 that.checkList.length=0
that.checkList.push(item.id) that.checkList.push(item.id)
}else{ }else{
// console.log(item.id)
arr.includes(item.id) ? arr.splice(arr.indexOf(item.id), 1) : arr.push(item.id); arr.includes(item.id) ? arr.splice(arr.indexOf(item.id), 1) : arr.push(item.id);
} }
} }
@ -1488,7 +1491,7 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.goodState[i].id,"type": ""})} for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.goodState[i].id,"type": ""})}
let params= { let params= {
parentId: '285,287,12', parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,12',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1502,7 +1505,7 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,4,"+this.goodState[i].id,"type": ""})} for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,4,"+this.goodState[i].id,"type": ""})}
let params= { let params= {
parentId:'285,287,4', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,4',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1520,7 +1523,7 @@ export default {
let formList = [] let formList = []
for (var i=0;i<clickList.length;i++){formList.push({ "answerId":clickList[i], "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,3,"+clickList[i], "type": "" })} for (var i=0;i<clickList.length;i++){formList.push({ "answerId":clickList[i], "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,3,"+clickList[i], "type": "" })}
let params= { let params= {
parentId:'285,287,3', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,3',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1539,7 +1542,7 @@ export default {
let formList = [] let formList = []
for (var i=0;i<clickList.length;i++){formList.push({ "answerId":clickList[i], "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,3,"+clickList[i], "type": "" })} for (var i=0;i<clickList.length;i++){formList.push({ "answerId":clickList[i], "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,3,"+clickList[i], "type": "" })}
let params= { let params= {
parentId:'285,287,2', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,2',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1574,7 +1577,7 @@ export default {
) )
} }
let params= { let params= {
parentId:'285,287,1', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,1',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1610,7 +1613,7 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.goodState[i].id,"type": ""})} for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.goodState[i].id,"type": ""})}
let params= { let params= {
parentId:'285,287,9', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,9',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1626,7 +1629,7 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,10,"+this.goodState[i].id,"type": ""})} for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,10,"+this.goodState[i].id,"type": ""})}
let params= { let params= {
parentId:'285,287,10', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,10',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1658,7 +1661,7 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,11,"+this.goodState[i].id,"type": ""})} for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,11,"+this.goodState[i].id,"type": ""})}
let params= { let params= {
parentId:'285,287,11', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,11',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1672,7 +1675,7 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,6,"+this.receptionList[i].id,"type": ""})} for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,6,"+this.receptionList[i].id,"type": ""})}
let params= { let params= {
parentId:'285,287,6', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,6',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1686,7 +1689,7 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,7,"+this.receptionList[i].id,"type": ""})} for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,7,"+this.receptionList[i].id,"type": ""})}
let params= { let params= {
parentId:'285,287,7', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,7',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,

@ -297,7 +297,7 @@ export default {
} }
}, },
mounted() { mounted() {
const parentId = '285,287,5,30,374' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,30,374'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.accountNumber.focus() this.$refs.accountNumber.focus()
}, },
@ -306,7 +306,7 @@ export default {
submitForm(){ submitForm(){
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
const parentId = '285,287,5,30,374' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,30,374'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs)); }, this.$refs));
}, },

@ -182,7 +182,7 @@ export default {
}, },
methods: { methods: {
getFormData(){ getFormData(){
const parentId = '285,287,5,27,225' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,225'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
}, },
submitForm() { submitForm() {
@ -192,7 +192,7 @@ export default {
// //
this.visible = true; this.visible = true;
let formList = []; let formList = [];
const parentId = '285,287,5,27,225' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,225'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs)); }, this.$refs));
}, },

@ -297,7 +297,7 @@ export default {
}, },
methods: { methods: {
getFormData(){ getFormData(){
const parentId = '285,287,5,27,224' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,224'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
}, },
submitForm(){ submitForm(){
@ -306,7 +306,7 @@ export default {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const parentId = '285,287,5,27,224' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,224'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs)); }, this.$refs));
}, },

@ -233,7 +233,7 @@ export default {
}, },
methods: { methods: {
getFormData(){ getFormData(){
const parentId = '285,287,5,27,227' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,227'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
}, },
submitForm() { submitForm() {
@ -242,7 +242,7 @@ export default {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const parentId = '285,287,5,27,227' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,227'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs)); }, this.$refs));
}, },

@ -206,14 +206,14 @@ export default {
}, },
methods: { methods: {
getFormData(){ getFormData(){
const parentId = '285,287,5,27,226' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,226'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const parentId = '285,287,5,27,226' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,226'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
// let tmpIndex = 100; // let tmpIndex = 100;
// for(const key in this.myTable2) { // for(const key in this.myTable2) {

@ -263,7 +263,7 @@ export default {
}, },
mounted() { mounted() {
const parentId = '285,287,5,29,345,359' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,29,345,359'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.shroffAccountNumber.focus() this.$refs.shroffAccountNumber.focus()
}, },
@ -271,7 +271,7 @@ export default {
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
const parentId = '285,287,5,29,345,359' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,29,345,359'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs)); }, this.$refs));
}, },

@ -247,7 +247,7 @@ export default {
}, },
mounted() { mounted() {
const parentId = '285,287,5,29,345,346' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,29,345,346'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.shroffAccountNumber.focus() this.$refs.shroffAccountNumber.focus()
}, },
@ -255,7 +255,7 @@ export default {
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
const parentId = '285,287,5,29,345,346' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,29,345,346'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs)); }, this.$refs));
}, },

@ -1,6 +1,6 @@
// //
<template> <template>
<div class="wrap wrap2"> <div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['客户信息', '个人客户信息建立']"/> <MyTitle :titleArr="['客户信息', '个人客户信息建立']"/>
<div class="body"> <div class="body">
<el-row :gutter="20"> <el-row :gutter="20">
@ -79,6 +79,8 @@
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2()" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2()" />
</div> </div>
<need-before class='wrap' v-else :moduleName='needBefore' :unNeed="unNeed">
</need-before>
</template> </template>
<script> // : consumerClient <script> // : consumerClient
@ -87,14 +89,19 @@ import { vername, vermob } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http'; import { addOperation, getOperation } from '@/api/http';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { phoneListen, mailBoxListen, checkRequired, myValidate, checkName } from '@/utils/utilFunction.js' import { phoneListen, mailBoxListen, checkRequired, myValidate, checkName } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import NeedBefore from '@/components/needBefore'
const moduleName = 'consumerClient' const moduleName = 'consumerClient'
export default { export default {
name: 'consumerClient', name: 'consumerClient',
data() { data() {
return { return {
unNeed: false,
isNeedBefore: '',
needBefore: '',
idNumberJudge: false, idNumberJudge: false,
visible:false,// visible:false,//
form:{ form:{
@ -213,14 +220,26 @@ export default {
}, },
components: { components: {
MyTitle, MyTitle,
MyDialog MyDialog,
NeedBefore
}, },
created() { created() {
console.log(moduleName) console.log(this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id)
// console.log(moduleName)
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
}
}, },
mounted() { mounted() {
this.getFormData()
this.$refs.userName.focus();
}, },
methods: { methods: {
// //
@ -231,7 +250,7 @@ export default {
}, },
getFormData(){ getFormData(){
let param= { let param= {
parentId: '285,287,5,25,33' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,25,33'
} }
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
if(data.status == 200) { if(data.status == 200) {
@ -325,7 +344,7 @@ export default {
{"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285,287,5,25,33,47", "type": "3"}// {"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285,287,5,25,33,47", "type": "3"}//
); );
let params= { let params= {
parentId:'285,287,5,25,33', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,25,33',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -366,7 +385,9 @@ export default {
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowId: 'system/dataFlowId' dataFlowId: 'system/dataFlowId',
inMyWork: 'system/inMyWork',
needsModule: 'system/needsModule',
}) })
}, },
@ -390,6 +411,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.wrap{ .wrap{
width: 100%; width: 100%;
height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: auto; overflow: auto;

@ -1,6 +1,6 @@
// //
<template> <template>
<div class="wrap2 wrap"> <div class="wrap2 wrap" v-if="!isNeedBefore">
<MyTitle :titleArr="['客户信息', '公司客户信息建立']"/> <MyTitle :titleArr="['客户信息', '公司客户信息建立']"/>
<div class="body"> <div class="body">
<el-row :gutter="20"> <el-row :gutter="20">
@ -82,22 +82,31 @@
</div> </div>
</el-dialog> --> </el-dialog> -->
</div> </div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
</template> </template>
<script> <script>
import { mapState, mapMutations } from 'vuex' import { mapState, mapMutations, mapGetters } from 'vuex'
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http'; import { addOperation, getOperation } from '@/api/http';
import { phoneListen, checkRequired, myValidate, checkHanzi, checkName } from '@/utils/utilFunction.js' import { phoneListen, checkRequired, myValidate, checkHanzi, checkName } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
import NeedBefore from '@/components/needBefore'
const moduleName = 'corporateClient'
export default { export default {
name: 'index', name: 'index',
components: { components: {
MyTitle MyTitle,
NeedBefore
}, },
data() { data() {
return { return {
unNeed: false,
isNeedBefore: '',
needBefore: '',
visible:false,// visible:false,//
authorization:false,// authorization:false,//
success:false,// success:false,//
@ -146,16 +155,33 @@ export default {
} }
}, },
created() { created() {
console.clear() if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
mounted() { mounted() {
this.getFormData()
this.$refs.codeNumber.focus()
}, },
methods: { methods: {
getFormData(){ getFormData(){
let param= { let param= {
parentId: '285,287,5,25,34' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,25,34'
} }
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
console.log(data) console.log(data)
@ -219,7 +245,7 @@ export default {
{"answerId":'53',"emptyOne": "24", "emptyTwo": this.form.certificateType, "operationIds": "285,287,5,25,34,53", "type": "1"},// {"answerId":'53',"emptyOne": "24", "emptyTwo": this.form.certificateType, "operationIds": "285,287,5,25,34,53", "type": "1"},//
); );
let params= { let params= {
parentId:'285,287,5,25,34', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,25,34',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -239,6 +265,14 @@ export default {
phoneListen: phoneListen, phoneListen: phoneListen,
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
dataFlowId: 'system/dataFlowId',
inMyWork: 'system/inMyWork',
needsModule: 'system/needsModule',
})
} }
}; };
</script> </script>

@ -257,7 +257,7 @@ export default{
}, },
mounted() { mounted() {
this.$refs.clientName.focus() this.$refs.clientName.focus()
const parentId = '285,287,5,26,38,289' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,38,289'
const cards = { const cards = {
302: 'nomCallDepositCard', 302: 'nomCallDepositCard',
392: 'nomCallDepositCard2', 392: 'nomCallDepositCard2',
@ -279,7 +279,7 @@ export default{
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const parentId = '285,287,5,26,38,289' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,38,289'
const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard') const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard')
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2') const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2')
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword')

@ -213,7 +213,7 @@ export default{
}, },
methods: { methods: {
getFormData(){ getFormData(){
const parentId = '285,287,5,26,38,288' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,38,288'
const cards = { const cards = {
291: 'nomCallDepositOpen2', 291: 'nomCallDepositOpen2',
297: 'nomCallDepositOpen3', 297: 'nomCallDepositOpen3',
@ -234,7 +234,7 @@ export default{
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const parentId = '285,287,5,26,38,288' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,38,288'
const nomCallDepositOpen2 = sessionStorage.getItem('nomCallDepositOpen2') const nomCallDepositOpen2 = sessionStorage.getItem('nomCallDepositOpen2')
const nomCallDepositOpen3 = sessionStorage.getItem('nomCallDepositOpen3') const nomCallDepositOpen3 = sessionStorage.getItem('nomCallDepositOpen3')
const nomCallDepositOpenPassword = sessionStorage.getItem('nomCallDepositOpenPassword') const nomCallDepositOpenPassword = sessionStorage.getItem('nomCallDepositOpenPassword')

@ -1,6 +1,6 @@
/* 个人业务>活期业务>销户 */ /* 个人业务>活期业务>销户 */
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -39,8 +39,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn" >提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn" >提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { vercustomer } from '@/utils/verify.js' import { vercustomer } from '@/utils/verify.js'
@ -61,7 +60,9 @@ export default{
data(){ data(){
return{ return{
visible: false, visible: false,
needBefore: false, unNeed: false,
isNeedBefore: '',
needBefore: '',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
@ -112,32 +113,38 @@ export default{
}, },
created() { created() {
// //
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(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
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,67'
const cardArr = {
// 113: 'nomCurrentCancellCard1',
// 116: 'nomCurrentCancellCard2',
// 117: 'nomCurrentCancellPassword'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.drawPassword) {
sessionStorage.setItem('nomCurrentCancellPassword', this.form.drawPassword)
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
mounted() { mounted() {
const parentId = '285,287,5,26,57,67'
const cardArr = {
// 113: 'nomCurrentCancellCard1',
// 116: 'nomCurrentCancellCard2',
// 117: 'nomCurrentCancellPassword'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.drawPassword) {
sessionStorage.setItem('nomCurrentCancellPassword', this.form.drawPassword)
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}, },
methods: { methods: {
// //
@ -173,7 +180,7 @@ export default{
// const passwords = [ // const passwords = [
// { 117: nomCurrentCancellPasswords } // { 117: nomCurrentCancellPasswords }
// ] // ]
const parentId = '285,287,5,26,57,67' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,67'
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
}, this.$refs)); }, this.$refs));

@ -1,6 +1,6 @@
/* 个人业务>活期业务>存款 */ /* 个人业务>活期业务>存款 */
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -45,8 +45,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="false" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="false" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> // currentAccount/deposit <script> // currentAccount/deposit
@ -68,6 +67,8 @@ export default{
data(){ data(){
return{ return{
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
@ -113,7 +114,6 @@ export default{
mounted() { mounted() {
if(!this.needBefore) { if(!this.needBefore) {
this.getFormData() this.getFormData()
this.$refs.userName.focus()
} }
}, },
@ -121,15 +121,19 @@ export default{
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
methods: { methods: {
getFormData(){ getFormData(){
let param= { let param= {
parentId: '285,287,5,26,57,63' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,63'
} }
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
if(data.status == 200) { if(data.status == 200) {
@ -187,7 +191,7 @@ export default{
{"answerId":'83',"emptyOne": "15", "emptyTwo": this.form.annualInterest, "operationIds": "285,287,5,26,57,63,83", "type": "3"},// {"answerId":'83',"emptyOne": "15", "emptyTwo": this.form.annualInterest, "operationIds": "285,287,5,26,57,63,83", "type": "3"},//
); );
let params= { let params= {
parentId:'285,287,5,26,57,63', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,63',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,

@ -1,6 +1,6 @@
/* 个人业务>活期业务>开户 */ /* 个人业务>活期业务>开户 */
<template> <template>
<div v-if="!needBefore"> <div v-if="!isNeedBefore">
<div class="body"> <div class="body">
<div> <div>
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
@ -107,13 +107,19 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<div class="idCard" @click="popUpTwo('刷卡器')"> <div v-if='!cardNumberJudge2' class="idCard" @click="popUpTwo('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else>
<el-input ref="cardNumber2" :value="form.cardNumber2" disabled @input="(val) => inputListen(val, form, 'cardNumber2')"></el-input>
</div>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码" required>
<div class="idCard" @click="popUpsTwo('密码器')"> <div v-if='!form.drawPassword2' class="idCard" @click="popUpsTwo('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div>
<div v-else @click="popUpsTwo('密码器')">
<el-input :value="form.drawPassword2" ref="drawPassword2" type="password"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -148,13 +154,19 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<div class="idCard" @click="popUpThree('刷卡器')"> <div v-if='!cardNumberJudge3' class="idCard" @click="popUpThree('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else>
<el-input ref="cardNumber3" :value="form.cardNumber3" disabled @input="(val) => inputListen(val, form, 'cardNumber3')"></el-input>
</div>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码" required>
<div class="idCard" @click="popUpsThree('密码器')"> <div v-if='!form.drawPassword3' class="idCard" @click="popUpsThree('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div>
<div v-else @click="popUpsThree('密码器')">
<el-input :value="form.drawPassword3" ref="drawPassword3" type="password"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -189,10 +201,7 @@
</el-dialog> --> </el-dialog> -->
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
<h4>请先完成上一个步骤</h4>
<!-- <el-empty description="请先完成上一个步骤"></el-empty> -->
</need-before>
</template> </template>
<script> // currentAccount/openAccount <script> // currentAccount/openAccount
import {getSubjectInfo,addOperation,getOperation} from "@/api/http.js"; import {getSubjectInfo,addOperation,getOperation} from "@/api/http.js";
@ -205,11 +214,23 @@ const moduleName = 'currentAccount/openAccount'
export default { export default {
data(){ data(){
return{ return{
passwordTag: '',
cardNumberTag: '',
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
cardNumberJudge2: false,
cardNumberJudge3: false,
form:{ form:{
cardNumber: '', // cardNumber: '', //
cardNumber2: '', //
cardNumber3: '', //
drawPassword: '', // drawPassword: '', //
drawPassword2: '', // 2
drawPassword3: '', // 3
userNumber: '', // userNumber: '', //
currency: 'CNY人民币', // currency: 'CNY人民币', //
userName: '', // userName: '', //
@ -229,6 +250,8 @@ export default {
}, },
formName:{ formName:{
cardNumber: '卡号', // cardNumber: '卡号', //
cardNumber2: '卡号二', //
cardNumber3: '卡号三', //
drawPassword: '支取密码', // drawPassword: '支取密码', //
userNumber: '客户号', // userNumber: '客户号', //
currency: '币种', // currency: '币种', //
@ -308,12 +331,14 @@ export default {
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
this.form.userNumber = this.dataFlow.peopleNumber }else {
this.form.userName = this.dataFlow.userName this.isNeedBefore = true
}else { this.needBefore = this.needsModule(moduleName)
this.needBefore = this.needsModule(moduleName) }
} }else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
mounted(){ mounted(){
@ -336,7 +361,7 @@ export default {
}, },
getOperationData(){ getOperationData(){
let param= { let param= {
parentId: '285,287,5,26,57,62' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,62'
} }
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
if(data.status == 200) { if(data.status == 200) {
@ -379,7 +404,7 @@ export default {
}, },
getFormData(){ getFormData(){
let param= { let param= {
parentId: '285,287,5,25,33' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,25,33'
} }
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
if(data.status == 200) { if(data.status == 200) {
@ -400,7 +425,7 @@ export default {
}), }),
getOperationWindowsData(){ getOperationWindowsData(){
let param= { let param= {
parentId: '285,287,5,26,57,62,75' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,62,75'
} }
let dataList = []; let dataList = [];
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
@ -551,12 +576,12 @@ export default {
let accountPassword = sessionStorage.getItem('accountPassword') let accountPassword = sessionStorage.getItem('accountPassword')
let accountPasswordTwo = sessionStorage.getItem('accountPasswordTwo') let accountPasswordTwo = sessionStorage.getItem('accountPasswordTwo')
let accountPasswordThree = sessionStorage.getItem('accountPasswordThree') let accountPasswordThree = sessionStorage.getItem('accountPasswordThree')
let paymentCode = accountPassword; let drawPassword = accountPassword;
let paymentCodeTwo = accountPasswordTwo; let drawPasswordTwo = accountPasswordTwo;
let paymentCodeThree = accountPasswordThree; let drawPasswordThree = accountPasswordThree;
formLists.push({"answerId":75,"emptyOne": "", "emptyTwo": this.form.cardNumber, "operationIds": "285,287,5,26,57,62,75","type": "3"}) formLists.push({"answerId":75,"emptyOne": "", "emptyTwo": this.form.cardNumber, "operationIds": "285,287,5,26,57,62,75","type": "3"})
let param= { let param= {
parentId: '285,287,5,26,57,62,75', parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,62,75',
lcJudgmentRuleReq: formLists, lcJudgmentRuleReq: formLists,
projectId: +projectId, projectId: +projectId,
startTime: startTime, startTime: startTime,
@ -566,14 +591,14 @@ export default {
}).catch((error)=>{ }).catch((error)=>{
}) })
formList.push( formList.push(
{"answerId":'77',"emptyOne": "17", "emptyTwo": paymentCode, "operationIds": "285,287,5,26,57,62,77", "type": "3"},// {"answerId":'77',"emptyOne": "17", "emptyTwo": drawPassword, "operationIds": "285,287,5,26,57,62,77", "type": "3"},//
) )
if(this.formTwo == true && (this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo)){ if(this.formTwo == true && (this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo)){
if (this.form.accountTypesTwo){formList.push({"answerId":'272',"emptyOne": "12", "emptyTwo": this.form.accountTypesTwo,"operationIds": "285,287,5,26,57,62,272","type": "1"})}//2 if (this.form.accountTypesTwo){formList.push({"answerId":'272',"emptyOne": "12", "emptyTwo": this.form.accountTypesTwo,"operationIds": "285,287,5,26,57,62,272","type": "1"})}//2
if (this.form.drawWaysTwo){formList.push({"answerId":'274',"emptyOne": "13", "emptyTwo": this.form.drawWaysTwo,"operationIds": "285,287,5,26,57,62,274","type": "1"})} //2 if (this.form.drawWaysTwo){formList.push({"answerId":'274',"emptyOne": "13", "emptyTwo": this.form.drawWaysTwo,"operationIds": "285,287,5,26,57,62,274","type": "1"})} //2
if (this.form.voucherTypesTwo){formList.push({"answerId":'271',"emptyOne": "11", "emptyTwo": this.form.voucherTypesTwo,"operationIds": "285,287,5,26,57,62,271","type": "1"})} //2 if (this.form.voucherTypesTwo){formList.push({"answerId":'271',"emptyOne": "11", "emptyTwo": this.form.voucherTypesTwo,"operationIds": "285,287,5,26,57,62,271","type": "1"})} //2
formList.push( formList.push(
{"answerId":'275',"emptyOne": "17", "emptyTwo": paymentCodeTwo, "operationIds": "285,287,5,26,57,62,275", "type": "3"},// {"answerId":'275',"emptyOne": "17", "emptyTwo": drawPasswordTwo, "operationIds": "285,287,5,26,57,62,275", "type": "3"},//
) )
for (var i=0;i<voucherNumberTwo.length;i++){ for (var i=0;i<voucherNumberTwo.length;i++){
formLists.push({"answerId":voucherNumberTwo[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,62,273,"+voucherNumberTwo[i].id,"type": ""}) formLists.push({"answerId":voucherNumberTwo[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,62,273,"+voucherNumberTwo[i].id,"type": ""})
@ -586,7 +611,7 @@ export default {
if (this.form.drawWaysThree){formList.push({"answerId":'280',"emptyOne": "13", "emptyTwo": this.form.drawWaysThree, "operationIds": "285,287,5,26,57,62,280","type": "1"})}//3 if (this.form.drawWaysThree){formList.push({"answerId":'280',"emptyOne": "13", "emptyTwo": this.form.drawWaysThree, "operationIds": "285,287,5,26,57,62,280","type": "1"})}//3
if (this.form.voucherTypesThree){formList.push({"answerId":'277',"emptyOne": "11", "emptyTwo": this.form.voucherTypesThree, "operationIds": "285,287,5,26,57,62,277","type": "1"})}//3 if (this.form.voucherTypesThree){formList.push({"answerId":'277',"emptyOne": "11", "emptyTwo": this.form.voucherTypesThree, "operationIds": "285,287,5,26,57,62,277","type": "1"})}//3
formList.push( formList.push(
{"answerId":'281',"emptyOne": "17", "emptyTwo": paymentCodeThree, "operationIds": "285,287,5,26,57,62,281", "type": "3"},// {"answerId":'281',"emptyOne": "17", "emptyTwo": drawPasswordThree, "operationIds": "285,287,5,26,57,62,281", "type": "3"},//
) )
for (var i=0;i<voucherNumberThree.length;i++){ for (var i=0;i<voucherNumberThree.length;i++){
formLists.push({"answerId":voucherNumberThree[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,62,279,"+voucherNumberThree[i].id,"type": ""}) formLists.push({"answerId":voucherNumberThree[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,62,279,"+voucherNumberThree[i].id,"type": ""})
@ -608,7 +633,7 @@ export default {
// {"answerId":'75',"emptyOne": "12", "emptyTwo": this.form.cardNumber, "operationIds": "285,287,5,26,57,62,75","type": "3"}, // {"answerId":'75',"emptyOne": "12", "emptyTwo": this.form.cardNumber, "operationIds": "285,287,5,26,57,62,75","type": "3"},
) )
let params= { let params= {
parentId:'285,287,5,26,57,62', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,62',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -644,21 +669,27 @@ export default {
}); });
}, },
popUp(){ popUp(){
this.cardNumberTag = 1
this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62,1'}) this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62,1'})
}, },
popUps(){ popUps(){
this.passwordTag = 1
this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62,1'}) this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62,1'})
}, },
popUpTwo(){ popUpTwo(){
this.cardNumberTag = 2
this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62,2'}) this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62,2'})
}, },
popUpsTwo(){ popUpsTwo(){
this.passwordTag = 2
this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62,2'}) this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62,2'})
}, },
popUpThree(){ popUpThree(){
this.cardNumberTag = 3
this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62,3'}) this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62,3'})
}, },
popUpsThree(){ popUpsThree(){
this.passwordTag = 3
this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62,3'}) this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62,3'})
}, },
checkName: checkName, checkName: checkName,
@ -678,13 +709,29 @@ export default {
watch: { watch: {
dataFlowCard(newVal) { dataFlowCard(newVal) {
const { voucherNumber } = this.dataFlow const { voucherNumber } = this.dataFlow
this.form.cardNumber = voucherNumber
this.cardNumberJudge = true if(this.cardNumberTag === 1) {
this.form.cardNumber = voucherNumber
this.cardNumberJudge = true
}else if(this.cardNumberTag === 2) {
this.form.cardNumber2 = voucherNumber
this.cardNumberJudge2 = true
}else if(this.cardNumberTag === 3) {
this.form.cardNumber3 = voucherNumber
this.cardNumberJudge3 = true
}
}, },
dataFlowPassword(newVal) { dataFlowPassword(newVal) {
if(this.passwordTag === 1) {
const accountPassword = sessionStorage.getItem('accountPassword') const accountPassword = sessionStorage.getItem('accountPassword')
this.form.drawPassword = accountPassword this.form.drawPassword = accountPassword
}else if(this.passwordTag === 2) {
let accountPasswordTwo = sessionStorage.getItem('accountPasswordTwo')
this.form.drawPassword2 = accountPasswordTwo
}else if(this.passwordTag === 3) {
let accountPasswordThree = sessionStorage.getItem('accountPasswordThree')
this.form.drawPassword3 = accountPasswordThree
}
} }
} }
}; };

@ -1,6 +1,6 @@
/* 个人业务>活期业务>结清 */ /* 个人业务>活期业务>结清 */
<template> <template>
<div class="body" v-if="!needBefore" > <div class="body" v-if="!isNeedBefore" >
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -60,8 +60,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
@ -175,31 +174,36 @@ export default{
created() { created() {
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,66'
const cardArr = {
// 103: 'nomCurrentSettleCard',
// 111: 'nomCurrentSettlePassword'
}
const callback = () => {
if(this.form.cardNumber) {
this.cardNumberJudge = true
this.setDataFlow({ voucherNumber: this.form.cardNumber })
}
if(this.form.userName) {
this.setDataFlow({ userName: this.form.userName })
}
if(this.form.drawPassword) {
sessionStorage.setItem('nomCurrentSettlePassword', this.form.drawPassword)
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
mounted() { mounted() {
const parentId = '285,287,5,26,57,66'
const cardArr = {
// 103: 'nomCurrentSettleCard',
// 111: 'nomCurrentSettlePassword'
}
const callback = () => {
if(this.form.cardNumber) {
this.cardNumberJudge = true
this.setDataFlow({ voucherNumber: this.form.cardNumber })
}
if(this.form.userName) {
this.setDataFlow({ userName: this.form.userName })
}
if(this.form.drawPassword) {
sessionStorage.setItem('nomCurrentSettlePassword', this.form.drawPassword)
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({
@ -231,7 +235,7 @@ export default{
// "subjectId": 17, // "subjectId": 17,
// } // }
] ]
const parentId = '285,287,5,26,57,66' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,66'
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
const { cardNumber, userName } = this.form const { cardNumber, userName } = this.form

@ -1,6 +1,6 @@
/* 个人业务>活期业务>转账 */ /* 个人业务>活期业务>转账 */
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -55,8 +55,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
@ -76,6 +75,8 @@ export default{
data(){ data(){
return{ return{
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
@ -181,7 +182,7 @@ export default{
created() { created() {
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
const parentId = '285,287,5,26,57,65' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,65'
const cardArr = { const cardArr = {
// 94: 'nomCurrentTransferCard', // 94: 'nomCurrentTransferCard',
// 99: 'nomCurrentTransferPassword' // 99: 'nomCurrentTransferPassword'
@ -196,8 +197,12 @@ export default{
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
mounted() { mounted() {
@ -233,7 +238,7 @@ export default{
// "subjectId": 17, // "subjectId": 17,
// } // }
] ]
const parentId = '285,287,5,26,57,65' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,65'
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.setDataFlow({ ...this.form }) this.setDataFlow({ ...this.form })
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)

@ -1,6 +1,6 @@
/* 个人业务>活期业务>取款 */ /* 个人业务>活期业务>取款 */
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :rules="rules" :model="form" label-width="120px"> <el-form ref="form" :rules="rules" :model="form" label-width="120px">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -59,8 +59,7 @@
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
@ -84,15 +83,23 @@ export default{
created() { created() {
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
this.getFormData()
this.$refs.userName.focus();
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
data(){ data(){
return{ return{
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
@ -144,10 +151,6 @@ export default{
} }
}, },
mounted() { mounted() {
if(!this.needBefore) {
this.getFormData()
this.$refs.userName.focus();
}
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({
@ -157,7 +160,7 @@ export default{
}), }),
getFormData(){ getFormData(){
let param= { let param= {
parentId: '285,287,5,26,57,64' parentId: this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,64'
} }
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
if(data.status == 200) { if(data.status == 200) {
@ -217,7 +220,7 @@ export default{
// {"answerId":91,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,64,91","type": ""}// // {"answerId":91,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,64,91","type": ""}//
) )
let params= { let params= {
parentId:'285,287,5,26,57,64', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,57,64',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,

@ -1,6 +1,6 @@
// > // >
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -81,8 +81,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js'; import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js';
@ -102,6 +101,8 @@ export default{
data(){ data(){
return{ return{
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
@ -269,14 +270,19 @@ export default{
created() { created() {
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
this.getFormData()
this.$refs.customerName.focus()
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
mounted() { mounted() {
this.getFormData()
this.$refs.customerName.focus()
}, },
methods: { methods: {
// (CNY) // (CNY)
@ -294,7 +300,7 @@ export default{
} }
}, },
getFormData(){ getFormData(){
const parentId = '285,287,5,26,58,119' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,58,119'
const cards = { const cards = {
// 131: 'nomtimeDeposit1', // 131: 'nomtimeDeposit1',
// 140: 'nomtimeDepositlPassword' // 140: 'nomtimeDepositlPassword'
@ -325,7 +331,7 @@ export default{
submitForm2() { submitForm2() {
// let nomtimeDeposit1 = sessionStorage.getItem('nomtimeDeposit1') // let nomtimeDeposit1 = sessionStorage.getItem('nomtimeDeposit1')
// let nomtimeDepositlPassword = sessionStorage.getItem('nomtimeDepositlPassword') // let nomtimeDepositlPassword = sessionStorage.getItem('nomtimeDepositlPassword')
const parentId = '285,287,5,26,58,119' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,58,119'
const cards = [ const cards = [
// { // {
// 131: nomtimeDeposit1 // 131: nomtimeDeposit1

@ -1,6 +1,6 @@
// > // >
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -71,8 +71,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js'; import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js';
@ -92,6 +91,8 @@ export default{
data(){ data(){
return{ return{
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
@ -215,14 +216,18 @@ export default{
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
this.form.clientNumber = this.dataFlow.peopleNumber this.form.clientNumber = this.dataFlow.peopleNumber
this.getFormData() this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.unNeed = true
} }
}
}, },
mounted() { mounted() {
@ -237,7 +242,7 @@ export default{
}, },
getFormData(){ getFormData(){
const parentId = '285,287,5,26,58,118' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,58,118'
const cards = { const cards = {
// 13: 'nomtimeOpenAccount1', // 13: 'nomtimeOpenAccount1',
// // 128: 'nomtimeOpenAccount2', // // 128: 'nomtimeOpenAccount2',
@ -292,7 +297,7 @@ export default{
// "subjectId": 17, // "subjectId": 17,
// } // }
] ]
const parentId = '285,287,5,26,58,118' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,58,118'
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
}, },

@ -1,6 +1,6 @@
// > // >
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -65,8 +65,7 @@
<el-button @click="submitIt" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitIt" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, rateListen, inputListen } from '@/utils/utilFunction.js'; import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, rateListen, inputListen } from '@/utils/utilFunction.js';
@ -84,19 +83,26 @@ export default{
MyDialog MyDialog
}, },
created() { created() {
console.log('---wha??????????')
console.log(moduleName)
console.log(this.needsModule(moduleName))
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
this.getFormData()
// this.$nextTick(() => {
// this.$refs.depositNumber.focus()
// })
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
data(){ data(){
return{ return{
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
@ -215,11 +221,6 @@ export default{
} }
}, },
mounted() { mounted() {
this.getFormData()
this.$nextTick(() => {
this.$refs.depositNumber.focus()
})
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({
@ -229,21 +230,10 @@ export default{
}), }),
getDataBlur() { getDataBlur() {
// 0912 // 0912
if(this.form.voucherNumber) {
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, withdrawWay } = this.dataFlow
console.log(interest)
this.form.customerName = userName
this.form.currencyType = currency
this.form.currencyMark = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
this.form.withdrawWay = withdrawWay
}
}, },
getFormData(){ getFormData(){
const parentId = '285,287,5,26,58,120' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,58,120'
const cards = { const cards = {
// 144: 'nomtimeDepositWithdrawal1', // 144: 'nomtimeDepositWithdrawal1',
// 154: 'nomtimeDepositWithdrawalPassword' // 154: 'nomtimeDepositWithdrawalPassword'
@ -271,7 +261,7 @@ export default{
submitForm2() { submitForm2() {
// let nomtimeDepositWithdrawal1 = sessionStorage.getItem('nomtimeDepositWithdrawal1') // let nomtimeDepositWithdrawal1 = sessionStorage.getItem('nomtimeDepositWithdrawal1')
// let nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword') // let nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
const parentId = '285,287,5,26,58,120' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,58,120'
const cards = [ const cards = [
// { // {
// 144: nomtimeDepositWithdrawal1 // 144: nomtimeDepositWithdrawal1
@ -303,10 +293,17 @@ export default{
}, },
watch: { watch: {
dataFlowCard(newVal) { dataFlowCard(newVal) {
this.cardNumberJudge = true this.cardNumberJudge = true
this.$nextTick(() => { const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, withdrawWay, voucherNumber } = this.dataFlow
this.$refs.voucherNumber.focus() this.form.voucherNumber = voucherNumber
}) this.form.customerName = userName
this.form.currencyType = currency
this.form.currencyMark = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
this.form.withdrawWay = withdrawWay
}, },
dataFlowPassword(newVal) { dataFlowPassword(newVal) {
const nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword') const nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')

@ -1,6 +1,6 @@
// //
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -94,8 +94,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="false" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="false" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
@ -117,8 +116,12 @@ export default{
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
this.getFormData() this.getFormData()
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
data(){ data(){
@ -126,6 +129,8 @@ export default{
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
form:{ form:{
// //
@ -271,7 +276,7 @@ export default{
setNeedsModule: 'system/setNeedsModule' setNeedsModule: 'system/setNeedsModule'
}), }),
getFormData(){ getFormData(){
const parentId = '285,287,5,26,59,157' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,59,157'
const cards = { const cards = {
// 180: 'nomUsefulPhrasesClosed', // 180: 'nomUsefulPhrasesClosed',
// 181: 'nomUsefulPhrasesClosed2', // 181: 'nomUsefulPhrasesClosed2',
@ -303,7 +308,7 @@ export default{
}, this.$refs)); }, this.$refs));
}, },
submitForm2() { submitForm2() {
const parentId = '285,287,5,26,59,157' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,59,157'
const nomUsefulPhrasesClosed = sessionStorage.getItem('nomUsefulPhrasesClosed') const nomUsefulPhrasesClosed = sessionStorage.getItem('nomUsefulPhrasesClosed')
const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2') const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2')
const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')

@ -1,6 +1,6 @@
// //
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -54,8 +54,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="false" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="false" />
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
@ -75,14 +74,21 @@ export default{
created() { created() {
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
this.getFormData()
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
data(){ data(){
return{ return{
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
form:{ form:{
@ -173,9 +179,6 @@ export default{
} }
}, },
mounted() { mounted() {
this.getFormData()
this.$refs.customerName.focus()
}, },
methods: { methods: {
@ -188,7 +191,7 @@ export default{
}, },
getFormData(){ getFormData(){
const parentId = '285,287,5,26,59,156' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,59,156'
const cards = { const cards = {
// 171: 'nomUsefulPhrasesContinueCard', // 171: 'nomUsefulPhrasesContinueCard',
// 178: 'nomUsefulPhrasesContinuePassword' // 178: 'nomUsefulPhrasesContinuePassword'
@ -218,7 +221,7 @@ export default{
submitForm2() { submitForm2() {
let nomUsefulPhrasesContinueCard = sessionStorage.getItem('nomUsefulPhrasesContinueCard') let nomUsefulPhrasesContinueCard = sessionStorage.getItem('nomUsefulPhrasesContinueCard')
let nomUsefulPhrasesContinuePassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword') let nomUsefulPhrasesContinuePassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
const parentId = '285,287,5,26,59,156' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,59,156'
const cards = [ const cards = [
// { // {
// 171: nomUsefulPhrasesContinueCard, // 171: nomUsefulPhrasesContinueCard,

@ -1,6 +1,6 @@
// //
<template> <template>
<div class="body" v-if="!needBefore"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
@ -77,8 +77,7 @@
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div> </div>
<need-before v-else :moduleName='needBefore'> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</need-before>
</template> </template>
<script> <script>
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js'; import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js';
@ -98,15 +97,24 @@ export default{
created() { created() {
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
this.getFormData()
// this.$refs.clientNumber.focus()
}else { }else {
this.needBefore = this.needsModule(moduleName) this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
}, },
data(){ data(){
return{ return{
visible: false, visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '', needBefore: '',
cardNumberJudge: false, cardNumberJudge: false,
idNumberJudge: false, idNumberJudge: false,
@ -255,10 +263,8 @@ export default{
}, },
} }
}, },
async mounted() { mounted() {
await this.getFormData()
this.$refs.clientNumber.focus()
}, },
methods: { methods: {
// userName, // userName,
@ -284,7 +290,7 @@ export default{
this.$store.commit('system/changePop',{show:true,text, id: 167}) this.$store.commit('system/changePop',{show:true,text, id: 167})
}, },
getFormData(){ getFormData(){
const parentId = '285,287,5,26,59,155' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,59,155'
const cards = { const cards = {
// 1399: 'nomUsefulPhrasesOpenCard2', // 1399: 'nomUsefulPhrasesOpenCard2',
// 166: 'nomUsefulPhrasesOpenCard', // 166: 'nomUsefulPhrasesOpenCard',
@ -316,7 +322,7 @@ export default{
let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard') let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard')
let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2') let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2')
let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
const parentId = '285,287,5,26,59,155' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,59,155'
const cards = [ const cards = [
// { // {
// 1399: nomUsefulPhrasesOpenCard2 // 1399: nomUsefulPhrasesOpenCard2

@ -131,7 +131,7 @@ export default{
} }
}, },
mounted() { mounted() {
const parentId = '285,287,5,28,316' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,316'
const cards = { const cards = {
320: 'servicesPasswordChange', 320: 'servicesPasswordChange',
323: 'servicesPasswordChange2' 323: 'servicesPasswordChange2'
@ -153,7 +153,7 @@ export default{
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
const parentId = '285,287,5,28,316' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,316'
const cards = [ const cards = [
{ // // { // //
320: servicesPasswordChange 320: servicesPasswordChange

@ -105,7 +105,7 @@ export default{
} }
}, },
mounted() { mounted() {
const parentId = '285,287,5,28,328' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,328'
const cards = { const cards = {
329: 'servicesPasswordLost', 329: 'servicesPasswordLost',
333: 'servicesPasswordLost2' 333: 'servicesPasswordLost2'
@ -127,7 +127,7 @@ export default{
let servicesPasswordLost2 = sessionStorage.getItem('servicesPasswordLost2') let servicesPasswordLost2 = sessionStorage.getItem('servicesPasswordLost2')
this.visible = true; this.visible = true;
const parentId = '285,287,5,28,328' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,328'
const cards = [ const cards = [
{ // // { // //
329: servicesPasswordLost 329: servicesPasswordLost

@ -128,7 +128,7 @@ export default{
let servicesPasswordRelievePassword = sessionStorage.getItem('servicesPasswordRelievePassword') let servicesPasswordRelievePassword = sessionStorage.getItem('servicesPasswordRelievePassword')
this.visible = true; this.visible = true;
const parentId = '285,287,5,28,336' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,336'
const cards = [ const cards = [
{ // // { // //
341: servicesPasswordRelieveLost 341: servicesPasswordRelieveLost
@ -148,7 +148,7 @@ export default{
checkName: checkName checkName: checkName
}, },
mounted() { mounted() {
const parentId = '285,287,5,28,336' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,336'
const cards = { const cards = {
341: 'servicesPasswordRelieveLost', 341: 'servicesPasswordRelieveLost',
337: 'servicesPasswordRelieveLost2', 337: 'servicesPasswordRelieveLost2',

@ -96,6 +96,7 @@ const myInitState = {
needs: [] needs: []
}, },
'项目一': { '项目一': {
id: 489,
data: [15, 13, 23, 14], data: [15, 13, 23, 14],
needs: [16, 17], needs: [16, 17],
isStamp: { isStamp: {
@ -119,6 +120,7 @@ const myInitState = {
}, },
'项目二': { '项目二': {
id: 490,
data: [16, 13, 23, 426], data: [16, 13, 23, 426],
needs: [427, 425, 15], needs: [427, 425, 15],
isStamp: { isStamp: {
@ -687,6 +689,7 @@ export default {
needs: [] needs: []
}, },
'项目一': { '项目一': {
id: 489,
data: [15, 13, 23, 14], data: [15, 13, 23, 14],
needs: [16, 17], needs: [16, 17],
isStamp: { isStamp: {
@ -734,6 +737,7 @@ export default {
} }
}, },
'项目二': { '项目二': {
id: 490,
data: [16, 13, 23, 426], data: [16, 13, 23, 426],
needs: [427, 425, 15], needs: [427, 425, 15],
isStamp: { isStamp: {
@ -790,6 +794,7 @@ export default {
} }
}, },
'项目三': { '项目三': {
id: 491,
data: [15, 13, 23, 14], // 现金、身份证原件、复印件、开户申请书 data: [15, 13, 23, 14], // 现金、身份证原件、复印件、开户申请书
needs: [19], needs: [19],
isStamp: { isStamp: {
@ -827,6 +832,7 @@ export default {
} }
}, },
'项目四': { '项目四': {
id: 492,
data: [13, 23, 430], // 身份证原件、复印件、 430 data: [13, 23, 430], // 身份证原件、复印件、 430
needs: [429, 425, 17, 15 ], // 新定期存单 取款凭条 存款凭条 现金 needs: [429, 425, 17, 15 ], // 新定期存单 取款凭条 存款凭条 现金
isStamp: { isStamp: {
@ -872,6 +878,7 @@ export default {
} }
}, },
'项目五': { '项目五': {
id: 493,
data: [13, 23, 430], // 身份证原件、复印件、 430 data: [13, 23, 430], // 身份证原件、复印件、 430
needs: [429, 425, 17, 15 ], // 新定期存单 取款凭条 存款凭条 现金 needs: [429, 425, 17, 15 ], // 新定期存单 取款凭条 存款凭条 现金
isStamp: { isStamp: {
@ -915,6 +922,7 @@ export default {
} }
}, },
'项目六': { '项目六': {
id: 494,
data: [13, 23, 14, 15], // 身份证原件、复印件、 开户申请书、 现金 data: [13, 23, 14, 15], // 身份证原件、复印件、 开户申请书、 现金
needs: [ 16, 17 ], // 银行卡 存款凭条 needs: [ 16, 17 ], // 银行卡 存款凭条
isStamp: { // 还没加逻辑 isStamp: { // 还没加逻辑
@ -954,6 +962,7 @@ export default {
} }
}, },
'项目七': { '项目七': {
id: 495,
data: [ 16, 15 ], // 银行卡、 现金 data: [ 16, 15 ], // 银行卡、 现金
needs: [ 17 ], // 存款凭条 needs: [ 17 ], // 存款凭条
isStamp: { isStamp: {
@ -993,6 +1002,7 @@ export default {
} }
}, },
'项目八': { '项目八': {
id: 496,
data: [ 13, 23, 16 ], // 身份证原件 复印件 银行卡 data: [ 13, 23, 16 ], // 身份证原件 复印件 银行卡
needs: [ 425, 427 ], // 存款凭条 利息清单 needs: [ 425, 427 ], // 存款凭条 利息清单
isStamp: { isStamp: {
@ -1036,6 +1046,7 @@ export default {
} }
}, },
'项目九': { '项目九': {
id: '',
data: [ 15, 13, 23, 14 ], // 现金、身份证原件、复印件、开户申请书 data: [ 15, 13, 23, 14 ], // 现金、身份证原件、复印件、开户申请书
needs: [ 19, 17 ], // 定期存单 存款凭条 needs: [ 19, 17 ], // 定期存单 存款凭条
isStamp: { isStamp: {
@ -1058,6 +1069,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十': { '项目十': {
id: '',
data: [ 13, 23, 19 ], // 身份证原件、复印件、定期存单 data: [ 13, 23, 19 ], // 身份证原件、复印件、定期存单
needs: [ 425, 427, 15 ], // 多了取款凭条、利息清单 现金 needs: [ 425, 427, 15 ], // 多了取款凭条、利息清单 现金
isStamp: { isStamp: {
@ -1080,6 +1092,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十一': { '项目十一': {
id: '',
data: [ 442, 431, 432, 434, 435, 436, 437 ], data: [ 442, 431, 432, 434, 435, 436, 437 ],
needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡 needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡
isStamp: { isStamp: {
@ -1102,6 +1115,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十二': { '项目十二': {
id: '',
data: [ 442, 431, 409, 15 ], // 15是现金 data: [ 442, 431, 409, 15 ], // 15是现金
needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡 needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡
isStamp: { isStamp: {
@ -1122,6 +1136,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十三': { '项目十三': {
id: '',
data: [ 442, 411 ], data: [ 442, 411 ],
needs: [ 425, 15 ], needs: [ 425, 15 ],
isStamp: { isStamp: {
@ -1142,6 +1157,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十四': { '项目十四': {
id: '',
data: [ 442, 412 ], data: [ 442, 412 ],
needs: [ 426 ], needs: [ 426 ],
isStamp: { isStamp: {
@ -1162,6 +1178,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十五': { '项目十五': {
id: '',
data: [ 13, 23, 16, 407 ], // 身份证原件、复印件、银行卡、特殊业务申请书 data: [ 13, 23, 16, 407 ], // 身份证原件、复印件、银行卡、特殊业务申请书
needs: [ ], needs: [ ],
isStamp: { isStamp: {
@ -1182,6 +1199,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十六': { '项目十六': {
id: '',
data: [ 13, 23, 16, 406 ], // 身份证原件、复印件、银行卡、密码挂失申请书 data: [ 13, 23, 16, 406 ], // 身份证原件、复印件、银行卡、密码挂失申请书
needs: [ ], needs: [ ],
isStamp: { isStamp: {
@ -1202,6 +1220,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十七': { '项目十七': {
id: '',
data: [ 13, 23, 16, 468, 467 ], // 身份证原件、复印件、银行卡、密码挂失申请书回单、密码挂失申请书银行留存联 data: [ 13, 23, 16, 468, 467 ], // 身份证原件、复印件、银行卡、密码挂失申请书回单、密码挂失申请书银行留存联
needs: [ ], needs: [ ],
isStamp: { isStamp: {
@ -1223,6 +1242,7 @@ export default {
}, },
'项目十八': { '项目十八': {
id: '',
data: [ 13, 23, 15, 413 ], // 身份证原件、复印件、现金、支票领购单 data: [ 13, 23, 15, 413 ], // 身份证原件、复印件、现金、支票领购单
needs: [ 411, 479 ], needs: [ 411, 479 ],
isStamp: { isStamp: {
@ -1244,6 +1264,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目十九': { '项目十九': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1264,6 +1285,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目二十': { '项目二十': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1284,6 +1306,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目二十一': { '项目二十一': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1304,6 +1327,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目二十二': { '项目二十二': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1324,6 +1348,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目二十三': { '项目二十三': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1344,6 +1369,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目二十四': { '项目二十四': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1364,6 +1390,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目二十五': { '项目二十五': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1384,6 +1411,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目二十六': { '项目二十六': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1404,6 +1432,7 @@ export default {
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
}, },
'项目二十七': { '项目二十七': {
id: '',
data: [ ], // data: [ ], //
needs: [ 438 ], needs: [ 438 ],
isStamp: { isStamp: {
@ -1459,6 +1488,9 @@ export default {
], ],
}, },
mutations: { mutations: {
// setHeadId(state, id) {
// state.businessSelect[state.businessKey].id = id + ','
// },
setNeedsModule(state, name) { setNeedsModule(state, name) {
state.businessSelect[state.businessKey].needsModule[name] = true state.businessSelect[state.businessKey].needsModule[name] = true
}, },
@ -1694,7 +1726,7 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let formList = [ {"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,8,"+stampSuccess,"type": ""} ] let formList = [ {"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,8,"+stampSuccess,"type": ""} ]
let params= { let params= {
parentId:'285,287,8', parentId:this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,8',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1809,6 +1841,9 @@ export default {
}, },
getters: { getters: {
businessId(state) {
return state.businessSelect[state.businessKey].id + ','
},
// 刷卡器卡号 // 刷卡器卡号
idCardNumber(state) { idCardNumber(state) {
return '213224896' return '213224896'

Loading…
Cancel
Save