This commit is contained in:
SelfRidicule 2024-08-15 09:21:32 +08:00
parent 94904b4d8e
commit bef7edf941
2 changed files with 15 additions and 3 deletions

View File

@ -251,7 +251,8 @@ Page({
let url = file[i].url;
await repairAttachUpload({
url,
operate: 'repair'
repairId: _this.data.id,
operate: 'feedback',
}).then(res => {
console.log('upload file ', res);
fileList.push({
@ -318,6 +319,17 @@ Page({
})
},
back(){
wx.navigateBack()
},
jumpDetail(){
let _this = this
wx.navigateTo({
url: `/pages/reportRepair/assign/detail/detail?id=${_this.data.id}`,
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/

View File

@ -134,8 +134,8 @@
<view class="label1">处理成功</view>
<view class="label2">您已提交成功</view>
</view>
<view class="btn">查看工单</view>
<view class="btn back">返回首页</view>
<view class="btn" bind:tap="jumpDetail">查看工单</view>
<view class="btn back" bind:tap="back">返回首页</view>
</view>
</view>