|
@@ -1,83 +1,94 @@
|
|
|
<template>
|
|
|
<div class="grading-progress">
|
|
|
- <div class="progress-title">
|
|
|
- <span>当前阶段:{{ stepName }}</span
|
|
|
- ><span v-if="!IS_SCORE">进度:{{ stepProgress }}</span>
|
|
|
- </div>
|
|
|
<div class="part-box-head" v-if="IS_ADMIN">
|
|
|
- <div class="part-box-head-left">
|
|
|
- <Button type="primary" @click="toGrading" v-if="showGradingBtn"
|
|
|
+ <div class="part-box-head-right">
|
|
|
+ <Button
|
|
|
+ type="success"
|
|
|
+ shape="circle"
|
|
|
+ icon="recode-white icon"
|
|
|
+ @click="toGrading"
|
|
|
+ v-if="showGradingBtn"
|
|
|
>正评任务创建</Button
|
|
|
>
|
|
|
- <Button type="primary" @click="toTryGrading" v-if="showTryGradingBtn"
|
|
|
+ <Button
|
|
|
+ type="success"
|
|
|
+ shape="circle"
|
|
|
+ icon="recode-white icon"
|
|
|
+ @click="toTryGrading"
|
|
|
+ v-if="showTryGradingBtn"
|
|
|
>试评任务创建</Button
|
|
|
>
|
|
|
- <Button type="primary" @click="toMark" v-if="showMarkBtn"
|
|
|
- >进入打分阶段</Button
|
|
|
- >
|
|
|
+ <Button shape="circle" @click="toMark" v-if="showMarkBtn"
|
|
|
+ >进入打分阶段
|
|
|
+ <Icon type="arrow-right-long icon" style="margin-left:8px;" />
|
|
|
+ </Button>
|
|
|
</div>
|
|
|
- <div class="part-box-head-right" v-if="curSubject.stage !== 'INIT'">
|
|
|
- <Button type="primary" icon="md-download" @click="toExportStandard"
|
|
|
+ <div class="part-box-head-left" v-if="curSubject.stage !== 'INIT'">
|
|
|
+ <Button shape="circle" icon="upload icon" @click="toExportStandard"
|
|
|
>导出标准卷信息</Button
|
|
|
>
|
|
|
- <Button type="primary" icon="md-download" @click="toExportGrading"
|
|
|
+ <Button shape="circle" icon="upload icon" @click="toExportGrading"
|
|
|
>导出一键定档信息</Button
|
|
|
>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="part-box">
|
|
|
- <div class="progress-table">
|
|
|
- <table class="table table-noborder">
|
|
|
- <tr v-for="(item, aindex) in areaProgress" :key="aindex">
|
|
|
- <td style="width: 12%">{{ item.areaName }}</td>
|
|
|
- <td style="width: 60%;">
|
|
|
- <progress-line
|
|
|
- :sum="item.totalCount"
|
|
|
- :current="item.successCount"
|
|
|
- ></progress-line>
|
|
|
- </td>
|
|
|
- <td style="width: 14%;">进度:{{ item.progress }}%</td>
|
|
|
- <td style="width: 14%;"></td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- <div class="progress-table">
|
|
|
- <table class="table table-noborder" v-if="IS_LEVEL">
|
|
|
- <tr>
|
|
|
- <td style="width: 12%">{{ kzzInfo.name }}</td>
|
|
|
- <td colspan="3" style="text-align:left">
|
|
|
- {{ kzzInfo.arbitrated }}
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr v-for="(item, aindex) in markerProgress" :key="aindex">
|
|
|
- <td style="width: 12%">{{ item.markerName }}</td>
|
|
|
- <td style="width: 60%;">
|
|
|
- <progress-line
|
|
|
- :sum="item.totalCount"
|
|
|
- :current="item.successCount"
|
|
|
- ></progress-line>
|
|
|
- </td>
|
|
|
- <td style="width: 14%;">进度:{{ item.progress }}%</td>
|
|
|
- <td style="width: 14%;">打回:{{ item.rejectedCount }}</td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
+ <Row :gutter="20" type="flex">
|
|
|
+ <Col span="12">
|
|
|
+ <div class="part-box progress-table">
|
|
|
+ <table class="table table-noborder">
|
|
|
+ <tr v-for="(item, aindex) in areaProgress" :key="aindex">
|
|
|
+ <td>{{ item.areaName }}</td>
|
|
|
+ <td>
|
|
|
+ <progress-line
|
|
|
+ :sum="item.totalCount"
|
|
|
+ :current="item.successCount"
|
|
|
+ ></progress-line>
|
|
|
+ </td>
|
|
|
+ <td>进度:{{ item.progress }}%</td>
|
|
|
+ <td></td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </Col>
|
|
|
+ <Col span="12">
|
|
|
+ <div class="part-box progress-table">
|
|
|
+ <table class="table table-noborder" v-if="IS_LEVEL">
|
|
|
+ <tr>
|
|
|
+ <td>{{ kzzInfo.name }}</td>
|
|
|
+ <td colspan="3" style="text-align:left">
|
|
|
+ 仲裁:{{ kzzInfo.arbitrated }}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr v-for="(item, aindex) in markerProgress" :key="aindex">
|
|
|
+ <td>{{ item.markerName }}</td>
|
|
|
+ <td>
|
|
|
+ <progress-line
|
|
|
+ :sum="item.totalCount"
|
|
|
+ :current="item.successCount"
|
|
|
+ ></progress-line>
|
|
|
+ </td>
|
|
|
+ <td>进度:{{ item.progress }}%</td>
|
|
|
+ <td>打回:{{ item.rejectedCount }}</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
|
|
|
- <table class="table table-noborder" v-if="IS_SCORE">
|
|
|
- <tr v-for="(item, aindex) in markerProgress" :key="aindex">
|
|
|
- <td>{{ item.markerName }}</td>
|
|
|
- <td style="width: 60%;">
|
|
|
- <progress-line
|
|
|
- :sum="item.totalCount"
|
|
|
- :current="item.successCount"
|
|
|
- ></progress-line>
|
|
|
- </td>
|
|
|
- <td>进度:{{ item.progress }}%</td>
|
|
|
- <td>改档:{{ item.shiftCount }}</td>
|
|
|
- <td>改档打分:{{ item.shiftScoreCount }}</td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <table class="table table-noborder" v-if="IS_SCORE">
|
|
|
+ <tr v-for="(item, aindex) in markerProgress" :key="aindex">
|
|
|
+ <td>{{ item.markerName }}</td>
|
|
|
+ <td>
|
|
|
+ <progress-line
|
|
|
+ :sum="item.totalCount"
|
|
|
+ :current="item.successCount"
|
|
|
+ ></progress-line>
|
|
|
+ </td>
|
|
|
+ <td>进度:{{ item.progress }}%</td>
|
|
|
+ <td>改档:{{ item.shiftCount }}</td>
|
|
|
+ <td>改档打分:{{ item.shiftScoreCount }}</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
|
|
|
<!-- modify-unformal-grading-task -->
|
|
|
<modify-unformal-grading-task
|
|
@@ -112,8 +123,6 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
subjectId: this.$route.params.subjectId,
|
|
|
- stepName: "",
|
|
|
- stepProgress: "",
|
|
|
curSubject: {},
|
|
|
SUBJECT_STAGE,
|
|
|
kzzInfo: {},
|
|
@@ -178,7 +187,6 @@ export default {
|
|
|
});
|
|
|
this.kzzInfo = data.kzz || {};
|
|
|
this.totalProgress = data.totalProgress;
|
|
|
- this.stepProgress = data.totalProgress.progress.toFixed(2) + "%";
|
|
|
const totalInfo = {
|
|
|
successCount: data.totalProgress.successCount,
|
|
|
totalCount: data.totalProgress.totalCount,
|
|
@@ -204,10 +212,6 @@ export default {
|
|
|
},
|
|
|
async getSubjectDetail() {
|
|
|
this.curSubject = await subjectDetail(this.subjectId);
|
|
|
- this.stepName =
|
|
|
- this.curSubject.test === 2
|
|
|
- ? "试评"
|
|
|
- : this.SUBJECT_STAGE[this.curSubject.stage];
|
|
|
},
|
|
|
toGrading() {
|
|
|
this.$refs.ModifyFormalGradingTask.open();
|