|
|
@@ -123,27 +123,22 @@ export default {
|
|
|
url() {
|
|
|
let pageUrl = this.pageUrl;
|
|
|
let id = this.info.id;
|
|
|
- console.log("1231114",pageUrl,id)
|
|
|
if (pageUrl === 'assetDetail') {
|
|
|
id = this.info.publicCollectionId;
|
|
|
pageUrl = 'productDetail';
|
|
|
- console.log("11111111",this.info.publicCollectionId)
|
|
|
}
|
|
|
if (pageUrl === 'productDetail' && !this.assignment) {
|
|
|
- pageUrl = 'productDetail/' + id;
|
|
|
- console.log("222222222",this.assignment)
|
|
|
+ pageUrl = 'productDetail';
|
|
|
}
|
|
|
if (this.isLogin && this.assignment && pageUrl === 'productDetail') {
|
|
|
- console.log("33333333333",'9th/productTasks?id=' + id + '&invitor=' + this.$store.state.userInfo.id)
|
|
|
return resolveUrl(
|
|
|
this.$baseUrl,
|
|
|
'9th/productTasks?id=' + id + '&invitor=' + this.$store.state.userInfo.id
|
|
|
);
|
|
|
} else if (this.isLogin) {
|
|
|
- console.log("44444444444",'9th/' + pageUrl + '?id=' + id + '&invitor=' + this.$store.state.userInfo.id)
|
|
|
return resolveUrl(
|
|
|
this.$baseUrl,
|
|
|
- '9th/' + pageUrl + '?id=' + id + '&invitor=' + this.$store.state.userInfo.id
|
|
|
+ '9th/' + pageUrl + '?collectionId=' + id + '&invitor=' + this.$store.state.userInfo.id
|
|
|
);
|
|
|
} else {
|
|
|
return resolveUrl(this.$baseUrl, '9th/' + pageUrl + '?id=' + id);
|