From a76d74dda1b740cdd29150609c9173252a01cbd3 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 28 Apr 2021 11:24:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=A8=A1=E5=BC=8F=E4=B8=8E?= =?UTF-8?q?=E5=88=A4=E5=88=86=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/AddProject.vue | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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}` } },