提交“

This commit is contained in:
zlwu committed 2026-05-30 14:03:11 +08:00
1 parent 69ee0f505c
commit 9b88581450
614 files changed
+90318 -689022

No files matched your search

+7 -4
View File
@@ -89,8 +89,8 @@
header-align="center"
>
<template #default="{ row }">
<el-tag :type="row.status === '1' ? 'success' : 'info'" size="small">
{{ row.status === '1' ? '正常' : '停用' }}
<el-tag :type="dictStore.getTagType('sys_status', row.status)" size="small">
{{ dictStore.getLabel('sys_status', row.status) }}
</el-tag>
</template>
</el-table-column>
@@ -335,6 +335,7 @@
import SystemViewDialog from '@/components/business/system-view-dialog/index.vue'
import { MAX_ADMIN_LIST_PAGE_SIZE } from '@/utils/fetch-paged-list'
import { withFullscreenLoading, fullscreenLoadingText } from '@/utils/fullscreen-loading'
import { useDictStore } from '@/store/modules/dict'
import {
fetchPostList,
fetchCreatePost,
@@ -349,6 +350,8 @@
defineOptions({ name: 'SystemPost' })
const dictStore = useDictStore()
const searchForm = reactive<{ keyword: string }>({ keyword: '' })
const tableData = ref<Api.Post.PostItem[]>([])
const selectedRows = ref<Api.Post.PostItem[]>([])
@@ -391,8 +394,8 @@
{ label: '职位编码', value: row.postCode },
{
label: '状态',
value: row.status === '1' ? '正常' : '停用',
tagType: row.status === '1' ? 'success' : 'info'
value: dictStore.getLabel('sys_status', row.status),
tagType: dictStore.getTagType('sys_status', row.status)
},
{ label: '创建时间', value: row.createTime },
{ label: '备注', value: row.remark, span: true }