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. 727
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  6. 220
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  7. 290
      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">
<select-business class="selectBusiness"
:showIt.sync="showIt"
v-show="!showIt && showBusiness" />
v-show="!showIt && showBusiness && !submited" />
<router-view></router-view>
<vCase :showIt.sync="showIt"></vCase>
<tip-dialog class="Z-9999" />
@ -44,7 +44,8 @@ export default {
data () {
return {
showIt: true,
showSelect: false
showSelect: false,
submited: false
}
},
methods: {
@ -56,7 +57,7 @@ export default {
watch: {
showIt: {
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')) {
this.setShowBusiness(true)
} else {

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

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

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

@ -1,79 +1,145 @@
// >
<template>
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<el-form-item label="凭证号码" prop="voucherNumber">
<el-row :gutter="20"
style="margin: 0">
<el-form ref="form"
:model="form"
label-width="120px"
:rules="rules">
<el-col :span="10"
:offset="1">
<el-form-item label="凭证号码"
prop="voucherNumber">
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p>
</div>
<div v-else>
<el-input @blur="getDataBlur" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> -->
<el-input @blur="getDataBlur" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
<el-input @blur="getDataBlur"
ref="voucherNumber"
:value="form.voucherNumber"
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model.trim="form.currency" placeholder="请选择" ref="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-form-item label="币种"
prop="currency">
<el-select v-model.trim="form.currency"
placeholder="请选择"
ref="currency">
<el-option v-for="item in getSelectList.currencySelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="定存编号" prop="depositNumber">
<el-input ref="depositNumber" disabled :value="form.depositNumber" @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input>
<el-form-item label="定存编号"
prop="depositNumber">
<el-input ref="depositNumber"
disabled
:value="form.depositNumber"
@input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input>
</el-form-item>
<el-form-item label="支取方式" prop="withdrawWay">
<el-radio-group v-model.trim="form.withdrawWay" ref="withdrawWay">
<el-form-item label="支取方式"
prop="withdrawWay">
<el-radio-group v-model.trim="form.withdrawWay"
ref="withdrawWay">
<el-radio :label="125">部分支取</el-radio>
<el-radio :label="126">全部支取并销户</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="支取类别" prop="withdrawType">
<el-select v-model.trim="form.withdrawType" placeholder="请选择" ref="withdrawType">
<el-option label="现金" :value="124"> </el-option>
<el-form-item label="支取类别"
prop="withdrawType">
<el-select v-model.trim="form.withdrawType"
placeholder="请选择"
ref="withdrawType">
<el-option label="现金"
:value="124"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUp2('密码器')">
<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 v-else
@click="popUp2('密码器')">
<el-input :value="form.drawPassword"
ref="drawPassword"
type="password"></el-input>
</div>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" prop="customerName">
<el-input :value="form.customerName" disabled @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
<el-col :span="10"
:offset="1">
<el-form-item label="客户姓名"
prop="customerName">
<el-input :value="form.customerName"
disabled
@input="(val) => checkName(val, form, 'customerName')"
ref="customerName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
<el-select v-model.trim="form.goldLogo" placeholder="请选择" ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-form-item label="钞汇标识"
prop="goldLogo">
<el-select v-model.trim="form.goldLogo"
placeholder="请选择"
ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="本金" prop="capital">
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input>
<el-form-item label="本金"
prop="capital">
<el-input :value="form.capital"
disabled
@input="val => ismoney(val, form, 'capital')"
ref="capital"></el-input>
</el-form-item>
<el-form-item label="支取金额" prop="withdrawAmount">
<el-input ref="withdrawAmount" :value="form.withdrawAmount" :disabled="capitalDisabled" @input="val => getMoneyJudge(val)"></el-input>
<el-form-item label="支取金额"
prop="withdrawAmount">
<el-input ref="withdrawAmount"
:value="form.withdrawAmount"
:disabled="capitalDisabled"
@input="val => getMoneyJudge(val)"></el-input>
</el-form-item>
<el-form-item label="利息" prop="interest">
<el-input :value="form.interest" disabled @input="(val) => rateListen(val, form, 'interest')" ref="interest"></el-input>
<el-form-item label="利息"
prop="interest">
<el-input :value="form.interest"
disabled
@input="(val) => rateListen(val, form, 'interest')"
ref="interest"></el-input>
</el-form-item>
<el-form-item label="新凭证号码" prop="newVoucherNumber" v-show="form.withdrawWay===125">
<el-input :value="form.newVoucherNumber" @input="(val) => inputListen(val, form, 'newVoucherNumber')" ref="newVoucherNumber"></el-input>
<el-form-item label="新凭证号码"
prop="newVoucherNumber"
v-show="form.withdrawWay===125">
<el-input :value="form.newVoucherNumber"
@input="(val) => inputListen(val, form, 'newVoucherNumber')"
ref="newVoucherNumber"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitIt" type="primary" class="submitBtn" v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
<el-button @click="submitIt"
type="primary"
class="submitBtn"
v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="submitForm2" />
</div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
</template>
<script>
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, rateListen, inputListen,messageCard, messagePassword} from '@/utils/utilFunction.js';
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, rateListen, inputListen, messageCard, messagePassword } from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
const moduleName = 'timeDeposit/withdrawal'
@ -81,28 +147,28 @@ import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
export default {
name: '',
props: {},
mixins: [TipsBefore],
components: {
NeedBefore,
MyDialog
},
created() {
created () {
if(this.form.depositNumber) {
if (this.form.depositNumber) {
this.form.depositNumber = '0912'
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) {
if (sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
}
const { withdrawWay } = this.dataFlow
if(withdrawWay === 126) {
if (withdrawWay === 126) {
this.form.interest = '15.00'
// this.rules.withdrawAmount[0].required = false
if(sessionStorage.getItem('nomtimeDepositWithdrawal2')) {
if (sessionStorage.getItem('nomtimeDepositWithdrawal2')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
@ -117,10 +183,10 @@ export default{
}
}else {
} else {
this.form.interest = 0.00
if(sessionStorage.getItem('nomtimeDepositWithdrawal1')) {
if (sessionStorage.getItem('nomtimeDepositWithdrawal1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
@ -134,27 +200,27 @@ export default{
// this.form.withdrawWay = withdrawWay
}
}
if(!this.form.withdrawWay) {
if (!this.form.withdrawWay) {
this.form.withdrawWay = 125
}
this.getFormData()
},
data(){
data () {
const withdrawAmountValidator = (rule, value, cb) => {
const maxMoney = Number(this.form.capital) + Number(this.form.interest)
if(Number(value) > maxMoney) {
if (Number(value) > maxMoney) {
cb(new Error('支取金额不应超过本金与利息之和'))
}else {
} else {
cb()
}
}
return{
return {
moduleName: 'timeDeposit/withdrawal',
visible: false,
capitalDisabled: false, //
cardNumberJudge: false,
form:{
form: {
//
drawPassword: '', //
cardNumber: '', //
@ -180,7 +246,7 @@ export default{
// withdrawType: '', //
// withdrawWay: '', //
},
formName:{
formName: {
//
drawPassword: '凭证密码', //
cardNumber: '凭证号码', //
@ -311,7 +377,7 @@ export default{
submited: 0
}
},
mounted() {
mounted () {
},
methods: {
...mapMutations({
@ -321,25 +387,25 @@ export default{
setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}),
getMoneyJudge(val) {
getMoneyJudge (val) {
//
const tmpCheck = val.substr(val.length-1, 1);
const tmpCheck = val.substr(val.length - 1, 1);
//
if(tmpCheck === ' ') {
if (tmpCheck === ' ') {
return;
}
// 15
if(val.length === 15) {
if (val.length === 15) {
return
}
// const reg = /([1-9]\d{0,9}|0)(\.\d{1,2})?$/ //
const reg2 = /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/; //
if (reg2.test(Number(val)) || val==='') {
if (reg2.test(Number(val)) || val === '') {
this.form.withdrawAmount = val
}
},
getDataBlur() {
if(!this.form.voucherNumber) {
getDataBlur () {
if (!this.form.voucherNumber) {
return
}
// 0912
@ -350,28 +416,28 @@ export default{
this.form.goldLogo = goldLogo
// this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = money || 0
this.form.capital = money || 1000000
this.form.withdrawType = withdrawType
// this.form.withdrawAmount = Number(this.form.interest) + Number(this.form.capital)
},
getFormData(){
getFormData () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,58,120'
const cards = {
// 144: 'nomtimeDepositWithdrawal1',
// 154: 'nomtimeDepositWithdrawalPassword'
}
const callback = () => {
if(this.form.depositNumber) {
if (this.form.depositNumber) {
this.form.depositNumber = '0912'
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
popUp(text) {
popUp (text) {
const { withdrawWay } = this.dataFlow
if(withdrawWay === 126) {
if (withdrawWay === 126) {
this.setPopId('144,2')
}else {
} else {
this.setPopId('144,1')
}
@ -381,7 +447,7 @@ export default{
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
popUp2 (text) {
// this.$store.commit('system/changePop',{show:true,text, id: '154'})
// if(this.isNeedBefore) {
// this.setPopId('154')
@ -399,13 +465,13 @@ export default{
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitIt() {
submitIt () {
// if(!this.form.voucherNumber) {
// messageCard()
// return
// }
if (this.submited) return this.$message.error('已提交!')
if(!this.form.drawPassword) {
if (!this.form.drawPassword) {
messagePassword()
return
}
@ -414,7 +480,7 @@ export default{
this.visible = true;
}, this.$refs));
},
submitForm2() {
submitForm2 () {
// let nomtimeDepositWithdrawal1 = sessionStorage.getItem('nomtimeDepositWithdrawal1')
// let nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,58,120'
@ -448,10 +514,10 @@ export default{
},
watch: {
'form.withdrawWay': {
handler(newVal, oldVal) {
handler (newVal, oldVal) {
// withdrawWay
// const { withdrawWay } = this.dataFlow
if(newVal === 126) {
if (newVal === 126) {
this.capitalDisabled = true
this.form.interest = '15.00'
@ -461,11 +527,11 @@ export default{
//this.rules.withdrawAmount[0].required = false
//
this.form.withdrawAmount = Number(this.form.interest) + Number(this.form.capital)
}else {
if(sessionStorage.getItem('newVoucherNumber')) {
} else {
if (sessionStorage.getItem('newVoucherNumber')) {
this.form.newVoucherNumber = sessionStorage.getItem('newVoucherNumber')
}
if(oldVal === 126) {
if (oldVal === 126) {
this.form.withdrawAmount = ''
}

@ -1,41 +1,41 @@
<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"
:default-active="onRoutes"
@select="select"
router
background-color="#313540"
text-color="#fff"
active-text-color="#ffd04b"
unique-opened>
<template v-for="(item,index) in menus">
<template v-if="item.children">
<el-submenu :index="item.index" :key="item.index">
<el-submenu :index="item.index"
:key="item.index">
<template slot="title">
<el-image
style="width: 22px; height: 22px; margin-right: 10px;"
<el-image style="width: 22px; height: 22px; margin-right: 10px;"
class="align-middle"
:src="item.logo"
></el-image>
:src="item.logo"></el-image>
<span slot="title">{{ item.title }}</span>
</template>
<template v-for="(subItem,index) in item.children">
<el-submenu
v-if="subItem.children"
<el-submenu v-if="subItem.children"
:index="subItem.index"
:key="subItem.index"
>
:key="subItem.index">
<template slot="title">{{ subItem.title }}</template>
<el-menu-item
v-for="(threeItem,i) in subItem.children"
<el-menu-item v-for="(threeItem,i) in subItem.children"
:key="i"
:index="threeItem.index"
>{{ threeItem.title }}</el-menu-item>
:index="threeItem.index">{{ threeItem.title }}</el-menu-item>
</el-submenu>
<el-menu-item
v-else
<el-menu-item v-else
:index="subItem.index"
:key="subItem.index"
>{{ subItem.title }}</el-menu-item>
:key="subItem.index">{{ subItem.title }}</el-menu-item>
</template>
</el-submenu>
</template>
<template v-else>
<el-menu-item :index="item.index" :key="item.index">
<el-menu-item :index="item.index"
:key="item.index">
<i :class="item.icon"></i>
<span slot="title">{{ item.title }}</span>
</el-menu-item>
@ -56,7 +56,7 @@ export default {
// required: true
// }
// },
data() {
data () {
return {
// onRoutes:'/counter/list/manage/consumerClient',
onRoutes: '',
@ -70,7 +70,7 @@ export default {
{
index: '/counter/list/manage/consumerClient',
title: '个人客户信息建立',
},{
}, {
index: '/counter/list/manage/corporateClient',
title: '公司客户信息建立',
},
@ -81,7 +81,7 @@ export default {
index: '/index/list1',
title: '个人业务',
logo: require('@/assets/img/systemInput/个人业务.svg'),
children:[
children: [
{
index: '/counter/list/manage/currentAccount',
title: '活期业务',
@ -109,22 +109,22 @@ export default {
index: '/index/list2',
title: '公司业务',
logo: require('@/assets/img/systemInput/公司业务.svg'),
children:[
children: [
{
index:"/counter/list/manage/business-openAccount",
title:'开户'
index: "/counter/list/manage/business-openAccount",
title: '开户'
},
{
index:"/counter/list/manage/business-deposit",
title:'存款'
index: "/counter/list/manage/business-deposit",
title: '存款'
},
{
index:"/counter/list/manage/business-withdrawal",
title:'取款'
index: "/counter/list/manage/business-withdrawal",
title: '取款'
},
{
index:"/counter/list/manage/business-transfer",
title:'转账'
index: "/counter/list/manage/business-transfer",
title: '转账'
},
]
},
@ -133,18 +133,18 @@ export default {
index: '/index/list3',
title: '账户服务',
logo: require('@/assets/img/systemInput/账户服务.svg'),
children:[
children: [
{
index:"/counter/list/manage/servicesAccount-passwordChange",
title:'密码修改'
index: "/counter/list/manage/servicesAccount-passwordChange",
title: '密码修改'
},
{
index:"/counter/list/manage/servicesAccount-passwordLost",
title:'密码挂失'
index: "/counter/list/manage/servicesAccount-passwordLost",
title: '密码挂失'
},
{
index:"/counter/list/manage/servicesAccount-relieveLost",
title:'挂失解挂'
index: "/counter/list/manage/servicesAccount-relieveLost",
title: '挂失解挂'
}
]
},
@ -153,14 +153,14 @@ export default {
index: '/index/list4',
title: '同城交互',
logo: require('@/assets/img/systemInput/同城交互.svg'),
children:[
children: [
{
index:"/counter/list/manage/cityWide-out",
title:'同城提出'
index: "/counter/list/manage/cityWide-out",
title: '同城提出'
},
{
index:"/counter/list/manage/cityWide-in",
title:'同城提入'
index: "/counter/list/manage/cityWide-in",
title: '同城提入'
}
]
},
@ -169,10 +169,10 @@ export default {
index: '/index/list5',
title: '银行承兑汇票',
logo: require('@/assets/img/systemInput/承兑汇票.svg'),
children:[
children: [
{
index:"/counter/list/manage/acceptanceDraft-invoice",
title:'承兑汇票开票'
index: "/counter/list/manage/acceptanceDraft-invoice",
title: '承兑汇票开票'
}
]
},
@ -181,18 +181,18 @@ export default {
index: '/index/list6',
title: '重控现金',
logo: require('@/assets/img/systemInput/重空现金.svg'),
children:[
children: [
{
index:"/counter/list/manage/importantCash-cashRecipients",
title:'现金管理'
index: "/counter/list/manage/importantCash-cashRecipients",
title: '现金管理'
},
{
index:"/counter/list/manage/importantCash-cashRecipients2",
title:'凭证管理'
index: "/counter/list/manage/importantCash-cashRecipients2",
title: '凭证管理'
},
{
index:"/counter/list/manage/importantCash-cashRecipients3",
title:'支票管理'
index: "/counter/list/manage/importantCash-cashRecipients3",
title: '支票管理'
}
]
},
@ -201,18 +201,18 @@ export default {
index: '/index/list7',
title: '日终管理',
logo: require('@/assets/img/systemInput/日终管理.svg'),
children:[
children: [
{
index:"/counter/list/manage/dayEnd-tellerCash",
title:'柜员现金轧帐'
index: "/counter/list/manage/dayEnd-tellerCash",
title: '柜员现金轧帐'
},
{
index:"/counter/list/manage/dayEnd-tellerCertificate",
title:'柜员凭证轧帐'
index: "/counter/list/manage/dayEnd-tellerCertificate",
title: '柜员凭证轧帐'
},
{
index:"/counter/list/manage/dayEnd-branchDayEnd",
title:'网点日终轧帐'
index: "/counter/list/manage/dayEnd-branchDayEnd",
title: '网点日终轧帐'
}
]
},
@ -223,15 +223,15 @@ export default {
// '$route.path':function (val) {
// this.onRoutes = val
// },
needIndex(newVal) {
needIndex (newVal) {
this.onRoutes = newVal
}
},
created() {
created () {
const path = sessionStorage.getItem('computerPath')
if(path) {
if (path) {
this.onRoutes = path
}else {
} else {
this.onRoutes = this.$route.path
}
// this.onRoutes = this.$route.path
@ -242,105 +242,103 @@ export default {
// this.onRoutes = this.$route.path
},
methods: {
select(path) {
select (path) {
this.onRoutes = path
}
},
beforeDestroy() {
beforeDestroy () {
sessionStorage.setItem('computerPath', this.onRoutes)
this.$router.push('/counter/list/')
sessionStorage.getItem('submited') || this.$router.push('/counter/list/')
},
};
</script>
<style lang="scss" scoped>
// /dee/ .el-menu {
// color: red!important;
// overflow: auto;
// }
// .sidebar-el-menu {
// // max-height: calc(100vh - 110px);
// overflow: auto;
// }
// /dee/ .el-menu {
// color: red!important;
// overflow: auto;
// }
// .sidebar-el-menu {
// // max-height: calc(100vh - 110px);
// 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;
// // }
// }
// }
// }
// .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 {
.sidebar::-webkit-scrollbar {
width: 0;
}
.sidebar-el-menu:not(.el-menu--collapse) {
}
.sidebar-el-menu:not(.el-menu--collapse) {
width: 100%;
border: 0;
border-bottom-left-radius: 20px;
}
.sidebar > ul {
}
.sidebar > ul {
height: 100%;
}
/deep/.el-menu{
}
/deep/.el-menu {
border: 0;
}
// menu
/deep/ .el-submenu__title span {
}
// menu
/deep/ .el-submenu__title span {
font-size: 18px;
}
}
/deep/.el-menu-item {
font-size: 18px!important;
}
// .myOver {
// overflow: hidden;
// }
/deep/.el-menu-item {
font-size: 18px !important;
}
// .myOver {
// overflow: hidden;
// }
</style>

@ -125,8 +125,7 @@
label="判分点"
width="200"
align="center"></el-table-column>
<el-table-column v-if='project'
prop="judgmentName"
<el-table-column prop="judgmentName"
label="考核点"
align="center"
width="150">
@ -156,6 +155,22 @@
v-html="scope.row.referenceAnswer"></div>
</template>
</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"
label="分值"
width="80"

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

Loading…
Cancel
Save