20240205
luoJunYong.123 3 years ago
parent 484150f6dd
commit 3628b87a7b
  1. 11
      package-lock.json
  2. 1
      package.json
  3. BIN
      src/assets/img/others/iceDun.jpg
  4. 30
      src/components/case/index.vue
  5. 155
      src/components/tipDialog/index.vue
  6. 3
      src/main.js
  7. 218
      src/pages/counter/list/index.vue
  8. 12
      src/pages/lobbyManager/list/index.vue
  9. 9
      src/pages/manage/list/ImportantCash/controlCash2/cashOut.vue
  10. 9
      src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue
  11. 3
      src/pages/manage/list/ImportantCash/controlCash3/index.vue
  12. 11
      src/pages/manage/list/client/consumerClient.vue
  13. 11
      src/pages/manage/list/client/corporateClient.vue
  14. 11
      src/pages/manage/list/dayEnd/branchDayEnd.vue
  15. 10
      src/pages/manage/list/dayEnd/tellerCash.vue
  16. 10
      src/pages/manage/list/dayEnd/tellerCertificate.vue
  17. 9
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  18. 9
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  19. 39
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  20. 14
      src/pages/manage/list/personal/currentAccount/deposit.vue
  21. 49
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  22. 7
      src/pages/manage/list/personal/currentAccount/settle.vue
  23. 7
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  24. 9
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  25. 7
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  26. 9
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  27. 7
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  28. 9
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  29. 7
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  30. 9
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  31. 11
      src/pages/manage/list/servicesAccount/passwordChange.vue
  32. 7
      src/pages/manage/list/servicesAccount/passwordLost.vue
  33. 11
      src/pages/manage/list/servicesAccount/relieveLost.vue
  34. 6
      src/store/modules/system.js

11
package-lock.json generated

