优化数据管理
This commit is contained in:
parent
9026f05899
commit
dd224de407
@ -23,9 +23,9 @@
|
||||
:load="loadTree"
|
||||
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
|
||||
>
|
||||
<el-table-column label="城市名称" prop="name" min-width="150" show-overflow-tooltip />
|
||||
<el-table-column label="城市名称" prop="name" min-width="250" show-overflow-tooltip />
|
||||
<el-table-column label="城市拼音" prop="pinyin" min-width="150" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="城市级别" prop="level" min-width="80">
|
||||
<el-table-column align="center" label="城市级别" prop="level" min-width="100">
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.level == 0">省份</div>
|
||||
<div v-else-if="row.level == 1">城市</div>
|
||||
@ -35,7 +35,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="城市区号" prop="cityCode" min-width="100" />
|
||||
<el-table-column align="center" label="行政编码" prop="areaCode" min-width="100" />
|
||||
<el-table-column align="center" label="行政编码" prop="areaCode" min-width="150" />
|
||||
<el-table-column align="center" label="城市邮编" prop="zipCode" min-width="100" />
|
||||
<el-table-column align="center" label="操作" width="300" fixed="right">
|
||||
<template #default="{ row }">
|
||||
|
@ -8,17 +8,22 @@ export const columns = [
|
||||
{
|
||||
label: 'ID',
|
||||
prop: 'id',
|
||||
fixed: 'left',
|
||||
width: 50,
|
||||
},
|
||||
{
|
||||
label: '配置名称',
|
||||
prop: 'name',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '配置编码',
|
||||
prop: 'code',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '排序',
|
||||
prop: 'sort',
|
||||
width: 100,
|
||||
},
|
||||
];
|
||||
|
@ -7,23 +7,28 @@ export const columns = [
|
||||
{
|
||||
label: 'ID',
|
||||
prop: 'id',
|
||||
width: 100,
|
||||
fixed: 'left',
|
||||
width: 50,
|
||||
},
|
||||
{
|
||||
label: '配置项名称',
|
||||
prop: 'name',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '配置项编码',
|
||||
prop: 'code',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
label: '配置项值',
|
||||
prop: 'value',
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
label: '配置项类型',
|
||||
prop: 'type',
|
||||
width: 150,
|
||||
render(record) {
|
||||
let typeText = '';
|
||||
switch (record.row.type) {
|
||||
@ -90,6 +95,7 @@ export const columns = [
|
||||
{
|
||||
label: '配置项状态',
|
||||
prop: 'status',
|
||||
width: 100,
|
||||
render(record) {
|
||||
return h(
|
||||
ElTag,
|
||||
@ -105,5 +111,6 @@ export const columns = [
|
||||
{
|
||||
label: '排序',
|
||||
prop: 'sort',
|
||||
width: 100,
|
||||
},
|
||||
];
|
||||
|
@ -5,31 +5,38 @@ export const columns = [
|
||||
{
|
||||
label: 'ID',
|
||||
prop: 'id',
|
||||
width: 100,
|
||||
fixed: 'left',
|
||||
width: 50,
|
||||
},
|
||||
{
|
||||
label: '字典名称',
|
||||
prop: 'name',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '字典项值',
|
||||
prop: 'value',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '字典编码',
|
||||
prop: 'dictCode',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '排序',
|
||||
prop: 'sort',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '备注',
|
||||
prop: 'note',
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
label: '创建人',
|
||||
prop: 'createUser',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
|
@ -8,15 +8,18 @@ export const columns = [
|
||||
{
|
||||
label: 'ID',
|
||||
prop: 'id',
|
||||
width: 100,
|
||||
fixed: 'left',
|
||||
width: 50,
|
||||
},
|
||||
{
|
||||
label: '消息标题',
|
||||
prop: 'title',
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
label: '消息类型',
|
||||
prop: 'type',
|
||||
width: 100,
|
||||
render(record) {
|
||||
let typeText = '';
|
||||
switch (record.row.type) {
|
||||
@ -38,6 +41,7 @@ export const columns = [
|
||||
{
|
||||
label: '业务类型',
|
||||
prop: 'status',
|
||||
width: 100,
|
||||
render(record) {
|
||||
return h('span', record.row.bizType === 1 ? '订单' : '其他');
|
||||
},
|
||||
@ -45,6 +49,7 @@ export const columns = [
|
||||
{
|
||||
label: '消息状态',
|
||||
prop: 'status',
|
||||
width: 100,
|
||||
render(record) {
|
||||
return h('span', record.row.status === 1 ? '已读' : '未读');
|
||||
},
|
||||
@ -53,6 +58,7 @@ export const columns = [
|
||||
{
|
||||
label: '创建人',
|
||||
prop: 'createUser',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
|
@ -13,11 +13,12 @@ export const columns = [
|
||||
{
|
||||
label: '通知标题',
|
||||
prop: 'title',
|
||||
width: 300,
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
label: '通知封面',
|
||||
prop: 'cover',
|
||||
width: 100,
|
||||
render(record) {
|
||||
return h(ElAvatar, {
|
||||
size: 48,
|
||||
@ -26,7 +27,6 @@ export const columns = [
|
||||
fit: 'fill',
|
||||
});
|
||||
},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '通知类型',
|
||||
@ -49,6 +49,7 @@ export const columns = [
|
||||
{
|
||||
label: '通知状态',
|
||||
prop: 'status',
|
||||
width: 100,
|
||||
// render(record) {
|
||||
// return h('span', record.row.status === 1 ? '正常' : '关闭')
|
||||
// },
|
||||
@ -67,10 +68,12 @@ export const columns = [
|
||||
{
|
||||
label: '点击率',
|
||||
prop: 'clickNum',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '创建人',
|
||||
prop: 'createUser',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
|
@ -13,18 +13,22 @@ export const columns = [
|
||||
{
|
||||
label: '参数名称',
|
||||
prop: 'name',
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
label: '参数编码',
|
||||
prop: 'code',
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
label: '参数值',
|
||||
prop: 'value',
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
label: '参数类型',
|
||||
prop: 'type',
|
||||
width: 100,
|
||||
render(record) {
|
||||
return h(
|
||||
ElTag,
|
||||
@ -40,6 +44,7 @@ export const columns = [
|
||||
{
|
||||
label: '参数状态',
|
||||
prop: 'status',
|
||||
width: 100,
|
||||
render(record) {
|
||||
return h(
|
||||
ElTag,
|
||||
@ -55,14 +60,17 @@ export const columns = [
|
||||
{
|
||||
label: '排序',
|
||||
prop: 'sort',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '备注',
|
||||
prop: 'note',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
label: '创建人',
|
||||
prop: 'createUser',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
|
Loading…
Reference in New Issue
Block a user