解决构建报错问题

This commit is contained in:
2026-01-29 16:38:09 +08:00
parent c1d9f0467a
commit 679b21ef25
36 changed files with 576 additions and 521 deletions

View File

@@ -7,7 +7,7 @@
<div class="card-header">
<span class="card-title">
<el-icon class="title-icon"><Search /></el-icon>
筛选条
筛选条<EFBFBD><EFBFBD>?
</span>
</div>
</template>
@@ -75,7 +75,7 @@
<el-form-item label="姓名" prop="realName">
<el-input
v-model="state.queryForm.realName"
placeholder="请输入姓名"
placeholder="请输入姓<EFBFBD><EFBFBD>?
clearable
style="width: 200px" />
</el-form-item>
@@ -136,7 +136,7 @@
@order-change="handleColumnOrderChange"
>
<template #trigger>
<el-tooltip class="item" effect="dark" content="列设置" placement="top">
<el-tooltip class="item" effect="dark" content="列设<EFBFBD><EFBFBD>? placement="top">
<el-button circle style="margin-left: 0;">
<el-icon><Menu /></el-icon>
</el-button>
@@ -177,23 +177,23 @@
<el-icon><component :is="columnConfigMap[col.prop]?.icon || Calendar" /></el-icon>
<span style="margin-left: 4px">{{ col.label }}</span>
</template>
<!-- 学期列特殊模 -->
<!-- 学期列特殊模<EFBFBD><EFBFBD>?-->
<template v-if="col.prop === 'schoolTerm'" #default="scope">
<el-tag size="small" type="primary" effect="plain">
{{ formatSchoolTerm(scope.row.schoolTerm) }}
</el-tag>
</template>
<!-- 类型列特殊模 -->
<!-- 类型列特殊模<EFBFBD><EFBFBD>?-->
<template v-else-if="col.prop === 'conductType'" #default="scope">
<el-tag size="small" type="warning" effect="plain">
{{ formatType(scope.row.conductType) }}
</el-tag>
</template>
<!-- 考核时间列特殊模 -->
<!-- 考核时间列特殊模<EFBFBD><EFBFBD>?-->
<template v-else-if="col.prop === 'recordDate'" #default="scope">
<span>{{ scope.row.recordDate || '-' }}</span>
</template>
<!-- 附件列特殊模 -->
<!-- 附件列特殊模<EFBFBD><EFBFBD>?-->
<template v-else-if="col.prop === 'attachment'" #default="scope">
<el-button
v-if="scope.row.attachment"
@@ -261,7 +261,7 @@
drag>
<el-icon class="el-icon--upload"><upload-filled /></el-icon>
<div class="el-upload__text">
将文件拖到此处<em>点击上传</em>
将文件拖到此处<EFBFBD><EFBFBD>?em>点击上传</em>
</div>
<template #tip>
<div class="el-upload__tip">
@@ -271,8 +271,8 @@
</el-upload>
<template #footer>
<span class="dialog-footer">
<el-button @click="importDialogVisible = false"> </el-button>
<el-button type="primary" @click="handleImportSubmit" :disabled="!importFile || importLoading"> </el-button>
<el-button @click="importDialogVisible = false"><EFBFBD><EFBFBD>?<EFBFBD><EFBFBD>?/el-button>
<el-button type="primary" @click="handleImportSubmit" :disabled="!importFile || importLoading"><EFBFBD><EFBFBD>?<EFBFBD><EFBFBD>?/el-button>
</span>
</template>
</el-dialog>
@@ -292,7 +292,7 @@ import { useMessage, useMessageBox } from "/@/hooks/message";
import TableColumnControl from '/@/components/TableColumnControl/index.vue'
import { UploadFilled, List, CreditCard, Calendar, Clock, OfficeBuilding, Grid, Avatar, Collection, Document, Setting, Menu, Search } from '@element-plus/icons-vue'
import { useTableColumnControl } from '/@/hooks/tableColumnControl'
import '/@/styles/modern-page.scss'
import FormDialog from './form.vue'
// 定义变量内容
@@ -311,7 +311,7 @@ const importDialogVisible = ref(false)
const importFile = ref<File | null>(null)
const importLoading = ref(false)
// 表格列配
// 表格列配<EFBFBD><EFBFBD>?
const tableColumns = [
{ prop: 'stuNo', label: '学号' },
{ prop: 'schoolYear', label: '学年' },
@@ -325,7 +325,7 @@ const tableColumns = [
{ prop: 'attachment', label: '附件', width: 100 }
]
// 列配置映射(用于图标
// 列配置映射(用于图标<EFBFBD><EFBFBD>?
const columnConfigMap: Record<string, { icon: any }> = {
stuNo: { icon: CreditCard },
schoolYear: { icon: Calendar },
@@ -374,7 +374,7 @@ const {
tableStyle
} = useTable(state)
// 格式化学
// 格式化学<EFBFBD><EFBFBD>?
const formatSchoolTerm = (value: string | number) => {
if (value === null || value === undefined || value === '') {
return '-'
@@ -383,7 +383,7 @@ const formatSchoolTerm = (value: string | number) => {
return dictItem ? dictItem.label : value
}
// 格式化类
// 格式化类<EFBFBD><EFBFBD>?
const formatType = (value: string) => {
if (!value) return '-'
const item = typeList.value.find((item: any) => item.value === value)
@@ -392,7 +392,7 @@ const formatType = (value: string) => {
// 学院变化
const handleDeptChange = () => {
// 可以根据学院筛选班级,这里暂时不实
// 可以根据学院筛选班级,这里暂时不实<EFBFBD><EFBFBD>?
}
// 重置
@@ -549,7 +549,7 @@ const getTypeDict = async () => {
}
}
// 初始
// 初始<EFBFBD><EFBFBD>?
onMounted(() => {
getSchoolYearList()
getSchoolTermDict()
@@ -564,5 +564,6 @@ onMounted(() => {
</script>
<style scoped lang="scss">
@import '/@/assets/styles/modern-page.scss';
</style>