|
@@ -38,6 +38,7 @@
|
|
size="small"
|
|
size="small"
|
|
:data="tableData"
|
|
:data="tableData"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
|
|
+ highlight-current-row
|
|
@current-change="onCurrentChange"
|
|
@current-change="onCurrentChange"
|
|
@row-dblclick="onDbClick"
|
|
@row-dblclick="onDbClick"
|
|
></base-table>
|
|
></base-table>
|
|
@@ -52,7 +53,6 @@
|
|
/** 重评卷查看 */
|
|
/** 重评卷查看 */
|
|
import { reactive, ref, computed, watch, nextTick } from 'vue'
|
|
import { reactive, ref, computed, watch, nextTick } from 'vue'
|
|
import { ElButton } from 'element-plus'
|
|
import { ElButton } from 'element-plus'
|
|
-import { add } from '@/utils/common'
|
|
|
|
import { useSetImgBg } from '@/hooks/useSetImgBg'
|
|
import { useSetImgBg } from '@/hooks/useSetImgBg'
|
|
import useVW from '@/hooks/useVW'
|
|
import useVW from '@/hooks/useVW'
|
|
import useFetch from '@/hooks/useFetch'
|
|
import useFetch from '@/hooks/useFetch'
|
|
@@ -209,12 +209,13 @@ const onSearch = async () => {
|
|
getReMarkPaperList(formModel)
|
|
getReMarkPaperList(formModel)
|
|
}
|
|
}
|
|
|
|
|
|
-/** 重评卷打分 */
|
|
|
|
|
|
+/** 确认 */
|
|
const { fetch: markReMarkPaper } = useFetch('markReMarkPaper')
|
|
const { fetch: markReMarkPaper } = useFetch('markReMarkPaper')
|
|
|
|
|
|
-const onSubmit = () => {
|
|
|
|
|
|
+const onSubmit = async () => {
|
|
if (currentReMarkPaper.value) {
|
|
if (currentReMarkPaper.value) {
|
|
- markReMarkPaper({ id: currentReMarkPaper.value.id, scores: modelScore.value })
|
|
|
|
|
|
+ await markReMarkPaper({ id: currentReMarkPaper.value.id, scores: modelScore.value })
|
|
|
|
+ await onSearch()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|