解决构建报错问题
This commit is contained in:
@@ -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>
|
||||
@@ -54,7 +54,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
|
||||
@@ -77,7 +77,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>
|
||||
@@ -201,7 +201,7 @@ import {
|
||||
Money, EditPen, Setting, Menu, Search
|
||||
} from '@element-plus/icons-vue'
|
||||
import { useTableColumnControl } from '/@/hooks/tableColumn'
|
||||
import '/@/styles/modern-page.scss'
|
||||
|
||||
|
||||
// 定义变量内容
|
||||
const route = useRoute()
|
||||
@@ -214,7 +214,7 @@ const schoolTermList = ref<any[]>([])
|
||||
const quarterList = ref<any[]>([])
|
||||
const classifyList = ref<any[]>([])
|
||||
|
||||
// 表格列配置
|
||||
// 表格列配<EFBFBD><EFBFBD>?
|
||||
const tableColumns = [
|
||||
{ prop: 'title', label: '批次名称', icon: Document, minWidth: 200 },
|
||||
{ prop: 'schoolYear', label: '学年', icon: Calendar, width: 120 },
|
||||
@@ -222,7 +222,7 @@ const tableColumns = [
|
||||
{ prop: 'type', label: '季度', icon: Timer, width: 100 },
|
||||
{ prop: 'classify', label: '类别', icon: Collection, width: 100 },
|
||||
{ prop: 'moneyValue', label: '补助金额', icon: Money, width: 120 },
|
||||
{ prop: 'startTime', label: '开始日期', icon: Calendar, width: 120 },
|
||||
{ prop: 'startTime', label: '开始日<EFBFBD><EFBFBD>?, icon: Calendar, width: 120 },
|
||||
{ prop: 'endTime', label: '截止日期', icon: Calendar, width: 120 },
|
||||
{ prop: 'remarks', label: '备注', icon: EditPen, minWidth: 150 }
|
||||
]
|
||||
@@ -264,7 +264,7 @@ const {
|
||||
tableStyle: _tableStyle
|
||||
} = useTable(state)
|
||||
|
||||
// 格式化学期
|
||||
// 格式化学<EFBFBD><EFBFBD>?
|
||||
const formatSchoolTerm = (value: string | number) => {
|
||||
if (value === null || value === undefined || value === '') {
|
||||
return '-'
|
||||
@@ -273,7 +273,7 @@ const formatSchoolTerm = (value: string | number) => {
|
||||
return dictItem ? dictItem.label : value
|
||||
}
|
||||
|
||||
// 格式化季度
|
||||
// 格式化季<EFBFBD><EFBFBD>?
|
||||
const formatQuarter = (value: string | number) => {
|
||||
if (value === null || value === undefined || value === '') {
|
||||
return '-'
|
||||
@@ -282,7 +282,7 @@ const formatQuarter = (value: string | number) => {
|
||||
return dictItem ? dictItem.label : value
|
||||
}
|
||||
|
||||
// 格式化类别
|
||||
// 格式化类<EFBFBD><EFBFBD>?
|
||||
const formatClassify = (value: string | number) => {
|
||||
if (value === null || value === undefined || value === '') {
|
||||
return '-'
|
||||
@@ -313,7 +313,7 @@ const handleEdit = (row: any) => {
|
||||
const handleDelete = async (row: any) => {
|
||||
try {
|
||||
const { confirm } = useMessageBox()
|
||||
await confirm(`确定要删除批次 "${row.title}" 吗?`)
|
||||
await confirm(`确定要删除批<E999A4><E689B9>?"${row.title}" 吗?`)
|
||||
await delObj([row.id])
|
||||
useMessage().success('删除成功')
|
||||
getDataList()
|
||||
@@ -389,7 +389,7 @@ const getClassifyDict = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
// 初始化
|
||||
// 初始<EFBFBD><EFBFBD>?
|
||||
onMounted(() => {
|
||||
getSchoolYearList()
|
||||
getSchoolTermDict()
|
||||
@@ -399,5 +399,6 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import '/@/assets/styles/modern-page.scss';
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user