20240205
luoJunYong.123 3 years ago
parent abfe975a16
commit 0346aca60d
  1. 6
      src/api/http.js
  2. 59
      src/components/checkPhoto/index.vue
  3. 1
      src/components/selectBusiness/index.vue
  4. 55
      src/pages/counter/list/index.vue
  5. 2
      src/pages/manage/list/cityWide/cityWideOut.vue
  6. 1
      src/pages/manage/list/dayEnd/branchDayEnd.vue
  7. 2
      src/pages/manage/list/personal/accountService/changePassword.vue
  8. 2
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  9. 2
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  10. 5
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  11. 8
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  12. 44
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  13. 30
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  14. 2
      src/pages/manage/list/servicesAccount/passwordLost.vue
  15. 2
      src/pages/manage/list/servicesAccount/relieveLost.vue
  16. 10
      src/store/modules/system.js
  17. 222
      test.js

@ -37,4 +37,10 @@ export const checkTest2= (params) => {
pageSize: 10000,
...params
})
}
export const reportDetail = (reportId) => {
return get( '/occupationlab/achievement/reportDetail',{
reportId
})
}

@ -0,0 +1,59 @@
<template>
<div class="relative -translate-y-2/4">
<template v-if="imgSrcId==14">
<h3 class="subpixel-antialiased text-red-800 text-2xl text-center absolute" style="left: 95px;top: 110px;">{{ dataFlow.userName }}</h3>
<h3 class="subpixel-antialiased text-red-800 text-2xl text-center absolute" v-if="dataFlow.sex==1" style="left: 446px;top: 110px;"></h3>
<h3 class="subpixel-antialiased text-red-800 text-2xl text-center absolute" v-else style="left: 474px;top: 110px;"></h3>
<h3 class="subpixel-antialiased text-red-800 text-2xl text-center absolute" style="left: 96px;top: 135px;"></h3>
<h3 class="subpixel-antialiased text-red-800 text-2xl text-center absolute" style="left: 96px;top: 135px;"></h3>
<h3 class="subpixel-antialiased text-red-800 text-xl text-center absolute" style="left: 96px;top: 165px;">{{ dataFlow.idNumber }}</h3>
<h3 class="subpixel-antialiased text-red-800 text-xl text-center absolute" style="left: 340px;top: 230px;">{{ dataFlow.phone }}</h3>
<h3 class="subpixel-antialiased text-red-800 text-2xl text-center absolute" style="left: 76px;top: 250px;"></h3>
<h3 class="subpixel-antialiased text-red-800 text-2xl text-center absolute" style="left: 169px;top: 432px;"></h3>
</template>
<img :src="imgSrc" class="imgPop imgIndex min-w-full " :alt="imgSrcName" :title="imgSrcName">
</div>
</template>
<script>
import { mapGetters } from 'vuex'
export default {
props: {
imgSrc: {
type: String,
require: true
},
imgSrcId: {
require: true
},
imgSrcName: {
require: true
},
// requireTalk: {
// type: String,
// default: ''
// },
// others: {
// type: Object,
// default: {
// left: '0px',
// top: '0px'
// }
// }
},
created() {
console.log(this.dataFlow)
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow'
})
}
}
</script>
<style>
</style>

