From ebbd967664b519dfda551654c53aead678c160ae Mon Sep 17 00:00:00 2001 From: snowgitea Date: Fri, 3 Jul 2026 13:13:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=B5=E5=BD=B1=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E8=A1=A5=E5=85=85=2011=20=E4=B8=AA=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/knowledge/views/film/index.vue | 26 ++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/src/modules/knowledge/views/film/index.vue b/src/modules/knowledge/views/film/index.vue index 5e0361a..012c7d8 100644 --- a/src/modules/knowledge/views/film/index.vue +++ b/src/modules/knowledge/views/film/index.vue @@ -16,7 +16,7 @@ tips="请按照模板填写电影信息,名称为必填项" /> - + { + const cols: any[] = Table?.columns ? [...Table.columns] : []; + const base = cols.filter((e: any) => !['selection', 'expand', 'index', 'op'].includes(e.type)); + + base.push( + { label: '国家', prop: 'country', width: 100 }, + { label: '语言', prop: 'language', width: 100 }, + { label: '主要人物', prop: 'mainCharacters', minWidth: 200 }, + { label: '内容简介', prop: 'synopsis', minWidth: 300 }, + { label: '背景故事', prop: 'backgroundStory', minWidth: 300 }, + { label: '荣誉', prop: 'honors', minWidth: 200 }, + { label: '亮点所在', prop: 'highlights', minWidth: 200 }, + { label: '为什么值得一看', prop: 'whyWorthWatching', minWidth: 300 }, + { label: '链接', prop: 'link', minWidth: 200 }, + { label: 'TMDB评分', prop: 'tmdbRating', width: 100 }, + { label: '更新时间', prop: 'updateTime', minWidth: 170 } + ); + + return base; +}); + // cl-upsert 配置 - 新增/编辑表单 const Upsert = useUpsert({ dialog: {