fix: group页面微调, detailVisible定义有误
This commit is contained in:
parent
f83cd426a5
commit
0dc29b8ed5
@ -14,11 +14,10 @@ import GroupSearch from './modules/group-search.vue';
|
|||||||
|
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
|
|
||||||
/** 组状态 Switch 的 loading 状态 */
|
/** 详情页属性数据 */
|
||||||
const detailData = ref();
|
const detailData = ref<Api.GroupConfig.GroupConfig | null>();
|
||||||
const detailVisible = defineModel<boolean>('detailVisible', {
|
/** 详情页可见状态 */
|
||||||
default: false
|
const detailVisible = ref(false);
|
||||||
});
|
|
||||||
|
|
||||||
const { columns, columnChecks, data, getData, loading, mobilePagination, searchParams, resetSearchParams } = useTable({
|
const { columns, columnChecks, data, getData, loading, mobilePagination, searchParams, resetSearchParams } = useTable({
|
||||||
apiFn: fetchGetGroupConfigList,
|
apiFn: fetchGetGroupConfigList,
|
||||||
@ -89,19 +88,19 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
{
|
{
|
||||||
key: 'version',
|
key: 'version',
|
||||||
title: $t('page.groupConfig.version'),
|
title: $t('page.groupConfig.version'),
|
||||||
align: 'left',
|
align: 'center',
|
||||||
minWidth: 60
|
minWidth: 60
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupPartition',
|
key: 'groupPartition',
|
||||||
title: $t('page.groupConfig.groupPartition'),
|
title: $t('page.groupConfig.groupPartition'),
|
||||||
align: 'left',
|
align: 'center',
|
||||||
minWidth: 60
|
minWidth: 60
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'initScene',
|
key: 'initScene',
|
||||||
title: $t('page.groupConfig.initScene'),
|
title: $t('page.groupConfig.initScene'),
|
||||||
align: 'left',
|
align: 'center',
|
||||||
minWidth: 80,
|
minWidth: 80,
|
||||||
render: row => {
|
render: row => {
|
||||||
if (row.groupStatus === null) {
|
if (row.groupStatus === null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user