mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 12:56:45 +08:00
Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage into develop
This commit is contained in:
@@ -164,19 +164,27 @@ export default {
|
||||
.queryAppraiseDetailById({ assessmentId: props.assessmentId })
|
||||
.then((res) => {
|
||||
console.log("查询评估xinxi ", res);
|
||||
|
||||
let info = res.data.data;
|
||||
let n1 = info.essayQuestionVoList
|
||||
? Number(info.essayQuestionVoList.length)
|
||||
: 0 ;
|
||||
let n2 = info.multipleStemVoList
|
||||
? Number(info.multipleStemVoList.length)
|
||||
: 0;
|
||||
|
||||
let n3 = info.scoringQuestionVoList
|
||||
? Number(info.scoringQuestionVoList.length)
|
||||
: 0;
|
||||
let n4 = info.singleStemVoList
|
||||
? Number(info.singleStemVoList.length)
|
||||
: 0;
|
||||
|
||||
let num = n1 + n2 + n3 +n4;
|
||||
let obj = {
|
||||
assessmentId: info.assessmentId,
|
||||
name: info.assessmentName,
|
||||
num: info.essayQuestionVoList
|
||||
? Number(info.essayQuestionVoList.length)
|
||||
: 0 + info.multipleStemVoList
|
||||
? Number(info.multipleStemVoList.length)
|
||||
: 0 + info.scoringQuestionVoList
|
||||
? Number(info.scoringQuestionVoList.length)
|
||||
: 0 + info.singleStemVoList
|
||||
? Number(info.singleStemVoList.length)
|
||||
: 0,
|
||||
num: num,
|
||||
creator: info.createUser ? info.createUser : "-",
|
||||
time: dayjs(info.createTime).format("YYYY-MM-DD"),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user