|
@@ -15,7 +15,7 @@
|
|
|
<div class="flex-1 radius-base fill-blank tree-card">
|
|
|
<div class="flex items-center justify-between">
|
|
|
<span>选择评卷员</span>
|
|
|
- <el-button size="small" type="primary" @click="onHandOutForceCheck">分发考核卷</el-button>
|
|
|
+ <el-button :loading="loading" size="small" type="primary" @click="onHandOutForceCheck">分发考核卷</el-button>
|
|
|
</div>
|
|
|
<div class="flex direction-column m-t-extra-base p-base radius-base fill-lighter tree-box">
|
|
|
<el-input v-model="filterText" placeholder="输入评卷员账号或名称筛选" clearable></el-input>
|
|
@@ -35,7 +35,7 @@
|
|
|
<div class="flex direction-column radius-base fill-blank table-card">
|
|
|
<div class="flex items-center justify-between">
|
|
|
<span>分发进度</span>
|
|
|
- <el-button size="small" special @click="onSearch">查询</el-button>
|
|
|
+ <el-button :loading="tableLoading" size="small" special @click="onSearch">查询</el-button>
|
|
|
</div>
|
|
|
<base-table class="flex-1" size="small" :columns="columns" :data="handOutProgressList">
|
|
|
<template #empty>
|
|
@@ -211,7 +211,11 @@ const columns: EpTableColumn<ExtractApiResponse<'getHandOutProgressList'>>[] = [
|
|
|
{ label: '总量', prop: 'totalCount' },
|
|
|
]
|
|
|
|
|
|
-const { fetch: getHandOutProgressList, result: handOutProgressList } = useFetch('getHandOutProgressList')
|
|
|
+const {
|
|
|
+ fetch: getHandOutProgressList,
|
|
|
+ result: handOutProgressList,
|
|
|
+ loading: tableLoading,
|
|
|
+} = useFetch('getHandOutProgressList')
|
|
|
|
|
|
const onSearch = async () => {
|
|
|
try {
|