diff --git a/src/components/page/AddProject.vue b/src/components/page/AddProject.vue index cabbad2..b5bb2d6 100644 --- a/src/components/page/AddProject.vue +++ b/src/components/page/AddProject.vue @@ -847,7 +847,7 @@ }) this.$get(this.api.queryUserIds).then(res => { let data = { - systemId: this.systemId, + systemId: this.pattern ? 12 : 11, userId: this.userLoginId, pageNum: 1, pageSize: 100, @@ -1005,14 +1005,11 @@ }, toJudgePoint(row){ this.handleCacheData() - this.setCookie("systemId",this.systemId) - this.setCookie("userId",this.userId) - this.setCookie("projectId",this.id) - this.setCookie("token",this.token) + let systemId = this.pattern ? 12 : 11 if(row){ - location.href = `http://www.liuwanr.cn/jdTrials/#/programOptions?id=${row.judgmentPointsId}&systemId=${this.systemId}&userId=${this.userId}&projectId=${this.id}&token=${this.token}&pattern=${this.pattern}` + location.href = `http://www.liuwanr.cn/jdTrials/#/programOptions?id=${row.judgmentPointsId}&systemId=${systemId}&userId=${this.userId}&projectId=${this.id}&token=${this.token}&pattern=${this.pattern}` }else{ - location.href = `http://www.liuwanr.cn/jdTrials/#/list?systemId=${this.systemId}&userId=${this.userId}&projectId=${this.id ? this.id : ''}&token=${this.token}&pattern=${this.pattern}` + location.href = `http://www.liuwanr.cn/jdTrials/#/list?systemId=${systemId}&userId=${this.userId}&projectId=${this.id ? this.id : ''}&token=${this.token}&pattern=${this.pattern}` // location.href = `http://192.168.31.154:8080/#/list?systemId=${this.systemId}&userId=${this.userId}&projectId=${this.id ? this.id : ''}&token=${this.token}&pattern=${this.pattern}` } },