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. 235
      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. 6321
      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>
<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)">
重新开始
</el-button>
@ -72,12 +72,12 @@
<i
v-if="scope.row.right==true"
class="el-icon-check"
style="color:green;font-size:20px"
style="color:green;font-size:16px"
></i>
<i
v-else-if="scope.row.right==false"
class="el-icon-close"
style="color:red;font-size:20px"
style="color:red;font-size:16px"
></i>
</template>
</el-table-column>
@ -96,15 +96,13 @@
</el-tab-pane>
<el-tab-pane label="实验要求" name="second">
<el-collapse v-model="activeNames" accordion>
<div v-for="(item,index) in requires" :key="index">
<el-collapse-item :name="item.id">
<template slot="title" style='line-height: 0px;font-size: 18px'>
<el-collapse-item v-for="(item,index) in requires" :key="index" :name="item.id">
<template slot="title" style='line-height: 0px;font-size: 16px'>
<i class='el-icon-s-ticket'></i>
<span>{{ item.name }}</span>
</template>
<div class="break-all" v-html="item.experimentalRequirements"></div>
</el-collapse-item>
</div>
</el-collapse>
</el-tab-pane>
<el-tab-pane label="实验提示" name="fifth" v-if="hintOpen == 0">
@ -165,7 +163,7 @@ export default {
experimentSuggests: "", //
judgmentPointsName: "", //
points: [],
activeNames: [],
// activeNames: [],
tableData: [],
activeName: "first",
schoolId: '',
@ -269,7 +267,11 @@ export default {
},
minute: function() {
return this.num(this.minutes);
}
},
activeNames() {
//
return this.requires.map(item => item.id)
},
},
mounted() {
let token = this.getQueryVariable('token')
@ -780,6 +782,8 @@ export default {
</script>
<style lang="scss" scoped>
$togetherFontSize: 16px;
.popContainer {
position: absolute;
width:100%; /*宽度设置为100%,这样才能使隐藏背景层覆盖原页面*/
@ -823,10 +827,12 @@ export default {
}
}
.el-aside{
font-size: $togetherFontSize;
color: #333;
[class*=" el-icon-"],[class^="el-icon-"]{
line-height: 40px;
font-size: 16px;
font-size: $togetherFontSize;
}
}
.el-main {
@ -834,7 +840,7 @@ export default {
background-color: #fff;
color: #333;
padding: 0;
font-size: 16px;
font-size: $togetherFontSize;
margin: 0px 20px 10px 10px;
white-space: pre-wrap;
background: #fff url(../../assets/img/case/bg.png) top right no-repeat;
@ -903,19 +909,19 @@ export default {
.font_css {
margin: 0 10px;
text-indent: 2em;
font-size: 14px;
font-size: $togetherFontSize;
padding: 10px 0;
}
.countDownBox {
font-size: 16px;
font-size: $togetherFontSize;
margin: 0 10px;
padding: 20px 0;
}
.timeSpan {
color: #333333;
padding: 5px 15px;
font-size: 14px;
font-size: $togetherFontSize;
background: #ffffff;
border-radius: 18px;
margin: 0 5px;
@ -924,7 +930,7 @@ export default {
.gradeSpan {
color: #878787;
padding: 10px;
font-size: 14px;
font-size: $togetherFontSize;
background: #e0e0e0;
border-radius: 6px;
text-align: center;
@ -937,7 +943,7 @@ export default {
}
.el-table{
font-size: 14px;
font-size: $togetherFontSize;
color: #202020;
.el-table--striped .el-table__body tr.el-table__row--striped td {
background: #eef7ff;
@ -948,6 +954,7 @@ export default {
thead{
color: #ffffff;
font-size: 10px;
font-size: $togetherFontSize;
th{
padding: 5px 0;
}
@ -955,6 +962,7 @@ export default {
th > .cell{
font-weight: 100;
font-size: 14px;
font-size: $togetherFontSize;
}
th,tr{
background-color: #fff;
@ -964,6 +972,7 @@ export default {
thead{
color: #ffffff;
font-size: 10px;
font-size: $togetherFontSize;
th{
padding: 5px 0;
}
@ -1004,6 +1013,7 @@ export default {
}
.el-icon-arrow-right:before {
font-size: 12px;
font-size: $togetherFontSize;
padding: 1px;
margin-left: 10px;
background-color: $main-color;
@ -1039,6 +1049,7 @@ export default {
}
.break-all{
font-size: 14px;
font-size: $togetherFontSize;
word-break: break-all;
}
.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>
<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 class="data-title2">请选择系统</div>
<div class="data-title2">请选择业务</div>
<div class="close"><img v-lazy="closeImg" alt="" @click="showBusinessSelect(false)" /></div>
</div>
<p class="tips2">请选择您要办理的业务</p>
@ -297,7 +297,7 @@ export default {
// margin-left: 50px;
// }
img{
width: 20%;
width: 15%;
margin: 0;
//height: 154px;
//margin: 0 45px;
@ -320,7 +320,7 @@ export default {
.dia-header2 {
position: relative;height: 50px;
line-height: 50px;
background-color: skyblue;
background-color: rgb(98, 149, 243) ;
.data-title2 {
position: absolute;

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

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

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

@ -179,31 +179,34 @@
</div>
</template>
<script>
<script> // currentAccount/openAccount
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 { myValidate, checkName, checkHanzi } from '@/utils/utilFunction.js'
export default {
data(){
return{
...mapState({
businessKey: state => state.system.businessKey
}),
form:{
userNumber: '',
currency: 'CNY人民币',
userName: '',
goldLogo: '',
accountQuality: '',
accountType: '',
drawWay: '',
voucherType: '',
accountQualitysTwo: '',
accountTypesTwo: '',
drawWaysTwo: '',
voucherTypesTwo: '',
accountQualitysThree: '',
accountTypesThree: '',
drawWaysThree: '',
voucherTypesThree: '',
userNumber: '', //
currency: 'CNY人民币', //
userName: '', //
goldLogo: '', //
accountQuality: '', //
accountType: '', //
drawWay: '', //
voucherType: '', //
accountQualitysTwo: '', // 2
accountTypesTwo: '', // 2
drawWaysTwo: '', // 2
voucherTypesTwo: '', // 2
accountQualitysThree: '', // 3
accountTypesThree: '', // 3
drawWaysThree: '', // 3
voucherTypesThree: '', // 3
},
rules: {
userName: vercustomer ,
@ -260,6 +263,17 @@ export default {
num:0,
}
},
created() {
if(this.dataFlow.userNumber) {
this.form.userNumber = this.dataFlow.userNumber
}else {
this.$message({
message: '请先个人客户信息建立!',
type: 'error'
});
}
},
mounted(){
this.getOptionsList()
this.$refs.userNumber.focus()
@ -404,6 +418,15 @@ export default {
},
//
formSubmit(){
// businessKey
console.log(this.businessKey)
if(!this.dataFlow.userNumber && this.businessKey === '项目一') {
this.$message({
message: '请先完成个人客户信息建立!',
type: 'error'
});
return;
}
this.$refs.form.validate(myValidate(() => {
//
this.visible = true
@ -561,6 +584,11 @@ export default {
},
checkName: checkName,
checkHanzi: checkHanzi
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
})
}
};
</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 {
phoneListen,
mailBoxListen,
@ -219,5 +225,6 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr) => {
checkName,
rateListen,
autoPlay,
autoPlay2
autoPlay2,
autoPlay3
}

6321
test.js

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