diff --git a/src/views/novel/fenlei/index.vue b/src/views/novel/fenlei/index.vue index 80d9520..fce8243 100644 --- a/src/views/novel/fenlei/index.vue +++ b/src/views/novel/fenlei/index.vue @@ -67,9 +67,9 @@ const columns = reactive[]>([ label: "分类名称" }, - { - prop: "xsfl_pinyin", - label: "拼音" - } + // { + // prop: "xsfl_pinyin", + // label: "拼音" + // } ]); diff --git a/src/views/novel/index.vue b/src/views/novel/index.vue index e67649a..9a519c9 100644 --- a/src/views/novel/index.vue +++ b/src/views/novel/index.vue @@ -137,7 +137,7 @@ const columns = reactive[]>([ // width: 100 // }, { - prop: "og_novel_book_name", + prop: "n_name", label: "名称", width: 120 }, @@ -148,7 +148,7 @@ const columns = reactive[]>([ }, { - prop: "og_novel_pin_yin", + prop: "n_name_pinyin", label: "拼音", width: 120 }, @@ -164,16 +164,16 @@ const columns = reactive[]>([ }, { - prop: "og_novel_status", + prop: "n_status", label: "状态" }, { - prop: "og_novel_author", + prop: "n_author", label: "作者" }, { - prop: "og_novel_category", + prop: "n_category", label: "分类", width: 120, //fieldNames: { label: "xsfl_name", value: "xsfl_id" }, @@ -181,7 +181,7 @@ const columns = reactive[]>([ }, { - prop: "og_description", + prop: "n_description", label: "描述" }, // { @@ -189,7 +189,7 @@ const columns = reactive[]>([ // label: "源站" // }, { - prop: "og_novel_latest_chapter_name", + prop: "n_latest_chapter_name", label: "最新章节" }, @@ -198,7 +198,7 @@ const columns = reactive[]>([ // { prop: "xsxq_jie_shao", label: "描述", width: 200 }, // { prop: "xsxq_geng_xin_shi_jian", 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 } ]); diff --git a/src/views/site/index.vue b/src/views/site/index.vue index b64c72a..9bfdbc9 100644 --- a/src/views/site/index.vue +++ b/src/views/site/index.vue @@ -115,7 +115,6 @@ const dataCallback = (data: any) => { }; }; - const getTableList = (params: any) => { let newParams = JSON.parse(JSON.stringify(params)); initParam.page = newParams.page; @@ -130,7 +129,6 @@ getAllList().then(res => { getTempLateList.value = res.data.items; }); - // 表格配置项 const columns = reactive[]>([ // { type: "selection", fixed: "left", width: 50 },