@ -9,6 +9,7 @@
"version": "4.2.0", "version": "4.2.0",
"dependencies": { "dependencies": {
"@tailwindcss/postcss7-compat": "^2.2.7", "@tailwindcss/postcss7-compat": "^2.2.7",
"animate.css": "^4.1.1",
"autoprefixer": "^9.8.6", "autoprefixer": "^9.8.6",
"axios": "^0.18.1", "axios": "^0.18.1",
"babel-polyfill": "^6.26.0", "babel-polyfill": "^6.26.0",
@ -2435,6 +2436,11 @@
"node": ">=0.4.2" "node": ">=0.4.2"
} }
}, },
"node_modules/animate.css": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/animate.css/-/animate.css-4.1.1.tgz",
"integrity": "sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ=="
},
"node_modules/ansi-colors": { "node_modules/ansi-colors": {
"version": "3.2.4", "version": "3.2.4",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",
@ -19654,6 +19660,11 @@
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
"integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU="
}, },
"animate.css": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/animate.css/-/animate.css-4.1.1.tgz",
"integrity": "sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ=="
},
"ansi-colors": { "ansi-colors": {
"version": "3.2.4", "version": "3.2.4",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",

@ -9,6 +9,7 @@
}, },
"dependencies": { "dependencies": {
"@tailwindcss/postcss7-compat": "^2.2.7", "@tailwindcss/postcss7-compat": "^2.2.7",
"animate.css": "^4.1.1",
"autoprefixer": "^9.8.6", "autoprefixer": "^9.8.6",
"axios": "^0.18.1", "axios": "^0.18.1",
"babel-polyfill": "^6.26.0", "babel-polyfill": "^6.26.0",

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

@ -95,7 +95,7 @@
<div class="break-all" v-html="projectManage.experimentDescription"></div> <div class="break-all" v-html="projectManage.experimentDescription"></div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="实验要求" name="second"> <el-tab-pane label="实验要求" name="second">
<el-collapse v-model="activeNames" accordion> <el-collapse v-model="activeNames" accordion >
<el-collapse-item v-for="(item,index) in requires" :key="index" :name="item.id"> <el-collapse-item v-for="(item,index) in requires" :key="index" :name="item.id">
<template slot="title" style='line-height: 0px;font-size: 16px'> <template slot="title" style='line-height: 0px;font-size: 16px'>
<i class='el-icon-s-ticket'></i> <i class='el-icon-s-ticket'></i>
@ -103,6 +103,7 @@
</template> </template>
<div class="break-all" v-html="item.experimentalRequirements"></div> <div class="break-all" v-html="item.experimentalRequirements"></div>
</el-collapse-item> </el-collapse-item>
<p ref="scrollTag"></p>
</el-collapse> </el-collapse>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="实验提示" name="fifth" v-if="hintOpen == 0"> <el-tab-pane label="实验提示" name="fifth" v-if="hintOpen == 0">
@ -238,6 +239,11 @@ export default {
} }
} }
}, },
caseVisible(newVal) {
if(!newVal) {
console.log(this.$refs.scrollTag)
}
}
}, },
props: { props: {
sendSync: { sendSync: {
@ -316,17 +322,17 @@ export default {
...mapMutations({ ...mapMutations({
initState: 'system/initState' initState: 'system/initState'
}), }),
getQueryVariable(name) { getQueryVariable(name) {
var reg = new RegExp('(^|&)'+name+'=([^&]*)(&|$)') var reg = new RegExp('(^|&)'+name+'=([^&]*)(&|$)')
if(window.location.href.split('?')[1]){ if(window.location.href.split('?')[1]){
var r = window.location.href.split('?')[1].match(reg) var r = window.location.href.split('?')[1].match(reg)
if (r != null){ if (r != null){
return (r[2]) return (r[2])
}else{ }else{
return null return null
} }
} }
}, },
// //
getData(){ getData(){
let params = { let params = {

@ -0,0 +1,155 @@
<template>
<el-dialog :visible="tipsOperate? true: false" width="400px" :close-on-click-modal="false" :modal="false" :close-on-press-escape="false" :show-close="false" custom-class="data-dia">
<div slot="title" class="dia-header">
<div class="data-title">小提示</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="hide">
</div>
<div class="result">
<div style='width: 60px;height: 60px;margin: auto' >
<img src="@/assets/img/finish.png" alt="" v-if="showText.includes('成功')">
<img src="@/assets/img/others/iceDun.jpg" alt="" v-else>
</div>
<h6>{{ showText }}</h6>
</div>
</el-dialog>
</template>
<script>
import { mapState, mapMutations } from "vuex";
export default {
data() {
return {
takeResultVisible: false,
showText: '',
timeOut: null
}
},
computed: {
...mapState("system", [
"tipsOperate"
])
},
methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
hide() {
this.setTipsOperate('')
}
},
watch: {
tipsOperate(newVal) {
if(newVal) {
this.showText = newVal
setTimeout(() => {
this.setTipsOperate('')
}, 1000)
}else {
// this.setTipsOperate('')
}
}
}
}
</script>
<style lang='scss' scoped>
/deep/.data-dia{
// width:80%;
width: 800px;
min-width:400px;
margin: auto;
.take-list{
width: 600px;
margin: 0 auto;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
li{
display: inline-flex;
align-items: center;
width: 250px;
height: 120px;
border: 4px solid #DBDBDB;
border-radius: 20px;
cursor: pointer;
background-color: rgba(216,216,216,0.10);
&:first-child{
margin: 0 0px 30px 0;
}
&:last-child{
//margin-left: 30px;
}
img{
margin-left: 10px;
width: 30%;
}
p{
font-size: 18px;
color: #000;
text-align: center;
font-weight: bold;
padding: 0 15px;
}
&.checked{
background: rgba(97,145,255,0.10) url(../../assets/svg/checked.svg) 96% 7%/auto no-repeat;
border-color: #6191FF;
}
}
}
.result{
margin: 30px 0 20px;
text-align: center;
img{
width: 136px;
}
h6{
margin: 30px 0 10px;
font-size: 30px;
color: #000;
}
.text{
font-size: 22px;
color: #797979;
}
}
.list {
max-height: 30vh;
overflow: auto;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
&>li {
width: 140px;
height: 140px;
margin: 10px 0;
// common.js
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
overflow: hidden;
padding: 10px;
// &>img {
// width: 100%;
// //max-width: 90%;
// }
&>.el-image {
width: 100%;
max-height: 80px;
overflow: hidden;
img {
//transform: translateY(-35%);
// width: 100%;
}
}
p{
font-size: 14px;
line-height: 40px;
}
}
}
}
</style>

@ -18,6 +18,7 @@ import VueLazyload from 'vue-lazyload';
import plugins from '@/plugins'; import plugins from '@/plugins';
import filters from '@/plugins/filters' import filters from '@/plugins/filters'
import axios from 'axios' import axios from 'axios'
import animated from 'animate.css'
Vue.prototype.$axios = axios Vue.prototype.$axios = axios
@ -44,6 +45,8 @@ Vue.directive('throttle', {/* 节流 */
Vue.use(plugins); Vue.use(plugins);
Vue.use(animated)
Vue.use(VueLazyload, { Vue.use(VueLazyload, {
preLoad: 1.3, preLoad: 1.3,
// loading: require('@/assets/img/loading4.gif'), // loading: require('@/assets/img/loading4.gif'),

@ -115,11 +115,14 @@
</div> </div>
<!-- 硬件交互--弹框 --> <!-- 硬件交互--弹框 -->
<div v-show="showPop" width="900px" class="data-dia" ref="dataDia" v-drag> <div v-show="showPop" width="900px" class="data-dia" ref="dataDia" v-drag>
<div class="dia-header"> <div class="dia-header">
<div class="data-title">{{ popText }}</div> <div class="data-title">{{ popText }}</div>
<img class="close" v-lazy="lazyImg[28]" alt="" @click="closePop" /> <img class="close" v-lazy="lazyImg[28]" alt="" @click="closePop" />
</div> </div>
<p v-if="popText=='密码器'" class="tips"></p> <p v-if="popText=='密码器'" class="tips"></p>
<p v-else-if="popText=='重要空白凭证箱'||popText=='普通凭证箱'" class="tips">- 请从以下物品中选取所需材料 -</p> <p v-else-if="popText=='重要空白凭证箱'||popText=='普通凭证箱'" class="tips">- 请从以下物品中选取所需材料 -</p>
<p v-else class="tips">- 请从物品栏选中或拖拽所需材料 -</p> <p v-else class="tips">- 请从物品栏选中或拖拽所需材料 -</p>
@ -186,12 +189,15 @@
<p class="text">{{item.name}}</p> <p class="text">{{item.name}}</p>
</div> </div>
</div> </div>
<div v-else-if="popText==='刷卡器'" class="list" ref="popUp">
<div v-else-if="popText==='刷卡器'" ref="popUp" class="list">
<div class="img-wrap" v-for="(item, index) in receptionList" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(index)' :key="item.id"> <div class="img-wrap" v-for="(item, index) in receptionList" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(index)' :key="item.id">
<img :src="item.src" class="file" alt="" /> <img :src="item.src" class="file" alt="" />
<p class="text">{{item.name}}</p> <p class="text">{{item.name}}</p>
</div> </div>
</div> </div>
<!-- 客户签字 --> <!-- 客户签字 -->
<div v-else-if="popText==='客户签字'" class="list" ref="popUp"> <div v-else-if="popText==='客户签字'" class="list" ref="popUp">
@ -215,17 +221,24 @@
<p class="text">{{item.name }}</p> <p class="text">{{item.name }}</p>
</div> </div>
</div> </div>
<div class="dia-footer"> <div class="dia-footer">
<button v-throttle @click="popSure" type="button">确定</button> <button v-throttle @click="popSure" type="button">确定</button>
</div> </div>
</div> </div>
<!-- 蒙版 --> <!-- 蒙版 -->
<div v-show="showPop" class="masking"></div> <div v-show="showPop" class="masking"></div>
<!-- 商业银行系统的全屏功能实现 --> <!-- 商业银行系统的全屏功能实现 v-if="manageVisible" -->
<div :class="full ? 'fullScreenSystem' : 'system'" class="systemconfig" v-if="manageVisible"> <div :class="full ? 'fullScreenSystem' : 'system'" class="systemconfig">
<router-view></router-view> <transition name='systemComputer' enter-active-class="animate__animated animate__bounceInDown" leave-active-class="animate__animated animate__bounceOutDown">
<router-view></router-view>
</transition>
</div> </div>
<el-dialog <el-dialog
custom-class="data-dia" custom-class="data-dia"
@ -265,6 +278,8 @@
</div> </div>
</el-dialog> </el-dialog>
<tip-dialog />
@ -291,12 +306,14 @@ import { addOperation, getOperation } from '@/api/http';
import backButton from '@/components/backButton' import backButton from '@/components/backButton'
import { myConfig } from './myConfig.js' import { myConfig } from './myConfig.js'
import saveSystemModule from '@/mixins/saveSystemModule' import saveSystemModule from '@/mixins/saveSystemModule'
import TipDialog from '@/components/tipDialog'
export default { export default {
name: 'index', name: 'index',
components: { components: {
manage: manage, manage: manage,
backButton backButton,
TipDialog
}, },
mixins: [saveSystemModule], mixins: [saveSystemModule],
data() { data() {
@ -1071,7 +1088,6 @@ export default {
// } // }
}, },
created() { created() {
if(!sessionStorage.getItem('firstLoad')) { if(!sessionStorage.getItem('firstLoad')) {
const loading = this.$loading({ const loading = this.$loading({
lock: true, lock: true,
@ -1242,6 +1258,7 @@ export default {
outThings: 'system/outThings', outThings: 'system/outThings',
outThings2: 'system/outThings2', outThings2: 'system/outThings2',
outThingsGoods: 'system/outThingsGoods', outThingsGoods: 'system/outThingsGoods',
setTipsOperate: 'system/setTipsOperate'
}), }),
changePeopleJudge() { changePeopleJudge() {
this.peopleJudge = true; this.peopleJudge = true;
@ -1508,29 +1525,36 @@ export default {
if(this.popText === '身份证扫描仪' || this.popText === '刷卡器' || this.popText === '密码器') { if(this.popText === '身份证扫描仪' || this.popText === '刷卡器' || this.popText === '密码器') {
if (this.$store.state.system.id == '33' && this.popText === '身份证扫描仪'){ if (this.$store.state.system.id == '33' && this.popText === '身份证扫描仪'){
this.nbm = 33 this.nbm = 33
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList))
} }
console.log(sessionStorage.getItem('nomClientIdentity')) this.showManage()
}else if (this.$store.state.system.id == '34' && this.popText === '身份证扫描仪' ){ }else if (this.$store.state.system.id == '34' && this.popText === '身份证扫描仪' ){
this.nbm = 34 this.nbm = 34
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '63' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '63' && this.popText === '刷卡器'){
this.nbm = 63 this.nbm = 63
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '64' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '64' && this.popText === '刷卡器'){
this.nbm = 64 this.nbm = 64
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '64,2' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '64,2' && this.popText === '密码器'){
this.nbm = 64 this.nbm = 64
@ -1539,60 +1563,70 @@ export default {
accountPassword = this.passwordForm.passwordAgain accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword)
} }
this.showManage()
}else if (this.$store.state.system.id == '65' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '65' && this.popText === '刷卡器'){
this.nbm = 65 this.nbm = 65
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList))
} }
this.showManage()
// if (this.passwordForm.passwordAgain){ // if (this.passwordForm.passwordAgain){
// let accountPassword = ''; // let accountPassword = '';
// accountPassword = this.passwordForm.passwordAgain // accountPassword = this.passwordForm.passwordAgain
// sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) // sessionStorage.setItem('nomCurrentTransferPassword', accountPassword)
// } // }
}else if (this.$store.state.system.id == '66' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '66' && this.popText === '刷卡器'){
this.nbm = 66 this.nbm = 66
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList))
} }
this.showManage()
// if (this.passwordForm.passwordAgain){ // if (this.passwordForm.passwordAgain){
// let accountPassword = ''; // let accountPassword = '';
// accountPassword = this.passwordForm.passwordAgain // accountPassword = this.passwordForm.passwordAgain
// sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) // sessionStorage.setItem('nomCurrentSettlePassword', accountPassword)
// } // }
}else if (this.$store.state.system.id == '66,2' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '66,2' && this.popText === '密码器'){
this.nbm = 66 this.nbm = 66
if (this.passwordForm.passwordAgain){ if (this.passwordForm.passwordAgain){
let accountPassword = ''; let accountPassword = '';
accountPassword = this.passwordForm.passwordAgain accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) sessionStorage.setItem('nomCurrentSettlePassword', accountPassword)
} }
this.showManage()
}else if (this.$store.state.system.id == '67,1' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '67,1' && this.popText === '刷卡器'){
this.nbm = 67 this.nbm = 67
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '67,2' && this.popText === '身份证扫描仪'){ }else if (this.$store.state.system.id == '67,2' && this.popText === '身份证扫描仪'){
this.nbm = 67 this.nbm = 67
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '33'){ }else if (this.$store.state.system.id == '33'){
this.nbm = 33 this.nbm = 33
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '34'){ }else if (this.$store.state.system.id == '34'){
this.nbm = 34 this.nbm = 34
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id]
const { nbm, name, isPassword, machine } = myConfig[this.$store.state.system.id] const { nbm, name, isPassword, machine } = myConfig[this.$store.state.system.id]
@ -1608,7 +1642,7 @@ export default {
sessionStorage.setItem(name, accountPassword) sessionStorage.setItem(name, accountPassword)
} }
} }
this.showManage()
}else if (this.$store.state.system.id == '67,3'){ }else if (this.$store.state.system.id == '67,3'){
this.nbm = 67 this.nbm = 67
@ -1617,11 +1651,13 @@ export default {
accountPassword = this.passwordForm.passwordAgain accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) sessionStorage.setItem('nomCurrentCancellPassword', accountPassword)
} }
this.showManage()
}else if (this.$store.state.system.id == '62,1' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '62,1' && this.popText === '刷卡器'){
this.nbm = 62 this.nbm = 62
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '62,1' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '62,1' && this.popText === '密码器'){
this.nbm = 62 this.nbm = 62
if (this.passwordForm.passwordAgain){ if (this.passwordForm.passwordAgain){
@ -1629,6 +1665,7 @@ export default {
accountPassword = this.passwordForm.passwordAgain accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('accountPassword', accountPassword) sessionStorage.setItem('accountPassword', accountPassword)
} }
this.showManage()
}else if (this.$store.state.system.id == '62,2' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '62,2' && this.popText === '刷卡器'){
this.nbm = 62 this.nbm = 62
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
@ -1636,6 +1673,7 @@ export default {
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){
this.nbm = 62 this.nbm = 62
if (this.passwordForm.passwordAgain){ if (this.passwordForm.passwordAgain){
@ -1643,12 +1681,14 @@ export default {
accountPasswordTwo = this.passwordForm.passwordAgain accountPasswordTwo = this.passwordForm.passwordAgain
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo)
} }
this.showManage()
}else if (this.$store.state.system.id == '62,3' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '62,3' && this.popText === '刷卡器'){
this.nbm = 62 this.nbm = 62
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList))
} }
this.showManage()
}else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){
this.nbm = 62 this.nbm = 62
if (this.passwordForm.passwordAgain){ if (this.passwordForm.passwordAgain){
@ -1656,6 +1696,7 @@ export default {
accountPasswordThree = this.passwordForm.passwordAgain accountPasswordThree = this.passwordForm.passwordAgain
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) sessionStorage.setItem('accountPasswordThree', accountPasswordThree)
} }
this.showManage()
} }
@ -1671,7 +1712,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('成功刷银行卡!')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.popText === '身份证扫描仪'){ // }else if (this.popText === '身份证扫描仪'){ //
@ -1686,9 +1727,15 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('成功刷身份证!')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.popText === '密码器') {
this.setTipsOperate('输入密码成功!')
} }
// this.showGoods = false
this.changeShowGoods(false)
}else { }else {
let formList = [] let formList = []
// this.toggleGoods() // this.toggleGoods()
@ -1698,24 +1745,35 @@ export default {
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
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," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,12,"+this.goodState[i].id,"type": ""})}
let params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,12',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
console.log(this.goodState)
addOperation(params).then((data)=>{
}).catch((error)=>{
})
// //
if(this.peopleDo === 1) { if(this.peopleDo === 1) {
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,555,"+this.goodState[i].id,"type": ""})}
const tmpGoods = this.goodState.map(item => item.id) const tmpGoods = this.goodState.map(item => item.id)
this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]}) // this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]})
this.pushThingsGoods([...tmpGoods]) // this.pushThingsGoods([...tmpGoods])
let params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,555',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
this.setTipsOperate('签字成功!')
}).catch((error)=>{
})
}else {
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,556,"+this.goodState[i].id,"type": ""})}
let params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,556',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
this.setTipsOperate('返还资料成功!')
}).catch((error)=>{
})
} }
}else if (this.nbm == 1){ // }else if (this.nbm == 1){ //
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
@ -1728,7 +1786,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('成功入库')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 2){ // }else if (this.nbm == 2){ //
@ -1746,7 +1804,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('成功取货')
}).catch((error)=>{ }).catch((error)=>{
}) })
clickList = [] clickList = []
@ -1765,7 +1823,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('成功取货')
}).catch((error)=>{ }).catch((error)=>{
}) })
clickList = [] clickList = []
@ -1774,25 +1832,30 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let formList = []; let formList = [];
if(this.needBackMoney && this.goodState.length === 0) { if(this.needBackMoney && this.goodState.length === 0) {
// if(this.goodState.length === 0) {
let params= { let params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1', parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1',
lcJudgmentRuleReq: [ lcJudgmentRuleReq: [
{ {
"answerId":15, "answerId":15,
"emptyOne": "", "emptyOne": "",
"emptyTwo": "", "emptyTwo": "",
"operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,1,"+15, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,1,"+15,
"type": "" "type": ""
} }
], ],
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
}
addOperation(params).then((data)=>{
this.setTipsOperate('钱箱的钱被你拿走啦!')
}).catch((error)=>{
})
}else {
this.setTipsOperate('你的钱还在钱箱里!')
} }
addOperation(params).then((data)=>{ //
}).catch((error)=>{
})
}else { }else {
for (var i=0;i<this.goodState.length;i++){ for (var i=0;i<this.goodState.length;i++){
if(this.goodState[i].id !== 15) { if(this.goodState[i].id !== 15) {
@ -1814,30 +1877,28 @@ export default {
} }
) )
} }
let params= { if(this.goodState.length > 0) {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1', let params= {
lcJudgmentRuleReq:formList, parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1',
projectId:+projectId, lcJudgmentRuleReq:formList,
startTime:startTime, projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
this.setTipsOperate('你的钱在钱箱里啦!')
}).catch((error)=>{
})
}else {
this.setTipsOperate('钱箱的钱还在你手里!')
} }
addOperation(params).then((data)=>{
}).catch((error)=>{
})
} }
}else if (this.nbm == 5){ // }else if (this.nbm == 5){ //
if(this.goodState.length === 0) { if(this.goodState.length === 0) {
this.$message({ this.setTipsOperate('请放入证件进行盖章!')
message: '请放入证件进行盖章!',
type: 'warning'
});
return return
} }
if(this.sealChecked.length === 0) { if(this.sealChecked.length === 0) {
this.$message({ this.setTipsOperate('请选择印章!')
message: '请选择印章!',
type: 'warning'
});
return return
} }
@ -1858,7 +1919,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('验钞成功!')
}).catch((error)=>{ }).catch((error)=>{
}) })
@ -1874,7 +1935,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('打印成功!')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if(this.nbm == 8){ // }else if(this.nbm == 8){ //
@ -1889,11 +1950,11 @@ export default {
if(this.passwordForm.password.length >=6 && this.passwordForm.passwordAgain.length >=6){ if(this.passwordForm.password.length >=6 && this.passwordForm.passwordAgain.length >=6){
if(this.passwordForm.password == this.passwordForm.passwordAgain) { if(this.passwordForm.password == this.passwordForm.passwordAgain) {
this.$store.commit('system/changePop', {show: false, text: ''}) this.$store.commit('system/changePop', {show: false, text: ''})
this.$message.success(`${this.popText}操作成功!`) this.setTipsOperate('成功输入密码!')
} }
} }
}else{ }else{
this.$message.error('请输入密码和确认密码'); this.setTipsOperate('您输入的密码和确认密码不一致!')
} }
}else if (this.nbm == 9){// }else if (this.nbm == 9){//
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
@ -1906,7 +1967,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('成功审核资料!')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 10){ // }else if (this.nbm == 10){ //
@ -1920,7 +1981,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('刷卡成功!')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 11){ // }else if (this.nbm == 11){ //
@ -1934,7 +1995,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.setTipsOperate('验证身份成功!')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else{ }else{
@ -1942,23 +2003,26 @@ export default {
} }
// //
if(this.nbm !== 4 && this.nbm!== 1 && this.nbm!== 5 && this.nbm!== 1 && this.nbm!== 0) { if(this.nbm !== 4 && this.nbm!== 1 && this.nbm!== 5 && this.nbm!== 1 && (this.nbm!== 0 && this.peopleDo === 1)) {
const tmpGoods = this.goodState.map(item => item.id) const tmpGoods = this.goodState.map(item => item.id)
this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]}) this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]})
this.pushThingsGoods([...tmpGoods]) this.pushThingsGoods([...tmpGoods])
} }
// this.$store.commit('system/changePop',{show:false,text:''}) // this.$store.commit('system/changePop',{show:false,text:''}) //
} }
// this.closePop() this.closePop()
// } // }
if(this.nbm !== 5) { if(this.nbm !== 5) {
// //
this.$store.commit('system/changePop', {show: false, text: ''}) this.$store.commit('system/changePop', {show: false, text: ''})
} }
this.$message({ // this.$message({
message: '提交成功', // message: '',
type: 'success' // type: 'success'
}); // });
}, },
toPart(){ toPart(){
this.$router.push('/index') this.$router.push('/index')

@ -161,7 +161,12 @@
<p class="tips">- 请单击选中复印材料双击可放大预览 -</p> <p class="tips">- 请单击选中复印材料双击可放大预览 -</p>
<ul class="list" style="justify-content: center"> <ul class="list" style="justify-content: center">
<li v-for="item in elImg2" :class="{checked: checkList.includes(item.key)}" @click="checkData(item.key)" :key="item.key"> <li v-for="item in elImg2" :class="{checked: checkList.includes(item.key)}" @click="checkData(item.key)" :key="item.key">
<img :src="item.img" :title="item.name" :alt="item.name"> <!-- <img :src="item.img" :title="item.name" :alt="item.name"> -->
<el-image
style="margin-top: -10"
:src="item.img"
:fit="elImgFit"
></el-image>
<p>{{ item.name }}</p> <p>{{ item.name }}</p>
</li> </li>
</ul> </ul>
@ -185,7 +190,7 @@
<!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> --> <!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image <el-image
style="margin-top: -10" style="margin-top: -10"
:src="elImg[1]" :src="elImg[0].img"
:fit="elImgFit" :fit="elImgFit"
></el-image> ></el-image>
<p>开户申请书</p> <p>开户申请书</p>
@ -250,7 +255,10 @@ export default {
{ img: require('@/assets/img/goods/cash-sm.png'), name: '境外汇款申请书', key: 415 }, { img: require('@/assets/img/goods/cash-sm.png'), name: '境外汇款申请书', key: 415 },
], ],
elImg2: [ elImg2: [
{ img: require('@/assets/img/goods/accountApplyBook.jpg'), name: '开户申请书', key: 405 },
{ img: require('@/assets/img/idCard-sm.png'), name: '身份证', key: 14 }, { img: require('@/assets/img/idCard-sm.png'), name: '身份证', key: 14 },
], ],
listLi1 : [ listLi1 : [
{checked: 1, click: 1, src: require('@/assets/img/goods/accountApplyBook.jpg'), title: '开户申请书'}, {checked: 1, click: 1, src: require('@/assets/img/goods/accountApplyBook.jpg'), title: '开户申请书'},

@ -145,14 +145,13 @@ export default {
} }
}, },
methods: { methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
submitClick() { submitClick() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
if(this.form.number <= 0) { if(this.form.number <= 0) {
this.$message({ this.setTipsOperate('您的起始号码卡号比结束号码卡号排序更后,请检查一下哈。')
message: '您的起始号码卡号比结束号码卡号排序更后,请检查一下哈。',
type: 'warning',
center: true
});
return return
} }
this.visible = true this.visible = true

@ -139,14 +139,13 @@ export default {
} }
}, },
methods: { methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
submitClick() { submitClick() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
if(this.form.number <= 0) { if(this.form.number <= 0) {
this.$message({ this.setTipsOperate('您的起始号码卡号比结束号码卡号排序更后,请检查一下哈。')
message: '您的起始号码卡号比结束号码卡号排序更后,请检查一下哈。',
type: 'warning',
center: true
});
return return
} }
this.visible = true this.visible = true

@ -211,6 +211,9 @@ export default {
this.$refs.username.focus() this.$refs.username.focus()
}, },
methods: { methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
onBlur() { onBlur() {
this.form.customerName = '小白' this.form.customerName = '小白'
}, },

@ -304,14 +304,15 @@ export default {
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
popUp(){// popUp(){//
// this.$store.commit('system/changePop',{show:true,text:'',id:'33'}) // this.$store.commit('system/changePop',{show:true,text:'',id:'33'})
// this.changeShowGoods(true) // this.changeShowGoods(true)
// this.$store.commit('system/changePop',{show: false, text: '', id:'33'}) // this.$store.commit('system/changePop',{show: false, text: '', id:'33'})
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('33') this.setPopId('33')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -388,11 +389,7 @@ export default {
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
this.setDataFlow({ ...this.form }) this.setDataFlow({ ...this.form })
}).catch((error)=>{ }).catch((error)=>{
this.$message({ this.setTipsOperate('服务器繁忙哦,提交失败。')
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
}) })
}, },

@ -203,7 +203,8 @@ export default {
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId', setPopId: 'system/setPopId',
setNeedsModule: 'system/setNeedsModule' setNeedsModule: 'system/setNeedsModule',
setTipsOperate: 'system/setTipsOperate'
}), }),
popUp(){// popUp(){//
// this.$store.commit('system/changePop',{show:true,text:'',id:'34'}) // this.$store.commit('system/changePop',{show:true,text:'',id:'34'})
@ -215,7 +216,7 @@ export default {
// } // }
// } // }
// this.setDataFlow({ ...tmpForm }) // this.setDataFlow({ ...tmpForm })
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('34') this.setPopId('34')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -280,11 +281,7 @@ export default {
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
this.setDataFlow({ userName: this.form.name }) this.setDataFlow({ userName: this.form.name })
}).catch((error)=>{ }).catch((error)=>{
this.$message({ this.setTipsOperate('服务器繁忙哦,提交失败。')
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
}) })
}else { }else {
this.$message.error('有必填项未填哦~'); this.$message.error('有必填项未填哦~');

@ -24,8 +24,8 @@
</template> </template>
<script> <script>
import { mapState } from 'vuex'
import { myValidate, checkHanzi } from '@/utils/utilFunction.js' import { myValidate, checkHanzi } from '@/utils/utilFunction.js'
import { mapState, mapMutations, mapGetters } from 'vuex'
export default { export default {
name: 'index', name: 'index',
components:{}, components:{},
@ -61,13 +61,12 @@ export default {
this.$refs.username.focus() this.$refs.username.focus()
}, },
methods: { methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
submitIt() { submitIt() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// this.setTipsOperate('验证成功')
this.$message({
message: '验证成功',
center: true
});
}, this.$refs)); }, this.$refs));
}, },
checkHanzi: checkHanzi checkHanzi: checkHanzi

