This commit is contained in:
SelfRidicule 2024-03-10 18:35:19 +08:00
parent 01bb968626
commit c4665909f4
2 changed files with 5 additions and 3 deletions

View File

@ -116,7 +116,6 @@ Page({
let color = "#3794FF"
if (detail.status == 0) { // 待审核
color = "#3794FF"
verifyShow = true;
} else if (detail.status == 1) { // 审核通过
color = "#62c855"
} else if (detail.status == 2) { // 审核驳回
@ -422,6 +421,9 @@ Page({
_this.setData({
dialogShow: false,
})
// 获取详情
_this.getDetail()
//
if (res.code == 0) {
_this.setData({
verifyShow: false

View File

@ -44,11 +44,11 @@
<view class="label must">来访事由</view>
<van-field value="{{ detail.visitContent }}" bind:input="fieldInput" data-name="visitContent" input-class="input" placeholder="请输入" border="{{ false }}" input-align="right" />
</view>
<view class="rowView self">
<view class="rowView self" wx:if="{{type != 'add'}}">
<view class="label">审核状态</view>
<view class="input" style="color: {{detail.fontColor}};">{{detail.statusName}}</view>
</view>
<view class="rowView self">
<view class="rowView self" wx:if="{{type != 'add'}}">
<view class="label">审核内容</view>
<view class="input">{{detail.rejectContent ? detail.rejectContent : ''}}</view>
</view>