This commit is contained in:
helen 2024-12-26 16:10:18 +08:00
parent 90bd7911e6
commit dc43a2d40b
5 changed files with 9 additions and 9 deletions

View File

@ -36,7 +36,7 @@
<el-table v-loading="loading" :height="autoTableHeight" :data="activityList" border @selection-change="handleSelectionChange"> <el-table v-loading="loading" :height="autoTableHeight" :data="activityList" border @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center" />--> <!-- <el-table-column type="selection" width="55" align="center" />-->
<el-table-column v-if="true" label="ID" align="center" prop="id" fixed width="180px" /> <el-table-column type="index" width="50" fixed />
<el-table-column label="活动名称" align="center" fixed prop="activityName" width="180px" /> <el-table-column label="活动名称" align="center" fixed prop="activityName" width="180px" />
<el-table-column label="活动描述" align="center" prop="activityDescription" width="180px" show-overflow-tooltip /> <el-table-column label="活动描述" align="center" prop="activityDescription" width="180px" show-overflow-tooltip />
<el-table-column label="活动图片" align="center" prop="" /> <el-table-column label="活动图片" align="center" prop="" />

View File

@ -25,7 +25,7 @@
<el-card shadow="never"> <el-card shadow="never">
<el-table v-loading="loading" :data="hotelList"> <el-table v-loading="loading" :data="hotelList">
<el-table-column v-if="true" label="ID" align="center" prop="id" /> <el-table-column type="index" width="50" />
<el-table-column label="住宿商家名称" align="center" prop="name" /> <el-table-column label="住宿商家名称" align="center" prop="name" />
<el-table-column label="商家图片" align="center" prop="imageUrl" /> <el-table-column label="商家图片" align="center" prop="imageUrl" />
<el-table-column label="商家地理位置" align="center" prop="address" /> <el-table-column label="商家地理位置" align="center" prop="address" />

View File

@ -31,7 +31,7 @@
<el-table v-loading="loading" border :data="mkPostcardList" :height="autoTableHeight" <el-table v-loading="loading" border :data="mkPostcardList" :height="autoTableHeight"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column label="ID" align="center" prop="id" v-if="true" width="150" /> <el-table-column type="index" width="50" fixed />
<el-table-column label="明信片名称" align="center" prop="name" /> <el-table-column label="明信片名称" align="center" prop="name" />
<el-table-column label="关联景点" align="center" prop="articleId"> <el-table-column label="关联景点" align="center" prop="articleId">
<template #default="scope"> <template #default="scope">
@ -299,8 +299,8 @@ const handleExport = () => {
} }
/** /**
* 明信片 上下架 * 明信片 上下架
* @param row * @param row
* @param type * @param type
*/ */
const handleStatus=async (row:MkPostcardVO,type:string)=>{ const handleStatus=async (row:MkPostcardVO,type:string)=>{
if (type=='1') { if (type=='1') {
@ -316,7 +316,7 @@ const handleStatus=async (row:MkPostcardVO,type:string)=>{
} }
/** /**
* 格式化列表景点名称 * 格式化列表景点名称
* @param row * @param row
*/ */
const formatterArticleId = (id: string) => { const formatterArticleId = (id: string) => {
for (let i = 0; i < contentAllList.value.length; i++) { for (let i = 0; i < contentAllList.value.length; i++) {
@ -328,7 +328,7 @@ const formatterArticleId = (id: string) => {
} }
/** /**
* 查看明信片详情 * 查看明信片详情
* @param row * @param row
*/ */
const postcardInfo=reactive({ const postcardInfo=reactive({
visible:false, visible:false,

View File

@ -36,7 +36,7 @@
<el-card shadow="never"> <el-card shadow="never">
<el-table v-loading="loading" :data="notebookList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="notebookList" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center" />--> <!-- <el-table-column type="selection" width="55" align="center" />-->
<el-table-column v-if="true" label="ID" align="center" prop="id" show-overflow-tooltip/> <el-table-column type="index" width="50" />
<el-table-column label="笔记标题" align="center" prop="title" show-overflow-tooltip/> <el-table-column label="笔记标题" align="center" prop="title" show-overflow-tooltip/>
<el-table-column label="笔记封面" align="center" prop="cover"> <el-table-column label="笔记封面" align="center" prop="cover">
<template #default="scope"> <template #default="scope">

View File

@ -24,7 +24,7 @@
</transition> </transition>
<el-table v-loading="loading" :height="autoTableHeight" :data="RouteList" border @selection-change="handleSelectionChange"> <el-table v-loading="loading" :height="autoTableHeight" :data="RouteList" border @selection-change="handleSelectionChange">
<el-table-column label="ID" align="center" prop="id" width="180px" fixed /> <el-table-column type="index" width="50" fixed />
<el-table-column label="线路标题" align="center" prop="title" width="150px" show-overflow-tooltip fixed /> <el-table-column label="线路标题" align="center" prop="title" width="150px" show-overflow-tooltip fixed />
<el-table-column label="线路封面" align="center" prop="" /> <el-table-column label="线路封面" align="center" prop="" />
<el-table-column label="线路标签" align="center" prop="tagId" width="150px" show-overflow-tooltip> <el-table-column label="线路标签" align="center" prop="tagId" width="150px" show-overflow-tooltip>