|
@@ -140,19 +140,22 @@
|
|
|
},
|
|
|
methods: {
|
|
|
async detailDatahandle() {
|
|
|
- var parmas = {
|
|
|
- projectId: this.projectId
|
|
|
- }
|
|
|
- this.createUserProjectRlat();
|
|
|
- let res = await this.$myRequest({
|
|
|
- url: '/project/queryProjectByH5',
|
|
|
- data: parmas
|
|
|
- })
|
|
|
- if (res && res.data.success) {
|
|
|
- console.log('详情res:', res)
|
|
|
- this.dataInfo = res.data.single
|
|
|
- this.reloadCategoryList()
|
|
|
- this.reloadInfos()
|
|
|
+ if(getApp().globalData.userId){
|
|
|
+ var parmas = {
|
|
|
+ projectId: this.projectId,
|
|
|
+ userId:getApp().globalData.userId
|
|
|
+ }
|
|
|
+ this.createUserProjectRlat();
|
|
|
+ let res = await this.$myRequest({
|
|
|
+ url: '/project/queryProjectByH5',
|
|
|
+ data: parmas
|
|
|
+ })
|
|
|
+ if (res && res.data.success) {
|
|
|
+ console.log('详情res:', res)
|
|
|
+ this.dataInfo = res.data.single
|
|
|
+ this.reloadCategoryList()
|
|
|
+ this.reloadInfos()
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
|