20240205
luoJunYong.123 3 years ago
parent a3c1212620
commit 71c2166707
  1. BIN
      src/assets/img/goods/开户许可证复印件.png
  2. BIN
      src/assets/img/goods/营业执照复印件.png
  3. 32
      src/components/authDialog/index.vue
  4. 41
      src/components/case/index.vue
  5. 125
      src/components/dialog/index.vue
  6. 43
      src/components/diaog/index.vue
  7. 6
      src/components/selectBusiness/index.vue
  8. 223
      src/pages/counter/list/index.vue
  9. 51
      src/pages/manage/list/client/consumerClient.vue
  10. 2
      src/pages/manage/list/personal/currentAccount/deposit.vue
  11. 64
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  12. 723
      src/store/modules/system.js
  13. 0
      src/utils/myData.js
  14. 9
      src/utils/utilFunction.js
  15. 6013
      test.js

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

@ -0,0 +1,32 @@
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia">
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody" v-if="!authorization&&!success">
<h2>本业务需要授权</h2>
</div>
<div class="popBody" v-if="authorization&&!success">
<el-form ref="form2" :model="disForm" label-width="80px">
<el-form-item label="授权柜员">
<el-input disabled v-model="disForm.name"></el-input>
</el-form-item>
<el-form-item label="授权柜员">
<el-input type="password" disabled v-model="disForm.pass"></el-input>
</el-form-item>
</el-form>
</div>
<div class="popBody" v-if="success">
<h2>完成表单form</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="[visible = false,authorization=false,success=false]"> </el-button>
<el-button class="sure btn" type="primary" @click="popSure"> </el-button>
</div>
</el-dialog>

