|
|
|
@ -98,7 +98,7 @@ |
|
|
|
navigatorTo(e,index){ |
|
|
|
let url = "" |
|
|
|
if(e=='addgoods'){ |
|
|
|
url = '/package1/myCenter/addGoods' |
|
|
|
url = '/package2/myCenter/addGoods' |
|
|
|
}else if(e=='merchantCenter'){ |
|
|
|
if(this.schoolShop){ |
|
|
|
if(this.schoolShop.length>1){ |
|
|
|
@ -132,11 +132,11 @@ |
|
|
|
} |
|
|
|
|
|
|
|
}else if(e=='addType'){ |
|
|
|
url = '/package1/myCenter/addType' |
|
|
|
url = '/package2/myCenter/addType' |
|
|
|
}else if(e=='qianbao'){ |
|
|
|
url = '/package1/myCenter/wallet' |
|
|
|
url = '/package2/myCenter/wallet' |
|
|
|
}else if(e=='goodsList'){ |
|
|
|
url = '/package1/myCenter/goodsList' |
|
|
|
url = '/package2/myCenter/goodsList' |
|
|
|
}else if(e=='merchant'){ |
|
|
|
url = '/package2/shop/merchantRegister' |
|
|
|
}else if(e=='jianzhichaping'){ |
|
|
|
@ -144,7 +144,7 @@ |
|
|
|
shopScore:uni.getStorageSync('worker').score, |
|
|
|
id:uni.getStorageSync('worker').workerId |
|
|
|
} |
|
|
|
url = '/package1/group/shopEvaluate?item=' + JSON.stringify(item) + '&isMerchant=2&isCha=' + (index =='cha'?1:0) |
|
|
|
url = '/package2/group/shopEvaluate?item=' + JSON.stringify(item) + '&isMerchant=2&isCha=' + (index =='cha'?1:0) |
|
|
|
}else if(e == 'partTimeReg'){ |
|
|
|
let worker = uni.getStorageSync('worker') |
|
|
|
let that = this |
|
|
|
@ -156,7 +156,7 @@ |
|
|
|
if(res.result != null){ |
|
|
|
uni.setStorageSync('worker',res.result) |
|
|
|
} |
|
|
|
url = '/package1/myCenter/partTimeJobRegister' |
|
|
|
url = '/package2/myCenter/partTimeJobRegister' |
|
|
|
this.$refs.jianzhiPopup.close() |
|
|
|
uni.navigateTo({ |
|
|
|
url: url |
|
|
|
@ -168,12 +168,12 @@ |
|
|
|
uni.hideLoading() |
|
|
|
}).catch((res) => {}) |
|
|
|
}else{ |
|
|
|
url = '/package1/myCenter/partTimeJobRegister' |
|
|
|
url = '/package2/myCenter/partTimeJobRegister' |
|
|
|
this.$refs.jianzhiPopup.close() |
|
|
|
} |
|
|
|
}else if(e=='jianzhizhuce'){ |
|
|
|
if(uni.getStorageSync('worker')){ |
|
|
|
url = '/package1/myCenter/partTimeJobRegister' |
|
|
|
url = '/package2/myCenter/partTimeJobRegister' |
|
|
|
}else{ |
|
|
|
this.$refs.jianzhiPopup.open() |
|
|
|
return |
|
|
|
|