|
|
@ -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 () { |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|
* 生命周期函数--监听页面隐藏 |
|
|
|
*/ |
|
|
|