|
@@ -11,22 +11,25 @@
|
|
|
</template>
|
|
|
</mark-header>
|
|
|
<div class="flex flex-1 overflow-hidden p-base mark-container">
|
|
|
- <div
|
|
|
- class="flex flex-1 direction-column radius-base fill-blank mark-content"
|
|
|
- :class="{ 'text-center': center }"
|
|
|
- :style="{ 'background-color': backgroundColor }"
|
|
|
- >
|
|
|
- <span class="preview" @click="onPreview">
|
|
|
- <svg-icon name="preview"></svg-icon>
|
|
|
- </span>
|
|
|
- <right-button class="next-button" @click="checkNext" />
|
|
|
- <div class="flex-1 p-base scroll-auto mark-content-paper img-wrap">
|
|
|
- <img :src="dataUrl" alt="" class="paper-img" :style="{ 'background-color': frontColor }" />
|
|
|
- <p v-if="currentSystemCheckPaper" class="absolute mark-score">
|
|
|
- {{ currentSystemCheckPaper.headerScore ?? currentSystemCheckPaper.markerScore }}
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <!-- <scoring-panel-with-confirm
|
|
|
+ <splitpanes class="default-theme" style="height: 100%" @resize="setPaneSize">
|
|
|
+ <pane
|
|
|
+ max-size="80"
|
|
|
+ :size="paneSize"
|
|
|
+ class="flex flex-1 direction-column radius-base fill-blank mark-content"
|
|
|
+ :class="{ 'text-center': center }"
|
|
|
+ :style="{ 'background-color': backgroundColor }"
|
|
|
+ >
|
|
|
+ <span class="preview" @click="onPreview">
|
|
|
+ <svg-icon name="preview"></svg-icon>
|
|
|
+ </span>
|
|
|
+ <!-- <right-button class="next-button" @click="checkNext" /> -->
|
|
|
+ <div class="flex-1 p-base scroll-auto mark-content-paper img-wrap">
|
|
|
+ <img :src="dataUrl" alt="" class="paper-img" :style="{ 'background-color': frontColor }" />
|
|
|
+ <p v-if="currentSystemCheckPaper" class="absolute mark-score">
|
|
|
+ {{ currentSystemCheckPaper.headerScore ?? currentSystemCheckPaper.markerScore }}
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <!-- <scoring-panel-with-confirm
|
|
|
:id="currentSystemCheckPaper?.taskId"
|
|
|
v-model:visible="scoringPanelVisible"
|
|
|
v-model:score="modelScore"
|
|
@@ -36,56 +39,62 @@
|
|
|
:main-number="currentSystemCheckPaper?.mainNumber"
|
|
|
@submit="onSubmit"
|
|
|
></scoring-panel-with-confirm> -->
|
|
|
- <scoring-panel-with-confirm
|
|
|
- :id="currentSystemCheckPaper?.taskId"
|
|
|
- v-model:visible="scoringPanelVisible"
|
|
|
- v-model:score="modelScore"
|
|
|
- modal
|
|
|
- :auto-visible="false"
|
|
|
- :main-number="currentSystemCheckPaper?.mainNumber"
|
|
|
- :subject-code="formModel.subjectCode"
|
|
|
- @submit="onSubmit"
|
|
|
- ></scoring-panel-with-confirm>
|
|
|
- </div>
|
|
|
- <div v-loading="loading" class="flex direction-column p-base radius-base fill-blank m-l-base table-view">
|
|
|
- <base-form size="small" :model="formModel" :items="formItems" :label-width="'52px'">
|
|
|
- <template #form-item-search>
|
|
|
- <el-button :loading="loading" type="primary" @click="onSearch">查询</el-button>
|
|
|
- </template>
|
|
|
- </base-form>
|
|
|
- <div class="flex items-center justify-between detail-info-table-header">
|
|
|
- <el-button custom-1 size="small" class="detail-info-label">
|
|
|
- <span class="">系统抽查卷: 共</span>
|
|
|
- <span class="m-l-extra-small detail-info-label-num">{{ total }}</span>
|
|
|
- </el-button>
|
|
|
- <el-pagination
|
|
|
- v-bind="pagination"
|
|
|
- v-model:current-page="currentPage"
|
|
|
- size="small"
|
|
|
- class="m-t-unset"
|
|
|
- background
|
|
|
- right
|
|
|
- hide-on-single-page
|
|
|
- :pager-count="3"
|
|
|
- small
|
|
|
- ></el-pagination>
|
|
|
- </div>
|
|
|
- <div class="flex-1 scroll-auto m-t-mini">
|
|
|
- <base-table
|
|
|
- ref="tableRef"
|
|
|
- border
|
|
|
- stripe
|
|
|
- size="small"
|
|
|
- height="100%"
|
|
|
- :data="tableData"
|
|
|
- :columns="columns"
|
|
|
- highlight-current-row
|
|
|
- :cell-style="{ padding: '6px 0' }"
|
|
|
- @current-change="onCurrentChange"
|
|
|
- @row-dblclick="onDbClick"
|
|
|
- ></base-table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <scoring-panel-with-confirm
|
|
|
+ :id="currentSystemCheckPaper?.taskId"
|
|
|
+ v-model:visible="scoringPanelVisible"
|
|
|
+ v-model:score="modelScore"
|
|
|
+ modal
|
|
|
+ :auto-visible="false"
|
|
|
+ :main-number="currentSystemCheckPaper?.mainNumber"
|
|
|
+ :subject-code="formModel.subjectCode"
|
|
|
+ @submit="onSubmit"
|
|
|
+ ></scoring-panel-with-confirm>
|
|
|
+ </pane>
|
|
|
+ <pane
|
|
|
+ v-loading="loading"
|
|
|
+ max-size="80"
|
|
|
+ :size="100 - paneSize"
|
|
|
+ class="flex direction-column p-base radius-base fill-blank m-l-base table-view"
|
|
|
+ >
|
|
|
+ <base-form size="small" :model="formModel" :items="formItems" :label-width="'52px'">
|
|
|
+ <template #form-item-search>
|
|
|
+ <el-button :loading="loading" type="primary" @click="onSearch">查询</el-button>
|
|
|
+ </template>
|
|
|
+ </base-form>
|
|
|
+ <div class="flex items-center justify-between detail-info-table-header">
|
|
|
+ <el-button custom-1 size="small" class="detail-info-label">
|
|
|
+ <span class="">系统抽查卷: 共</span>
|
|
|
+ <span class="m-l-extra-small detail-info-label-num">{{ total }}</span>
|
|
|
+ </el-button>
|
|
|
+ <el-pagination
|
|
|
+ v-bind="pagination"
|
|
|
+ v-model:current-page="currentPage"
|
|
|
+ size="small"
|
|
|
+ class="m-t-unset"
|
|
|
+ background
|
|
|
+ right
|
|
|
+ hide-on-single-page
|
|
|
+ :pager-count="3"
|
|
|
+ small
|
|
|
+ ></el-pagination>
|
|
|
+ </div>
|
|
|
+ <div class="flex-1 scroll-auto m-t-mini">
|
|
|
+ <base-table
|
|
|
+ ref="tableRef"
|
|
|
+ border
|
|
|
+ stripe
|
|
|
+ size="small"
|
|
|
+ height="100%"
|
|
|
+ :data="tableData"
|
|
|
+ :columns="columns"
|
|
|
+ highlight-current-row
|
|
|
+ :cell-style="{ padding: '6px 0' }"
|
|
|
+ @current-change="onCurrentChange"
|
|
|
+ @row-dblclick="onDbClick"
|
|
|
+ ></base-table>
|
|
|
+ </div>
|
|
|
+ </pane>
|
|
|
+ </splitpanes>
|
|
|
</div>
|
|
|
</div>
|
|
|
<image-preview v-model="previewModalVisible" :url="currentSystemCheckPaper?.filePath"></image-preview>
|
|
@@ -131,7 +140,13 @@ import SecNumberStatus from '@/components/common/secNumberStatus.vue'
|
|
|
import type { SetImgBgOption } from '@/hooks/useSetImgBg'
|
|
|
import type { ExtractApiParams } from '@/api/api'
|
|
|
import type { MarkHeaderInstance, EpFormItem, EpTableColumn } from 'global-type'
|
|
|
-
|
|
|
+import { Splitpanes, Pane } from 'splitpanes'
|
|
|
+import { setPaneSize } from '@/utils/common'
|
|
|
+import useMainStore from '@/store/main'
|
|
|
+const mainStore = useMainStore()
|
|
|
+const paneSize = computed(() => {
|
|
|
+ return mainStore.paneSizeConfig[location.pathname] || 60
|
|
|
+})
|
|
|
const {
|
|
|
rotate,
|
|
|
scale,
|
|
@@ -303,13 +318,13 @@ const columns: EpTableColumn[] = [
|
|
|
},
|
|
|
},
|
|
|
{ label: '评卷员', prop: 'markerName', minWidth: 80 },
|
|
|
- { label: '评卷员给分', prop: 'markerScore', minWidth: 88 },
|
|
|
- { label: '组长给分', prop: 'headerScore', minWidth: 70 },
|
|
|
+ { label: '评卷员给分', prop: 'markerScore', minWidth: 108, sortable: true },
|
|
|
+ { label: '组长给分', prop: 'headerScore', minWidth: 94, sortable: true },
|
|
|
// { label: '评卷时间', prop: 'markTime', width: 160 },
|
|
|
- { label: '客观分', prop: 'objectiveScore', minWidth: 70 },
|
|
|
- { label: '客主比', prop: 'ratio', minWidth: 70 },
|
|
|
- { label: '成绩', prop: 'markScore', minWidth: 70 },
|
|
|
- { label: '抽查次数', prop: 'checkCount', minWidth: 70 },
|
|
|
+ { label: '客观分', prop: 'objectiveScore', minWidth: 90, sortable: true },
|
|
|
+ { label: '客主比', prop: 'ratio', minWidth: 90, sortable: true },
|
|
|
+ { label: '成绩', prop: 'markScore', minWidth: 90, sortable: true },
|
|
|
+ { label: '抽查次数', prop: 'checkCount', minWidth: 94, sortable: true },
|
|
|
{ label: '评卷时间', prop: 'markTime', minWidth: 130 },
|
|
|
]
|
|
|
|
|
@@ -318,7 +333,7 @@ const { fetch: getSystemCheckLevel, result: levelOptions } = useFetch('getSystem
|
|
|
getSystemCheckLevel()
|
|
|
|
|
|
const { pagination, currentPage, data, fetchTable, loading, total } = useTable('getSystemSpotList', formModel, {
|
|
|
- pageSize: 50,
|
|
|
+ pageSize: 100,
|
|
|
})
|
|
|
const {
|
|
|
tableRef,
|
|
@@ -400,7 +415,6 @@ const { drawing, dataUrl } = useSetImgBg(imgOption, frontColor, setFrontColor)
|
|
|
}
|
|
|
.table-view {
|
|
|
// width: 480px;
|
|
|
- width: 35%;
|
|
|
.detail-info-label {
|
|
|
.detail-info-label-num {
|
|
|
min-width: 32px;
|