From 8b614eeaf681e9b6d07182531246f626415f58cf Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 18 Jan 2023 11:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E6=8A=A5=E5=91=8A=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.js | 2 +- src/api/http.js | 6 + src/assets/img/point.png | Bin 0 -> 1050 bytes src/assets/img/report1.png | Bin 0 -> 138 bytes src/assets/img/report2.png | Bin 0 -> 221 bytes src/assets/img/report3.png | Bin 0 -> 239 bytes src/assets/img/report4.png | Bin 0 -> 292 bytes src/assets/img/report5.png | Bin 0 -> 376 bytes src/assets/svg/financial.svg | 4 +- src/components/breadcrumb/index.vue | 71 +++ src/components/case/index.vue | 63 ++- src/layouts/header/index.vue | 20 +- src/pages/lobbyManager/list/index.vue | 28 +- .../manage/list/acceptanceDraft/invoice.vue | 7 + src/pages/report/index.vue | 404 ++++++++++++++++++ src/router/modules/index.js | 6 + src/store/modules/system.js | 8 +- 17 files changed, 576 insertions(+), 43 deletions(-) create mode 100644 src/assets/img/point.png create mode 100644 src/assets/img/report1.png create mode 100644 src/assets/img/report2.png create mode 100644 src/assets/img/report3.png create mode 100644 src/assets/img/report4.png create mode 100644 src/assets/img/report5.png create mode 100644 src/components/breadcrumb/index.vue create mode 100644 src/pages/report/index.vue diff --git a/src/api/api.js b/src/api/api.js index 260783f..bf99bbf 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -8,7 +8,7 @@ if (dev) { // 本地 host = 'http://121.37.12.51/' // 中台测试服 // host = 'http://192.168.31.151:9000/' // 榕 - // host = 'http://192.168.31.137:9000/' // 赓 + // host = 'http://192.168.31.116:9000/' // 赓 } // 创建axios实例 const service = axios.create({ diff --git a/src/api/http.js b/src/api/http.js index 567b97c..8f405ba 100644 --- a/src/api/http.js +++ b/src/api/http.js @@ -27,6 +27,12 @@ export const getOperation= (params) => { export const 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) => { return get( '/occupationlab/occupationlab/assessment/getDetailById', {...params}) diff --git a/src/assets/img/point.png b/src/assets/img/point.png new file mode 100644 index 0000000000000000000000000000000000000000..6f6692f68a519919ca52d7faa449b21546388915 GIT binary patch literal 1050 zcmW-f2~b;A6owO)E@8@6S}4kht+rUDZH5ZPX`Kc`AQX^o1axBQ5UUU%EP*U93E5u~ zLI{LFi&&fihpHe%1}g}384(M%6)B}-b;Pz%afx(VIxKzfc&{^WIp@6d|MxrhT}wuK z(l%B&i@{)Q<0o^o&|8S^z%AbBIoGh?&0sLcGg5OBQ3_RRkh`GH1#%6PEAb^JfFMC( zgfazG5}+}G)&|A~s8rKp1uminV*^zx1ARRxNL(+GM8s#j`h`L&;7f%=Wb43ow$5qz}?^1^I6A7XIooaTozKR zR@I1$PYVU_WM-yuIk7S9=;%F>&xQnVtgk=%_phY~_wM~V{o{?vtKVO_@MV8@XD3oQ z8|!T{Nl`&=ZuXl=ycou6FFI~aIiJhPIWjdkV|>et6K487KQCc8Cxf$<>HcQxj=-R1 z-cKHnXOnN}V?~6ISR**+C%YK`{`G+6g6H2JY~NdD{U^9}qMH>XiMr%Fn|PDe*260q zXs@%cjy$=wxL7mx$9JA4(bxabI( zixPd}Pd=We{>;7ZV6rnRlh<~S4xC#G@L$=tXM6Ubp)23*_)SnPdX+`Q#iymUN1Qq! zXo$OJ8=L9yO!d`!k4Aj{x7d7bDcIhUJ3AXUzs63}ynZZRUH$XijQc35T5!(|Z(8ok z9L{1 zqdm;|uR4C1T1*PRGfW<+Eb<97PX~mC4-s#imen2->`v|VZ@zVqf4)p4=)D|^&IW^@ Ln9ltop+NT^>Onb% literal 0 HcmV?d00001 diff --git a/src/assets/img/report1.png b/src/assets/img/report1.png new file mode 100644 index 0000000000000000000000000000000000000000..584989659968c40633ea01fdd2ffb95f9c5afa29 GIT binary patch literal 138 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaN3?zjj6;6Yw0G|+7Ak9$s9~sS?{vD*0wIs+d zm|@lQySHu29;Tex7s0_~o~3@RbaY`tiC=bu+ s#5wNL5)wPUD#%Pbsc`8LLnR{v!$&P24mPf6c91(gUHx3vIVCg!0FsGHDF6Tf literal 0 HcmV?d00001 diff --git a/src/assets/img/report3.png b/src/assets/img/report3.png new file mode 100644 index 0000000000000000000000000000000000000000..51a142d455409171ab68a6bb7b8fdb70ec89219b GIT binary patch literal 239 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaN3?zjj6;1;w-2k5uS0K$$@t>g%hN{7g`u_|K z{~2n*Bv1;-1uK~7{fY;up06axFPMSnO6)TEBgEak7aXDE* znnP3RhD@EmR6@?RJ>~E3u{c;xeBY3uHD&VmbvORpmFAfJ{cg7A;oA2KyIk&BzOogn zf6npj#oolD;uxZF{%oHoUxR`Gi@U?OyRrZN`+rqo`sfp@_R?#a zw3XX(na^Dhl^1AUxg<7gcF=^&r&E5$?3;8ZaG!fn*@G8Bv%+Gg3jf}|N=#u>%#$X? r77aUtz52~f7Y~~``BpfIE@0RDG=t|PmqOqbkas;@{an^LB{Ts5SKxQC literal 0 HcmV?d00001 diff --git a/src/assets/img/report5.png b/src/assets/img/report5.png new file mode 100644 index 0000000000000000000000000000000000000000..f49ce2aa4edcf099966689768f553f590d292508 GIT binary patch literal 376 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM3?#3wJbMaA6$SW&xB_X0y8j^53ML_JAX$UN zt^dyeL_ooY{|vP-22cdZ28vW8sRXKlD~7OvY9M+c>g)a=`+0di&{EZsAirRS?{`_> zoL<(%xp&*7q-a;QHN8PTI&yq3?_WB%a{jcA_Ns#X4EyG_>vDh^CV09yhG?AMd(K^` z*+9VMVwjT>JM+1lwg0tmxvh4r{+H$DZ)$pDi{kce5|h%4pY40CW6T_RayFyWdAUWM z(=Af6gg&H5w@=jH>B)HZPG5r-YX#flqPfY-#4l_(*1RU5kbR;Z(>bZdTlbXzoSC^N z(pfCzWBX;s*IZB66n){0*%_i<(0@VYfpU#dhH3rI2HxLHbGLGy*m>)v9ViGrUHx3v IIVCg!0F}z2>;M1& literal 0 HcmV?d00001 diff --git a/src/assets/svg/financial.svg b/src/assets/svg/financial.svg index b2e766c..4858ac5 100644 --- a/src/assets/svg/financial.svg +++ b/src/assets/svg/financial.svg @@ -1,9 +1,9 @@ - 大堂经理 / 理财业务 + 大堂经理 / 其他业务 Created with Sketch. - + diff --git a/src/components/breadcrumb/index.vue b/src/components/breadcrumb/index.vue new file mode 100644 index 0000000..dd3d251 --- /dev/null +++ b/src/components/breadcrumb/index.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 84c0c76..f9d8c8e 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -34,6 +34,7 @@
+ 重新开始 @@ -225,6 +226,9 @@ export default { assessmentId: "", classId:'', projectPermissions: 0, //项目权限(0、练习 1、考核 2、竞赛) + competitionId: '', + stageId: '', + teamId: '', isSubmit: false, entryTime: util.formatDate('yyyy-MM-dd hh:mm:ss'), startTime: '', @@ -236,14 +240,15 @@ export default { projectManage:{}, requires:[], projectName:'', - loading:false, - sss:1, - popContainer:false, - timestamp:'', + loading:false, + sss:1, + popContainer:false, + timestamp:'', + curSystemId: '', + reportId: '' } }, created() { - let assessmentId = this.getQueryVariable('assessmentId') sessionStorage.setItem('assessmentId',assessmentId) this.assessmentId = assessmentId @@ -320,6 +325,9 @@ export default { let systemId = this.getQueryVariable('systemId') let projectId = this.getQueryVariable('projectId') 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 stopTime = this.getQueryVariable('stopTime') let timestamp = +stopTime; @@ -334,16 +342,26 @@ export default { sessionStorage.setItem('timestamp', timestamp) sessionStorage.setItem('projectId', projectId) sessionStorage.setItem('assessmentId', assessmentId) + sessionStorage.setItem('competitionId', competitionId) + sessionStorage.setItem('stageId', stageId) + sessionStorage.setItem('teamId', teamId) sessionStorage.setItem('classId', classId) this.assessmentId = assessmentId + this.competitionId = competitionId + this.stageId = stageId + this.teamId = teamId this.classId = classId } let tokens = sessionStorage.getItem('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.codeId && this.codeIds.push(this.codeId) - if (assessmentId !=null && assessmentId != '' && assessmentId !='null'){ + if (assessmentId !=null && assessmentId != '' && assessmentId !='null' || this.competitionId){ let params = { "projectId":projectId, } @@ -355,7 +373,8 @@ export default { }, methods: { ...mapMutations({ - initState: 'system/initState' + initState: 'system/initState', + setShowBusiness: 'system/setShowBusiness', }), clearStore() { // // 清空缓存 @@ -550,6 +569,7 @@ export default { this.sss = 1; this.hintOpen = data.data.projectManage.hintOpen; this.countDown(timestamp); + this.curSystemId = data.data.projectManage.systemId let assessmentId = this.getQueryVariable('assessmentId') if(assessmentId != null && assessmentId != '' && assessmentId != 'null'){ //获取当前时间 @@ -631,6 +651,13 @@ export default { this.sss = 1 this.startCountFn(); }, + // 查看实验报告 + toReport() { + // this.lockIt = false + this.setShowBusiness(false) + this.$emit('update:showIt', !this.showIt) + this.$router.push(`/index/report?reportId=${this.reportId}`) + }, //提交 Submit() { this.$confirm('此操作将视为结束考试, 是否继续?', '提示', { @@ -638,8 +665,7 @@ export default { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' - }).then(() => { - + }).then(res => { this.sureSubmit(true) }).catch(() => { this.$message({ @@ -659,7 +685,6 @@ export default { for (var i=0;i{ + console.log(4, data) if(data.status == 200){ this.clearStore() - + const { retMap } = data.data + this.reportId = retMap.reportId let firstLoad = null let firstLoad2 = null if(sessionStorage.getItem('firstLoad')) { @@ -698,13 +728,13 @@ export default { } - let datas= data.data.retMap.scoreInfo; + let datas= retMap.scoreInfo; let formList = [] sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) sessionStorage.setItem('accountPasswordAll', '') let list = this.requires - this.grade = data.data.retMap.totalScore + this.grade = retMap.totalScore for (var j=0;j
  • -

    理财业务

    +

    其他业务

  • -->

    - 请单击选中复印材料、双击可放大预览 -

      -
      +
    • {{ item.name }}

    • -

      {{ item.copyState?'已复印': '待复印' }}

      +

      {{ item.copyState?'已复印': ' ' }}

    - 请单击选中复印材料、双击可放大预览 -

      -
      +
    • {{ item.name }}

    • -

      {{ item.returnState? '已取回': '待取回' }}

      +

      {{ item.returnState ? '已取回': (item.copy ? '复印件' : '') }}