mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-06 17:36:44 +08:00
style:项目下作业面授导出参数错误,隐藏部分按钮
This commit is contained in:
@@ -274,7 +274,7 @@ export default {
|
||||
title: "工号",
|
||||
dataIndex: "studentUserNo",
|
||||
key: "studentUserNo",
|
||||
width: 50,
|
||||
width: '15%',
|
||||
align: "left",
|
||||
className: "h head",
|
||||
customRender: (text) => {
|
||||
@@ -291,8 +291,8 @@ export default {
|
||||
title: "姓名",
|
||||
dataIndex: "studentName",
|
||||
key: "studentName",
|
||||
width: 50,
|
||||
align: "left",
|
||||
width: '10%',
|
||||
align: "center",
|
||||
className: "h head",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
@@ -308,7 +308,7 @@ export default {
|
||||
title: "所在部门",
|
||||
dataIndex: "studentDepartName",
|
||||
key: "studentDepartName",
|
||||
width: 60,
|
||||
width: '15%',
|
||||
align: "center",
|
||||
className: "h",
|
||||
ellipsis: true,
|
||||
@@ -328,7 +328,7 @@ export default {
|
||||
title: "所在岗位",
|
||||
dataIndex: "studentJobName",
|
||||
key: "studentJobName",
|
||||
width: 60,
|
||||
width: '10%',
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
@@ -348,7 +348,7 @@ export default {
|
||||
title: "作业成绩",
|
||||
dataIndex: "workScore",
|
||||
key: "workScore",
|
||||
width: 60,
|
||||
width: '10%',
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
@@ -368,7 +368,7 @@ export default {
|
||||
title: "考试成绩",
|
||||
dataIndex: "examinationScore",
|
||||
key: "examinationScore",
|
||||
width: 60,
|
||||
width: '10%',
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
@@ -389,7 +389,7 @@ export default {
|
||||
title: "评分",
|
||||
dataIndex: "assessmentScore",
|
||||
key: "assessmentScore",
|
||||
width: 60,
|
||||
width: '10%',
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
@@ -410,7 +410,7 @@ export default {
|
||||
title: "任务状态",
|
||||
dataIndex: "finishStatus",
|
||||
key: "finishStatus",
|
||||
width: 60,
|
||||
width: '10%',
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
@@ -617,7 +617,7 @@ export default {
|
||||
currentStageId: props.projectTaskInfo.stageId,
|
||||
type: 1,
|
||||
pid: props.projectTaskInfo.projectId,
|
||||
status: Number(state.projectName),
|
||||
status: state.projectName,
|
||||
studentName: state.name,
|
||||
taskId: props.projectTaskInfo.projectTaskId,
|
||||
});
|
||||
@@ -628,7 +628,7 @@ export default {
|
||||
currentStageId: props.projectTaskInfo.stageId,
|
||||
type: 1,
|
||||
pid: props.projectTaskInfo.projectId,
|
||||
status: Number(state.projectName),
|
||||
status: state.projectName,
|
||||
studentName: state.name,
|
||||
taskId: props.projectTaskInfo.projectTaskId,
|
||||
taskType: props.projectTaskInfo.type,
|
||||
@@ -683,7 +683,7 @@ export default {
|
||||
`${
|
||||
process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?currentStageId=${
|
||||
props.projectTaskInfo.stageId
|
||||
}&type=${1}&pid=${props.projectTaskInfo.projectId}taskType=2`
|
||||
}&type=${1}&pid=${props.projectTaskInfo.projectId}&taskType=2`
|
||||
);
|
||||
// api
|
||||
// .exportTaskStudent({
|
||||
@@ -716,12 +716,12 @@ export default {
|
||||
api
|
||||
.exportHomeWork(obj)
|
||||
.then((res) => {
|
||||
console.log("导出作业", JSON.parse(res.data).data);
|
||||
if (JSON.parse(res.data).code === 200) {
|
||||
message.destroy();
|
||||
message.success("导出作业成功");
|
||||
console.log("导出作业",res.data.data);
|
||||
if (res.data.code === 200) {
|
||||
//message.destroy();
|
||||
//message.success("导出作业成功");
|
||||
state.exportHomeWorkV = true;
|
||||
state.downloadUrl = JSON.parse(res.data).data;
|
||||
state.downloadUrl = res.data.data;
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user