修復打包問題

This commit is contained in:
RISE
2026-01-30 18:02:42 +08:00
parent 3324dbf6dd
commit 02cda4ea1e
27 changed files with 1287 additions and 875 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>
@@ -45,7 +45,7 @@
<el-form-item label="学号" prop="stuNo">
<el-input
v-model="searchForm.stuNo"
placeholder="请输入学<EFBFBD><EFBFBD>?
placeholder="请输入学号"
clearable
style="width: 200px" />
</el-form-item>
@@ -85,7 +85,7 @@
@order-change="handleColumnOrderChange"
>
<template #trigger>
<el-tooltip class="item" effect="dark" content="列设<EFBFBD><EFBFBD>? placement="top">
<el-tooltip class="item" effect="dark" content="列设置" placement="top">
<el-button circle style="margin-left: 0;">
<el-icon><Menu /></el-icon>
</el-button>
@@ -183,7 +183,7 @@ import { useMessage, useMessageBox } from "/@/hooks/message";
import TableColumnControl from '/@/components/TableColumnControl/index.vue'
import FormDialog from './form.vue'
import { List, Calendar, Clock, OfficeBuilding, Grid, CreditCard, Avatar, Document, UserFilled, Phone, EditPen, Setting, Menu, Search } from '@element-plus/icons-vue'
import { useTableColumnControl } from '/@/hooks/tableColumnControl'
import { useTableColumnControl } from '/@/hooks/tableColumn'
// 定义变量内容
@@ -196,7 +196,7 @@ const classList = ref<any[]>([])
const schoolTermList = ref<any[]>([])
const formDialogRef = ref()
// 表格列配<EFBFBD><EFBFBD>?
// 表格列配
const tableColumns = [
{ prop: 'schoolYear', label: '学年', icon: Calendar },
{ prop: 'schoolTerm', label: '学期', icon: Clock },
@@ -204,10 +204,10 @@ const tableColumns = [
{ prop: 'classCode', label: '班级代码', icon: Grid },
{ prop: 'stuNo', label: '学号', icon: CreditCard },
{ prop: 'realName', label: '姓名', icon: Avatar },
{ prop: 'startTime', label: '请假开始时<EFBFBD><EFBFBD>?, icon: Calendar, width: 180 },
{ prop: 'startTime', label: '请假开始时间', icon: Calendar, width: 180 },
{ prop: 'endTime', label: '请假结束时间', icon: Calendar, width: 180 },
{ prop: 'reason', label: '请假事由', icon: Document, minWidth: 150 },
{ prop: 'classTeach', label: '班主<EFBFBD><EFBFBD>?, icon: UserFilled },
{ prop: 'classTeach', label: '班主任', icon: UserFilled },
{ prop: 'stuPhote', label: '联系方式', icon: Phone },
{ prop: 'remarks', label: '备注', icon: EditPen, minWidth: 150 }
]
@@ -247,7 +247,7 @@ const {
tableStyle
} = useTable(state)
// 格式化学<EFBFBD><EFBFBD>?
// 格式化学
const formatSchoolTerm = (value: string | number) => {
if (value === null || value === undefined || value === '') {
return '-'
@@ -256,10 +256,10 @@ const formatSchoolTerm = (value: string | number) => {
return dictItem ? dictItem.label : value
}
// 格式化日期时<EFBFBD><EFBFBD>?
// 格式化日期时
const formatDateTime = (dateTime: string) => {
if (!dateTime) return '-'
// 如果包含时间部分,只显示日期和时<EFBFBD><EFBFBD>?
// 如果包含时间部分,只显示日期和时
if (dateTime.includes(' ')) {
return dateTime.split('.')[0] // 移除毫秒部分
}
@@ -331,7 +331,7 @@ const getSchoolTermDict = async () => {
}
}
// 初始<EFBFBD><EFBFBD>?
// 初始
onMounted(() => {
getDeptListData()
getClassListData()