|
|
@ -563,7 +563,7 @@ Page({ |
|
|
|
extraData: { |
|
|
|
scrip: res.data |
|
|
|
}, |
|
|
|
envVersion: "trial",//trial //develop
|
|
|
|
envVersion: "release",//trial //develop
|
|
|
|
success (res) { |
|
|
|
console.log(res) |
|
|
|
}, |
|
|
@ -608,39 +608,6 @@ Page({ |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 我有事做 7.08 ->工作端
|
|
|
|
wysz() { |
|
|
|
if(this.data.departmentId != this.data.workGridId){//工作网格处理
|
|
|
|
wx.showToast({ |
|
|
|
title: '无法使用该板块', |
|
|
|
icon: 'none', |
|
|
|
duration: 3000 |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
if (this.verifyCompleteInfo()) { |
|
|
|
return false |
|
|
|
} |
|
|
|
api.getScrip().then(res => { |
|
|
|
if (res.code === 0 && res.msg === 'success') { |
|
|
|
console.log('getScrip',res.data) |
|
|
|
wx.navigateToMiniProgram({ |
|
|
|
appId: 'wx826a8435db9e0947', |
|
|
|
path: 'pages/login/login?scrip='+res.data, |
|
|
|
extraData: { |
|
|
|
scrip: res.data |
|
|
|
}, |
|
|
|
envVersion: 'release',//trial //develop
|
|
|
|
success(res) { |
|
|
|
console.log(res) |
|
|
|
}, |
|
|
|
fail(err) { |
|
|
|
console.log(err) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
dqhd() { |
|
|
|
wx.navigateTo({ |
|
|
|
url: "../../subpages/associationNew/pages/associationlist/associationlist" |
|
|
|