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="jumpAffirm" wx:if="{{operatorBtn.affirm}}">确认损坏</view>
<view class="btn" bind:tap="jumpFeedback" wx:if="{{operatorBtn.feedback}}">提交反馈</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" 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> <button catch class="shareBtn" open-type="share" data-obj="{{item}}">转发</button>
</view> </view>
<view class="btn red" bind:tap="jumpEvaluate" wx:if="{{operatorBtn.evaluate}}">评价</view> <view class="btn red" bind:tap="jumpEvaluate" wx:if="{{operatorBtn.evaluate}}">评价</view>

View File

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

View File

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