This commit is contained in:
make
2025-04-16 11:05:54 +08:00
parent e98d43564b
commit ccbe5b736a
3 changed files with 12 additions and 14 deletions

View File

@@ -67,9 +67,9 @@ const columns = reactive<ColumnProps<fenLeiList.ResList>[]>([
label: "分类名称" label: "分类名称"
}, },
{ // {
prop: "xsfl_pinyin", // prop: "xsfl_pinyin",
label: "拼音" // label: "拼音"
} // }
]); ]);
</script> </script>

View File

@@ -137,7 +137,7 @@ const columns = reactive<ColumnProps<NovelList.ResList>[]>([
// width: 100 // width: 100
// }, // },
{ {
prop: "og_novel_book_name", prop: "n_name",
label: "名称", label: "名称",
width: 120 width: 120
}, },
@@ -148,7 +148,7 @@ const columns = reactive<ColumnProps<NovelList.ResList>[]>([
}, },
{ {
prop: "og_novel_pin_yin", prop: "n_name_pinyin",
label: "拼音", label: "拼音",
width: 120 width: 120
}, },
@@ -164,16 +164,16 @@ const columns = reactive<ColumnProps<NovelList.ResList>[]>([
}, },
{ {
prop: "og_novel_status", prop: "n_status",
label: "状态" label: "状态"
}, },
{ {
prop: "og_novel_author", prop: "n_author",
label: "作者" label: "作者"
}, },
{ {
prop: "og_novel_category", prop: "n_category",
label: "分类", label: "分类",
width: 120, width: 120,
//fieldNames: { label: "xsfl_name", value: "xsfl_id" }, //fieldNames: { label: "xsfl_name", value: "xsfl_id" },
@@ -181,7 +181,7 @@ const columns = reactive<ColumnProps<NovelList.ResList>[]>([
}, },
{ {
prop: "og_description", prop: "n_description",
label: "描述" label: "描述"
}, },
// { // {
@@ -189,7 +189,7 @@ const columns = reactive<ColumnProps<NovelList.ResList>[]>([
// label: "源站" // label: "源站"
// }, // },
{ {
prop: "og_novel_latest_chapter_name", prop: "n_latest_chapter_name",
label: "最新章节" label: "最新章节"
}, },
@@ -198,7 +198,7 @@ const columns = reactive<ColumnProps<NovelList.ResList>[]>([
// { prop: "xsxq_jie_shao", label: "描述", width: 200 }, // { prop: "xsxq_jie_shao", label: "描述", width: 200 },
// { prop: "xsxq_geng_xin_shi_jian", label: "最后更新时间", width: 170 }, // { prop: "xsxq_geng_xin_shi_jian", label: "最后更新时间", width: 170 },
// { prop: "created_at", label: "添加时间", width: 170 }, // { prop: "created_at", label: "添加时间", width: 170 },
{ prop: "og_novel_update_time", label: "更新时间", width: 170 }, { prop: "n_update_time", label: "更新时间", width: 170 },
// { prop: "operation", label: "操作", fixed: "right", width: 100 } // { prop: "operation", label: "操作", fixed: "right", width: 100 }
]); ]);

View File

@@ -115,7 +115,6 @@ const dataCallback = (data: any) => {
}; };
}; };
const getTableList = (params: any) => { const getTableList = (params: any) => {
let newParams = JSON.parse(JSON.stringify(params)); let newParams = JSON.parse(JSON.stringify(params));
initParam.page = newParams.page; initParam.page = newParams.page;
@@ -130,7 +129,6 @@ getAllList().then(res => {
getTempLateList.value = res.data.items; getTempLateList.value = res.data.items;
}); });
// 表格配置项 // 表格配置项
const columns = reactive<ColumnProps<SiteList.ResList>[]>([ const columns = reactive<ColumnProps<SiteList.ResList>[]>([
// { type: "selection", fixed: "left", width: 50 }, // { type: "selection", fixed: "left", width: 50 },