后台布局调整:改为左侧结构

This commit is contained in:
2024-07-18 10:14:43 +08:00
parent 9f04a67e97
commit 81006e7636
16 changed files with 6528 additions and 1086 deletions
+5 -6
View File
@@ -29,7 +29,7 @@
<span v-else>{{ record.value }}</span>
</template>
<template v-if="column.key === 'action'">
<a @click="moveUp(record)">上移<ArrowUpOutlined /></a>
<a @click="copyText('{{ config.' + record.name + ' }}')">调用</a>
<a-divider type="vertical" />
<a @click="openEdit(record)">编辑</a>
<template v-if="record.deleted == 0">
@@ -82,8 +82,7 @@
undeleteWebsiteField,
updateWebsiteField
} from '@/api/cms/website/field';
import { ArrowUpOutlined } from '@ant-design/icons-vue';
import { getPageTitle } from '@/utils/common';
import { copyText, getPageTitle } from '@/utils/common';
const props = defineProps<{
websiteId: any;
@@ -112,19 +111,19 @@
// 表格列配置
const columns = ref<any[]>([
{
title: '参数名称',
title: '键',
dataIndex: 'name',
key: 'name'
},
{
title: '参数值',
title: '值',
dataIndex: 'value',
key: 'value'
},
{
title: '排序',
dataIndex: 'sortNumber',
width: 180,
width: 120,
align: 'center'
},
{