【修改】项目字段修改
This commit is contained in:
@@ -9,6 +9,7 @@ Page({
|
||||
*/
|
||||
data: {
|
||||
statusBarHeight: wx.getSystemInfoSync()['statusBarHeight'],
|
||||
type:'',//区别是哪个项目的项目详情 work工作组
|
||||
form: {},
|
||||
id: '', // 在工作组id,项目id
|
||||
workingGroupId: '', //工作组id
|
||||
@@ -105,6 +106,11 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
if(options.type){
|
||||
this.setData({
|
||||
type:options.type
|
||||
})
|
||||
}
|
||||
if(options.type === 'ziliao'){
|
||||
this.setData({
|
||||
showProjectData:false
|
||||
|
||||
Reference in New Issue
Block a user