实验报告等

20240205
yujialong 2 years ago
parent 38b38a1c5f
commit 8b614eeaf6
  1. 2
      src/api/api.js
  2. 6
      src/api/http.js
  3. BIN
      src/assets/img/point.png
  4. BIN
      src/assets/img/report1.png
  5. BIN
      src/assets/img/report2.png
  6. BIN
      src/assets/img/report3.png
  7. BIN
      src/assets/img/report4.png
  8. BIN
      src/assets/img/report5.png
  9. 4
      src/assets/svg/financial.svg
  10. 71
      src/components/breadcrumb/index.vue
  11. 63
      src/components/case/index.vue
  12. 20
      src/layouts/header/index.vue
  13. 28
      src/pages/lobbyManager/list/index.vue
  14. 7
      src/pages/manage/list/acceptanceDraft/invoice.vue
  15. 404
      src/pages/report/index.vue
  16. 6
      src/router/modules/index.js
  17. 8
      src/store/modules/system.js

@ -8,7 +8,7 @@ if (dev) {
// 本地 // 本地
host = 'http://121.37.12.51/' // 中台测试服 host = 'http://121.37.12.51/' // 中台测试服
// host = 'http://192.168.31.151:9000/' // 榕 // host = 'http://192.168.31.151:9000/' // 榕
// host = 'http://192.168.31.137:9000/' // 赓 // host = 'http://192.168.31.116:9000/' // 赓
} }
// 创建axios实例 // 创建axios实例
const service = axios.create({ const service = axios.create({

@ -27,6 +27,12 @@ export const getOperation= (params) => {
export const deleteCache= () => { export const deleteCache= () => {
return get( '/bank/bank/deleteCache') return get( '/bank/bank/deleteCache')
} }
export const exportBankExperimentReport= (params) => {
return post( '/occupationlab/occupationlab/achievement/exportBankExperimentReport',params)
}
export const updateReport= (params) => {
return post( '/occupationlab/occupationlab/achievement/updateReport',params)
}
// 学生查看考核状态 // 学生查看考核状态
export const checkTest= (params) => { export const checkTest= (params) => {
return get( '/occupationlab/occupationlab/assessment/getDetailById', {...params}) return get( '/occupationlab/occupationlab/assessment/getDetailById', {...params})

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 59 (86127) - https://sketch.com --> <!-- Generator: Sketch 59 (86127) - https://sketch.com -->
<title>大堂经理 / 理财业务</title> <title>大堂经理 / 其他业务</title>
<desc>Created with Sketch.</desc> <desc>Created with Sketch.</desc>
<g id="大堂经理-/-理财业务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="大堂经理-/-其他业务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g> <g>
<rect id="矩形" x="0" y="0" width="100" height="100"></rect> <rect id="矩形" x="0" y="0" width="100" height="100"></rect>
<path d="M67.2080977,40.7323812 C54.0681559,40.7323812 43.417744,51.349725 43.417744,64.4487687 C43.417744,77.5483 54.069786,88.1671875 67.2080977,88.1671875 C80.3480395,88.1671875 91,77.5483 91,64.4487687 C91,51.349725 80.3480395,40.7323812 67.2080977,40.7323812 Z M78.077184,71.8649437 C77.7216649,74.1622875 76.4409161,79.1824812 69.5025078,79.6826562 L69.5025078,84.0813687 L64.6000614,84.0813687 L64.6000614,79.717675 C61.6720417,79.306875 58.9722323,78.552225 56.1959725,77.6265437 L57.6681734,71.8846875 C59.8677948,72.7408187 62.7656581,73.656425 65.3172938,73.9509562 C68.7790811,74.3531438 71.1131835,73.6417187 71.3302278,71.1417375 C71.8238141,66.7597625 56.4043774,65.9884562 56.5495354,58.0792563 C56.3391744,52.2709375 60.5666073,49.7407313 64.7804291,49.3898937 L64.7804291,44.8177125 L69.6793708,44.8177125 L69.6793708,49.1796187 C72.4611729,49.21545 74.6653584,49.8113375 76.8114318,50.7479875 L75.452358,56.1586687 C73.2965856,55.349175 71.0919111,54.5894875 68.4521699,54.5894875 C66.7447493,54.5894875 63.1559792,54.5946062 63.0311971,56.941675 C63.0311971,60.987925 69.8163785,61.1941375 72.0709333,62.1482563 C73.7133139,62.8429437 74.8573811,63.5244687 76.0258994,64.6634313 C78.0670775,66.6515375 78.4908967,69.2129437 78.0772655,71.8647 L78.077184,71.8649437 Z M42.2955198,11 C26.1134531,11 13,17.4865937 13,25.4880937 C13,33.4878875 26.1134531,39.9752125 42.2955198,39.9752125 C58.4735113,39.9752125 71.5869644,33.489675 71.5869644,25.4880937 C71.5869644,17.4865125 58.4735113,11 42.2955198,11 Z M55.6789946,30.0178625 C55.2404233,31.4217 53.6627566,34.4863687 45.1201929,34.7930875 L45.1201929,37.4794562 L39.0837858,37.4794562 L39.0837858,34.8138875 C35.4802636,34.5627437 32.1534464,34.0999437 28.734856,33.5329812 L30.5493724,30.0270438 C33.2573322,30.5498063 36.8226292,31.1092125 39.9676117,31.2889375 C44.226179,31.5339875 47.1027699,31.1000313 47.3681459,29.5733437 C47.9763263,26.895425 28.9915926,26.4249062 29.1683741,21.5950812 C28.9086218,18.0475437 34.116218,16.499975 39.3003411,16.2879937 L39.3003411,13.4970562 L45.3321024,13.4970562 L45.3321024,16.1625438 C48.7603917,16.1823688 51.4719377,16.5471813 54.1130644,17.1192625 L52.4407719,20.4239437 C49.7857895,19.93035 47.0743251,19.4656812 43.8227358,19.4656812 C41.7183922,19.4656812 37.3030119,19.4690125 37.1491329,20.9018562 C37.1491329,23.373075 45.5037492,23.5000688 48.2784605,24.08125 C50.3013003,24.5057812 51.7087874,24.9214562 53.1478163,25.6189063 C55.665791,26.834 56.1843174,28.3991187 55.6790761,30.0179437 L55.6789946,30.0178625 Z M51.5285012,43.6922375 C48.6237916,44.1703937 45.5251031,44.4387625 42.2955198,44.4387625 C28.3528482,44.4387625 16.7120036,39.617875 13.7504044,33.1663 C13.2736079,34.2012625 13.0000815,35.2767687 13.0000815,36.3822562 C13.0000815,44.38205 26.1135346,50.869375 42.2956013,50.869375 C43.0826008,50.869375 43.8528106,50.8409375 44.6230204,50.8114437 C46.4359883,48.0101062 48.7802786,45.5856062 51.5285012,43.6921562 L51.5285012,43.6922375 Z M70.7830936,39.7009938 C71.290454,38.6353188 71.5854159,37.5275563 71.5854159,36.3837188 C71.5854159,35.2766875 71.3133566,34.2028875 70.83656,33.1680063 C69.784592,35.4635625 67.6151271,37.5458375 64.6519793,39.2838563 C65.0686261,39.2637875 65.477204,39.2195875 65.897437,39.2195875 C67.5717671,39.2195875 69.2024113,39.3909438 70.7830936,39.7009938 L70.7830936,39.7009938 Z M42.2955198,53.9710937 C28.3528482,53.9710937 16.7120036,49.15045 13.7504044,42.6989562 C13.2736079,43.7339187 13.0000815,44.8086937 13.0000815,45.9149125 C13.0000815,53.6867187 25.3897004,60.0140625 40.9313927,60.3679875 C41.3032125,58.1159 41.9649409,55.9648062 42.8920452,53.9563875 C42.6954584,53.9599625 42.4952853,53.971175 42.2955198,53.971175 L42.2955198,53.9710937 Z M40.6312962,63.4681625 C27.4373989,63.0995312 16.5917857,58.4231062 13.7503229,52.2307187 C13.2735264,53.2661687 13,54.3417562 13,55.4477312 C13,63.2634125 25.5296423,69.6187062 41.1982358,69.904625 C40.8080776,68.14605 40.5875287,66.3240187 40.5875287,64.4471437 C40.5875287,64.119625 40.617522,63.7956812 40.6312962,63.4680812 L40.6312962,63.4681625 Z M13.7504044,61.7639437 C13.2736079,62.7998812 13.0000815,63.873925 13.0000815,64.9794937 C13.0000815,72.9800187 26.1135346,79.4662875 42.2956013,79.4662875 C43.385713,79.4662875 44.4565084,79.4333 45.5135296,79.3769125 C44.0963436,77.4532375 42.9624644,75.3175 42.1321049,73.0333187 C28.2612381,72.9931812 16.6988815,68.189275 13.7504859,61.7639437 L13.7504044,61.7639437 Z M48.058319,82.276075 C46.1939223,82.4618938 44.2729621,82.568575 42.2955198,82.568575 C28.3528482,82.568575 16.7120036,77.74785 13.7504044,71.2961125 C13.2736079,72.3314813 13.0000815,73.405525 13.0000815,74.5126375 C13.0000815,82.5117 26.1135346,89 42.2956013,89 C47.0661747,89 51.5570275,88.423125 55.5353036,87.4222875 C51.0398051,85.3721875 47.3640707,82.1945813 44.7732317,78.24575 L48.058319,82.276075 Z" id="形状" fill="#FFBD34" fill-rule="nonzero"></path> <path d="M67.2080977,40.7323812 C54.0681559,40.7323812 43.417744,51.349725 43.417744,64.4487687 C43.417744,77.5483 54.069786,88.1671875 67.2080977,88.1671875 C80.3480395,88.1671875 91,77.5483 91,64.4487687 C91,51.349725 80.3480395,40.7323812 67.2080977,40.7323812 Z M78.077184,71.8649437 C77.7216649,74.1622875 76.4409161,79.1824812 69.5025078,79.6826562 L69.5025078,84.0813687 L64.6000614,84.0813687 L64.6000614,79.717675 C61.6720417,79.306875 58.9722323,78.552225 56.1959725,77.6265437 L57.6681734,71.8846875 C59.8677948,72.7408187 62.7656581,73.656425 65.3172938,73.9509562 C68.7790811,74.3531438 71.1131835,73.6417187 71.3302278,71.1417375 C71.8238141,66.7597625 56.4043774,65.9884562 56.5495354,58.0792563 C56.3391744,52.2709375 60.5666073,49.7407313 64.7804291,49.3898937 L64.7804291,44.8177125 L69.6793708,44.8177125 L69.6793708,49.1796187 C72.4611729,49.21545 74.6653584,49.8113375 76.8114318,50.7479875 L75.452358,56.1586687 C73.2965856,55.349175 71.0919111,54.5894875 68.4521699,54.5894875 C66.7447493,54.5894875 63.1559792,54.5946062 63.0311971,56.941675 C63.0311971,60.987925 69.8163785,61.1941375 72.0709333,62.1482563 C73.7133139,62.8429437 74.8573811,63.5244687 76.0258994,64.6634313 C78.0670775,66.6515375 78.4908967,69.2129437 78.0772655,71.8647 L78.077184,71.8649437 Z M42.2955198,11 C26.1134531,11 13,17.4865937 13,25.4880937 C13,33.4878875 26.1134531,39.9752125 42.2955198,39.9752125 C58.4735113,39.9752125 71.5869644,33.489675 71.5869644,25.4880937 C71.5869644,17.4865125 58.4735113,11 42.2955198,11 Z M55.6789946,30.0178625 C55.2404233,31.4217 53.6627566,34.4863687 45.1201929,34.7930875 L45.1201929,37.4794562 L39.0837858,37.4794562 L39.0837858,34.8138875 C35.4802636,34.5627437 32.1534464,34.0999437 28.734856,33.5329812 L30.5493724,30.0270438 C33.2573322,30.5498063 36.8226292,31.1092125 39.9676117,31.2889375 C44.226179,31.5339875 47.1027699,31.1000313 47.3681459,29.5733437 C47.9763263,26.895425 28.9915926,26.4249062 29.1683741,21.5950812 C28.9086218,18.0475437 34.116218,16.499975 39.3003411,16.2879937 L39.3003411,13.4970562 L45.3321024,13.4970562 L45.3321024,16.1625438 C48.7603917,16.1823688 51.4719377,16.5471813 54.1130644,17.1192625 L52.4407719,20.4239437 C49.7857895,19.93035 47.0743251,19.4656812 43.8227358,19.4656812 C41.7183922,19.4656812 37.3030119,19.4690125 37.1491329,20.9018562 C37.1491329,23.373075 45.5037492,23.5000688 48.2784605,24.08125 C50.3013003,24.5057812 51.7087874,24.9214562 53.1478163,25.6189063 C55.665791,26.834 56.1843174,28.3991187 55.6790761,30.0179437 L55.6789946,30.0178625 Z M51.5285012,43.6922375 C48.6237916,44.1703937 45.5251031,44.4387625 42.2955198,44.4387625 C28.3528482,44.4387625 16.7120036,39.617875 13.7504044,33.1663 C13.2736079,34.2012625 13.0000815,35.2767687 13.0000815,36.3822562 C13.0000815,44.38205 26.1135346,50.869375 42.2956013,50.869375 C43.0826008,50.869375 43.8528106,50.8409375 44.6230204,50.8114437 C46.4359883,48.0101062 48.7802786,45.5856062 51.5285012,43.6921562 L51.5285012,43.6922375 Z M70.7830936,39.7009938 C71.290454,38.6353188 71.5854159,37.5275563 71.5854159,36.3837188 C71.5854159,35.2766875 71.3133566,34.2028875 70.83656,33.1680063 C69.784592,35.4635625 67.6151271,37.5458375 64.6519793,39.2838563 C65.0686261,39.2637875 65.477204,39.2195875 65.897437,39.2195875 C67.5717671,39.2195875 69.2024113,39.3909438 70.7830936,39.7009938 L70.7830936,39.7009938 Z M42.2955198,53.9710937 C28.3528482,53.9710937 16.7120036,49.15045 13.7504044,42.6989562 C13.2736079,43.7339187 13.0000815,44.8086937 13.0000815,45.9149125 C13.0000815,53.6867187 25.3897004,60.0140625 40.9313927,60.3679875 C41.3032125,58.1159 41.9649409,55.9648062 42.8920452,53.9563875 C42.6954584,53.9599625 42.4952853,53.971175 42.2955198,53.971175 L42.2955198,53.9710937 Z M40.6312962,63.4681625 C27.4373989,63.0995312 16.5917857,58.4231062 13.7503229,52.2307187 C13.2735264,53.2661687 13,54.3417562 13,55.4477312 C13,63.2634125 25.5296423,69.6187062 41.1982358,69.904625 C40.8080776,68.14605 40.5875287,66.3240187 40.5875287,64.4471437 C40.5875287,64.119625 40.617522,63.7956812 40.6312962,63.4680812 L40.6312962,63.4681625 Z M13.7504044,61.7639437 C13.2736079,62.7998812 13.0000815,63.873925 13.0000815,64.9794937 C13.0000815,72.9800187 26.1135346,79.4662875 42.2956013,79.4662875 C43.385713,79.4662875 44.4565084,79.4333 45.5135296,79.3769125 C44.0963436,77.4532375 42.9624644,75.3175 42.1321049,73.0333187 C28.2612381,72.9931812 16.6988815,68.189275 13.7504859,61.7639437 L13.7504044,61.7639437 Z M48.058319,82.276075 C46.1939223,82.4618938 44.2729621,82.568575 42.2955198,82.568575 C28.3528482,82.568575 16.7120036,77.74785 13.7504044,71.2961125 C13.2736079,72.3314813 13.0000815,73.405525 13.0000815,74.5126375 C13.0000815,82.5117 26.1135346,89 42.2956013,89 C47.0661747,89 51.5570275,88.423125 55.5353036,87.4222875 C51.0398051,85.3721875 47.3640707,82.1945813 44.7732317,78.24575 L48.058319,82.276075 Z" id="形状" fill="#FFBD34" fill-rule="nonzero"></path>

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

@ -0,0 +1,71 @@
<template>
<!-- 面包屑 -->
<div class="breadcrumb">
<el-breadcrumb separator=">">
<template v-for="(item, index) in pages">
<el-breadcrumb-item
v-if="index != pages.length - 1"
:key="index"
>
<span @click="toPath">{{item}}</span>
</el-breadcrumb-item>
<el-breadcrumb-item
v-else
:key="index">
{{item}}
</el-breadcrumb-item>
</template>
</el-breadcrumb>
</div>
</template>
<script>
export default {
props: {
data: {
type: String,
required: true
},
route: {
type: String,
default: '/'
},
query: {
type: Object
}
},
data() {
return {
pages: this.data.split('/')
};
},
methods: {
update(data){
this.pages = data.split('/')
},
toPath() {
console.log(33)
this.$router.back()
}
}
};
</script>
<style lang="scss" scoped>
.breadcrumb {
margin: 4px 0 16px;
/deep/.el-breadcrumb__item {
&:first-child {
span {
font-weight: 400;
color: #007eff;
cursor: pointer;
}
}
&:last-child {
.is-link {
color: #0B1D30;
}
}
}
}
</style>

@ -34,6 +34,7 @@
</div> </div>
</div> </div>
<div> <div>
<!-- <el-button @click="toReport" v-if="popContainer">查看实验报告</el-button> -->
<el-button style="background: #202020;color: #d0d0d0;font-size:16px;" v-show="projectPermissions == 0" <el-button style="background: #202020;color: #d0d0d0;font-size:16px;" v-show="projectPermissions == 0"
@click="reload" :disabled="popContainer && (assessmentId!='' && assessmentId!='null' && assessmentId!=null)"> @click="reload" :disabled="popContainer && (assessmentId!='' && assessmentId!='null' && assessmentId!=null)">
重新开始 重新开始
@ -225,6 +226,9 @@ export default {
assessmentId: "", assessmentId: "",
classId:'', classId:'',
projectPermissions: 0, //(0 1 2) projectPermissions: 0, //(0 1 2)
competitionId: '',
stageId: '',
teamId: '',
isSubmit: false, isSubmit: false,
entryTime: util.formatDate('yyyy-MM-dd hh:mm:ss'), entryTime: util.formatDate('yyyy-MM-dd hh:mm:ss'),
startTime: '', startTime: '',
@ -236,14 +240,15 @@ export default {
projectManage:{}, projectManage:{},
requires:[], requires:[],
projectName:'', projectName:'',
loading:false, loading:false,
sss:1, sss:1,
popContainer:false, popContainer:false,
timestamp:'', timestamp:'',
curSystemId: '',
reportId: ''
} }
}, },
created() { created() {
let assessmentId = this.getQueryVariable('assessmentId') let assessmentId = this.getQueryVariable('assessmentId')
sessionStorage.setItem('assessmentId',assessmentId) sessionStorage.setItem('assessmentId',assessmentId)
this.assessmentId = assessmentId this.assessmentId = assessmentId
@ -320,6 +325,9 @@ export default {
let systemId = this.getQueryVariable('systemId') let systemId = this.getQueryVariable('systemId')
let projectId = this.getQueryVariable('projectId') let projectId = this.getQueryVariable('projectId')
let assessmentId = this.getQueryVariable('assessmentId') let assessmentId = this.getQueryVariable('assessmentId')
let competitionId = this.getQueryVariable('competitionId')
let stageId = this.getQueryVariable('stageId')
let teamId = this.getQueryVariable('teamId')
let classId = this.getQueryVariable('classId') let classId = this.getQueryVariable('classId')
let stopTime = this.getQueryVariable('stopTime') let stopTime = this.getQueryVariable('stopTime')
let timestamp = +stopTime; let timestamp = +stopTime;
@ -334,16 +342,26 @@ export default {
sessionStorage.setItem('timestamp', timestamp) sessionStorage.setItem('timestamp', timestamp)
sessionStorage.setItem('projectId', projectId) sessionStorage.setItem('projectId', projectId)
sessionStorage.setItem('assessmentId', assessmentId) sessionStorage.setItem('assessmentId', assessmentId)
sessionStorage.setItem('competitionId', competitionId)
sessionStorage.setItem('stageId', stageId)
sessionStorage.setItem('teamId', teamId)
sessionStorage.setItem('classId', classId) sessionStorage.setItem('classId', classId)
this.assessmentId = assessmentId this.assessmentId = assessmentId
this.competitionId = competitionId
this.stageId = stageId
this.teamId = teamId
this.classId = classId this.classId = classId
} }
let tokens = sessionStorage.getItem('token') let tokens = sessionStorage.getItem('token')
if(tokens || token){ if(tokens || token){
this.projectPermissions = this.assessmentId ? 1 : 0 this.projectPermissions = this.assessmentId ?
1 :
this.competitionId ?
2 :
0
this.assessmentId && this.projectId && this.checkVer() this.assessmentId && this.projectId && this.checkVer()
this.codeId && this.codeIds.push(this.codeId) this.codeId && this.codeIds.push(this.codeId)
if (assessmentId !=null && assessmentId != '' && assessmentId !='null'){ if (assessmentId !=null && assessmentId != '' && assessmentId !='null' || this.competitionId){
let params = { let params = {
"projectId":projectId, "projectId":projectId,
} }
@ -355,7 +373,8 @@ export default {
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({
initState: 'system/initState' initState: 'system/initState',
setShowBusiness: 'system/setShowBusiness',
}), }),
clearStore() { clearStore() {
// // // //
@ -550,6 +569,7 @@ export default {
this.sss = 1; this.sss = 1;
this.hintOpen = data.data.projectManage.hintOpen; this.hintOpen = data.data.projectManage.hintOpen;
this.countDown(timestamp); this.countDown(timestamp);
this.curSystemId = data.data.projectManage.systemId
let assessmentId = this.getQueryVariable('assessmentId') let assessmentId = this.getQueryVariable('assessmentId')
if(assessmentId != null && assessmentId != '' && assessmentId != 'null'){ if(assessmentId != null && assessmentId != '' && assessmentId != 'null'){
// //
@ -631,6 +651,13 @@ export default {
this.sss = 1 this.sss = 1
this.startCountFn(); this.startCountFn();
}, },
//
toReport() {
// this.lockIt = false
this.setShowBusiness(false)
this.$emit('update:showIt', !this.showIt)
this.$router.push(`/index/report?reportId=${this.reportId}`)
},
// //
Submit() { Submit() {
this.$confirm('此操作将视为结束考试, 是否继续?', '提示', { this.$confirm('此操作将视为结束考试, 是否继续?', '提示', {
@ -638,8 +665,7 @@ export default {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(res => {
this.sureSubmit(true) this.sureSubmit(true)
}).catch(() => { }).catch(() => {
this.$message({ this.$message({
@ -659,7 +685,6 @@ export default {
for (var i=0;i<this.requires.length;i++){ for (var i=0;i<this.requires.length;i++){
lcld.push(this.requires[i].judgmentId) lcld.push(this.requires[i].judgmentId)
} }
let systemId = sessionStorage.getItem('systemId')
let cid = sessionStorage.getItem('cid') let cid = sessionStorage.getItem('cid')
let params = { let params = {
"assessmentId":this.assessmentId, "assessmentId":this.assessmentId,
@ -673,13 +698,18 @@ export default {
"ruleReqs": ruleReqsList, "ruleReqs": ruleReqsList,
"startTime": startTime, "startTime": startTime,
"submitTime": this.actEndTime, "submitTime": this.actEndTime,
"systemId": systemId, "systemId": this.curSystemId,
competitionId: this.competitionId,
stageId: this.stageId,
teamId: this.teamId,
} }
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){
this.clearStore() this.clearStore()
const { retMap } = data.data
this.reportId = retMap.reportId
let firstLoad = null let firstLoad = null
let firstLoad2 = null let firstLoad2 = null
if(sessionStorage.getItem('firstLoad')) { if(sessionStorage.getItem('firstLoad')) {
@ -698,13 +728,13 @@ export default {
} }
let datas= data.data.retMap.scoreInfo; let datas= retMap.scoreInfo;
let formList = [] let formList = []
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) sessionStorage.setItem('accountVoucher', JSON.stringify(formList))
sessionStorage.setItem('accountPasswordAll', '') sessionStorage.setItem('accountPasswordAll', '')
let list = this.requires let list = this.requires
this.grade = data.data.retMap.totalScore this.grade = 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){
@ -965,6 +995,7 @@ $togetherFontSize: 16px;
margin: 0px 20px 10px 10px; margin: 0px 20px 10px 10px;
white-space: pre-wrap; white-space: pre-wrap;
background: #fff url(../../assets/img/case/bg.png) top right no-repeat; background: #fff url(../../assets/img/case/bg.png) top right no-repeat;
// overflow: visible;
} }
.aside-header { .aside-header {
margin: 0px 10px 10px 10px; margin: 0px 10px 10px 10px;
@ -1150,7 +1181,7 @@ $togetherFontSize: 16px;
.el-collapse { .el-collapse {
border-bottom: none; border-bottom: none;
border-top: none; border-top: none;
height: 500px; height: calc(100vh - 422px);
overflow: hidden; overflow: hidden;
overflow-y: auto; overflow-y: auto;

@ -16,6 +16,7 @@
import { mapState,mapActions } from 'vuex' import { mapState,mapActions } from 'vuex'
import Setting from '@/setting' import Setting from '@/setting'
import util from '@/libs/util' import util from '@/libs/util'
import Cookie from 'js-cookie'
export default { export default {
data() { data() {
return { return {
@ -23,7 +24,7 @@ export default {
}; };
}, },
mounted(){ mounted(){
this.$route.query.manager && Cookie.set('manager', 1)
}, },
methods: { methods: {
toIndex(){ toIndex(){
@ -33,19 +34,20 @@ export default {
}) })
}, },
exit(){ exit(){
let href = ''
const url = location.href const url = location.href
const host = url.includes('huorantech.cn') ? let href = process.env.NODE_ENV === 'development' ?
`http://www.occupationlab.com` : `http://${location.hostname}:8082/#/` :
process.env.NODE_ENV === 'development' ? `${url.includes('huorantech.cn') ? `http://www.occupationlab.com` : location.origin}${Cookie.get('manager') ?
`http://192.168.31.155:8082` : '/admin' :
`http://121.37.12.51/student` (url.includes('huorantech.cn') || url.includes('izhixinyun.com')) ?
'' :
'/student'}/#/`
let assessmentId = sessionStorage.getItem('assessmentId') let assessmentId = sessionStorage.getItem('assessmentId')
if (assessmentId != 'null' && assessmentId != null && assessmentId != ''){ if (assessmentId != 'null' && assessmentId != null && assessmentId != ''){
href = `${host}/#/ass/list` href += `ass/list`
}else{ }else{
const cid = sessionStorage.getItem('cid') const cid = sessionStorage.getItem('cid')
href = `${host}/#/station/preview?courseId=${cid}&curriculumName=银行项目` href += `station/preview?courseId=${cid}&curriculumName=银行项目`
} }
location.href = href location.href = href
}, },

@ -39,7 +39,7 @@
</li> </li>
<li :class="{checked: takeCheck == 403}" @click="checkTake(403)"> <li :class="{checked: takeCheck == 403}" @click="checkTake(403)">
<img src="@/assets/svg/financial.svg" alt=""> <img src="@/assets/svg/financial.svg" alt="">
<p>理财业务</p> <p>其他业务</p>
</li> --> </li> -->
</ul> </ul>
<div class="dia-footer"> <div class="dia-footer">
@ -158,7 +158,7 @@
</div> </div>
<p class="tips">- 请单击选中复印材料双击可放大预览 -</p> <p class="tips">- 请单击选中复印材料双击可放大预览 -</p>
<ul class="flex justify-center"> <ul class="flex justify-center">
<div v-for="item in elImg2" class="list flex-col spacialStyle" @click="checkData(item.key, item.copyState)" :key="item.key"> <div v-for="item in elImg2" class="list flex-col spacialStyle" style="justify-content: flex-start" @click="checkData(item.key, item.copyState)" :key="item.key">
<li :class="{checked: checkList.includes(item.key)}"> <li :class="{checked: checkList.includes(item.key)}">
<!-- <img :src="item.img" :title="item.name" :alt="item.name"> --> <!-- <img :src="item.img" :title="item.name" :alt="item.name"> -->
<el-image <el-image
@ -168,7 +168,7 @@
></el-image> ></el-image>
<p>{{ item.name }}</p> <p>{{ item.name }}</p>
</li> </li>
<p>{{ item.copyState?'已复印': '待复印' }}</p> <p>{{ item.copyState?'已复印': ' ' }}</p>
</div> </div>
</ul> </ul>
<div class="dia-footer"> <div class="dia-footer">
@ -184,7 +184,7 @@
</div> </div>
<p class="tips">- 请单击选中复印材料双击可放大预览 -</p> <p class="tips">- 请单击选中复印材料双击可放大预览 -</p>
<ul class="flex justify-center" > <ul class="flex justify-center" >
<div v-for="item in elImg2" class="list flex-col spacialStyle" @click="checkData(item.key, item.returnState)" :key="item.key"> <div v-for="item in elImg3" class="list flex-col spacialStyle" style="justify-content: flex-start" @click="checkData(item.key, item.returnState)" :key="item.key">
<li :class="{checked: checkList.includes(item.key)}"> <li :class="{checked: checkList.includes(item.key)}">
<!-- <img :src="item.img" :title="item.name" :alt="item.name"> --> <!-- <img :src="item.img" :title="item.name" :alt="item.name"> -->
<el-image <el-image
@ -193,7 +193,7 @@
></el-image> ></el-image>
<p>{{ item.name }}</p> <p>{{ item.name }}</p>
</li> </li>
<p>{{ item.returnState? '已取回': '待取回' }}</p> <p>{{ item.returnState ? '已取回': (item.copy ? '复印件' : '') }}</p>
</div> </div>
</ul> </ul>
<div class="dia-footer"> <div class="dia-footer">
@ -230,7 +230,7 @@
<el-dialog <el-dialog
custom-class="data-dia imgIndex" custom-class="data-dia imgIndex"
:visible.sync="showImg" :visible.sync="showImg"
width="634px" width="800px"
> >
<img :src="imgSrc" class="imgPop imgIndex min-w-full " alt=""> <img :src="imgSrc" class="imgPop imgIndex min-w-full " alt="">
</el-dialog> </el-dialog>
@ -263,7 +263,7 @@ export default {
{ key: 400, name: '现金业务', img: require('@/assets/svg/cash.svg') }, { key: 400, name: '现金业务', img: require('@/assets/svg/cash.svg') },
{ key: 401, name: '个人非现金业务', img: require('@/assets/svg/non-cash.svg') }, { key: 401, name: '个人非现金业务', img: require('@/assets/svg/non-cash.svg') },
{ key: 402, name: '公司业务', img: require('@/assets/svg/company.svg') }, { key: 402, name: '公司业务', img: require('@/assets/svg/company.svg') },
{ key: 403, name: '理财业务', img: require('@/assets/svg/financial.svg') } { key: 403, name: '其他业务', img: require('@/assets/svg/financial.svg') }
], ],
elImg: [ elImg: [
{ img: require('@/assets/img/goods/accountApplyBook.jpg'), name: '开户申请书', key: 405 }, { img: require('@/assets/img/goods/accountApplyBook.jpg'), name: '开户申请书', key: 405 },
@ -279,11 +279,10 @@ export default {
{ img: require('@/assets/img/goods/银行承兑协议.png'), name: '境外汇款申请书', key: 415 }, { img: require('@/assets/img/goods/银行承兑协议.png'), name: '境外汇款申请书', key: 415 },
], ],
elImg2: [ elImg2: [
{ img: require('@/assets/img/goods/accountApplyBook.jpg'), name: '开户申请书', key: 405, copyState: false, returnState: false }, { img: require('@/assets/img/goods/accountApplyBook.jpg'), name: '开户申请书', key: 405, copyState: false, returnState: false },
{ img: require('@/assets/img/idCard-sm.png'), name: '身份证', key: 13, copyState: false, returnState: false }, { img: require('@/assets/img/idCard-sm.png'), name: '身份证', key: 13, copyState: false, returnState: false },
], ],
elImg3: [],
listLi1 : [ listLi1 : [
{checked: 1, click: 1, src: require('@/assets/img/goods/accountApplyBook.jpg'), title: '开户申请书'}, {checked: 1, click: 1, src: require('@/assets/img/goods/accountApplyBook.jpg'), title: '开户申请书'},
{checked: 2, click: 2, src: require('@/assets/img/idCard-copy-sm.png'), title: '密码挂失申请书'}, {checked: 2, click: 2, src: require('@/assets/img/idCard-copy-sm.png'), title: '密码挂失申请书'},
@ -442,6 +441,7 @@ export default {
formList.push({"answerId":item.key,"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416,' + item.key, "type": ""}) formList.push({"answerId":item.key,"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416,' + item.key, "type": ""})
} }
}) })
console.log(333, this.elImg3)
const params= { const params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 416', parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 416',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
@ -454,6 +454,12 @@ export default {
this.elImg2.map(item => { this.elImg2.map(item => {
if(this.checkList.findIndex(item2 => item2 === item.key ) !== -1) { if(this.checkList.findIndex(item2 => item2 === item.key ) !== -1) {
item.copyState = true item.copyState = true
this.elImg3.push(item)
const copyItem = JSON.parse(JSON.stringify(item))
copyItem.copy = true
if (copyItem.key == 405) copyItem.key = 589
if (copyItem.key == 13) copyItem.key = 23
this.elImg3.push(copyItem)
} }
}) })
this.checkList = [] this.checkList = []
@ -488,7 +494,7 @@ export default {
for(let i=0; i<checkList.length; i++) { for(let i=0; i<checkList.length; i++) {
formList.push({"answerId":checkList[i],"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553,' + checkList[i], "type": ""}) formList.push({"answerId":checkList[i],"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553,' + checkList[i], "type": ""})
} }
this.elImg2.map(item=> { this.elImg3.map(item=> {
if(item.returnState) { if(item.returnState) {
formList.push({"answerId":item.key,"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553,' + item.key, "type": ""}) formList.push({"answerId":item.key,"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553,' + item.key, "type": ""})
} }
@ -502,7 +508,7 @@ export default {
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
// ... // ...
this.recaptionVisible = false this.recaptionVisible = false
this.elImg2.map(item => { this.elImg3.map(item => {
if(this.checkList.findIndex(item2 => item2 === item.key ) !== -1) { if(this.checkList.findIndex(item2 => item2 === item.key ) !== -1) {
item.returnState = true item.returnState = true
} }

@ -168,6 +168,13 @@ export default {
trigger: 'blur' trigger: 'blur'
} }
], ],
billType: [
{
required: true,
message: '请选择票据类型',
trigger: 'blur'
}
],
ApplicantDocuments: [ ApplicantDocuments: [
{ {
required: true, required: true,

@ -0,0 +1,404 @@
<template>
<!-- 实验报告 -->
<div class="wrap">
<breadcrumb data="返回实验/我的数据"></breadcrumb>
<div class="content" :class="{loading}" id="pdfDom">
<div style="text-align: right" v-if="!loading">
<el-button size="mini" @click="editReport">
{{ editing ? "保存" : "编辑" }}
</el-button>
<el-button type="primary" size="mini" @click="exportPage">导出报告</el-button>
</div>
<h6 class="r-title">标准实验报告</h6>
<div class="info">
<h6 class="l-title">
<img src="@/assets/img/report1.png" alt="">
基本信息
</h6>
<ul :class="['info-list', {edit: editing}]">
<li>
<label>学生姓名</label>
<el-input v-if="editing" v-model="infoData.userName" disabled></el-input>
<span v-else>{{ infoData.userName }}</span>
</li>
<li>
<label>学生学号</label>
<el-input v-if="editing" v-model="infoData.workNumber" disabled></el-input>
<span v-else>{{ infoData.workNumber }}</span>
</li>
<li>
<label>实验时间</label>
<el-input v-if="editing" v-model="infoData.submitTime" disabled></el-input>
<span v-else>{{ infoData.submitTime }}</span>
</li>
<li>
<label>实验成绩</label>
<el-input v-if="editing" v-model="infoData.score" disabled></el-input>
<div v-else class="score-wrap">
<em>{{ infoData.score }}</em>
<img src="@/assets/img/point.png" alt="">
</div>
</li>
<li>
<label>学生班级</label>
<el-input v-if="editing" v-model="infoData.className"></el-input>
<span v-else>{{ infoData.className }}</span>
</li>
<li>
<label>指导老师</label>
<el-input v-if="editing" v-model="infoData.instructor"></el-input>
<span v-else>{{ infoData.instructor }}</span>
</li>
<li>
<label>实验学时</label>
<el-input v-if="editing" v-model="infoData.period"></el-input>
<span v-else>{{ infoData.period }}</span>
</li>
</ul>
<div class="m-b-20">
<h6 class="l-title">
<img src="@/assets/img/report2.png" alt="">
实验项目名称
</h6>
<el-input v-if="editing" v-model="infoData.projectName" type="textarea"></el-input>
<div v-else class="pre-wrap" v-html="infoData.projectName"></div>
</div>
<div class="m-b-20">
<h6 class="l-title">
<img src="@/assets/img/report3.png" alt="">
实验目的
</h6>
<quill v-if="editing" :border="true" v-model="infoData.purpose" :height="150" />
<div v-else :class="['pre-wrap', {edit: editing}]" v-html="infoData.purpose"></div>
</div>
<div class="m-b-20">
<h6 class="l-title">
<img src="@/assets/img/report4.png" alt="">
实验数据
</h6>
<el-table :data="expData" class="table" border stripe header-align="center">
<el-table-column type="index" label="序号" align="center" width="60">
<template slot-scope="scope">
{{ scope.$index + 1 }}
</template>
</el-table-column>
<el-table-column prop="judgmentName" label="判分点" width="270" align="center"></el-table-column>
<el-table-column v-if='project' prop="judgmentName" label="考核点" align="center" width="150">
<template slot-scope="scope">
<div v-for="(item, index) in scope.row.lcRuleRecords" :key="index">
<span>
<span>{{index+1}}. </span>{{item.name}}
</span>
</div>
</template>
</el-table-column>
<el-table-column prop="ruleAnswer" label="参考答案" style='word-wrap: break-word'>
<template slot-scope="scope">
<div v-if='scope.row.lcRuleRecords'>
<div v-for="(item, index) in scope.row.lcRuleRecords" :key="index">
<span>
<span>{{index+1}}. </span>{{item.ruleAnswer}}
</span>
</div>
</div>
<div v-else 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>
<div v-else v-html='scope.row.answer' style='white-space: pre-wrap'></div>
<template v-if="scope.row.runThePictureList">
<img v-for="(img, i) in scope.row.runThePictureList" :key="i" width="200" class="result-pic" :src="img" alt="">
</template>
</template>
</el-table-column>
<el-table-column prop="quesScore" label="分值" width="80" align="center"></el-table-column>
<el-table-column prop="score" label="得分" width="80" align="center"></el-table-column>
</el-table>
</div>
<div class="m-b-20">
<h6 class="l-title">
<img src="@/assets/img/report5.png" alt="">
实验总结与体会
</h6>
<quill v-show="editing" :border="true" v-model="infoData.summarize" :height="150" />
<div v-show="!editing" class="pre-wrap" v-html="infoData.summarize"></div>
</div>
</div>
</div>
</div>
</template>
<script>
import { Loading } from "element-ui";
import util from '@/libs/util'
import breadcrumb from '@/components/breadcrumb'
import quill from "@/components/quill";
import {reportDetail,exportBankExperimentReport,updateReport} from "@/api/http.js";
export default {
data() {
return {
reportId: this.$route.query.reportId,
title: "实验报告",
form: {},
infoData: {},
expData: [],
editing: false,
loadIns: null,
loading: false,
project:false,
userScores: []
};
},
components: {
breadcrumb,
quill
},
mounted() {
this.getData()
},
methods: {
getData() { //
const { reportId } = this
reportDetail({
reportId
}).then((data)=>{
console.log(33, data)
// this.$get(`${this.api.reportDetail}?reportId=${reportId}`).then(({ report, userScores }) => {
this.form = report
const form = this.form
this.infoData = {
reportId,
className: form.className,
workNumber: form.workNumber,
experimentalClassName: form.experimentalClassName,
instructor: form.instructor,
period: form.period,
laboratory: form.laboratory,
submitTime: form.submitTime,
score: form.score,
userName: form.userName,
projectName: form.projectName,
purpose: form.purpose,
summarize: form.summarize
}
// const data = report.data
// this.userScores = userScores
// // data使
// if (!data) {
// this.handleList(userScores)
// this.$post(this.api.editExperimentalData, {
// reportId,
// data: JSON.stringify(userScores)
// }).then(res => {}).catch(err => {})
// } else {
// this.handleList(userScores.find(e => e.lcRuleRecords) ? userScores : JSON.parse(data))
// }
}).catch(res => {})
},
//
handleList(list) {
this.project = list.find(e => e.lcRuleRecords) // lcRuleRecords
if (this.project) {
list.map(e => {
e.assessmentPoint = ''
e.referenceAnswer = ''
e.answer = ''
e.lcRuleRecords.map((n, i) => {
e.assessmentPoint += `${i + 1}.${n.name}`
e.referenceAnswer += `${i + 1}.${n.ruleAnswer}`
e.answer += `${i + 1}.${n.userAnswer}`
})
})
}
this.expData = list
},
exportPage() {
const form = Object.assign(this.form, this.infoData)
const list = JSON.parse(JSON.stringify(this.expData))
list.map((e, i) => {
const item = this.userScores.find(n => n.judgmentId == e.judgmentId)
if (item && item.runThePicture) e.runThePicture = item.runThePicture
if (item && item.runThePictureList) e.runThePictureList = item.runThePictureList
e.id = i + 1
if (e.referenceAnswer && typeof e.referenceAnswer === 'string') e.referenceAnswer = e.referenceAnswer.replace(/<[^>]+>/g, '').replace(/(&nbsp;|&amp;|%s)/g, '').replace(/>/g, '&gt;').replace(/</g, '&lt;')
if (e.answer && typeof e.answer === 'string') e.answer = e.answer.replace(/<[^>]+>/g, '').replace(/(&nbsp;|&amp;|%s)/g, '').replace(/>/g, '&gt;').replace(/</g, '&lt;')
})
for (const i in form) {
if (form[i] && typeof form[i] === 'string') form[i] = form[i].replace(/<[^>]+>/g, '')
}
form.purpose = form.purpose.replace(/<[^>]+>/g, '')
this.loading = true;
this.loadIns = Loading.service({
background: "#fff"
});
this.$post(this.project ? this.api.exportBankExperimentReport : this.api.exportLabReport, {
...form,
experimentalData: list
}).then(res => {
this.loadIns.close();
this.loading = false;
util.downloadFileDirect(`实验报告.docx`,new Blob([res]))
}).catch(res => {
this.loadIns.close();
this.loading = false;
})
},
editReport() { //
if (this.editing) {
this.$post(`${this.api.updateReport}`, this.infoData).then(res => {
this.editing = false;
this.$message.success('修改成功')
}).catch(err => {});
} else {
this.editing = true;
}
}
}
};
</script>
<style lang="scss" scoped>
.m-b-20 {
margin-bottom: 20px;
}
.wrap {
padding: 12px 300px 20px;
}
code, kbd, samp{
font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
word-wrap: break-word;
white-space: pre-wrap;
}
/deep/ pre{
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
word-break:break-all;
overflow:hidden;
font-size: 12px;
font-weight:400;
font-family:'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif
}
.content {
padding: 16px 0;
background: #fff;
&.loading {
padding-top: 30px;
}
.r-title {
margin-bottom: 40px;
font-size: 24px;
text-align: center;
color: #333;
}
.info {
padding: 20px 16px;
border: 1px solid #E1E6F2;
}
.l-title{
display: flex;
align-items: center;
padding: 5px 8px;
margin-bottom: 12px;
font-size: 14px;
color: #333;
background-color: #F7F9FC;
img{
margin-right: 5px;
}
}
.info-list {
display: flex;
flex-wrap: wrap;
padding: 10px 0 0 20px;
li {
display: inline-flex;
width: 25%;
padding: 0 10px;
margin-bottom: 34px;
}
&.edit {
li {
align-items: center;
}
}
label {
font-size: 14px;
color: #333;
white-space: nowrap;
}
span {
min-width: 150px;
padding: 0 10px 3px;
border-bottom: 1px solid #E1E6F2;
}
/deep/.el-input {
width: 174px;
}
}
.score-wrap {
position: relative;
min-width: 150px;
border-bottom: 1px solid #E1E6F2;
em {
position: absolute;
top: -12px;
left: 30px;
font-family: din;
font-size: 30px;
font-weight: 600;
color: #0B1D30;
}
img {
position: absolute;
bottom: -15px;
left: 0;
}
}
/deep/.el-textarea .el-textarea__inner, .pre-wrap {
min-height: 72px;
padding: 10px 16px;
font-size: 14px;
color: #333;
&.edit {
color: #ABB3C6;
border: 1px solid #CACFDB;
border-radius: 4px;
background-color: #F6F7F9;
}
}
/deep/ .table th {
background-color: #e1eaff !important;
.cell {
line-height: 35px;
color: #555555;
}
}
}
.result-pic {
margin: 10px 0;
}
@media (max-width: 1650px) {
.wrap {
padding: 12px 200px 20px;
}
}
@media (max-width: 1430px) {
.wrap {
padding: 12px 100px 20px;
}
}
</style>

@ -20,5 +20,11 @@ export default {
component: () => import('@/pages/index/list'), component: () => import('@/pages/index/list'),
meta: { title: '首页' } meta: { title: '首页' }
}, },
{
name: `${pre}report`,
path: `report`,
component: () => import('@/pages/report'),
meta: { title: '实验报告' }
},
] ]
}; };

@ -13,6 +13,7 @@ const allGoods = {
439: {name:'预留印鉴卡',src:require('@/assets/img/goods/预留印鉴卡.png'),id:439}, 439: {name:'预留印鉴卡',src:require('@/assets/img/goods/预留印鉴卡.png'),id:439},
412: {name:'转账支票',src:require('@/assets/img/goods/sy-zzzp.png'),id:412}, 412: {name:'转账支票',src:require('@/assets/img/goods/sy-zzzp.png'),id:412},
584: {name:'银行承兑汇票',src:require('@/assets/img/goods/银行承兑汇票.png'),id:584}, 584: {name:'银行承兑汇票',src:require('@/assets/img/goods/银行承兑汇票.png'),id:584},
587: {name:'银行承兑协议',src:require('@/assets/img/goods/银行承兑协议.png'),id:587},
582: {name:'银行承兑汇票一联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:582}, 582: {name:'银行承兑汇票一联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:582},
581: {name:'银行承兑汇票二联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:581}, 581: {name:'银行承兑汇票二联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:581},
580: {name:'银行承兑汇票三联(解讫通知)',src:require('@/assets/img/goods/银行承兑汇票.png'),id:580}, 580: {name:'银行承兑汇票三联(解讫通知)',src:require('@/assets/img/goods/银行承兑汇票.png'),id:580},
@ -1310,7 +1311,7 @@ const myInitState = {
'业务三十二': { // 银行承兑汇票签发 '业务三十二': { // 银行承兑汇票签发
id: 577, id: 577,
name: '银行承兑汇票签发', name: '银行承兑汇票签发',
data: [ 13, 584 ], // data: [ 13, 587 ], //
needs: [ ], needs: [ ],
isStamp: { isStamp: {
// '业务专用章': [ 411 ] // '业务专用章': [ 411 ]
@ -2505,9 +2506,9 @@ export default {
} }
}, },
'业务三十二': { // 银行承兑汇票签发 '业务三十二': { // 银行承兑汇票签发
id: 577, id: 5771,
name: '银行承兑汇票签发', name: '银行承兑汇票签发',
data: [ 13, 584 ], // data: [ 13, 587 ], //
needs: [ ], needs: [ ],
isStamp: { isStamp: {
// '业务专用章': [ 411 ] // '业务专用章': [ 411 ]
@ -2978,7 +2979,6 @@ export default {
// 调试容错采用if-else // 调试容错采用if-else
const arr = [] const arr = []
if(state.businessKey !== '') { if(state.businessKey !== '') {
console.log("🚀 ~ file: system.js ~ line 2979 ~ goods2 ~ state.businessKey",state, state.businessKey,state.businessSelect[state.businessKey])
for(const item of state.businessSelect[state.businessKey].data) { for(const item of state.businessSelect[state.businessKey].data) {
arr.push(allGoods[item]) arr.push(allGoods[item])
} }

Loading…
Cancel
Save