20240205
luoJunYong.123 3 years ago
parent 402c341e51
commit ec45f5474f
  1. 52
      src/components/case/index.vue
  2. 11
      src/pages/counter/list/index.vue
  3. 4
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  4. 28
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  5. 4
      src/utils/utilFunction.js
  6. 18
      test.js

@ -396,6 +396,7 @@ export default {
}
getProjectBySystemId(params).then((data)=>{
if(data.status == 200){
// this.getQueryCaches()
//
this.getBeginTime()
this.topicList = []
@ -405,16 +406,30 @@ export default {
this.topicList.push(data.data.projects[i])
}
}
if(this.topicList.length > 0){
this.selectProjects({
projectId: this.topicList[0].projectId
})
// if(this.topicList.length > 0){
// // const projectIndex = JSON.parse(sessionStorage.getItem('projectIndex'))
// // const projectId = sessionStorage.getItem('projectId')
// // console.log('---projectId')
// // console.log(projectId)
// // if(!projectId) {
// // this.selectProjects({
// // projectId: this.topicList[0].projectId
// // })
// // // localStorage.setItem('projectId')
// // }else {
// // this.selectProjects({
// // projectId: projectId
// // })
// // }
this.gotuQueryVariable()
//
}
console.log('this.topicList---')
console.log(this.topicList)
// this.selectProjects({
// projectId: this.topicList[0].projectId
// })
// this.gotuQueryVariable()
// //
// }
this.getQueryCaches()
}
}).catch((error)=>{
@ -521,13 +536,24 @@ export default {
//
selectProject(){
//
this.lockIt = false
// this.lockIt = false
// let token = sessionStorage.getItem('token')
// let cid = sessionStorage.getItem('cid')
// let systemId = sessionStorage.getItem('systemId')
// let projectId = sessionStorage.getItem('projectId')
// sessionStorage.clear()
// sessionStorage.setItem('token', token)
// sessionStorage.setItem('cid', cid)
// sessionStorage.setItem('systemId', systemId)
// sessionStorage.setItem('projectId', projectId)
// this.topicList[localProjectIndex].projectId
// localStorage.setItem('localProjectIndex', JSON.stringify(this.projectId))
this.clearStore()
// deleteCache().then((data)=>{
deleteCache().then((data)=>{
// }).catch(() => {
}).catch(() => {
// })
})
let params = {
"projectId":this.projectId,

@ -146,7 +146,7 @@
<el-input :class="{'password-input': !viewPassword1}" v-focus v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="{this.value=this.value.replace(/\D/g,'')}" autocomplete="new-password" auto-complete="new-password"></el-input>
<i class="view el-icon-view" @click="viewPassword1 = !viewPassword1"></i>
</el-form-item>
<el-form-item class="password-wrap" label="确认密码" prop="password2" key="passwordFormpassword2" v-if="id == '62,1' || id == '62,2' || id == '62,3'">
<el-form-item class="password-wrap" label="确认密码" prop="password2" key="passwordFormpassword2" v-if="needPasswordAgain">
<el-input :class="{'password-input': !viewPassword2}" v-model="passwordForm.password2" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off" auto-complete="off"></el-input>
<i class="view el-icon-view" @click="viewPassword2 = !viewPassword2"></i>
</el-form-item>
@ -678,6 +678,13 @@ export default {
},
computed: {
//
needPasswordAgain() {
if(this.id == '62,1' || this.id == '62,2' || this.id == '62,3' || this.id == '129' || this.id == '167' || this.id == '301') {
return true
}else {
return false
}
},
importanceArr() {
const arr = [
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428},
@ -1623,7 +1630,7 @@ export default {
if(this.passwordForm.passwordAgain.length !== 6) {
this.setTipsOperate('您输入的密码不足6位!')
return
}else if((this.id == '62,1' || this.id == '62,2' || this.id == '62,3') && this.passwordForm.password2 !== this.passwordForm.passwordAgain) {
}else if(this.needPasswordAgain && this.passwordForm.password2 !== this.passwordForm.passwordAgain) {
this.setTipsOperate('两次输入密码不一致')
return
}

@ -55,8 +55,8 @@
</el-form-item>
<el-form-item label="续存" prop="extendPeriod">
<el-radio-group v-model="form.extendPeriod" ref="extendPeriod">
<el-radio label="不续存" :value="90"></el-radio>
<el-radio label="续存" :value="91"></el-radio>
<el-radio :label="90">不续存</el-radio>
<el-radio :label="91">续存</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="支取密码" required>

@ -6,7 +6,7 @@
<el-col :span="10" :offset="1">
<el-form-item label="证件类型">
<el-select v-model="form.certificateType" placeholder="请选择">
<el-option label="身份证" :value="83"> </el-option>
<el-option label="证件号码" :value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户号">
@ -49,12 +49,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>
</div> -->
<el-input maxlength="18" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUp3('密码器')">
@ -230,10 +231,10 @@ export default{
this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
}
if(sessionStorage.getItem('nomtimeOpenAccount2')) {
this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
}
// if(sessionStorage.getItem('nomtimeOpenAccount2')) {
// this.cardNumberJudge = true
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
// }
return
}
@ -250,11 +251,11 @@ export default{
console.log(this.idNumberJudge)
}
if(sessionStorage.getItem('nomtimeOpenAccount2')) {
const { voucherNumber } = this.dataFlow
this.cardNumberJudge = true
this.form.voucherNumber = voucherNumber
}
// if(sessionStorage.getItem('nomtimeOpenAccount2')) {
// const { voucherNumber } = this.dataFlow
// this.cardNumberJudge = true
// this.form.voucherNumber = voucherNumber
// }
this.getFormData()
@ -270,9 +271,6 @@ export default{
setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}),
getDataBlur() {
},
getFormData(){
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,58,118'
const cards = {

@ -191,8 +191,8 @@ const autoPlay = (parentId, form, myTable2, myTable, cards=[]) => {
// projectId:+projectId,
startTime:startTime,
}
console.log('---提交的')
console.log(formList)
// console.log('---提交的addOperation')
// console.log(params)
addOperation(params).then((data)=>{
// Message.success({
// center: true,

@ -1,18 +0,0 @@
{"avatar":"https://huoran.oss-cn-shenzhen.aliyuncs.com/20220120/jpg/1484105277204094976.jpg","cours
eId":"","userId":"","roleId":"","manager":{},"provinceList":[{"provinceId":1,"provinceName":"北京市","isDel":0},{"pr
ovinceId":2,"provinceName":"天津市","isDel":0},{"provinceId":3,"provinceName":"上海市","isDel":0},{"provinceId":4,"prov
inceName":"重庆市","isDel":0},{"provinceId":5,"provinceName":"河北省","isDel":0},{"provinceId":6,"provinceName":"山西省",
"isDel":0},{"provinceId":7,"provinceName":"台湾省","isDel":0},{"provinceId":8,"provinceName":"辽宁省","isDel":0},{"provinc
eId":9,"provinceName":"吉林省","isDel":0},{"provinceId":10,"provinceName":"黑龙江省","isDel":0},{"provinceId":11,"provinceN
ame":"江苏省","isDel":0},{"provinceId":12,"provinceName":"浙江省","isDel":0},{"provinceId":13,"provinceName":"安徽省","isDel
":0},{"provinceId":14,"provinceName":"福建省","isDel":0},{"provinceId":15,"provinceName":"江西省","isDel":0},{"provinceId"
:16,"provinceName":"山东省","isDel":0},{"provinceId":17,"provinceName":"河南省","isDel":0},{"provinceId":18,"provinceName":"
北省","isDel":0},{"provinceId":19,"provinceName":"湖南省","isDel":0},{"provinceId":20,"provinceName":"广东省","isDel":0},{"pr
ovinceId":21,"provinceName":"甘肃省","isDel":0},{"provinceId":22,"provinceName":"四川省","isDel":0},{"provinceId":23,"province
Name":"贵州省","isDel":0},{"provinceId":24,"provinceName":"海南省","isDel":0},{"provinceId":25,"provinceName":"云南省","isDel"
:0},{"provinceId":26,"provinceName":"青海省","isDel":0},{"provinceId":27,"provinceName":"陕西省","isDel":0},{"provinceId":28,"
provinceName":"广西壮族自治区","isDel":0},{"provinceId":29,"provinceName":"西藏自治区","isDel":0},{"provinceId":30,"provinceName"
:"宁夏回族自治区","isDel":0},{"provinceId":31,"provinceName":"新疆维吾尔自治区","isDel":0},{"provinceId":32,"provinceName":"内蒙古自
治区","isDel":0},{"provinceId":33,"provinceName":"澳门特别行政区","isDel":0},{"provinceId":34,"provinceName":"香港特别行政区","isDel
":0}],"configId":"","systemId":"","orderId":"","userLoginId":"","userName":"","login
Token":"","schoolId":"","lastSystemId":null,"projectFields":{}}
Loading…
Cancel
Save