Browse Source

(fixed) 9272 修改问题处理跳转逻辑

master
liujiangyong 2 years ago
parent
commit
9d4161a65a
  1. 25
      weapp/package/troubleshooting/index.js
  2. 3
      weapp/package/troubleshooting/shootingForm/index.js

25
weapp/package/troubleshooting/index.js

@ -184,17 +184,25 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad (options) {
Request.get(getStructuresUsers(), {}).then(res => {
this.setData({
structList: res
})
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow () {
Request.get(getStructuresUsers(), {}).then(res => {
this.setData({
structList: res
})
})
this.getData({
type: 'backlog'
});
@ -210,13 +218,6 @@ Page({
}
},
/**
* 生命周期函数--监听页面显示
*/
onShow () {
},
/**
* 生命周期函数--监听页面隐藏
*/

3
weapp/package/troubleshooting/shootingForm/index.js

@ -454,8 +454,7 @@ Page({
...confirmData,
state: nextState,
}).then(res => {
wx.redirectTo({
url: '/package/troubleshooting/index',
wx.navigateBack({
complete: () => {
wx.showToast({
title: successMsg,

Loading…
Cancel
Save