From fee7776c2cf2bd20e8570823db946cc4e5c46e60 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 01 七月 2025 10:31:15 +0800
Subject: [PATCH] add:景点管理
---
pages/film/film-location.vue | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/pages/film/film-location.vue b/pages/film/film-location.vue
index 3ef7d38..71eae99 100644
--- a/pages/film/film-location.vue
+++ b/pages/film/film-location.vue
@@ -20,7 +20,18 @@
columns: [
{type: 'selection'},
{label: '拍摄地点名称', prop: 'locationName', minWidth: 120},
- {label: '拍摄地点图片', prop: 'locationUrl', minWidth: 120},
+ // {label: '拍摄地点图片', prop: 'locationUrl', minWidth: 120},
+ {
+ label: '拍摄地点图片',
+ formatter: (row) =>
+ row.locationUrl ? (
+ <el-bus-image
+ src={row.locationUrl}
+ lazy={true}
+ style="width:50px;height:50px"
+ ></el-bus-image>
+ ) : null,
+ },
{label: '省', prop: 'province', minWidth: 120},
{label: '市', prop: 'city', minWidth: 150},
{label: '区', prop: 'region'},
@@ -90,7 +101,9 @@
limitSize: 2,
limit: 1,
tipText: '大小不超过2M',
+ valueType: 'string',
},
+ forceDisabled: true,
},
{
label: '省:',
@@ -333,7 +346,7 @@
atClick: async (selected) => {
try {
await this.$elBusUtil.confirm(
- `确定要批量删除这${selected.length}个片场内容吗?`
+ `确定要批量删除这${selected.length}个景点吗?`
)
const {code} = await this.$elBusHttp.request(
'flower/api/filmLocation/delete/batch',
--
Gitblit v1.9.3