|
|
@@ -7,11 +7,11 @@
|
|
|
<el-option label="已通过" value="approved" />
|
|
|
<el-option label="已拒绝" value="rejected" />
|
|
|
</el-select>
|
|
|
- <el-input v-model="keyword" placeholder="搜索..." prefix-icon="el-icon-search" clearable @keyup.enter.native="handleSearch" @clear="handleSearch" style="width:200px" />
|
|
|
+ <el-input v-model="keyword" placeholder="搜索..." prefix-icon="el-icon-search" clearable @keyup.enter.native="handleSearch" @clear="handleSearch" class="filter-input-200" />
|
|
|
<el-button size="small" @click="loadData" :loading="loading">刷新</el-button>
|
|
|
</div>
|
|
|
<div class="adm-table-wrap">
|
|
|
-<el-table :data="list" v-loading="loading" border stripe style="min-width:900px;" height="100%">
|
|
|
+<el-table :data="list" v-loading="loading" border stripe class="wide-table" height="100%">
|
|
|
<el-table-column prop="id" label="ID" width="60">
|
|
|
<template slot="header">
|
|
|
<span class="sort-header" @click.stop="onSortClick('id', $event)">ID<span v-if="sortIndex('id') !== null" class="sort-index" :class="sortClass('id') === 'sort-asc' ? 'sort-asc-badge' : 'sort-desc-badge'">{{ sortIndex('id') }}</span>{{ sortIcon('id') }}</span>
|
|
|
@@ -51,23 +51,23 @@
|
|
|
<el-form-item label="ID">{{ currentRow.id }}</el-form-item>
|
|
|
<el-form-item label="活动名称">{{ currentRow.title }}</el-form-item>
|
|
|
<el-form-item label="活动封面" v-if="currentRow.coverImage || currentRow.cover">
|
|
|
- <img :src="currentRow.coverImage || currentRow.cover" style="max-width:220px;border-radius:4px;" />
|
|
|
+ <img :src="currentRow.coverImage || currentRow.cover" class="detail-img" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="开始时间">{{ currentRow.startTime || currentRow.activityStartTime || '-' }}</el-form-item>
|
|
|
<el-form-item label="结束时间">{{ currentRow.endTime || currentRow.activityEndTime || '-' }}</el-form-item>
|
|
|
<el-form-item label="活动地点">{{ currentRow.location || currentRow.address || '-' }}</el-form-item>
|
|
|
<el-form-item label="主办方">{{ currentRow.organizer || currentRow.vendorName || '-' }}</el-form-item>
|
|
|
<el-form-item label="活动内容">
|
|
|
- <div style="white-space:pre-wrap;">{{ currentRow.description || currentRow.content || '-' }}</div>
|
|
|
+ <div class="pre-wrap-cell">{{ currentRow.description || currentRow.content || '-' }}</div>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="活动标签" v-if="currentRow && currentRow.tags">
|
|
|
- <el-tag v-for="tag in tagList(currentRow.tags)" :key="tag" size="small" style="margin-right:6px;">{{ tag }}</el-tag>
|
|
|
+ <el-tag v-for="tag in tagList(currentRow.tags)" :key="tag" size="small" class="tag-mr">{{ tag }}</el-tag>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="五维权重" v-if="currentRow && currentRow.auditStatus === 'pending'">
|
|
|
<dimension-weight-picker v-model="auditWeights" :show-presets="true" />
|
|
|
<div class="weights-tip">审核通过前请补充五维权重,合计需为 100%</div>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="驳回原因" v-if="currentRow.auditReason" style="color:var(--adm-error-text);">
|
|
|
+ <el-form-item label="驳回原因" v-if="currentRow.auditReason" class="text-error">
|
|
|
{{ currentRow.auditReason }}
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
@@ -175,4 +175,12 @@ export default {
|
|
|
.filter-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; padding: 12px; background: var(--adm-bg-container); border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.08); }
|
|
|
.no-op { color: var(--adm-text-25); }
|
|
|
.weights-tip { font-size: 12px; color: var(--adm-text-45); margin-top: 6px; }
|
|
|
+
|
|
|
+/* == C 批内联清理工具类 == */
|
|
|
+.filter-input-200 { width: 200px; }
|
|
|
+.wide-table { min-width: 900px; }
|
|
|
+.detail-img { max-width: 220px; border-radius: 4px; }
|
|
|
+.pre-wrap-cell { white-space: pre-wrap; }
|
|
|
+.tag-mr { margin-right: 6px; }
|
|
|
+.text-error { color: var(--adm-error-text); }
|
|
|
</style>
|