|
|
@ -522,7 +522,29 @@ |
|
|
|
this.systemId = data.systemId |
|
|
|
this.systemId = data.systemId |
|
|
|
this.projectPermission = data.projectPermission; |
|
|
|
this.projectPermission = data.projectPermission; |
|
|
|
this.state = data.state; |
|
|
|
this.state = data.state; |
|
|
|
this.experimentData = data.experimentData |
|
|
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
|
|
this.$get(this.api.queryUserIds).then(res => { |
|
|
|
|
|
|
|
this.$get(this.api.QueryPointOfJudgement, { |
|
|
|
|
|
|
|
systemId: this.systemId, |
|
|
|
|
|
|
|
userId: this.userId, |
|
|
|
|
|
|
|
pageNum: 1, |
|
|
|
|
|
|
|
pageSize: 1000, |
|
|
|
|
|
|
|
queryName: this.judgementpointsquery, |
|
|
|
|
|
|
|
userIdList: res.message.retvalue.join() |
|
|
|
|
|
|
|
}).then(res => { |
|
|
|
|
|
|
|
let list = res.message.rows |
|
|
|
|
|
|
|
let experimentData = data.experimentData |
|
|
|
|
|
|
|
experimentData.map(n => { |
|
|
|
|
|
|
|
let item = list.find(e => e.judgmentPointsId == n.judgmentPointsId) |
|
|
|
|
|
|
|
n.experimentalRequirements = item.experimentalRequirements |
|
|
|
|
|
|
|
n.judgmentPointsName = item.judgmentPointsName |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
this.experimentData = experimentData |
|
|
|
|
|
|
|
}).catch(err => {}) |
|
|
|
|
|
|
|
}).catch(res => {}) |
|
|
|
|
|
|
|
},1000) |
|
|
|
|
|
|
|
|
|
|
|
this.experimentalGoal = data.experimentalGoal; |
|
|
|
this.experimentalGoal = data.experimentalGoal; |
|
|
|
this.caseDescription = data.caseDescription; |
|
|
|
this.caseDescription = data.caseDescription; |
|
|
|
this.knowledgePoints = data.knowledgePoints; |
|
|
|
this.knowledgePoints = data.knowledgePoints; |
|
|
@ -841,7 +863,7 @@ |
|
|
|
let systemId = this.systemId |
|
|
|
let systemId = this.systemId |
|
|
|
// if(systemId == 4 || systemId == 5) systemId = 1 |
|
|
|
// if(systemId == 4 || systemId == 5) systemId = 1 |
|
|
|
this.dialogVisible1 = true; |
|
|
|
this.dialogVisible1 = true; |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.judgementTable.clearSelection() |
|
|
|
this.$refs.judgementTable.clearSelection() |
|
|
|
}) |
|
|
|
}) |
|
|
|
if(systemId == 2 || systemId == 3){ |
|
|
|
if(systemId == 2 || systemId == 3){ |
|
|
@ -983,7 +1005,14 @@ |
|
|
|
data.systemId = this.systemId |
|
|
|
data.systemId = this.systemId |
|
|
|
data.projectPermission = this.projectPermission |
|
|
|
data.projectPermission = this.projectPermission |
|
|
|
this.state && (data.state = this.state) |
|
|
|
this.state && (data.state = this.state) |
|
|
|
this.experimentData && (data.experimentData = this.experimentData) |
|
|
|
if(this.experimentData){ |
|
|
|
|
|
|
|
let experimentData = this.experimentData |
|
|
|
|
|
|
|
experimentData.map(n => { |
|
|
|
|
|
|
|
delete n.experimentalRequirements |
|
|
|
|
|
|
|
delete n.judgmentPointsName |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
data.experimentData = experimentData |
|
|
|
|
|
|
|
} |
|
|
|
this.experimentalGoal && (data.experimentalGoal = this.experimentalGoal) |
|
|
|
this.experimentalGoal && (data.experimentalGoal = this.experimentalGoal) |
|
|
|
this.caseDescription && (data.caseDescription = this.caseDescription) |
|
|
|
this.caseDescription && (data.caseDescription = this.caseDescription) |
|
|
|
this.knowledgePoints && (data.knowledgePoints = this.knowledgePoints) |
|
|
|
this.knowledgePoints && (data.knowledgePoints = this.knowledgePoints) |
|
|
|