修復打包問題
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>
|
||||
@@ -47,7 +47,7 @@
|
||||
icon="FolderAdd"
|
||||
type="primary"
|
||||
@click="formDialogRef.openDialog()">
|
||||
<EFBFBD><EFBFBD>?<EFBFBD><EFBFBD>?
|
||||
新增
|
||||
</el-button>
|
||||
<right-toolbar
|
||||
v-model:showSearch="showSearch"
|
||||
@@ -63,7 +63,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>
|
||||
@@ -161,7 +161,7 @@ import { useMessage, useMessageBox } from "/@/hooks/message";
|
||||
import TableColumnControl from '/@/components/TableColumnControl/index.vue'
|
||||
import FormDialog from './form.vue'
|
||||
import { List, Calendar, Document, OfficeBuilding, Setting, Menu, Search } from '@element-plus/icons-vue'
|
||||
import { useTableColumnControl } from '/@/hooks/tableColumnControl'
|
||||
import { useTableColumnControl } from '/@/hooks/tableColumn'
|
||||
|
||||
|
||||
// 定义变量内容
|
||||
@@ -172,9 +172,9 @@ const showSearch = ref(true)
|
||||
const deptList = ref<any[]>([])
|
||||
const formDialogRef = ref()
|
||||
|
||||
// 表格列配<EFBFBD><EFBFBD>?
|
||||
// 表格列配置
|
||||
const tableColumns = [
|
||||
{ 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 },
|
||||
{ prop: 'deptName', label: '发起部门', icon: OfficeBuilding }
|
||||
@@ -213,7 +213,7 @@ const {
|
||||
tableStyle
|
||||
} = useTable(state)
|
||||
|
||||
// 格式化日期时<EFBFBD><EFBFBD>?
|
||||
// 格式化日期时间
|
||||
const formatDateTime = (dateTime: string) => {
|
||||
if (!dateTime) return '-'
|
||||
// 如果包含时间部分,只显示日期部分
|
||||
@@ -243,7 +243,7 @@ const handleEdit = (row: any) => {
|
||||
// 删除
|
||||
const handleDelete = async (row: any) => {
|
||||
try {
|
||||
await useMessageBox().confirm('确定要删除这条记录吗<EFBFBD><EFBFBD>?)
|
||||
await useMessageBox().confirm('确定要删除这条记录吗?')
|
||||
await delObj([row.id])
|
||||
useMessage().success('删除成功')
|
||||
getDataList()
|
||||
@@ -266,7 +266,7 @@ const getDeptListData = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
// 初始<EFBFBD><EFBFBD>?
|
||||
// 初始化
|
||||
onMounted(() => {
|
||||
getDeptListData()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user