@ -221,6 +221,7 @@ export default {
}
this.setBusinessKey(this.takeCheck)
this.$store.dispatch('system/getJudgeData')
if(!this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id) {
this.$message({
type: 'info',

@ -323,38 +323,13 @@
width="850px"
>
<!-- <p style="position: absolute;top: 350px; left: 90px;">test</p> -->
<!-- <h3 style="position: absolute;top: 10px; left: 400px;">aaa</h3> -->
<img :src="imgSrc" class="imgPop imgIndex min-w-full " alt="">
<!-- <div :style="{'background':'url('+imgSrc+')','height':'500px','background-repeat': 'no-repeat',-->
<!-- 'background-size': '100% 100%'}" class="imgPop">-->
<!-- </div>-->
<!-- 银行卡 -->
<!-- <div v-if="magnifyData.id == 16" style="position: absolute;top:0;width: 634px">
<div style='position: relative;top: 220px;left: 70px;width:250px;font-size: 24px;color: #fff'>
{{magnifyData.cardNub}}
</div>
</div> -->
<!-- 身份证 -->
<!-- <div v-if="magnifyData.id == 13" style="position: absolute;top:0;width: 634px">
<div style='position: relative;top: 73px;left: 80px;width:220px'>
{{magnifyData.userName}}
</div>
<div style='position: relative;top: 96px;left: 80px;width:220px'>
{{magnifyData.sex}}
<span style='position: relative;top:0px;left: 95px'> {{magnifyData.nation}}</span>
</div>
<div style='position: relative;top: 120px;left: 80px;width:220px'>
<span> {{magnifyData.dateBirthYear}}</span>
<span style='position: relative;top:0px;left: 60px'> {{magnifyData.dateBirthMonth}}</span>
<span style='position: relative;top:0px;left: 100px'> {{magnifyData.dateBirthDay}}</span>
</div>
<div style='position: relative;top: 145px;left: 80px;width:230px'>
{{magnifyData.address}}
</div>
<div style='position: relative;top: 215px;left: 160px;width:220px'>
{{magnifyData.idCardNo}}
</div>
</div> -->
<!-- <template v-if="428">
<h3 class="subpixel-antialiased text-4xl text-center" style="position: absolute;top: 10px;">你可能需要的信息: xxx</h3>
</template> -->
<!-- <img :src="imgSrc" class="imgPop imgIndex min-w-full " alt=""> -->
<check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName" />
</el-dialog>
<!-- <tip-dialog /> -->
@ -397,6 +372,7 @@ import { addOperation, getOperation } from '@/api/http';
import backButton from '@/components/backButton'
import { myConfig } from './myConfig.js'
import saveSystemModule from '@/mixins/saveSystemModule'
import CheckPhoto from '@/components/checkPhoto'
// import TipDialog from '@/components/tipDialog'
export default {
@ -404,6 +380,7 @@ export default {
components: {
manage: manage,
backButton,
CheckPhoto
// TipDialog
},
mixins: [saveSystemModule],
@ -649,6 +626,8 @@ export default {
clickNum2:0,
showImg:false,
imgSrc:'',
imgSrcId: '',
imgSrcName: '',
nbm:0,
lazyImg: [
require('@/assets/img/man.png'),
@ -778,6 +757,8 @@ export default {
showImg(newVal) {
if(!newVal) {
this.imgSrc = ''
this.imgSrcId = ''
this.imgSrcName = ''
}
},
@ -895,12 +876,7 @@ export default {
sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect))
})
this.startPlay()
// console.log(this.getSelectList.accountQualitySelectList)
// 西
// if(!sessionStorage.getItem('systemData'))
//
getOperation({
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,4'
@ -923,7 +899,6 @@ export default {
// this.pushThings({ idArr: [...list], name: 'cultureIn'})
this.pushThingsGoods([...list])
}
}
})
@ -1256,6 +1231,8 @@ export default {
this.clickNum = 0;
this.showImg = true
this.imgSrc = item.src
this.imgSrcId = item.id
this.imgSrcName = item.name
}
setTimeout(function () {
let arr
@ -1301,6 +1278,8 @@ export default {
console.log(item)
this.magnifyData = item
this.imgSrc = item.src
this.imgSrcId = item.id
this.imgSrcName = item.name
}
}else {
this.controlGoodsDblClickFn = setTimeout(() => {

@ -307,7 +307,7 @@ export default {
type: 'warning'
});
this.$refs.shroffAccountNumber.focus()
}
},
getBlur() {

@ -98,6 +98,7 @@ export default {
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
// this.$message({
// message: '',

@ -24,7 +24,7 @@
<el-form-item label="客户姓名" prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp('刷卡器')">
<p>请刷身份证</p>
</div>

@ -80,7 +80,7 @@
<el-input :value="form.payMoney" disabled @input="val => ismoney(val, form, 'payMoney')" ref="payMoney" ></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>

@ -34,7 +34,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="身份证" required>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>

@ -273,6 +273,11 @@ export default{
prop: 'drawPassword',//
type: '3',
"subjectId": 17,
},
564: {
prop: 'newVoucherNumber',//
type: '3',
"subjectId": 44,
}
},
myTable2: {

@ -10,13 +10,13 @@
</el-select>
</el-form-item>
<el-form-item label="凭证号码" prop="voucherNumber">
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p>
</div>
<div v-else>
<el-input disabled ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> -->
<el-input @blur="getDataBlur" ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div>
<!-- <el-input @blur="getDataBlur" ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> -->
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
@ -46,7 +46,7 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="身份证" required>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp3('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>

@ -5,13 +5,13 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<el-form-item label="凭证号码" required>
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p>
</div>
<div v-else>
<el-input @blur="getDataBlur" disabled maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> -->
<el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div>
<!-- <el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> -->
</el-form-item>
<el-form-item label="定存编号" prop="depositNumber">
<el-input :value="form.depositNumber" disabled @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input>
@ -41,14 +41,14 @@
<el-option label="5年" :value="89"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<!-- <el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUp2('密码器')">
<p>请输入密码</p>
</div>
<div v-else @click="popUp2('密码器')">
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
</el-form-item> -->
</el-col>
</el-form>
</el-row>
@ -75,9 +75,9 @@ export default{
MyDialog
},
created() {
if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
}
// if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) {
// this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
// }
// if(this.isNeedBefore) {
// if(sessionStorage.getItem('nomUsefulPhrasesContinueCard')) {
// this.cardNumberJudge = true
@ -110,7 +110,7 @@ export default{
currency: '', //
depositTerm: '', //
voucherNumber: '', //
drawPassword: '', //
// drawPassword: '', //
//
depositNumber: '', //
goldLogo: '', //
@ -122,7 +122,7 @@ export default{
currency: '币种', //
depositTerm: '存期', //
voucherNumber: '银行卡卡号', //
drawPassword: '支付密码', //
// drawPassword: '', //
//
depositNumber: '定存编号', //
goldLogo: '钞汇标识', //
@ -185,11 +185,11 @@ export default{
type: '1',
"subjectId": 27,
},
178: {
prop: 'drawPassword',
type: '3',
"subjectId": 17,
}
// 178: {
// prop: 'drawPassword',
// type: '3',
// "subjectId": 17,
// }
},
}
},
@ -227,9 +227,9 @@ export default{
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
}
// if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) {
// this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
// }
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
@ -255,10 +255,10 @@ export default{
return
}
if(!this.form.drawPassword) {
messagePassword()
return
}
// if(!this.form.drawPassword) {
// messagePassword()
// return
// }
this.$refs.form.validate(myValidate(() => {
//

@ -39,7 +39,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="身份证" required>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>
@ -56,13 +56,13 @@
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')">
<div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')">
<p>请刷卡</p>
</div>
<div v-else>
<el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> -->
<el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div>
<!-- <el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> -->
</el-form-item>
<el-form-item label="月存金额" prop="monthDeposit">
<!-- :value="form.monthDeposit" -->
@ -109,17 +109,17 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
}
// if(this.isNeedBefore) {
// if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
// this.idNumberJudge = true
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
// }
// if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) {
// this.cardNumberJudge = true
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
// }
// return
// }
if(this.isNeedBefore) {
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) {
this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
}
return
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
this.idNumberJudge = true

@ -23,7 +23,7 @@
<el-form-item label="客户姓名" prop="customerName">
<el-input :value="form.customerName" disabled maxlength="20" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>

@ -31,7 +31,7 @@
<el-form-item label="客户姓名" prop="customerName">
<el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>

@ -1223,7 +1223,7 @@ const sealArray = [/* 印章盒物品默认排序 */
]
import { Message } from 'element-ui';
import { addOperation, getSubjectInfo } from '@/api/http';
import { addOperation, getSubjectInfo, reportDetail } from '@/api/http';
export default {
namespaced: true,
state: {/* 管理柜台状态 */
@ -2792,7 +2792,13 @@ export default {
}
},
actions: {
async getJudgeData({ state, commit }, params) {
const judgeId = myInitState[state.businessKey].id
console.log(judgeId)
const { data: { userScores } } = await reportDetail(Number(judgeId))
const { lcRuleRecords } = userScores.find(item => item.judgmentName.includes('系统录入'))
console.log(lcRuleRecords)
}
},
getters: {
getSelectList(state) {

@ -1,48 +1,176 @@
const idNumber = '441356199611035698'
const birthday = '1996-11-03'
const userName = '小白'
const capital = 100
const peopleNumber = '111222'
const voucherNumber = (() => {
const $chars = '1234567890';
const maxPos = $chars.length;
let str = '';
for (let i = 0; i < 8; i++) {
str += $chars.charAt(Math.floor(Math.random() * maxPos));
}
return '6227' + str;
})()
const sex = 1 // 1为男,2为女。
const t = {
peopleNumber,
userName,
idType: 83,
idNumber,//证件号码
sex,//性别 1为男,
birthday,//出生日期
// nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址
voucherNumber,
currency:12,
goldLogo:13,
serviceCharge:'0.00',
drawWay:18,
interest: '0.1',
balance: 666,
depositNumber: '0912',
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式
withdrawType: 124, // 支取类别
withdrawWay: 126, // 支取方式
depositTerm: 86,
monthDeposit: 100,
signDate: '2001-03-01',
depositType: 92,
voucherType: 123,
noticeType: 95,
payType: 13,
payMoney: 102.8,
'corporateClient': false,
const nameMap = {
sex: {
1: '男',
2: '女'
},
idType: {
82: '统一社会信用代码证',
83: '身份证'
},
certificateType: {
83: '身份证',
115: '转账支票',
116: '现金支票'
},
currency: {
12: 'CNY人民币'
},
goldLogo: {
13: '钞户'
},
accountQuality: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
accountQualitysTwo: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
accountQualitysThree: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
voucherType: {
15: 'IC卡',
115: '转账支票',
116: '现金支票',
123: '存单',
127: '银行'
},
accountType: {
16: '一类户',
17: '二类户',
97: '结算户',
98: '结算户',
99: '委托保障金户',
100: '资本临时户'
},
drawWay: {
18: '密码',
93: '现金',
94: '转账',
114: '印鉴',
125: '部分支取',
126: '全部支取并销户'
},
drawWayType: {
133: '现金'
},
accountQualitysTwo: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
voucherTypesTwo: {
15: 'IC卡',
115: '转账支票',
116: '现金支票',
123: '存单',
127: '银行'
},
voucherTypesThree: {
15: 'IC卡',
115: '转账支票',
116: '现金支票',
123: '存单',
127: '银行'
},
accountTypesTwo: {
16: '一类户',
17: '二类户',
97: '结算户',
98: '结算户',
99: '委托保障金户',
100: '资本临时户'
},
accountTypesThree: {
16: '一类户',
17: '二类户',
97: '结算户',
98: '结算户',
99: '委托保障金户',
100: '资本临时户'
},
drawWaysTwo: {
18: '密码',
93: '现金',
94: '转账',
114: '印鉴',
125: '部分支取',
126: '全部支取并销户'
},
drawWaysThree: {
18: '密码',
93: '现金',
94: '转账',
114: '印鉴',
125: '部分支取',
126: '全部支取并销户'
},
chargeWay: {
13: '密码',
},
chargeWay: {
13: '密码',
135: '现金',
},
certificateDeposit: {
92: '现金'
},
extendPeriod: {
90: '不续存',
91: '续存'
},
depositTerm: {
84: '3个月',
85: '6个月',
86: '1年',
87: '2年',
88: '3年',
89: '5年'
},
withdrawWay: {
125: '部分支取',
126: '全部支取并销户'
},
extendDepositTarget: {
128: '不续存',
129: '续存1年',
130: '续存3年',
131: '续存5年'
},
noticeType: {
95: '1天',
96: '7天'
},
depositType: {
92: '现金'
},
accountManagement: {
105: '工业存款',
106: '商业存款',
107: '外贸存款',
108: '其他存款'
},
calculateWay: {
109: '季度',
110: '半年',
111: '1年'
},
outAccountWay: {
112: '按月',
113: '满页'
},
}
Loading…
Cancel
Save