@ -64,6 +64,7 @@
<script> <script>
import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig' import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig'
import { myValidate, checkHanzi } from '@/utils/utilFunction.js' import { myValidate, checkHanzi } from '@/utils/utilFunction.js'
import { mapState, mapMutations, mapGetters } from 'vuex'
export default { export default {
name: 'index', name: 'index',
components:{}, components:{},
@ -130,13 +131,12 @@ export default {
}, },
methods: { methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// this.setTipsOperate('验证成功')
this.$message({
message: '验证成功',
center: true
});
}, this.$refs)); }, this.$refs));
}, },
tableRowClassName: tableRowClassName, tableRowClassName: tableRowClassName,

@ -74,6 +74,7 @@
<script> <script>
import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig' import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig'
import { myValidate, checkHanzi } from '@/utils/utilFunction.js' import { myValidate, checkHanzi } from '@/utils/utilFunction.js'
import { mapState, mapMutations, mapGetters } from 'vuex'
export default { export default {
name: 'index', name: 'index',
components:{}, components:{},
@ -117,16 +118,15 @@ export default {
}, },
methods: { methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
inputListen(val, row) { inputListen(val, row) {
row.cashBoxNum = Number(val.replace(/\D+/, '')) row.cashBoxNum = Number(val.replace(/\D+/, ''))
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// this.setTipsOperate('验证成功')
this.$message({
message: '验证成功',
center: true
});
}, this.$refs)); }, this.$refs));
}, },
tableRowClassName: tableRowClassName, tableRowClassName: tableRowClassName,

