|
@@ -7,15 +7,25 @@
|
|
@click="onOperationClick"
|
|
@click="onOperationClick"
|
|
>
|
|
>
|
|
<!-- <el-button type="primary" size="small" class="m-l-base" @click="onEditScore">修改给分</el-button> -->
|
|
<!-- <el-button type="primary" size="small" class="m-l-base" @click="onEditScore">修改给分</el-button> -->
|
|
- <el-button
|
|
|
|
- type="primary"
|
|
|
|
- size="small"
|
|
|
|
- class="m-l-base m-r-auto"
|
|
|
|
- :disabled="!currentSubjectiveCheck"
|
|
|
|
- :loading="confirmLoading"
|
|
|
|
- @click="onConfirm"
|
|
|
|
- >提交确认</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <div style="flex-grow: 2">
|
|
|
|
+ <el-button
|
|
|
|
+ :disabled="!currentSubjectiveCheck?.taskId"
|
|
|
|
+ class="m-l-base m-r-auto"
|
|
|
|
+ size="small"
|
|
|
|
+ type="primary"
|
|
|
|
+ @click="onSendBack"
|
|
|
|
+ >打回</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ class="m-l-base m-r-auto"
|
|
|
|
+ :disabled="!currentSubjectiveCheck"
|
|
|
|
+ :loading="confirmLoading"
|
|
|
|
+ @click="onConfirm"
|
|
|
|
+ >提交确认</el-button
|
|
|
|
+ >
|
|
|
|
+ </div>
|
|
</mark-header>
|
|
</mark-header>
|
|
<div class="flex flex-1 overflow-hidden p-base mark-container">
|
|
<div class="flex flex-1 overflow-hidden p-base mark-container">
|
|
<splitpanes class="default-theme" style="height: 100%" @resize="setPaneSize">
|
|
<splitpanes class="default-theme" style="height: 100%" @resize="setPaneSize">
|
|
@@ -142,6 +152,12 @@
|
|
v-model="visibleHistory"
|
|
v-model="visibleHistory"
|
|
:task="currentViewHistory"
|
|
:task="currentViewHistory"
|
|
></mark-history-list>
|
|
></mark-history-list>
|
|
|
|
+ <send-back-mark
|
|
|
|
+ :id="currentSubjectiveCheck?.taskId"
|
|
|
|
+ v-model="sendBackVisible"
|
|
|
|
+ type="subject-check"
|
|
|
|
+ @rejected="onRejected"
|
|
|
|
+ ></send-back-mark>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts" name="QualitySubjectiveCheck">
|
|
<script setup lang="ts" name="QualitySubjectiveCheck">
|
|
@@ -164,6 +180,7 @@ import MarkHeader from '@/components/shared/MarkHeader.vue'
|
|
import ScoringPanelWithConfirm from '@/components/shared/ScoringPanelWithConfirm.vue'
|
|
import ScoringPanelWithConfirm from '@/components/shared/ScoringPanelWithConfirm.vue'
|
|
import ImagePreview from '@/components/shared/ImagePreview.vue'
|
|
import ImagePreview from '@/components/shared/ImagePreview.vue'
|
|
import SvgIcon from '@/components/common/SvgIcon.vue'
|
|
import SvgIcon from '@/components/common/SvgIcon.vue'
|
|
|
|
+import SendBackMark from '@/components/shared/SendBackMark.vue'
|
|
|
|
|
|
import type { SetImgBgOption } from '@/hooks/useSetImgBg'
|
|
import type { SetImgBgOption } from '@/hooks/useSetImgBg'
|
|
import type { ExtractMultipleApiResponse, ExtractApiParams } from '@/api/api'
|
|
import type { ExtractMultipleApiResponse, ExtractApiParams } from '@/api/api'
|
|
@@ -205,6 +222,19 @@ const currentHistoryColumns = computed<any>(() => [
|
|
{ label: '评卷时间', prop: 'markTime', width: 130 },
|
|
{ label: '评卷时间', prop: 'markTime', width: 130 },
|
|
])
|
|
])
|
|
|
|
|
|
|
|
+/** 打回弹窗 */
|
|
|
|
+const sendBackVisible = ref<boolean>(false)
|
|
|
|
+/** 打回 */
|
|
|
|
+const onSendBack = () => {
|
|
|
|
+ sendBackVisible.value = true
|
|
|
|
+}
|
|
|
|
+/** 打回成功 */
|
|
|
|
+const onRejected = () => {
|
|
|
|
+ onRefresh()
|
|
|
|
+ ElMessage.success('打回成功')
|
|
|
|
+ // fetchTable()
|
|
|
|
+}
|
|
|
|
+
|
|
/** 给分板 */
|
|
/** 给分板 */
|
|
const editScoreVisible = ref<boolean>(true)
|
|
const editScoreVisible = ref<boolean>(true)
|
|
|
|
|
|
@@ -254,7 +284,7 @@ const operationHandles: Partial<Record<OperationType, (...args: any) => void>> =
|
|
rotate: onRotate,
|
|
rotate: onRotate,
|
|
'front-color': setFrontColor,
|
|
'front-color': setFrontColor,
|
|
'background-color': setBackgroundColor,
|
|
'background-color': setBackgroundColor,
|
|
- refresh: onRefresh,
|
|
|
|
|
|
+ // refresh: onRefresh,
|
|
standard: onViewStandard,
|
|
standard: onViewStandard,
|
|
}
|
|
}
|
|
|
|
|