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)=>{ getProjectBySystemId(params).then((data)=>{
if(data.status == 200){ if(data.status == 200){
// this.getQueryCaches()
// //
this.getBeginTime() this.getBeginTime()
this.topicList = [] this.topicList = []
@ -405,16 +406,30 @@ export default {
this.topicList.push(data.data.projects[i]) this.topicList.push(data.data.projects[i])
} }
} }
if(this.topicList.length > 0){ // if(this.topicList.length > 0){
this.selectProjects({ // // const projectIndex = JSON.parse(sessionStorage.getItem('projectIndex'))
projectId: this.topicList[0].projectId // // 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.selectProjects({
// projectId: this.topicList[0].projectId
// })
this.gotuQueryVariable()
// // this.gotuQueryVariable()
} // //
console.log('this.topicList---') // }
console.log(this.topicList)
this.getQueryCaches() this.getQueryCaches()
} }
}).catch((error)=>{ }).catch((error)=>{
@ -521,13 +536,24 @@ export default {
// //
selectProject(){ 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() this.clearStore()
// deleteCache().then((data)=>{ deleteCache().then((data)=>{
// }).catch(() => { }).catch(() => {
// }) })
let params = { let params = {
"projectId":this.projectId, "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> <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> <i class="view el-icon-view" @click="viewPassword1 = !viewPassword1"></i>
</el-form-item> </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> <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> <i class="view el-icon-view" @click="viewPassword2 = !viewPassword2"></i>
</el-form-item> </el-form-item>
@ -678,6 +678,13 @@ export default {
}, },
computed: { 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() { importanceArr() {
const arr = [ const arr = [
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428},
@ -1623,7 +1630,7 @@ export default {
if(this.passwordForm.passwordAgain.length !== 6) { if(this.passwordForm.passwordAgain.length !== 6) {
this.setTipsOperate('您输入的密码不足6位!') this.setTipsOperate('您输入的密码不足6位!')
return 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('两次输入密码不一致') this.setTipsOperate('两次输入密码不一致')
return return
} }

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

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

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