@ -343,12 +343,13 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '302'}) // this.$store.commit('system/changePop',{show:true,text, id: '302'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('302') this.setPopId('302')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -356,7 +357,7 @@ export default{
popUp2(text) { popUp2(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '392'}) // this.$store.commit('system/changePop',{show:true,text, id: '392'})
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('392') this.setPopId('392')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -364,7 +365,7 @@ export default{
popUp3(text) { popUp3(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '394'}) // this.$store.commit('system/changePop',{show:true,text, id: '394'})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('394') this.setPopId('394')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -296,7 +296,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
getFormData(){ getFormData(){
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,288' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,288'
@ -319,19 +320,19 @@ export default{
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
}, },
popUp(text) { popUp(text) {
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('291') this.setPopId('291')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2(text) {
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('297') this.setPopId('297')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp3(text) { popUp3(text) {
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('301') this.setPopId('301')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -159,35 +159,12 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
submitForm(){ submitForm(){
if(!this.form.drawPassword) { if(!this.form.drawPassword) {
messagePassword() messagePassword()
// let projectId = sessionStorage.getItem('projectId')
// let startTime = sessionStorage.getItem('startTime')
// let formList = [
// {
// "answerId":'116',
// "emptyOne": "",
// "emptyTwo": "",
// "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,67,116,13",
// "type": ""
// }
// ]
// let params= {
// parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,67,116',
// lcJudgmentRuleReq:formList,
// projectId:+projectId,
// startTime:startTime,
// }
// addOperation(params).then((data)=>{
// this.$message({
// message: '',
// type: 'success'
// });
// }).catch((error)=>{
// })
return return
} }
if(!this.form.idNumber) { if(!this.form.idNumber) {
@ -197,12 +174,6 @@ export default{
this.visible = true this.visible = true
}, },
submitForm2() { submitForm2() {
// let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1')
// let nomCurrentCancellCard1s = JSON.parse(nomCurrentCancellCard1);
// let nomCurrentCancellCard2 = sessionStorage.getItem('nomCurrentCancellCard2')
// let nomCurrentCancellCard2s = JSON.parse(nomCurrentCancellCard2);
// let nomCurrentCancellPassword = sessionStorage.getItem('nomCurrentCancellPassword')
// let nomCurrentCancellPasswords = JSON.parse(nomCurrentCancellPassword);
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
const cards = [ const cards = [
@ -229,7 +200,7 @@ export default{
popUp1(text) { popUp1(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '67,1'}) // this.$store.commit('system/changePop',{show:true,text, id: '67,1'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('67,1') this.setPopId('67,1')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -237,7 +208,7 @@ export default{
popUp2(text) { popUp2(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '67,2'}) // this.$store.commit('system/changePop',{show:true,text, id: '67,2'})
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('67,2') this.setPopId('67,2')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -245,7 +216,7 @@ export default{
popUp3(text) { popUp3(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '117'}) // this.$store.commit('system/changePop',{show:true,text, id: '117'})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('117') this.setPopId('117')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -166,7 +166,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
// //
submitForm(){ submitForm(){
@ -215,20 +216,17 @@ export default{
// type: 'success' // type: 'success'
// }); // });
}).catch((error)=>{ }).catch((error)=>{
this.$message({ this.setTipsOperate('服务器繁忙哦,提交失败。')
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
}) })
}else { }else {
this.$message.error('有必填项未填哦~'); this.setTipsOperate('有必填项未填哦~')
} }
}, },
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text:'',id:'63'}) // this.$store.commit('system/changePop',{show:true,text:'',id:'63'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('63') this.setPopId('63')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -469,7 +469,8 @@ export default {
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
initData() { initData() {
@ -640,11 +641,7 @@ export default {
sessionStorage.setItem('openAccountCount', this.count) sessionStorage.setItem('openAccountCount', this.count)
if (this.count > 2){ if (this.count > 2){
this.count = 2 this.count = 2
this.$message({ this.setTipsOperate('最多只能添加三个!')
type: 'error',
message: '最多只能添加三个!',
center: true
});
} }
if(this.count == 1 || this.count == 2){ if(this.count == 1 || this.count == 2){
this.formTwo = true this.formTwo = true
@ -689,7 +686,7 @@ export default {
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && this.cardNumberJudge && this.form.drawPassword && judgeVisible2 && judgeVisible3) { if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && this.cardNumberJudge && this.form.drawPassword && judgeVisible2 && judgeVisible3) {
this.visible = true this.visible = true
}else { }else {
this.$message.error('有必填项未填哦~'); this.setTipsOperate('有必填项未填哦~');
} }
}, this.$refs)); }, this.$refs));
}, },
@ -765,7 +762,7 @@ export default {
// } // }
formList.push({"answerId":273,"emptyOne": "44", "emptyTwo": this.form.cardNumber2, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,273","type": ""}) formList.push({"answerId":273,"emptyOne": "44", "emptyTwo": this.form.cardNumber2, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,273","type": ""})
}else if(this.formTwo == true){ }else if(this.formTwo == true){
this.$message.error('有必填项未填哦~'); this.setTipsOperate('有必填项未填哦~');
} }
if(this.formThree == true && (this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)){ if(this.formThree == true && (this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)){
if (this.form.accountTypesThree){formList.push({"answerId":'278',"emptyOne": "12", "emptyTwo": this.form.accountTypesThree, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,278","type": "1"})}//3 if (this.form.accountTypesThree){formList.push({"answerId":'278',"emptyOne": "12", "emptyTwo": this.form.accountTypesThree, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,278","type": "1"})}//3
@ -779,7 +776,7 @@ export default {
// } // }
formList.push({"answerId":279,"emptyOne": "44", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,279","type": ""}) formList.push({"answerId":279,"emptyOne": "44", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,279","type": ""})
}else if(this.formThree == true){ }else if(this.formThree == true){
this.$message.error('有必填项未填哦~'); this.setTipsOperate('有必填项未填哦~');
} }
if (this.form.userNumber){formList.push({"answerId":'68',"emptyOne": "6", "emptyTwo": this.form.userNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,68","type": "3"})}// if (this.form.userNumber){formList.push({"answerId":'68',"emptyOne": "6", "emptyTwo": this.form.userNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,68","type": "3"})}//
if (this.form.accountQuality){formList.push({"answerId":'72',"emptyOne": "10", "emptyTwo": this.form.accountQuality, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,72","type": "1"})}//1 if (this.form.accountQuality){formList.push({"answerId":'72',"emptyOne": "10", "emptyTwo": this.form.accountQuality, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,72","type": "1"})}//1
@ -806,11 +803,7 @@ export default {
// type: 'success' // type: 'success'
// }); // });
}).catch((error)=>{ }).catch((error)=>{
this.$message({ this.setTipsOperate('服务器繁忙哦,提交失败。')
message: '服务器繁忙哦,提交失败。',
center: true,
type: 'info'
});
}) })
}, },
deleteSecond(){ deleteSecond(){
@ -825,23 +818,17 @@ export default {
if (this.count == 0){this.formTwo = false} if (this.count == 0){this.formTwo = false}
if (this.count == 1){this.formThree = false} if (this.count == 1){this.formThree = false}
// this.second.splice(index,1) // this.second.splice(index,1)
this.$message({ this.setTipsOperate('删除成功!')
type: 'success',
message: '删除成功!'
});
}).catch(() => { }).catch(() => {
this.$message({ this.setTipsOperate('已取消删除')
type: 'info',
message: '已取消删除'
});
}); });
}, },
popUp(){ popUp(){
// //
// this.$store.commit('system/changePop',{show:true,text:'',id:'62,1'}) // this.$store.commit('system/changePop',{show:true,text:'',id:'62,1'})
// this.cardNumberTag = 1 // this.cardNumberTag = 1
this.setTipsOperate('请刷银行卡')
this.$message.warning('请刷银行卡'); // this.$message.warning('');
this.setPopId('62,1') this.setPopId('62,1')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -849,8 +836,8 @@ export default {
popUps(){ popUps(){
// this.passwordTag = 1 // 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'})
this.setTipsOperate('请在密码器输入密码')
this.$message.warning('请在密码器输入密码'); // this.$message.warning('');
this.setPopId('62,1') this.setPopId('62,1')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -858,8 +845,8 @@ export default {
popUpTwo(){ popUpTwo(){
// this.cardNumberTag = 2 // 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'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡')
this.setPopId('62,2') this.setPopId('62,2')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -868,7 +855,7 @@ export default {
// this.passwordTag = 2 // 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'})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('62,2') this.setPopId('62,2')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -877,7 +864,7 @@ export default {
// this.cardNumberTag = 3 // 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'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('62,3') this.setPopId('62,3')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -886,7 +873,7 @@ export default {
// this.passwordTag = 3 // 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'})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('62,3') this.setPopId('62,3')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -226,7 +226,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
// //
submitForm(){ submitForm(){
@ -268,13 +269,13 @@ export default{
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: 66}) // this.$store.commit('system/changePop',{show:true,text, id: 66})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('66') this.setPopId('66')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2(text) {
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('66,2') this.setPopId('66,2')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -229,7 +229,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
// //
submitForm(){ submitForm(){
@ -269,7 +270,7 @@ export default{
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: 65}) // this.$store.commit('system/changePop',{show:true,text, id: 65})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('65') this.setPopId('65')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -277,7 +278,7 @@ export default{
popUp2(text) { popUp2(text) {
// this.$store.commit('system/changePop',{show:true,text, id: 99}) // this.$store.commit('system/changePop',{show:true,text, id: 99})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('99') this.setPopId('99')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -171,7 +171,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
getFormData(){ getFormData(){
let param= { let param= {
@ -267,17 +268,17 @@ export default{
}); });
}) })
}else{ }else{
this.$message.error('有必填项未填哦~'); this.setTipsOperate('有必填项未填哦~');
} }
}, },
popUp(text) { popUp(text) {
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('64') this.setPopId('64')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2(text) {
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('64,2') this.setPopId('64,2')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -298,7 +298,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
if(this.form.voucherNumber) { if(this.form.voucherNumber) {
@ -327,7 +328,7 @@ export default{
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '131'}) // this.$store.commit('system/changePop',{show:true,text, id: '131'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('131') this.setPopId('131')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -335,7 +336,7 @@ export default{
popUp2(text) { popUp2(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '140'}) // this.$store.commit('system/changePop',{show:true,text, id: '140'})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('140') this.setPopId('140')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -256,7 +256,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
@ -291,7 +292,7 @@ export default{
popUp1(text) { // popUp1(text) { //
// this.$store.commit('system/changePop',{show:true,text, id: '118,1'}) // this.$store.commit('system/changePop',{show:true,text, id: '118,1'})
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('118,1') this.setPopId('118,1')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -299,7 +300,7 @@ export default{
popUp2(text) { // popUp2(text) { //
// this.$store.commit('system/changePop',{show:true,text, id: '118,2'}) // this.$store.commit('system/changePop',{show:true,text, id: '118,2'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('118,2') this.setPopId('118,2')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -307,7 +308,7 @@ export default{
popUp3(text) { // popUp3(text) { //
// this.$store.commit('system/changePop',{show:true,text, id: '129'}) // this.$store.commit('system/changePop',{show:true,text, id: '129'})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('129') this.setPopId('129')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -283,7 +283,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
// 0912 // 0912
@ -358,7 +359,7 @@ export default{
}else { }else {
this.setPopId('144,1') this.setPopId('144,1')
} }
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
@ -372,7 +373,7 @@ export default{
}else { }else {
this.setPopId('154') this.setPopId('154')
} }
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -296,7 +296,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
getFormData(){ getFormData(){
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157'
@ -321,7 +322,7 @@ export default{
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '181'}) // this.$store.commit('system/changePop',{show:true,text, id: '181'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('181') this.setPopId('181')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -329,7 +330,7 @@ export default{
popUp2(text) { popUp2(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '192'}) // this.$store.commit('system/changePop',{show:true,text, id: '192'})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('192') this.setPopId('192')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -337,7 +338,7 @@ export default{
popUp3(text) { popUp3(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '180'}) // this.$store.commit('system/changePop',{show:true,text, id: '180'})
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('180') this.setPopId('180')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -195,7 +195,8 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
@ -218,7 +219,7 @@ export default{
}, },
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '171'}) // this.$store.commit('system/changePop',{show:true,text, id: '171'})
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('171') this.setPopId('171')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -226,7 +227,7 @@ export default{
popUp2(text) { popUp2(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '178'}) // this.$store.commit('system/changePop',{show:true,text, id: '178'})
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('178') this.setPopId('178')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -293,25 +293,26 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
console.log('???') console.log('???')
}, },
popUp1(text) { popUp1(text) {
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('1399') this.setPopId('1399')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2(text) {
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('166') this.setPopId('166')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp3(text) { popUp3(text) {
this.$message.warning('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('167') this.setPopId('167')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -214,28 +214,29 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
popUp() { popUp() {
this.$message.warning('在密码器输入原支付密码'); this.setTipsOperate('在密码器输入原支付密码');
this.setPopId('325') this.setPopId('325')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp3() { popUp3() {
this.$message.warning('在密码器输入新支付密码'); this.setTipsOperate('在密码器输入新支付密码');
this.setPopId('326') this.setPopId('326')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp1(text) { popUp1(text) {
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('320') this.setPopId('320')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2(text) {
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('323') this.setPopId('323')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -148,16 +148,17 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
popUp1(text) { popUp1(text) {
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('329') this.setPopId('329')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2(text) {
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('333') this.setPopId('333')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -133,17 +133,18 @@ export default{
changeShowGoods: 'system/changeShowGoods', changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow', setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId' setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}), }),
// popUp1(text) { // popUp1(text) {
// this.$message.warning(''); // this.setTipsOperate('');
// this.setPopId('329') // this.setPopId('329')
// sessionStorage.setItem('computerPath', this.$route.fullPath) // sessionStorage.setItem('computerPath', this.$route.fullPath)
// this.$router.push('/counter/list/') // this.$router.push('/counter/list/')
// }, // },
popUp1(text) { popUp1(text) {
this.$message.warning('请刷银行卡'); this.setTipsOperate('请刷银行卡');
this.setPopId('337') this.setPopId('337')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -151,7 +152,7 @@ export default{
// this.$store.commit('system/changePop',{show:true,text, id: '337'}) // this.$store.commit('system/changePop',{show:true,text, id: '337'})
}, },
popUp2(text) { popUp2(text) {
this.$message.warning('请刷身份证'); this.setTipsOperate('请刷身份证');
this.setPopId('341') this.setPopId('341')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
@ -159,7 +160,7 @@ export default{
// this.$store.commit('system/changePop',{show:true,text, id: '341'}) // this.$store.commit('system/changePop',{show:true,text, id: '341'})
}, },
popUp3(text) { popUp3(text) {
this.$message.warning('在输入支付密码'); this.setTipsOperate('在输入支付密码');
this.setPopId('343') this.setPopId('343')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')

@ -1130,6 +1130,7 @@ export default {
namespaced: true, namespaced: true,
state: {/* 管理柜台状态 */ state: {/* 管理柜台状态 */
popId: '', popId: '',
tipsOperate: '', // 提示
id: '', id: '',
showPop: false,// 弹框 showPop: false,// 弹框
popText:'', popText:'',
@ -2210,6 +2211,9 @@ export default {
], ],
}, },
mutations: { mutations: {
setTipsOperate(state, tipsOperate) {
state.tipsOperate = tipsOperate
},
startPlay(state) { startPlay(state) {
// 开始时调用,获取下拉框的东西。 // 开始时调用,获取下拉框的东西。
@ -2516,7 +2520,7 @@ export default {
} }
// 盖章会消失的删掉 // 盖章会消失的删掉
state.businessSelect[state.businessKey].sealBox.splice(0, 1) state.businessSelect[state.businessKey].sealBox.splice(0, 1)
console.log(formList) this.commit('system/setTipsOperate', '盖章成功!')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else { }else {

Loading…
Cancel
Save