mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
撤回的评估 还在添加评估列表里
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
:loading="tableDataTotal === -1 ? true : false"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
/>
|
/>
|
||||||
<div class="tableBox">
|
<div class="tableBox" style="margin-top:85px;">
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
v-if="tableDataTotal > 10"
|
v-if="tableDataTotal > 10"
|
||||||
|
|||||||
@@ -244,7 +244,7 @@
|
|||||||
<div class="main_item">
|
<div class="main_item">
|
||||||
<div class="main_item">
|
<div class="main_item">
|
||||||
<div class="signbox">
|
<div class="signbox">
|
||||||
<span style="margin-right: 3px">作业要求:</span>
|
<span style="margin-right: 3px">试题排序:</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnbox">
|
<div class="btnbox">
|
||||||
<a-radio-group
|
<a-radio-group
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
}"
|
}"
|
||||||
filterMultiple:false
|
filterMultiple:false
|
||||||
/>
|
/>
|
||||||
<div class="tableBox">
|
<div class="tableBox" style="margin-top:85px;">
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
:showSizeChanger="false"
|
:showSizeChanger="false"
|
||||||
@@ -208,6 +208,7 @@ export default {
|
|||||||
key: "num",
|
key: "num",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "创建人",
|
title: "创建人",
|
||||||
@@ -215,6 +216,7 @@ export default {
|
|||||||
key: "creator",
|
key: "creator",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "创建时间",
|
title: "创建时间",
|
||||||
@@ -222,6 +224,7 @@ export default {
|
|||||||
key: "time",
|
key: "time",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
return columns;
|
return columns;
|
||||||
@@ -274,6 +277,7 @@ export default {
|
|||||||
assessmentName: state.inputV1,
|
assessmentName: state.inputV1,
|
||||||
pageNo: state.currentPage,
|
pageNo: state.currentPage,
|
||||||
pageSize: state.pageSize,
|
pageSize: state.pageSize,
|
||||||
|
releaseStatus:2,
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
let arr = res.data.data.rows;
|
let arr = res.data.data.rows;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
:row-selection="rowSelection"
|
:row-selection="rowSelection"
|
||||||
filterMultiple:false
|
filterMultiple:false
|
||||||
/>
|
/>
|
||||||
<div class="tableBox">
|
<div class="tableBox" style="margin-top:85px;">
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
:showSizeChanger="false"
|
:showSizeChanger="false"
|
||||||
@@ -136,6 +136,7 @@ export default {
|
|||||||
key: "num",
|
key: "num",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "创建人",
|
title: "创建人",
|
||||||
@@ -143,6 +144,7 @@ export default {
|
|||||||
key: "creator",
|
key: "creator",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "创建时间",
|
title: "创建时间",
|
||||||
@@ -150,6 +152,7 @@ export default {
|
|||||||
key: "time",
|
key: "time",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
return columns;
|
return columns;
|
||||||
@@ -182,8 +185,15 @@ export default {
|
|||||||
let obj = {
|
let obj = {
|
||||||
key: index,
|
key: index,
|
||||||
assessmentId: value.assessmentId,
|
assessmentId: value.assessmentId,
|
||||||
num: Number(value.essayQuestionVoList.length)+Number(value.multipleStemVoList.length)+Number(value.scoringQuestionVoList
|
num:value.essayQuestionVoList
|
||||||
.length)+Number(value.singleStemVoList.length),
|
? Number(value.essayQuestionVoList.length)
|
||||||
|
: 0 + value.multipleStemVoList
|
||||||
|
? Number(value.multipleStemVoList.length)
|
||||||
|
: 0 + value.scoringQuestionVoList
|
||||||
|
? Number(value.scoringQuestionVoList.length)
|
||||||
|
: 0 + value.singleStemVoList
|
||||||
|
? Number(value.singleStemVoList.length)
|
||||||
|
: 0,
|
||||||
name: value.assessmentName ? value.assessmentName : "-",
|
name: value.assessmentName ? value.assessmentName : "-",
|
||||||
creator: value.createUser ? value.createUser : "-",
|
creator: value.createUser ? value.createUser : "-",
|
||||||
time: dayjs(value.createTime).format("YYYY-MM-DD"),
|
time: dayjs(value.createTime).format("YYYY-MM-DD"),
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
onChange: onSelectChange,
|
onChange: onSelectChange,
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
<div class="tableBox">
|
<div class="tableBox" style="margin-top:85px;">
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
v-if="tableDataTotal > 10"
|
v-if="tableDataTotal > 10"
|
||||||
@@ -113,6 +113,7 @@ export default {
|
|||||||
width: "20%",
|
width: "20%",
|
||||||
dataIndex: "quiz_code",
|
dataIndex: "quiz_code",
|
||||||
key: "code",
|
key: "code",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "测评名称",
|
title: "测评名称",
|
||||||
@@ -120,6 +121,7 @@ export default {
|
|||||||
dataIndex: "title",
|
dataIndex: "title",
|
||||||
key: "title",
|
key: "title",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "备注",
|
title: "备注",
|
||||||
@@ -149,6 +151,7 @@ export default {
|
|||||||
dataIndex: "quiz_range",
|
dataIndex: "quiz_range",
|
||||||
key: "time",
|
key: "time",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
:scroll="{ x: 900 }"
|
:scroll="{ x: 900 }"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
/>
|
/>
|
||||||
<div class="tableBox">
|
<div class="tableBox" style="margin-top:85px;">
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
v-if="tableDataTotal>10"
|
v-if="tableDataTotal>10"
|
||||||
|
|||||||
@@ -3583,9 +3583,12 @@ export default {
|
|||||||
console.log("get task", res.data.data);
|
console.log("get task", res.data.data);
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
// 判断当前审核是否通过
|
// 判断当前审核是否通过
|
||||||
if (res.data.data.projectAuditLogDtoList !== null) {
|
if (res.data.data.status == -5 && res.data.data.projectAuditLogDtoList !== null) {
|
||||||
console.log("审核信息是什么", res.data.data.projectAuditLogDtoList);
|
console.log("审核信息是什么", res.data.data.projectAuditLogDtoList);
|
||||||
let dataset = res.data.data.projectAuditLogDtoList;
|
let dataset = res.data.data.projectAuditLogDtoList;
|
||||||
|
state.passInfo = dataset[dataset.length-1];
|
||||||
|
|
||||||
|
/**
|
||||||
for (let i = 0; i < dataset.length; i++) {
|
for (let i = 0; i < dataset.length; i++) {
|
||||||
if (dataset[i].status == -5) {
|
if (dataset[i].status == -5) {
|
||||||
state.isPass = true;
|
state.isPass = true;
|
||||||
@@ -3593,6 +3596,7 @@ export default {
|
|||||||
}
|
}
|
||||||
// isPass passInfo
|
// isPass passInfo
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
let info = res.data.data.projectInfo;
|
let info = res.data.data.projectInfo;
|
||||||
|
|||||||
@@ -1580,7 +1580,7 @@ export default {
|
|||||||
console.log("zhaodaole", stage);
|
console.log("zhaodaole", stage);
|
||||||
// console.log("stage",Object.prototype.toString.call(stage))
|
// console.log("stage",Object.prototype.toString.call(stage))
|
||||||
getStageData(res.data.data.stageList);
|
getStageData(res.data.data.stageList);
|
||||||
if (stage !== "null") {
|
if (stage !== null) {
|
||||||
console.log(stage);
|
console.log(stage);
|
||||||
let stageList = res.data.data.stageList; //阶段数组
|
let stageList = res.data.data.stageList; //阶段数组
|
||||||
let result = stageList.find(
|
let result = stageList.find(
|
||||||
@@ -1773,18 +1773,18 @@ export default {
|
|||||||
api
|
api
|
||||||
.editStage(obj)
|
.editStage(obj)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("修改阶段成功", res);
|
console.log("操作成功", res);
|
||||||
state.valuesname = "";
|
state.valuesname = "";
|
||||||
state.valuesnotice = "";
|
state.valuesnotice = "";
|
||||||
closeModal();
|
closeModal();
|
||||||
state.updateStageID = null;
|
state.updateStageID = null;
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.success("修改阶段成功");
|
message.success("操作成功");
|
||||||
getTask();
|
getTask();
|
||||||
state.addLoading = false;
|
state.addLoading = false;
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log("添加阶段失败", err);
|
console.log("操作失败", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user