mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-22 00:49:37 +08:00
1
This commit is contained in:
parent
090b6b2c34
commit
7b759dd619
@ -17,6 +17,7 @@ Page({
|
||||
*/
|
||||
data: {
|
||||
IMG_NAME: app.IMG_NAME,
|
||||
back: '2',
|
||||
id: null,
|
||||
form: {
|
||||
"evalService": 0,
|
||||
@ -134,7 +135,7 @@ Page({
|
||||
//
|
||||
if (res.code == 0) {
|
||||
app.vantNotifySuccess(Notify, res.msg)
|
||||
app.selfBackPage(2)
|
||||
app.selfBackPage(parseInt(_this.data.back))
|
||||
} else {
|
||||
app.vantNotifyErr(Notify, res.msg)
|
||||
}
|
||||
|
@ -271,6 +271,14 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
jumpEvaluate(e) {
|
||||
console.log('jumpEvaluate', e);
|
||||
let obj = e.currentTarget.dataset.obj
|
||||
wx.navigateTo({
|
||||
url: `/pages/reportRepair/assign/evaluate/evaluate?id=${obj.id}&back=1`,
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
|
@ -69,7 +69,7 @@
|
||||
<view class="btn">分享
|
||||
<button catch class="shareBtn" open-type="share" data-obj="{{item}}">转发</button>
|
||||
</view>
|
||||
<view class="btn evaluate" data-obj="{{item}}" bind:tap="jumpDetail">评价</view>
|
||||
<view class="btn evaluate" data-obj="{{item}}" bind:tap="jumpEvaluate">评价</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user