验收页面优化(通过且快速审批时无需选择处理人)

This commit is contained in:
王利强
2026-07-28 10:16:06 +08:00
parent 7c3285ed5a
commit 088ff356f2
621 changed files with 1372 additions and 212 deletions

View File

@@ -69,19 +69,25 @@
<view class="detail-card">
<view class="card-header-v2">
<view class="card-header-main">
<text class="operator">{{ item.titlePrefix }}{{ labels.personnelSuffix }}{{ fieldText(item, item.operator) }}</text>
<text class="time">{{ fieldText(item, item.time) }}</text>
<template v-if="item.completed">
<text class="operator">{{ item.titlePrefix }}{{ labels.personnelSuffix }}{{ fieldText(item, item.operator) }}</text>
<text class="time">{{ fieldText(item, item.time) }}</text>
</template>
<template v-else>
<text class="operator">{{ labels.executorPrefix }}{{ labels.personnelSuffix }}{{ fieldText(item, item.currentHandlerName) }}</text>
<text class="time status-pending">{{ labels.statusSuffix }}{{ PENDING_LABEL }}</text>
</template>
</view>
<view
v-if="item.type === 'add' && item.content.levelName"
v-if="item.completed && item.type === 'add' && item.content.levelName"
:class="['level-badge', getLevelTagClass(item.content)]"
>
{{ item.content.levelName }}
</view>
</view>
<view class="card-divider"></view>
<view v-if="item.completed" class="card-divider"></view>
<view class="card-body">
<view v-if="item.completed" class="card-body">
<block v-if="item.type === 'add'">
<view class="detail-row-v2">
<text class="label">{{ labels.hazardCode }}</text>
@@ -646,6 +652,10 @@ const previewImages = (attachments, index) => {
line-height: 1.4;
}
.time.status-pending {
color: #e6a23c;
}
.level-badge {
flex-shrink: 0;
padding: 6rpx 16rpx;