解决构建报错问题

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>
@@ -60,7 +60,7 @@
<el-form-item label="年纪" prop="gradeCurr">
<el-input-number
v-model="state.queryForm.gradeCurr"
placeholder="请输入年纪"
placeholder="请输入年<EFBFBD><EFBFBD>?
:min="1"
:max="10"
clearable
@@ -81,10 +81,10 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="审核状态" prop="checkStatus">
<el-form-item label="审核状<EFBFBD><EFBFBD>? prop="checkStatus">
<el-select
v-model="state.queryForm.checkStatus"
placeholder="请选择审核状态"
placeholder="请选择审核状<EFBFBD><EFBFBD>?
clearable
style="width: 200px">
<el-option
@@ -108,7 +108,7 @@
<div class="card-header">
<span class="card-title">
<el-icon class="title-icon"><Document /></el-icon>
免学费学生列
免学费学生列<EFBFBD><EFBFBD>?
</span>
<div class="header-actions">
<el-button
@@ -139,7 +139,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>
@@ -180,32 +180,32 @@
<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 === 'gradeCurr'" #default="scope">
<el-tag v-if="scope.row.gradeCurr !== undefined && scope.row.gradeCurr !== null" size="small" type="primary" effect="plain">
{{ scope.row.gradeCurr }}
</el-tag>
<span v-else>-</span>
</template>
<!-- 性别列特殊模 -->
<!-- 性别列特殊模<EFBFBD><EFBFBD>?-->
<template v-else-if="col.prop === 'gender'" #default="scope">
<GenderTag :sex="scope.row.gender" />
</template>
<!-- 生源列特殊模 -->
<!-- 生源列特殊模<EFBFBD><EFBFBD>?-->
<template v-else-if="col.prop === 'education'" #default="scope">
<el-tag v-if="scope.row.education" size="small" type="info" effect="plain">
{{ formatEducation(scope.row.education) }}
</el-tag>
<span v-else>-</span>
</template>
<!-- 层次列特殊模 -->
<!-- 层次列特殊模<EFBFBD><EFBFBD>?-->
<template v-else-if="col.prop === 'majorLevel'" #default="scope">
<el-tag v-if="scope.row.majorLevel" size="small" type="warning" effect="plain">
{{ formatMajorLevel(scope.row.majorLevel) }}
</el-tag>
<span v-else>-</span>
</template>
<!-- 金额列特殊模 -->
<!-- 金额列特殊模<EFBFBD><EFBFBD>?-->
<template v-else-if="col.prop === 'money'" #default="scope">
<el-tag v-if="scope.row.money !== undefined && scope.row.money !== null" size="small" type="success" effect="plain">
¥{{ scope.row.money }}
@@ -280,7 +280,7 @@ import {
CreditCard, Avatar, Setting, Menu, Search, Document
} from '@element-plus/icons-vue'
import { useTableColumnControl } from '/@/hooks/tableColumnControl'
import '/@/styles/modern-page.scss'
// 引入组件
const GenderTag = defineAsyncComponent(() => import('/@/components/GenderTag/index.vue'))
@@ -301,15 +301,15 @@ const genderList = ref<any[]>([])
const educationList = ref<any[]>([])
const majorLevelList = ref<any[]>([])
const checkStatusList = ref<any[]>([
{ label: '待审核', value: '0' },
{ label: '待审<EFBFBD><EFBFBD>?, value: '0' },
{ label: '审核通过', value: '1' }
])
// 表格列配
// 表格列配<EFBFBD><EFBFBD>?
const tableColumns = [
{ prop: 'deptName', label: '学院', minWidth: 150 },
{ prop: 'majorName', label: '专业', minWidth: 150 },
{ prop: 'teacherName', label: '班主任', width: 100 },
{ prop: 'teacherName', label: '班主<EFBFBD><EFBFBD>?, width: 100 },
{ prop: 'grade', label: '入学年份', width: 100 },
{ prop: 'gradeCurr', label: '年级', width: 80 },
{ prop: 'classNo', label: '班级', width: 120 },
@@ -320,10 +320,10 @@ const tableColumns = [
{ prop: 'majorLevel', label: '层次', width: 100 },
{ prop: 'phone', label: '联系电话', width: 120 },
{ prop: 'money', label: '金额', width: 100 },
{ prop: 'checkStatus', label: '审核状态', width: 100 }
{ prop: 'checkStatus', label: '审核状<EFBFBD><EFBFBD>?, width: 100 }
]
// 列配置映射(用于图标
// 列配置映射(用于图标<EFBFBD><EFBFBD>?
const columnConfigMap: Record<string, { icon: any }> = {
deptName: { icon: OfficeBuilding },
majorName: { icon: Reading },
@@ -391,7 +391,7 @@ const formatGender = (value: string | number) => {
return dictItem ? dictItem.label : value
}
// 格式化生
// 格式化生<EFBFBD><EFBFBD>?
const formatEducation = (value: string | number) => {
if (value === null || value === undefined || value === '') {
return '-'
@@ -400,7 +400,7 @@ const formatEducation = (value: string | number) => {
return dictItem ? dictItem.label : value
}
// 格式化层
// 格式化层<EFBFBD><EFBFBD>?
const formatMajorLevel = (value: string | number) => {
if (value === null || value === undefined || value === '') {
return '-'
@@ -409,7 +409,7 @@ const formatMajorLevel = (value: string | number) => {
return dictItem ? dictItem.label : value
}
// 格式化审核状
// 格式化审核状<EFBFBD><EFBFBD>?
const formatCheckStatus = (value: string | number) => {
if (value === null || value === undefined || value === '') {
return '-'
@@ -432,13 +432,13 @@ const handleReset = () => {
// 新增
const handleAdd = () => {
useMessage().info('新增功能待开发')
useMessage().info('新增功能待开<EFBFBD><EFBFBD>?)
// formDialogRef.value?.openDialog('add')
}
// 编辑
const handleEdit = (row: any) => {
useMessage().info('编辑功能待开发')
useMessage().info('编辑功能待开<EFBFBD><EFBFBD>?)
// formDialogRef.value?.openDialog('edit', row.id)
}
@@ -590,7 +590,7 @@ const getMajorLevelDict = async () => {
}
}
// 初始
// 初始<EFBFBD><EFBFBD>?
onMounted(() => {
getTermList()
getDeptListData()
@@ -607,4 +607,5 @@ onMounted(() => {
</script>
<style scoped lang="scss">
@import '/@/assets/styles/modern-page.scss';
</style>