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 0000000..6f6692f Binary files /dev/null and b/src/assets/img/point.png differ diff --git a/src/assets/img/report1.png b/src/assets/img/report1.png new file mode 100644 index 0000000..5849896 Binary files /dev/null and b/src/assets/img/report1.png differ diff --git a/src/assets/img/report2.png b/src/assets/img/report2.png new file mode 100644 index 0000000..323c0dc Binary files /dev/null and b/src/assets/img/report2.png differ diff --git a/src/assets/img/report3.png b/src/assets/img/report3.png new file mode 100644 index 0000000..51a142d Binary files /dev/null and b/src/assets/img/report3.png differ diff --git a/src/assets/img/report4.png b/src/assets/img/report4.png new file mode 100644 index 0000000..196b2da Binary files /dev/null and b/src/assets/img/report4.png differ diff --git a/src/assets/img/report5.png b/src/assets/img/report5.png new file mode 100644 index 0000000..f49ce2a Binary files /dev/null and b/src/assets/img/report5.png differ 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 ? '复印件' : '') }}