20240205
yujialong 1 year ago
parent a437e809d0
commit 42eba9d7f8
  1. 7
      src/App.vue
  2. 5
      src/components/case/index.vue
  3. 1
      src/components/selectBusiness/index.vue
  4. 2
      src/pages/index/list/index.vue
  5. 1907
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  6. 984
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  7. 656
      src/pages/manage/navbar/index.vue
  8. 19
      src/pages/report/index.vue
  9. 1
      src/store/modules/system.js

@ -2,7 +2,7 @@
<div id="app"> <div id="app">
<select-business class="selectBusiness" <select-business class="selectBusiness"
:showIt.sync="showIt" :showIt.sync="showIt"
v-show="!showIt && showBusiness" /> v-show="!showIt && showBusiness && !submited" />
<router-view></router-view> <router-view></router-view>
<vCase :showIt.sync="showIt"></vCase> <vCase :showIt.sync="showIt"></vCase>
<tip-dialog class="Z-9999" /> <tip-dialog class="Z-9999" />
@ -44,7 +44,8 @@ export default {
data () { data () {
return { return {
showIt: true, showIt: true,
showSelect: false showSelect: false,
submited: false
} }
}, },
methods: { methods: {
@ -56,7 +57,7 @@ export default {
watch: { watch: {
showIt: { showIt: {
handler (newVal) { handler (newVal) {
console.log("🚀 ~ file: App.vue:58 ~ handler ~ newVal:", newVal, this.businessKey, sessionStorage.getItem('submited')) this.submited = sessionStorage.getItem('submited')
if (!newVal && !this.businessKey && !sessionStorage.getItem('submited')) { if (!newVal && !this.businessKey && !sessionStorage.getItem('submited')) {
this.setShowBusiness(true) this.setShowBusiness(true)
} else { } else {

@ -368,7 +368,6 @@ export default {
if (sessionStorage.getItem('projectId')) { if (sessionStorage.getItem('projectId')) {
projectId = sessionStorage.getItem('projectId') projectId = sessionStorage.getItem('projectId')
} }
console.log('mounted', projectId)
let assessmentId = sessionStorage.getItem('assessmentId') || this.getQueryVariable('assessmentId') let assessmentId = sessionStorage.getItem('assessmentId') || this.getQueryVariable('assessmentId')
let competitionId = sessionStorage.getItem('competitionId') || this.getQueryVariable('competitionId') let competitionId = sessionStorage.getItem('competitionId') || this.getQueryVariable('competitionId')
let stageId = sessionStorage.getItem('stageId') || this.getQueryVariable('stageId') let stageId = sessionStorage.getItem('stageId') || this.getQueryVariable('stageId')
@ -415,7 +414,6 @@ export default {
this.getData() this.getData()
} }
} }
console.log(2222, this.showIt)
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({
@ -516,8 +514,6 @@ export default {
} }
} }
console.log('---this.topicList')
console.log(this.topicList)
if (this.topicList.length > 0) { if (this.topicList.length > 0) {
const storeProjectId = sessionStorage.getItem('storeProjectId') || this.$route.query.projectId const storeProjectId = sessionStorage.getItem('storeProjectId') || this.$route.query.projectId
if (storeProjectId) { if (storeProjectId) {
@ -758,7 +754,6 @@ export default {
} }
this.loading = true; this.loading = true;
submit(params).then((data) => { submit(params).then((data) => {
console.log(4, data)
if (data.status == 200) { if (data.status == 200) {
sessionStorage.setItem('firstLoad2', true) sessionStorage.setItem('firstLoad2', true)
// this.clearStore() // this.clearStore()

@ -146,6 +146,7 @@ export default {
sessionStorage.setItem('cid', cid) sessionStorage.setItem('cid', cid)
sessionStorage.setItem('systemId', systemId) sessionStorage.setItem('systemId', systemId)
sessionStorage.setItem('projectId', projectId) sessionStorage.setItem('projectId', projectId)
sessionStorage.setItem('firstLoad2', true)
sessionStorage.removeItem('submited') sessionStorage.removeItem('submited')
if (assessmentId) { if (assessmentId) {
sessionStorage.setItem('assessmentId', assessmentId) sessionStorage.setItem('assessmentId', assessmentId)

@ -101,7 +101,7 @@ export default {
}, 1000); }, 1000);
} }
if (!this.businessKey) { if (!this.businessKey && this.$route.path !== '/index/report' && !sessionStorage.getItem('submited')) {
this.setShowBusiness(true) this.setShowBusiness(true)
} }
// //

File diff suppressed because it is too large Load Diff

@ -1,48 +1,48 @@
<template> <template>
<!-- 商业银行系统菜单文件 --> <!-- 商业银行系统菜单文件 -->
<el-menu class="sidebar-el-menu" :default-active="onRoutes" @select="select" router background-color="#313540" text-color="#fff" active-text-color="#ffd04b" unique-opened> <el-menu class="sidebar-el-menu"
<template v-for="(item,index) in menus"> :default-active="onRoutes"
<template v-if="item.children"> @select="select"
<el-submenu :index="item.index" :key="item.index"> router
<template slot="title"> background-color="#313540"
<el-image text-color="#fff"
style="width: 22px; height: 22px; margin-right: 10px;" active-text-color="#ffd04b"
class="align-middle" unique-opened>
:src="item.logo" <template v-for="(item,index) in menus">
></el-image> <template v-if="item.children">
<span slot="title">{{ item.title }}</span> <el-submenu :index="item.index"
</template> :key="item.index">
<template v-for="(subItem,index) in item.children"> <template slot="title">
<el-submenu <el-image style="width: 22px; height: 22px; margin-right: 10px;"
v-if="subItem.children" class="align-middle"
:index="subItem.index" :src="item.logo"></el-image>
:key="subItem.index" <span slot="title">{{ item.title }}</span>
> </template>
<template slot="title">{{ subItem.title }}</template> <template v-for="(subItem,index) in item.children">
<el-menu-item <el-submenu v-if="subItem.children"
v-for="(threeItem,i) in subItem.children" :index="subItem.index"
:key="i" :key="subItem.index">
:index="threeItem.index" <template slot="title">{{ subItem.title }}</template>
<el-menu-item v-for="(threeItem,i) in subItem.children"
>{{ threeItem.title }}</el-menu-item> :key="i"
</el-submenu> :index="threeItem.index">{{ threeItem.title }}</el-menu-item>
<el-menu-item </el-submenu>
v-else <el-menu-item v-else
:index="subItem.index" :index="subItem.index"
:key="subItem.index" :key="subItem.index">{{ subItem.title }}</el-menu-item>
>{{ subItem.title }}</el-menu-item> </template>
</template> </el-submenu>
</el-submenu> </template>
</template> <template v-else>
<template v-else> <el-menu-item :index="item.index"
<el-menu-item :index="item.index" :key="item.index"> :key="item.index">
<i :class="item.icon"></i> <i :class="item.icon"></i>
<span slot="title">{{ item.title }}</span> <span slot="title">{{ item.title }}</span>
</el-menu-item> </el-menu-item>
</template> </template>
</template> </template>
</el-menu> </el-menu>
</template> </template>
<script> <script>
@ -50,297 +50,295 @@ import { mapState } from 'vuex'
// import bus from '@/libs/bus'; // import bus from '@/libs/bus';
import Setting from '@/setting'; import Setting from '@/setting';
export default { export default {
// props: { // props: {
// needIndex: { // needIndex: {
// type: String, // type: String,
// required: true // required: true
// } // }
// },
data () {
return {
// onRoutes:'/counter/list/manage/consumerClient',
onRoutes: '',
menus: [
{
icon: 'menu-icon icon-index',
index: '/index/list',
title: '客户信息',
logo: require('@/assets/img/systemInput/客户信息.svg'),
children: [
{
index: '/counter/list/manage/consumerClient',
title: '个人客户信息建立',
}, {
index: '/counter/list/manage/corporateClient',
title: '公司客户信息建立',
},
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list1',
title: '个人业务',
logo: require('@/assets/img/systemInput/个人业务.svg'),
children: [
{
index: '/counter/list/manage/currentAccount',
title: '活期业务',
},
{
index: '/counter/list/manage/timeDeposit',
title: '整存整取',
},
{
index: '/counter/list/manage/usefulPhrases',
title: '零存整取',
},
{
index: '/counter/list/manage/callDeposits',
title: '通知存款',
},
// {
// index: '/counter/list/manage/accountService',
// title: '',
// },
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list2',
title: '公司业务',
logo: require('@/assets/img/systemInput/公司业务.svg'),
children: [
{
index: "/counter/list/manage/business-openAccount",
title: '开户'
},
{
index: "/counter/list/manage/business-deposit",
title: '存款'
},
{
index: "/counter/list/manage/business-withdrawal",
title: '取款'
},
{
index: "/counter/list/manage/business-transfer",
title: '转账'
},
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list3',
title: '账户服务',
logo: require('@/assets/img/systemInput/账户服务.svg'),
children: [
{
index: "/counter/list/manage/servicesAccount-passwordChange",
title: '密码修改'
},
{
index: "/counter/list/manage/servicesAccount-passwordLost",
title: '密码挂失'
},
{
index: "/counter/list/manage/servicesAccount-relieveLost",
title: '挂失解挂'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list4',
title: '同城交互',
logo: require('@/assets/img/systemInput/同城交互.svg'),
children: [
{
index: "/counter/list/manage/cityWide-out",
title: '同城提出'
},
{
index: "/counter/list/manage/cityWide-in",
title: '同城提入'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list5',
title: '银行承兑汇票',
logo: require('@/assets/img/systemInput/承兑汇票.svg'),
children: [
{
index: "/counter/list/manage/acceptanceDraft-invoice",
title: '承兑汇票开票'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list6',
title: '重控现金',
logo: require('@/assets/img/systemInput/重空现金.svg'),
children: [
{
index: "/counter/list/manage/importantCash-cashRecipients",
title: '现金管理'
},
{
index: "/counter/list/manage/importantCash-cashRecipients2",
title: '凭证管理'
},
{
index: "/counter/list/manage/importantCash-cashRecipients3",
title: '支票管理'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list7',
title: '日终管理',
logo: require('@/assets/img/systemInput/日终管理.svg'),
children: [
{
index: "/counter/list/manage/dayEnd-tellerCash",
title: '柜员现金轧帐'
},
{
index: "/counter/list/manage/dayEnd-tellerCertificate",
title: '柜员凭证轧帐'
},
{
index: "/counter/list/manage/dayEnd-branchDayEnd",
title: '网点日终轧帐'
}
]
},
],
}
},
watch: {
// '$route.path':function (val) {
// this.onRoutes = val
// }, // },
data() { needIndex (newVal) {
return { this.onRoutes = newVal
// onRoutes:'/counter/list/manage/consumerClient', }
onRoutes: '', },
menus: [ created () {
{ const path = sessionStorage.getItem('computerPath')
icon: 'menu-icon icon-index', if (path) {
index: '/index/list', this.onRoutes = path
title: '客户信息', } else {
logo: require('@/assets/img/systemInput/客户信息.svg'), this.onRoutes = this.$route.path
children: [ }
{ // this.onRoutes = this.$route.path
index: '/counter/list/manage/consumerClient',
title: '个人客户信息建立', // this.onRoutes = this.needIndex;
},{ // console.log(this.onRoutes)
index: '/counter/list/manage/corporateClient', // console.log(this.needIndex)
title: '公司客户信息建立', // this.onRoutes = this.$route.path
}, },
] methods: {
}, select (path) {
{ this.onRoutes = path
icon: 'menu-icon icon-index', }
index: '/index/list1', },
title: '个人业务', beforeDestroy () {
logo: require('@/assets/img/systemInput/个人业务.svg'), sessionStorage.setItem('computerPath', this.onRoutes)
children:[ sessionStorage.getItem('submited') || this.$router.push('/counter/list/')
{ },
index: '/counter/list/manage/currentAccount',
title: '活期业务',
},
{
index: '/counter/list/manage/timeDeposit',
title: '整存整取',
},
{
index: '/counter/list/manage/usefulPhrases',
title: '零存整取',
},
{
index: '/counter/list/manage/callDeposits',
title: '通知存款',
},
// {
// index: '/counter/list/manage/accountService',
// title: '',
// },
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list2',
title: '公司业务',
logo: require('@/assets/img/systemInput/公司业务.svg'),
children:[
{
index:"/counter/list/manage/business-openAccount",
title:'开户'
},
{
index:"/counter/list/manage/business-deposit",
title:'存款'
},
{
index:"/counter/list/manage/business-withdrawal",
title:'取款'
},
{
index:"/counter/list/manage/business-transfer",
title:'转账'
},
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list3',
title: '账户服务',
logo: require('@/assets/img/systemInput/账户服务.svg'),
children:[
{
index:"/counter/list/manage/servicesAccount-passwordChange",
title:'密码修改'
},
{
index:"/counter/list/manage/servicesAccount-passwordLost",
title:'密码挂失'
},
{
index:"/counter/list/manage/servicesAccount-relieveLost",
title:'挂失解挂'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list4',
title: '同城交互',
logo: require('@/assets/img/systemInput/同城交互.svg'),
children:[
{
index:"/counter/list/manage/cityWide-out",
title:'同城提出'
},
{
index:"/counter/list/manage/cityWide-in",
title:'同城提入'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list5',
title: '银行承兑汇票',
logo: require('@/assets/img/systemInput/承兑汇票.svg'),
children:[
{
index:"/counter/list/manage/acceptanceDraft-invoice",
title:'承兑汇票开票'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list6',
title: '重控现金',
logo: require('@/assets/img/systemInput/重空现金.svg'),
children:[
{
index:"/counter/list/manage/importantCash-cashRecipients",
title:'现金管理'
},
{
index:"/counter/list/manage/importantCash-cashRecipients2",
title:'凭证管理'
},
{
index:"/counter/list/manage/importantCash-cashRecipients3",
title:'支票管理'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list7',
title: '日终管理',
logo: require('@/assets/img/systemInput/日终管理.svg'),
children:[
{
index:"/counter/list/manage/dayEnd-tellerCash",
title:'柜员现金轧帐'
},
{
index:"/counter/list/manage/dayEnd-tellerCertificate",
title:'柜员凭证轧帐'
},
{
index:"/counter/list/manage/dayEnd-branchDayEnd",
title:'网点日终轧帐'
}
]
},
],
}
},
watch: {
// '$route.path':function (val) {
// this.onRoutes = val
// },
needIndex(newVal) {
this.onRoutes = newVal
}
},
created() {
const path = sessionStorage.getItem('computerPath')
if(path) {
this.onRoutes = path
}else {
this.onRoutes = this.$route.path
}
// this.onRoutes = this.$route.path
// this.onRoutes = this.needIndex;
// console.log(this.onRoutes)
// console.log(this.needIndex)
// this.onRoutes = this.$route.path
},
methods: {
select(path) {
this.onRoutes = path
}
},
beforeDestroy() {
sessionStorage.setItem('computerPath', this.onRoutes)
this.$router.push('/counter/list/')
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
// /dee/ .el-menu { // /dee/ .el-menu {
// color: red!important; // color: red!important;
// overflow: auto; // overflow: auto;
// } // }
// .sidebar-el-menu { // .sidebar-el-menu {
// // max-height: calc(100vh - 110px); // // max-height: calc(100vh - 110px);
// overflow: auto; // overflow: auto;
// } // }
// .nav{
// background-color: #141414;
// overflow: auto;
// .logo{
// padding: 20px 0;
// text-align: center;
// }
// /deep/.el-menu{
// border-right: 0 !important;
// .el-menu-item{
// display: flex;
// align-items: center;
// &.is-active{
// background-color: #CC221C !important;
// }
// // .menu-icon{
// // width: 24px;
// // height: 24px;
// // margin-right: 12px;
// // background: url(../../assets/img/home.png) no-repeat;
// // &.icon-ques{
// // background-image: url(../../assets/img/ques.png);
// // }
// // &.icon-testpaper{
// // background-image: url(../../assets/img/paper.png);
// // }
// // &.icon-practise{
// // background-image: url(../../assets/img/practise.png);
// // }
// // &.icon-exam{
// // background-image: url(../../assets/img/exam.png);
// // }
// // &.icon-ache{
// // background-image: url(../../assets/img/ache.png);
// // }
// // &.icon-msg{
// // background-image: url(../../assets/img/msg.png);
// // }
// // &.icon-student{
// // background-image: url(../../assets/img/student.png);
// // }
// // &.icon-system{
// // background-image: url(../../assets/img/system.png);
// // }
// // }
// // span{
// // font-size: 15px;
// // }
// }
// }
// }
.sidebar::-webkit-scrollbar { // .nav{
width: 0; // background-color: #141414;
} // overflow: auto;
.sidebar-el-menu:not(.el-menu--collapse) { // .logo{
width: 100%; // padding: 20px 0;
border: 0; // text-align: center;
border-bottom-left-radius: 20px; // }
} // /deep/.el-menu{
.sidebar > ul { // border-right: 0 !important;
height: 100%; // .el-menu-item{
} // display: flex;
/deep/.el-menu{ // align-items: center;
border: 0; // &.is-active{
} // background-color: #CC221C !important;
// menu // }
/deep/ .el-submenu__title span { // // .menu-icon{
font-size: 18px; // // width: 24px;
// // height: 24px;
} // // margin-right: 12px;
// // background: url(../../assets/img/home.png) no-repeat;
// // &.icon-ques{
// // background-image: url(../../assets/img/ques.png);
// // }
// // &.icon-testpaper{
// // background-image: url(../../assets/img/paper.png);
// // }
// // &.icon-practise{
// // background-image: url(../../assets/img/practise.png);
// // }
// // &.icon-exam{
// // background-image: url(../../assets/img/exam.png);
// // }
// // &.icon-ache{
// // background-image: url(../../assets/img/ache.png);
// // }
// // &.icon-msg{
// // background-image: url(../../assets/img/msg.png);
// // }
// // &.icon-student{
// // background-image: url(../../assets/img/student.png);
// // }
// // &.icon-system{
// // background-image: url(../../assets/img/system.png);
// // }
// // }
// // span{
// // font-size: 15px;
// // }
// }
// }
// }
/deep/.el-menu-item { .sidebar::-webkit-scrollbar {
font-size: 18px!important; width: 0;
}
} .sidebar-el-menu:not(.el-menu--collapse) {
// .myOver { width: 100%;
// overflow: hidden; border: 0;
// } border-bottom-left-radius: 20px;
}
.sidebar > ul {
height: 100%;
}
/deep/.el-menu {
border: 0;
}
// menu
/deep/ .el-submenu__title span {
font-size: 18px;
}
/deep/.el-menu-item {
font-size: 18px !important;
}
// .myOver {
// overflow: hidden;
// }
</style> </style>

@ -125,8 +125,7 @@
label="判分点" label="判分点"
width="200" width="200"
align="center"></el-table-column> align="center"></el-table-column>
<el-table-column v-if='project' <el-table-column prop="judgmentName"
prop="judgmentName"
label="考核点" label="考核点"
align="center" align="center"
width="150"> width="150">
@ -156,6 +155,22 @@
v-html="scope.row.referenceAnswer"></div> v-html="scope.row.referenceAnswer"></div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="userAnswer"
label="学生答案">
<template slot-scope="scope">
<div v-if='scope.row.lcRuleRecords'>
<div v-for="(item, index) in scope.row.lcRuleRecords"
:key="index">
<span v-if='item.userAnswer'>
<span>{{index+1}}. </span>{{item.userAnswer}}
</span>
<span v-else>
<span>{{index+1}}. </span>未填写
</span>
</div>
</div>
</template>
</el-table-column>
<el-table-column prop="quesScore" <el-table-column prop="quesScore"
label="分值" label="分值"
width="80" width="80"

@ -454,6 +454,7 @@ const myInitState = {
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:12, currency:12,
goldLogo:13, goldLogo:13,
capital: 1000000,
userName, userName,
peopleNumber, peopleNumber,
idNumber, idNumber,

Loading…
Cancel
Save