|
@@ -21,24 +21,29 @@
|
|
<img :src="dataUrl" alt="" class="paper-img" :style="{ 'background-color': frontColor }" />
|
|
<img :src="dataUrl" alt="" class="paper-img" :style="{ 'background-color': frontColor }" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="p-base radius-base fill-blank scroll-auto m-l-base table-view">
|
|
|
|
|
|
+ <div 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="useVW(60)">
|
|
<base-form size="small" :model="formModel" :items="formItems" :label-width="useVW(60)">
|
|
<template #form-item-search>
|
|
<template #form-item-search>
|
|
<el-button type="primary" @click="onSearch">查询</el-button>
|
|
<el-button type="primary" @click="onSearch">查询</el-button>
|
|
</template>
|
|
</template>
|
|
</base-form>
|
|
</base-form>
|
|
- <div class="flex items-center">
|
|
|
|
- <span>考核卷</span>
|
|
|
|
- <span>: 共{{ tableData.length }}</span>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <el-button custom-1 size="small" class="detail-info-label">
|
|
|
|
+ <span class="">{{ paperType }}: 共</span>
|
|
|
|
+ <span class="m-l-extra-small detail-info-label-num">{{ tableData?.length }}</span>
|
|
|
|
+ </el-button>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="flex-1 scroll-auto">
|
|
|
|
+ <base-table
|
|
|
|
+ ref="tableRef"
|
|
|
|
+ size="small"
|
|
|
|
+ height="100%"
|
|
|
|
+ :data="tableData"
|
|
|
|
+ :columns="columns"
|
|
|
|
+ highlight-current-row
|
|
|
|
+ @current-change="onCurrentChange"
|
|
|
|
+ ></base-table>
|
|
</div>
|
|
</div>
|
|
- <base-table
|
|
|
|
- ref="tableRef"
|
|
|
|
- size="small"
|
|
|
|
- :data="tableData"
|
|
|
|
- :columns="columns"
|
|
|
|
- highlight-current-row
|
|
|
|
- @current-change="onCurrentChange"
|
|
|
|
- ></base-table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -57,7 +62,7 @@
|
|
/** 专家卷浏览-专家挑选卷 */
|
|
/** 专家卷浏览-专家挑选卷 */
|
|
import { reactive, ref, computed, watch, nextTick } from 'vue'
|
|
import { reactive, ref, computed, watch, nextTick } from 'vue'
|
|
import { ElButton, ElMessage } from 'element-plus'
|
|
import { ElButton, ElMessage } from 'element-plus'
|
|
-import { ROLE_OPTION } from '@/constants/dicts'
|
|
|
|
|
|
+import { ROLE_OPTION, PaperMap } from '@/constants/dicts'
|
|
import { useSetImgBg } from '@/hooks/useSetImgBg'
|
|
import { useSetImgBg } from '@/hooks/useSetImgBg'
|
|
import useFetch from '@/hooks/useFetch'
|
|
import useFetch from '@/hooks/useFetch'
|
|
import useVW from '@/hooks/useVW'
|
|
import useVW from '@/hooks/useVW'
|
|
@@ -263,7 +268,10 @@ const {
|
|
onCurrentChange,
|
|
onCurrentChange,
|
|
} = useTableCheck(expertPaperList)
|
|
} = useTableCheck(expertPaperList)
|
|
|
|
|
|
|
|
+const paperType = ref<string>('')
|
|
|
|
+
|
|
const onSearch = async () => {
|
|
const onSearch = async () => {
|
|
|
|
+ paperType.value = PaperMap[formModel.paperType]
|
|
getExpertPickList(formModel)
|
|
getExpertPickList(formModel)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -316,6 +324,15 @@ const { drawing, dataUrl } = useSetImgBg(imgOption)
|
|
}
|
|
}
|
|
.table-view {
|
|
.table-view {
|
|
width: 580px;
|
|
width: 580px;
|
|
|
|
+ .detail-info-label {
|
|
|
|
+ .detail-info-label-num {
|
|
|
|
+ min-width: 32px;
|
|
|
|
+ height: 24px;
|
|
|
|
+ line-height: 24px;
|
|
|
|
+ background: #00987b;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|