@ -32,7 +32,7 @@
</div> </div>
</div> </div>
<div> <div>
<el-button style="background: #202020;color: #d0d0d0;font-size:14px;" v-show="projectPermissions == 0" <el-button style="background: #202020;color: #d0d0d0;font-size:16px;" v-show="projectPermissions == 0"
@click="reload" :disabled="popContainer && (assessmentId!='' && assessmentId!='null' && assessmentId!=null)"> @click="reload" :disabled="popContainer && (assessmentId!='' && assessmentId!='null' && assessmentId!=null)">
重新开始 重新开始
</el-button> </el-button>
@ -72,12 +72,12 @@
<i <i
v-if="scope.row.right==true" v-if="scope.row.right==true"
class="el-icon-check" class="el-icon-check"
style="color:green;font-size:20px" style="color:green;font-size:16px"
></i> ></i>
<i <i
v-else-if="scope.row.right==false" v-else-if="scope.row.right==false"
class="el-icon-close" class="el-icon-close"
style="color:red;font-size:20px" style="color:red;font-size:16px"
></i> ></i>
</template> </template>
</el-table-column> </el-table-column>
@ -96,15 +96,13 @@
</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>
<div v-for="(item,index) in requires" :key="index"> <el-collapse-item v-for="(item,index) in requires" :key="index" :name="item.id">
<el-collapse-item :name="item.id"> <template slot="title" style='line-height: 0px;font-size: 16px'>
<template slot="title" style='line-height: 0px;font-size: 18px'>
<i class='el-icon-s-ticket'></i> <i class='el-icon-s-ticket'></i>
<span>{{ item.name }}</span> <span>{{ item.name }}</span>
</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>
</div>
</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">
@ -165,7 +163,7 @@ export default {
experimentSuggests: "", // experimentSuggests: "", //
judgmentPointsName: "", // judgmentPointsName: "", //
points: [], points: [],
activeNames: [], // activeNames: [],
tableData: [], tableData: [],
activeName: "first", activeName: "first",
schoolId: '', schoolId: '',
@ -269,7 +267,11 @@ export default {
}, },
minute: function() { minute: function() {
return this.num(this.minutes); return this.num(this.minutes);
} },
activeNames() {
//
return this.requires.map(item => item.id)
},
}, },
mounted() { mounted() {
let token = this.getQueryVariable('token') let token = this.getQueryVariable('token')
@ -780,6 +782,8 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
$togetherFontSize: 16px;
.popContainer { .popContainer {
position: absolute; position: absolute;
width:100%; /*宽度设置为100%,这样才能使隐藏背景层覆盖原页面*/ width:100%; /*宽度设置为100%,这样才能使隐藏背景层覆盖原页面*/
@ -823,10 +827,12 @@ export default {
} }
} }
.el-aside{ .el-aside{
font-size: $togetherFontSize;
color: #333; color: #333;
[class*=" el-icon-"],[class^="el-icon-"]{ [class*=" el-icon-"],[class^="el-icon-"]{
line-height: 40px; line-height: 40px;
font-size: 16px; font-size: 16px;
font-size: $togetherFontSize;
} }
} }
.el-main { .el-main {
@ -834,7 +840,7 @@ export default {
background-color: #fff; background-color: #fff;
color: #333; color: #333;
padding: 0; padding: 0;
font-size: 16px; font-size: $togetherFontSize;
margin: 0px 20px 10px 10px; margin: 0px 20px 10px 10px;
white-space: pre-wrap; white-space: pre-wrap;
background: #fff url(../../assets/img/case/bg.png) top right no-repeat; background: #fff url(../../assets/img/case/bg.png) top right no-repeat;
@ -903,19 +909,19 @@ export default {
.font_css { .font_css {
margin: 0 10px; margin: 0 10px;
text-indent: 2em; text-indent: 2em;
font-size: 14px; font-size: $togetherFontSize;
padding: 10px 0; padding: 10px 0;
} }
.countDownBox { .countDownBox {
font-size: 16px; font-size: $togetherFontSize;
margin: 0 10px; margin: 0 10px;
padding: 20px 0; padding: 20px 0;
} }
.timeSpan { .timeSpan {
color: #333333; color: #333333;
padding: 5px 15px; padding: 5px 15px;
font-size: 14px; font-size: $togetherFontSize;
background: #ffffff; background: #ffffff;
border-radius: 18px; border-radius: 18px;
margin: 0 5px; margin: 0 5px;
@ -924,7 +930,7 @@ export default {
.gradeSpan { .gradeSpan {
color: #878787; color: #878787;
padding: 10px; padding: 10px;
font-size: 14px; font-size: $togetherFontSize;
background: #e0e0e0; background: #e0e0e0;
border-radius: 6px; border-radius: 6px;
text-align: center; text-align: center;
@ -937,7 +943,7 @@ export default {
} }
.el-table{ .el-table{
font-size: 14px; font-size: $togetherFontSize;
color: #202020; color: #202020;
.el-table--striped .el-table__body tr.el-table__row--striped td { .el-table--striped .el-table__body tr.el-table__row--striped td {
background: #eef7ff; background: #eef7ff;
@ -948,6 +954,7 @@ export default {
thead{ thead{
color: #ffffff; color: #ffffff;
font-size: 10px; font-size: 10px;
font-size: $togetherFontSize;
th{ th{
padding: 5px 0; padding: 5px 0;
} }
@ -955,6 +962,7 @@ export default {
th > .cell{ th > .cell{
font-weight: 100; font-weight: 100;
font-size: 14px; font-size: 14px;
font-size: $togetherFontSize;
} }
th,tr{ th,tr{
background-color: #fff; background-color: #fff;
@ -964,6 +972,7 @@ export default {
thead{ thead{
color: #ffffff; color: #ffffff;
font-size: 10px; font-size: 10px;
font-size: $togetherFontSize;
th{ th{
padding: 5px 0; padding: 5px 0;
} }
@ -1004,6 +1013,7 @@ export default {
} }
.el-icon-arrow-right:before { .el-icon-arrow-right:before {
font-size: 12px; font-size: 12px;
font-size: $togetherFontSize;
padding: 1px; padding: 1px;
margin-left: 10px; margin-left: 10px;
background-color: $main-color; background-color: $main-color;
@ -1039,6 +1049,7 @@ export default {
} }
.break-all{ .break-all{
font-size: 14px; font-size: 14px;
font-size: $togetherFontSize;
word-break: break-all; word-break: break-all;
} }
.panel{ .panel{

@ -0,0 +1,125 @@
<template>
<el-dialog
style="margin-top:10vh"
:visible="visible"
:modal="false"
width="50%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia">
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody" v-if="flow === 1">
<h2>本业务需要授权</h2>
</div>
<div class="popBody" v-else-if="flow === 2">
<el-form ref="form2" :model="disForm" label-width="80px">
<el-form-item label="授权柜员">
<el-input disabled v-model="disForm.name"></el-input>
</el-form-item>
<el-form-item label="授权柜员">
<el-input type="password" disabled v-model="disForm.pass"></el-input>
</el-form-item>
</el-form>
</div>
<div class="popBody" v-else>
<el-row :gutter="20">
<el-form label-width="100px">
<el-col :span="10" :offset="1">
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'">
<div>{{ val? val: '未填写' }}</div>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item v-for="(val, key) in rightObj" :key="key" :label="key + ':'">
<div>{{ val? val: '未填写' }}</div>
</el-form-item>
</el-col>
</el-form>
</el-row>
</div>
<div class="popBtns">
<el-button class="close btn" @click="cancelIt"> </el-button>
<el-button class="sure btn" type="primary" @click="sureIt"> </el-button>
</div>
</el-dialog>
</template>
<script>
export default {
props: {
visible: {
type: Boolean,
default: false
},
showForm: {
type: Object,
default: () => ({})
}
},
created() {
console.log('this.showForm')
console.log(this.showForm)
console.log('kao?')
let num = 0;
for(const key in this.showForm) {
// if(key === 'birthday') {
// console.log(Date.format(this.showForm[key]))
// }
if(num%2 === 0) {
this.leftObj[key] = this.showForm[key]
}else {
this.rightObj[key] = this.showForm[key]
}
num++;
}
},
data() {
return {
flow: 1,
disForm:{
name:'002009',
pass:'123456'
},
leftObj: {},
rightObj: {}
}
},
methods: {
cancel() {
this.visible = false;
},
sureIt() {
console.log(this.flow)
if(this.flow === 1) {
this.flow = 2
}else if(this.flow === 2) {
this.flow = 3
}else {
//
//
this.$emit('submitIt')
this.cancelIt()
}
},
cancelIt() {
this.$emit('update:visible', false) // :visible.sync="visible"
}
},
computed: {
showItem() {
return (val, key) => {
return key + ': ' + val
}
}
}
}
</script>
<style lang="scss" scoped>
/deep/ .el-row {
width: 100%;
}
</style>

@ -1,43 +0,0 @@
<template>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2 v-if='dialogChange'>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</template>
<script>
export default {
props: {
text: String,
default: '本业务需要授权'
},
data() {
visible: false
},
methods: {
cancel() {
this.visible = false;
}
}
}
</script>
<style>
</style>

@ -1,7 +1,7 @@
<template> <template>
<el-dialog :visible.sync="showBusiness" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> <el-dialog :visible.sync="showBusiness" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia">
<div slot="title" class="dia-header2"> <div slot="title" class="dia-header2">
<div class="data-title2">请选择系统</div> <div class="data-title2">请选择业务</div>
<div class="close"><img v-lazy="closeImg" alt="" @click="showBusinessSelect(false)" /></div> <div class="close"><img v-lazy="closeImg" alt="" @click="showBusinessSelect(false)" /></div>
</div> </div>
<p class="tips2">请选择您要办理的业务</p> <p class="tips2">请选择您要办理的业务</p>
@ -297,7 +297,7 @@ export default {
// margin-left: 50px; // margin-left: 50px;
// } // }
img{ img{
width: 20%; width: 15%;
margin: 0; margin: 0;
//height: 154px; //height: 154px;
//margin: 0 45px; //margin: 0 45px;
@ -320,7 +320,7 @@ export default {
.dia-header2 { .dia-header2 {
position: relative;height: 50px; position: relative;height: 50px;
line-height: 50px; line-height: 50px;
background-color: skyblue; background-color: rgb(98, 149, 243) ;
.data-title2 { .data-title2 {
position: absolute; position: absolute;

@ -333,50 +333,58 @@ export default {
{name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15}, {name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15},
{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/khsqs.png'),id:141}, {name:'开户申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:24},
{name:'开户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:142}, {name:'开户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:21},
{name:'存款凭条凭证联',src:require('@/assets/img/goods/ckpt.png'),id:171}, {name:'存款凭条凭证联',src:require('@/assets/img/goods/ckpt.png'),id:269},
{name:'存款凭条回单',src:require('@/assets/img/goods/ckpt.png'),id:172}, {name:'存款凭条回单',src:require('@/assets/img/goods/ckpt.png'),id:22},
{name:'取款凭条凭证联',src:require('@/assets/img/goods/qkpt.png'),id:'取款凭条凭证联'}, {name:'取款凭条凭证联',src:require('@/assets/img/goods/qkpt.png'),id:420},
{name:'取款凭条回单',src:require('@/assets/img/goods/qkpt.png'),id:'取款凭条回单'}, {name:'取款凭条回单',src:require('@/assets/img/goods/qkpt.png'),id:421},
{name:'转账凭条凭证联',src:require('@/assets/img/goods/zzpt.png'),id:'转账凭条凭证联'},
{name:'转账凭条回单',src:require('@/assets/img/goods/zzpt.png'),id:'转账凭条回单'}, {name:'转账凭条凭证联',src:require('@/assets/img/goods/zzpt.png'),id:419},
{name:'利息清单凭证联',src:require('@/assets/img/goods/lxqd.png'),id:'利息清单凭证联'}, {name:'转账凭条回单',src:require('@/assets/img/goods/zzpt.png'),id:418},
{name:'利息清单回单',src:require('@/assets/img/goods/lxqd.png'),id:'利息清单回单'},
{name:'盖过章的复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:231}, {name:'利息清单凭证联',src:require('@/assets/img/goods/lxqd.png'),id:422},
{name:'新定期存单',src:require('@/assets/img/seal/paid.png'),id:192}, {name:'利息清单回单',src:require('@/assets/img/goods/lxqd.png'),id:424},
{name:'新定期存单凭证联',src:require('@/assets/img/seal/paid.png'),id:193},
{name:'新定期存单回单',src:require('@/assets/img/seal/paid.png'),id:194}, {name:'旧定期存单',src:require('@/assets/img/seal/paid.png'),id:430},
{name:'新定期存单',src:require('@/assets/img/seal/paid.png'),id:429},
// 10
{name:'法人身份证',src:require('@/assets/img/goods/idcard.png'),id:'法人身份证'}, {name:'新定期存单凭证联',src:require('@/assets/img/seal/paid.png'),id:485},
{name:'法人身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:'法人身份证复印件'}, {name:'新定期存单回单',src:require('@/assets/img/seal/paid.png'),id:486},
{name:'开立银行结算账户申请书',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行结算账户申请书'},
{name:'统一社会信用代码证',src:require('@/assets/img/goods/ywsfpz.png'),id:'统一社会信用代码证'}, {name:'法人身份证',src:require('@/assets/img/goods/idcard.png'),id:442},
{name:'统一社会信用代码证复印件',src:require('@/assets/img/goods/ywsfpz.png'),id:'统一社会信用代码证复印件'}, {name:'法人身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:431},
{name:'开户许可证',src:require('@/assets/img/goods/lxqd.png'),id:'开户许可证'},
{name:'开户许可证复印件',src:require('@/assets/img/goods/lxqd.png'),id:'开户许可证复印件'}, {name:'开立银行结算账户申请书',src:require('@/assets/img/goods/ApplicationBankSettlement.png'),id:432},
{name:'开立银行结算账户申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行结算账户申请书凭证联'},
{name:'开立银行结算账户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行结算账户申请书回单'}, {name:'统一社会信用代码证',src:require('@/assets/img/goods/营业执照.png'),id:434},
{name:'现金存款凭证',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证'}, {name:'统一社会信用代码证复印件',src:require('@/assets/img/goods/营业执照复印件.png'),id:435},
{name:'现金存款凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证联'}, {name:'开户许可证',src:require('@/assets/img/goods/开户许可证.png'),id:436},
{name:'现金存款凭证回单',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证回单'}, {name:'开户许可证复印件',src:require('@/assets/img/goods/开户许可证复印件.png'),id:437},
{name:'现金支票本联',src:require('@/assets/img/goods/khsqs.png'),id:'现金支票本联'}, {name:'开立银行结算账户申请书凭证联',src:require('@/assets/img/goods/ApplicationBankSettlement.png'),id:432},
{name:'现金支票存根',src:require('@/assets/img/goods/khsqs.png'),id:'现金支票存根'}, {name:'开立银行结算账户申请书回单',src:require('@/assets/img/goods/ApplicationBankSettlement.png'),id:433},
{name:'转账支票本联',src:require('@/assets/img/goods/khsqs.png'),id:'转账支票本联'},
{name:'转账支票存根',src:require('@/assets/img/goods/khsqs.png'),id:'转账支票存根'}, {name:'现金存款凭证',src:require('@/assets/img/goods/CashCertificate.png'),id:409},
{name:'特殊业务申请书',src:require('@/assets/img/goods/khsqs.png'),id:'特殊业务申请书'}, {name:'现金存款凭证联',src:require('@/assets/img/goods/CashCertificate.png'),id:487},
{name:'特殊业务申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'特殊业务申请书凭证联'}, {name:'现金存款凭证回单',src:require('@/assets/img/goods/CashCertificate.png'),id:441},
{name:'特殊业务申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:'特殊业务申请书回单'},
{name:'密码挂失申请书',src:require('@/assets/img/goods/khsqs.png'),id:'密码挂失申请书'}, {name:'现金支票本联',src:require('@/assets/img/goods/xjzp.png'),id:473},
{name:'密码挂失申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'密码挂失申请书凭证联'}, {name:'现金支票存根',src:require('@/assets/img/goods/xjzp.png'),id:472},
{name:'密码挂失申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:'密码挂失申请书回单'}, {name:'转账支票本联',src:require('@/assets/img/goods/sy-zzzp.png'),id:476},
{name:'密码挂失申请书银行留存联',src:require('@/assets/img/goods/khsqs.png'),id:'密码挂失申请书银行留存联'}, {name:'转账支票存根',src:require('@/assets/img/goods/sy-zzzp.png'),id:474},
{name:'支票领购单',src:require('@/assets/img/goods/khsqs.png'),id:'支票领购单'},
{name:'支票领购单回单',src:require('@/assets/img/goods/khsqs.png'),id:'支票领购单回单'}, {name:'特殊业务申请书',src:require('@/assets/img/goods/businessSpecialApplication.png'),id:407},
{name:'支票领购单凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'支票领购单凭证联'}, {name:'特殊业务申请书凭证联',src:require('@/assets/img/goods/businessSpecialApplication.png'),id:478},
{name:'业务收费凭证回单',src:require('@/assets/img/goods/khsqs.png'),id:'业务收费凭证回单'}, {name:'特殊业务申请书回单',src:require('@/assets/img/goods/businessSpecialApplication.png'),id:477},
{name:'业务收费凭证凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'业务收费凭证凭证联'}, {name:'密码挂失申请书',src:require('@/assets/img/goods/businessReportMissUser.png'),id:406},
{name:'密码挂失申请书凭证联',src:require('@/assets/img/goods/businessReportMissUser.png'),id:466},
{name:'密码挂失申请书回单',src:require('@/assets/img/goods/businessReportMissUser.png'),id:468},
{name:'密码挂失申请书银行留存联',src:require('@/assets/img/goods/businessReportMissUser.png'),id:467},
{name:'支票领购单',src:require('@/assets/img/goods/businessReportMissUser.png'),id:413},
{name:'支票领购单回单',src:require('@/assets/img/goods/businessReportMissUser.png'),id:480},
{name:'支票领购单凭证联',src:require('@/assets/img/goods/businessReportMissUser.png'),id:488},
{name:'业务收费凭证回单',src:require('@/assets/img/goods/ywsfpz.png'),id:481},
{name:'业务收费凭证凭证联',src:require('@/assets/img/goods/ywsfpz.png'),id:482},
], ],
receptionList:[ receptionList:[
@ -975,8 +983,8 @@ export default {
if(that.$refs.popUp) { if(that.$refs.popUp) {
if(that.myMap) { if(that.myMap) {
that.pushThings({ idArr: [that.goodsShelfTotalData[evt.oldIndex].id], name: that.myMap})
that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id]) that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id])
that.pushThings({ idArr: [that.goodsShelfTotalData[evt.oldIndex].id], name: that.myMap})
}else{ }else{
for(var i=0;i<that.popArr.length;i++){ for(var i=0;i<that.popArr.length;i++){
if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){ if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){
@ -1000,9 +1008,9 @@ export default {
// //
else if(that.$refs.popUpSeal) { else if(that.$refs.popUpSeal) {
that.pushThings({ idArr: [ that.goodsShelfTotalData[evt.oldIndex].id ], name: that.myMap})
that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id]) that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id])
that.pushThings({ idArr: [ that.goodsShelfTotalData[evt.oldIndex].id ], name: that.myMap})
} }
} }
@ -1079,8 +1087,11 @@ export default {
dislodgeItem(index){ dislodgeItem(index){
// //
if(this.myMap) { if(this.myMap) {
this.pushThingsGoods([this.goodState[index].id]) const tmpId = this.goodState[index].id
this.outThings2({ name: this.myMap, index }) // bug this.outThings2({ name: this.myMap, index }) // bug
this.pushThingsGoods([tmpId])
}else { }else {
// //
// const index = this.receptionList.findIndex(item => item.id === id) // const index = this.receptionList.findIndex(item => item.id === id)
@ -1215,7 +1226,9 @@ export default {
goodsDblClickFn(item){/* 选中/预览 单/双击函数 */ goodsDblClickFn(item){/* 选中/预览 单/双击函数 */
this.clickNum2++ this.clickNum2++
if (this.clickNum2 === 2) { // if (this.clickNum2 === 2) { //
if(!(item.name.includes('本联') || item.name.includes('凭证联') || item.name.includes('回单'))) { // 西
const judge = item.name.includes('本联') || item.name.includes('凭证联') || item.name.includes('回单') || (item.name.includes('复印件') && !item.name.includes('身份证复印件'))
if(!(judge)) {
this.clickNum2 = 0; this.clickNum2 = 0;
this.showImg = true this.showImg = true
this.imgSrc = item.src this.imgSrc = item.src
@ -1223,8 +1236,8 @@ export default {
} }
setTimeout(() => { setTimeout(() => {
if(this.myMap) { if(this.myMap) {
this.pushThings({ idArr: [item.id], name: this.myMap})
this.outThingsGoods([ item.id ]) this.outThingsGoods([ item.id ])
this.pushThings({ idArr: [item.id], name: this.myMap})
}else { }else {
const index = this.receptionList.findIndex(item2 => item2.id === item.id) const index = this.receptionList.findIndex(item2 => item2.id === item.id)
if(index === -1) { if(index === -1) {
@ -1248,8 +1261,8 @@ export default {
if(this.myMap === 'sealBox') { if(this.myMap === 'sealBox') {
if(this.goodState.length) { if(this.goodState.length) {
const { id } = this.goodState[0] const { id } = this.goodState[0]
this.pushThingsGoods( [ id ] )
this.outThings({name: this.myMap, idArr: [ id ]}) this.outThings({name: this.myMap, idArr: [ id ]})
this.pushThingsGoods( [ id ] )
} }
}else { }else {
this.replaceThings({ name: this.myMap, idArr: [...this.boxStart] }) this.replaceThings({ name: this.myMap, idArr: [...this.boxStart] })
@ -1269,6 +1282,35 @@ export default {
this.$router.push('/counter/list/manage/consumerClient'); this.$router.push('/counter/list/manage/consumerClient');
}, },
popSure(){/* 弹框-确定 */ popSure(){/* 弹框-确定 */
//
if(this.popText.includes('刷卡')) {
for (let i=0;i<this.receptionList.length;i++){
if(this.receptionList[i].id !== 16) {
this.$message({
center: true,
showClose: true,
message: '刷卡失败!请放入银行卡或存折!',
type: 'error'
});
return
}
}
}
if(this.popText.includes('身份证扫描')) {
for (let i=0;i<this.receptionList.length;i++){
if(this.receptionList[i].id !== 13) {
this.$message({
center: true,
showClose: true,
message: '刷卡失败!请放入身份证!',
type: 'error'
});
return
}
}
}
if (this.$store.state.system.id == '33'){ if (this.$store.state.system.id == '33'){
this.nbm = 33 this.nbm = 33
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
@ -1437,10 +1479,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 1){ // }else if (this.nbm == 1){ //
@ -1454,10 +1493,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 2){ // }else if (this.nbm == 2){ //
@ -1475,10 +1511,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
clickList = [] clickList = []
@ -1497,10 +1530,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
clickList = [] clickList = []
@ -1508,12 +1538,26 @@ export default {
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let formList = []; let formList = [];
for (var i=0;i<this.goodState.length;i++){formList.push({ for (var i=0;i<this.goodState.length;i++){
if(this.goodState[i].id !== 15) {
this.$message({
center: true,
showClose: true,
message: '请放入现金!',
type: 'error'
});
return
}
formList.push(
{
"answerId":this.goodState[i].id, "answerId":this.goodState[i].id,
"emptyOne": "", "emptyOne": "",
"emptyTwo": "", "emptyTwo": "",
"operationIds": "285,287,1,"+this.goodState[i].id, "operationIds": "285,287,1,"+this.goodState[i].id,
"type": "" })} "type": ""
}
)
}
let params= { let params= {
parentId:'285,287,1', parentId:'285,287,1',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
@ -1521,10 +1565,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 5){ // }else if (this.nbm == 5){ //
@ -1560,10 +1601,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
@ -1579,10 +1617,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if(this.nbm == 8){ // }else if(this.nbm == 8){ //
@ -1614,10 +1649,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 10){ // }else if (this.nbm == 10){ //
@ -1631,10 +1663,7 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 11){ // }else if (this.nbm == 11){ //
@ -1648,21 +1677,18 @@ export default {
startTime:startTime, startTime:startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{ }).catch((error)=>{
}) })
}else{ }else{
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
} }
// //
if(this.nbm !== 4 && this.nbm!== 1 && this.nbm!== 5) { if(this.nbm !== 4 && this.nbm!== 1 && this.nbm!== 5 && this.nbm!== 1 && this.nbm!== 0) {
const tmpGoods = this.goodState.map(item => item.id) const tmpGoods = this.goodState.map(item => item.id)
this.pushThingsGoods([...tmpGoods])
this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]}) this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]})
this.pushThingsGoods([...tmpGoods])
} }
// this.$store.commit('system/changePop',{show:false,text:''}) // // this.$store.commit('system/changePop',{show:false,text:''}) //
} }
@ -1672,7 +1698,10 @@ export default {
// //
this.$store.commit('system/changePop', {show: false, text: ''}) this.$store.commit('system/changePop', {show: false, text: ''})
} }
this.$message({
message: '提交成功',
type: 'success'
});
}, },
toPart(){ toPart(){

@ -68,7 +68,8 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div> </div>
<el-dialog <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" @submitIt="submitIt()" />
<!-- <el-dialog
style="margin-top:10vh" style="margin-top:10vh"
:visible.sync="visible" :visible.sync="visible"
:modal="false" :modal="false"
@ -99,25 +100,26 @@
<el-button class="close btn" @click="[visible = false,authorization=false,success=false]"> </el-button> <el-button class="close btn" @click="[visible = false,authorization=false,success=false]"> </el-button>
<el-button class="sure btn" type="primary" @click="popSure"> </el-button> <el-button class="sure btn" type="primary" @click="popSure"> </el-button>
</div> </div>
</el-dialog> </el-dialog> -->
</div> </div>
</template> </template>
<script> <script> // : consumerClient
import { mapState, mapMutations } from 'vuex' import { mapState, mapMutations, mapGetters } from 'vuex'
import { vername, vermob } from '@/utils/verify.js' 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'
// goodState: 'system/goodState',
export default { export default {
name: 'index', name: 'index',
data() { data() {
return { return {
form:{ form:{
idType:1,// idType:1,//
idNumber:'',// // idNumber:'',//
userName:'',// userName:'',//
sex:'',// sex:'',//
birthday:'',// birthday:'',//
@ -221,19 +223,28 @@ export default {
} }
}, },
components: { components: {
MyTitle MyTitle,
MyDialog
},
created() {
console.log(this.dataFlow)
}, },
mounted() { mounted() {
this.getFormData() this.getFormData()
this.$refs.userName.focus(); this.$refs.userName.focus();
}, },
methods: { methods: {
//
submitIt() {
this.setDataFlow({name: 'userNumber', val: '随机生成的10110'})
// this.setDataFlow({name: 'userName', val: ''})
// console.log(this.dataFlow)
},
getFormData(){ getFormData(){
let param= { let param= {
parentId: '285,287,5,25,33' parentId: '285,287,5,25,33'
} }
getOperation(param).then((data)=>{ getOperation(param).then((data)=>{
console.log(data)
if(data.status == 200) { if(data.status == 200) {
var list = data.data.judgmentRuleReqs var list = data.data.judgmentRuleReqs
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
@ -251,7 +262,8 @@ export default {
}) })
}, },
...mapMutations({ ...mapMutations({
changeShowGoods: 'system/changeShowGoods' changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow'
}), }),
popUp(){// popUp(){//
this.$store.commit('system/changePop',{show:true,text:'身份证扫描仪',id:'33'}) this.$store.commit('system/changePop',{show:true,text:'身份证扫描仪',id:'33'})
@ -263,12 +275,10 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') let nomClientIdentity = sessionStorage.getItem('nomClientIdentity')
let consumerClientDragList = JSON.parse(nomClientIdentity); let consumerClientDragList = JSON.parse(nomClientIdentity);
console.log(this.$refs)
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') let nomClientIdentity = sessionStorage.getItem('nomClientIdentity')
let nomClientIdentitys = JSON.parse(nomClientIdentity); let nomClientIdentitys = JSON.parse(nomClientIdentity);
if (nomClientIdentitys && nomClientIdentitys.length > 0){ if (nomClientIdentitys && nomClientIdentitys.length > 0){
this.visible = true;
let formList = []; let formList = [];
formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": nomClientIdentity, "operationIds": "285,287,5,25,33,41","type": ""}) formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": nomClientIdentity, "operationIds": "285,287,5,25,33,41","type": ""})
@ -318,6 +328,7 @@ export default {
}); });
}).catch((error)=>{ }).catch((error)=>{
}) })
this.visible = true;
}else{ }else{
this.$message.error('请刷身份证'); this.$message.error('请刷身份证');
} }
@ -348,12 +359,20 @@ export default {
phoneListen: phoneListen, phoneListen: phoneListen,
mailBoxListen: mailBoxListen, mailBoxListen: mailBoxListen,
checkName: checkName checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
dataFlowGo: 'system/dataFlowGo',
})
},
watch: {
dataFlowGo(newVal) {
console.log('watch里的值')
console.log(newVal)
}
} }
// watch: {
// 'form.phone'(newVal) {
// if(newVal)
// }
// }
}; };
</script> </script>

@ -42,7 +42,7 @@
</div> </div>
</template> </template>
<script> <script> // currentAccount/deposit
import { mapMutations } from 'vuex' import { mapMutations } from 'vuex'
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { ismoney, myValidate, checkName, rateListen } from '@/utils/utilFunction.js' import { ismoney, myValidate, checkName, rateListen } from '@/utils/utilFunction.js'

@ -179,31 +179,34 @@
</div> </div>
</template> </template>
<script> <script> // currentAccount/openAccount
import {getSubjectInfo,addOperation,getOperation} from "@/api/http.js"; import {getSubjectInfo,addOperation,getOperation} from "@/api/http.js";
import { mapMutations } from 'vuex' import { mapMutations, mapGetters, mapState } from 'vuex'
import { vercustomer } from '@/utils/verify.js' import { vercustomer } from '@/utils/verify.js'
import { myValidate, checkName, checkHanzi } from '@/utils/utilFunction.js' import { myValidate, checkName, checkHanzi } from '@/utils/utilFunction.js'
export default { export default {
data(){ data(){
return{ return{
...mapState({
businessKey: state => state.system.businessKey
}),
form:{ form:{
userNumber: '', userNumber: '', //
currency: 'CNY人民币', currency: 'CNY人民币', //
userName: '', userName: '', //
goldLogo: '', goldLogo: '', //
accountQuality: '', accountQuality: '', //
accountType: '', accountType: '', //
drawWay: '', drawWay: '', //
voucherType: '', voucherType: '', //
accountQualitysTwo: '', accountQualitysTwo: '', // 2
accountTypesTwo: '', accountTypesTwo: '', // 2
drawWaysTwo: '', drawWaysTwo: '', // 2
voucherTypesTwo: '', voucherTypesTwo: '', // 2
accountQualitysThree: '', accountQualitysThree: '', // 3
accountTypesThree: '', accountTypesThree: '', // 3
drawWaysThree: '', drawWaysThree: '', // 3
voucherTypesThree: '', voucherTypesThree: '', // 3
}, },
rules: { rules: {
userName: vercustomer , userName: vercustomer ,
@ -260,6 +263,17 @@ export default {
num:0, num:0,
} }
}, },
created() {
if(this.dataFlow.userNumber) {
this.form.userNumber = this.dataFlow.userNumber
}else {
this.$message({
message: '请先个人客户信息建立!',
type: 'error'
});
}
},
mounted(){ mounted(){
this.getOptionsList() this.getOptionsList()
this.$refs.userNumber.focus() this.$refs.userNumber.focus()
@ -404,6 +418,15 @@ export default {
}, },
// //
formSubmit(){ formSubmit(){
// businessKey
console.log(this.businessKey)
if(!this.dataFlow.userNumber && this.businessKey === '项目一') {
this.$message({
message: '请先完成个人客户信息建立!',
type: 'error'
});
return;
}
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true this.visible = true
@ -561,6 +584,11 @@ export default {
}, },
checkName: checkName, checkName: checkName,
checkHanzi: checkHanzi checkHanzi: checkHanzi
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
})
} }
}; };
</script> </script>

File diff suppressed because it is too large Load Diff

@ -208,6 +208,12 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr) => {
}) })
} }
const autoPlay3 = (name, allName, arr) => { // 要接收的, 所有的, 要接收的属性
for(let key of arr) {
name[key] = allName[key]
}
}
export { export {
phoneListen, phoneListen,
mailBoxListen, mailBoxListen,
@ -219,5 +225,6 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr) => {
checkName, checkName,
rateListen, rateListen,
autoPlay, autoPlay,
autoPlay2 autoPlay2,
autoPlay3
} }

6013
test.js

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