修改提交后获取总分数

20240205
e 3 years ago
parent 19f98e4f6c
commit 2c51936a5e
  1. 54
      src/components/case/index.vue
  2. 7
      src/pages/counter/list/index.vue
  3. 2
      src/pages/manage/list/personal/currentAccount/openAccount.vue

@ -241,6 +241,7 @@ export default {
sessionStorage.setItem('systemId', systemId) sessionStorage.setItem('systemId', systemId)
} }
let tokens = sessionStorage.getItem('token') let tokens = sessionStorage.getItem('token')
console.log(tokens)
if(tokens){ if(tokens){
this.projectPermissions = this.projectId ? 1 : 0 this.projectPermissions = this.projectId ? 1 : 0
if(this.projectId){ if(this.projectId){
@ -268,13 +269,41 @@ export default {
// //
getData(){ getData(){
let params = { let params = {
systemId:'11', systemId:'11',
"permissions":0,
} }
getProjectBySystemId(params).then((data)=>{ getProjectBySystemId(params).then((data)=>{
if(data.status == 200){ if(data.status == 200){
this.topicList = data.data.projects; this.topicList = data.data.projects;
this.projectId = this.topicList[0].projectId; this.projectId = this.topicList[0].projectId;
this.selectProject() let params = {
"projectId":this.projectId,
}
getProjectDetail(params).then((data)=>{
if(data.status == 200){
let token = sessionStorage.getItem('token')
let cid = sessionStorage.getItem('cid')
let systemId = sessionStorage.getItem('systemId')
let formList = []
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
sessionStorage.setItem('formDataAccountVoucher', JSON.stringify(formList))
sessionStorage.setItem('formDataAccountPassword', '')
this.projectName = data.data.projectManage.projectName
this.projectManage = data.data.projectManage;
this.requires = data.data.projectJudgmentVos;
// location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
}
}).catch((error)=>{
})
//
let startTime = new Date().getTime();
sessionStorage.setItem('startTime', startTime)
this.day = '00';
this.hour = '00';
this.minutes = '00';
this.seconds = '00';
this.getClearTime();
this.startCountFn();
} }
}).catch((error)=>{ }).catch((error)=>{
}) })
@ -282,15 +311,22 @@ export default {
// //
selectProject(){ selectProject(){
let params = { let params = {
projectId:this.projectId, "projectId":this.projectId,
} }
getProjectDetail(params).then((data)=>{ getProjectDetail(params).then((data)=>{
console.log(data)
if(data.status == 200){ if(data.status == 200){
this.projectName = data.data.projectName let token = sessionStorage.getItem('token')
this.projectManage = data.data.projectManage; let cid = sessionStorage.getItem('cid')
this.requires = data.data.projectJudgmentVos; let systemId = sessionStorage.getItem('systemId')
location.href = 'http://39.108.250.202/banksystem/#/index/list' let formList = []
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
sessionStorage.setItem('formDataAccountVoucher', JSON.stringify(formList))
sessionStorage.setItem('formDataAccountPassword', '')
this.projectName = data.data.projectManage.projectName;
this.projectManage = data.data.projectManage;
this.requires = data.data.projectJudgmentVos;
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
} }
}).catch((error)=>{ }).catch((error)=>{
}) })
@ -347,7 +383,7 @@ export default {
sessionStorage.setItem('formDataAccountVoucher', JSON.stringify(formList)) sessionStorage.setItem('formDataAccountVoucher', JSON.stringify(formList))
sessionStorage.setItem('formDataAccountPassword', '') sessionStorage.setItem('formDataAccountPassword', '')
let list = this.requires let list = this.requires
this.grade = data.data.totalScore this.grade = data.data.retMap.totalScore
for (var j=0;j<list.length;j++){ for (var j=0;j<list.length;j++){
for (var i=0;i<datas.length;i++){ for (var i=0;i<datas.length;i++){
if (datas[i].lcId== list[j].judgmentId){ if (datas[i].lcId== list[j].judgmentId){

@ -256,7 +256,12 @@ export default {
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23}, {name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23},
], ],
// 西 // 西
goodsShelfTotalData:[], goodsShelfTotalData:[
{name:'身份证', src:require('@/assets/img/goods/idcard.png'), id:13},
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23},
{name:'开户申请书', src:require('@/assets/img/goods/khsqs.png'), id:14},
{name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15},
],
// goods:[/* */ // goods:[/* */
// ], // ],
popArr:[/* 弹窗展示的物品 */ popArr:[/* 弹窗展示的物品 */

@ -312,7 +312,7 @@ export default {
formList.push( formList.push(
{"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,62,69", "type": "3"},// {"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,62,69", "type": "3"},//
{"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,62,70", "type": "1"},// {"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,62,70", "type": "1"},//
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,62,73", "type": "1"},// {"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,62,71", "type": "1"},//
{"emptyOne": "12", "emptyTwo": this.form.accountType, "operationIds": "0,5,26,57,62,74", "type": "1"}, // {"emptyOne": "12", "emptyTwo": this.form.accountType, "operationIds": "0,5,26,57,62,74", "type": "1"}, //
{"emptyOne": "13", "emptyTwo": this.form.drawWay, "operationIds": "0,5,26,57,62,76", "type": "1"}, // {"emptyOne": "13", "emptyTwo": this.form.drawWay, "operationIds": "0,5,26,57,62,76", "type": "1"}, //
{"emptyOne": "11", "emptyTwo": this.form.voucherType, "operationIds": "0,5,26,57,62,73", "type": "1"} // {"emptyOne": "11", "emptyTwo": this.form.voucherType, "operationIds": "0,5,26,57,62,73", "type": "1"} //

Loading…
Cancel
Save