定损任务 状态展示优化

This commit is contained in:
bb_pan 2025-09-14 22:41:58 +08:00
parent 4fe12506fe
commit 686d09ba2f
1 changed files with 8 additions and 1 deletions

View File

@ -53,7 +53,7 @@
<span class="sub-code" v-if="item.backCode">{{ `${item.backCode}-${item.level}` }}</span> <span class="sub-code" v-if="item.backCode">{{ `${item.backCode}-${item.level}` }}</span>
</div> </div>
<div class="title-right"> <div class="title-right">
<uni-tag v-if="item.dataStatus == 3" text="修试后入库驳回" type="error" style="margin-right: 5px" custom-style="errorStyle"/> <uni-tag v-if="item.dataStatus == 3" text="修试后入库驳回" type="error" custom-style="errorStyle"/>
<uni-tag v-if="item.status == 0" text="未完成" type="warning" custom-style="warningStyle"/> <uni-tag v-if="item.status == 0" text="未完成" type="warning" custom-style="warningStyle"/>
<uni-tag v-if="item.status == 1" text="已完成" type="success" custom-style="successStyle"/> <uni-tag v-if="item.status == 1" text="已完成" type="success" custom-style="successStyle"/>
<uni-tag v-if="item.status == 2" text="已驳回" type="warning" custom-style="warningStyle"/> <uni-tag v-if="item.status == 2" text="已驳回" type="warning" custom-style="warningStyle"/>
@ -501,6 +501,13 @@ const maskClick = () => {}
margin-top: 4rpx; /* 与主code有一点间距 */ margin-top: 4rpx; /* 与主code有一点间距 */
} }
} }
.title-right {
display: flex;
flex-wrap: wrap;
gap: 8rpx 10rpx; //
align-items: center;
justify-content: flex-end;
}
.page-container { .page-container {
display: flex; display: flex;
height: 100vh; height: 100vh;