项目模式与判分点

master
yujialong 4 years ago
parent 209a0bd708
commit a76d74dda1
  1. 11
      src/components/page/AddProject.vue

@ -847,7 +847,7 @@
}) })
this.$get(this.api.queryUserIds).then(res => { this.$get(this.api.queryUserIds).then(res => {
let data = { let data = {
systemId: this.systemId, systemId: this.pattern ? 12 : 11,
userId: this.userLoginId, userId: this.userLoginId,
pageNum: 1, pageNum: 1,
pageSize: 100, pageSize: 100,
@ -1005,14 +1005,11 @@
}, },
toJudgePoint(row){ toJudgePoint(row){
this.handleCacheData() this.handleCacheData()
this.setCookie("systemId",this.systemId) let systemId = this.pattern ? 12 : 11
this.setCookie("userId",this.userId)
this.setCookie("projectId",this.id)
this.setCookie("token",this.token)
if(row){ 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{ }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}` // 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}`
} }
}, },

Loading…
Cancel
Save