This commit is contained in:
SelfRidicule 2024-08-20 11:34:12 +08:00
parent 931fabfaf5
commit 4d1cb1f0c5
3 changed files with 10 additions and 12 deletions

View File

@ -170,7 +170,7 @@
<view class="btn" bind:tap="jumpAffirm" wx:if="{{operatorBtn.affirm}}">确认损坏</view>
<view class="btn" bind:tap="jumpFeedback" wx:if="{{operatorBtn.feedback}}">提交反馈</view>
<view class="btn" bind:tap="jumpAgain" wx:if="{{operatorBtn.again}}">重新派单</view>
<view class="btn">分享
<view class="btn" wx:for="{{4}}">分享
<button catch class="shareBtn" open-type="share" data-obj="{{item}}">转发</button>
</view>
<view class="btn red" bind:tap="jumpEvaluate" wx:if="{{operatorBtn.evaluate}}">评价</view>

View File

@ -236,16 +236,12 @@
position: relative;
box-sizing: border-box;
border-radius: 6rpx;
margin-right: 30rpx;
margin-bottom: 30rpx;
width: 160rpx;
height: 70rpx;
margin-right: 20rpx;
margin-bottom: 20rpx;
padding: 16rpx 34rpx;
line-height: 70rpx;
text-align: center;
font-size: 28rpx;
font-size: 24rpx;
color: white;
background: #579ff8;
}

View File

@ -566,8 +566,8 @@ Page({
return;
}
// 故障描述
if (!detail.explain) {
app.vantNotifyErr(Notify, '请输入故障描述!')
if (!detail.explain && !voiceObj && !voiceObj.tempFilePath) {
app.vantNotifyErr(Notify, '请输入故障描述或录音!')
return;
}
//
@ -593,7 +593,9 @@ Page({
//
if (res.code == 0) {
app.vantNotifySuccess(Notify, res.msg)
wx.navigateBack()
wx.reLaunch({
url: '/pages/reportRepair/query/record/record',
})
} else {
app.vantNotifyErr(Notify, res.msg)
}