mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
feat:修改签到二维码
This commit is contained in:
@@ -434,7 +434,7 @@ export default {
|
||||
process.env.VUE_APP_BOE_API_URL +
|
||||
`/admin/student/studentSign?taskId=${
|
||||
props.projectTaskInfo.projectTaskId
|
||||
}&type=${1}`,
|
||||
}&taskType=${props.projectTaskInfo.type}&type=${1}`,
|
||||
};
|
||||
console.log("codeInfo", state.codeInfo);
|
||||
state.codeIndex = 0;
|
||||
@@ -869,7 +869,9 @@ export default {
|
||||
process.env.VUE_APP_BASE_API
|
||||
}/admin/student/exportTaskStudent?currentStageId=${
|
||||
props.projectTaskInfo.stageId
|
||||
}&type=${1}&pid=${props.projectTaskInfo.projectId}&taskType=2&thirdType=2`
|
||||
}&type=${1}&pid=${
|
||||
props.projectTaskInfo.projectId
|
||||
}&taskType=2&thirdType=2`
|
||||
);
|
||||
// api
|
||||
// .exportTaskStudent({
|
||||
|
||||
@@ -849,7 +849,7 @@ export default {
|
||||
process.env.VUE_APP_BOE_API_URL +
|
||||
`/admin/student/studentSign?taskId=${
|
||||
props.datasource.routerTaskId
|
||||
}&type=${2}`,
|
||||
}&taskType=${props.datasource.type}&type=${2}`,
|
||||
};
|
||||
console.log("codeInfo", state.codeInfo);
|
||||
state.codeIndex = 0;
|
||||
|
||||
@@ -50,7 +50,11 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col>
|
||||
<a-button class="cus-btn" style="width: 100px" @click="getStuList">
|
||||
<a-button
|
||||
class="cus-btn"
|
||||
style="background: #4ea6ff; color: #fff; width: 100px"
|
||||
@click="getStuList"
|
||||
>
|
||||
<template #icon>
|
||||
<img
|
||||
style="margin-right: 10px"
|
||||
@@ -78,7 +82,7 @@
|
||||
@finash="submitCall"
|
||||
:stage="stage"
|
||||
>
|
||||
<a-button class="cus-btn">
|
||||
<a-button class="cus-btn" style="background: #4ea6ff; color: #fff">
|
||||
<template #icon
|
||||
><img
|
||||
style="margin-right: 10px"
|
||||
@@ -146,9 +150,10 @@
|
||||
<div class="btn4_tit" @click="showEScoreModal">
|
||||
<span>批量录入成绩</span>
|
||||
</div>
|
||||
<div class="btn4_op1" @click="updateStatus(1)">
|
||||
<!--2023-1-12 隐藏 后面放开 -->
|
||||
<!-- <div class="btn4_op1" @click="updateStatus(1)">
|
||||
<span>批量结业</span>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="btn4_op2" @click="updateStatus(0)">
|
||||
<span>批量通过</span>
|
||||
</div>
|
||||
@@ -506,7 +511,8 @@ function exportTaskStu() {
|
||||
console.log("props.datasource", props.datasource);
|
||||
window.open(
|
||||
`${
|
||||
process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?type=${1}&pid=${props.id}&taskType=0`
|
||||
process.env.VUE_APP_BASE_API
|
||||
}/admin/student/exportTaskStudent?type=${1}&pid=${props.id}&taskType=0`
|
||||
);
|
||||
}
|
||||
|
||||
@@ -682,15 +688,13 @@ const exportHomeWorkShow = () => {
|
||||
taskType: 0,
|
||||
type: 3,
|
||||
};
|
||||
api
|
||||
.exportHomeWork(obj)
|
||||
.then((res) => {
|
||||
api.exportHomeWork(obj).then((res) => {
|
||||
console.log("导出作业", res.data.data);
|
||||
//message.destroy();
|
||||
// message.success("导出作业成功");
|
||||
exportHomeWorkV.value = true;
|
||||
downloadUrl.value = res.data.data;
|
||||
})
|
||||
});
|
||||
};
|
||||
// //导出作业
|
||||
// const exportHomeWork = () => {
|
||||
@@ -704,7 +708,8 @@ const exportHomeWorkShow = () => {
|
||||
const exportStu = () => {
|
||||
window.open(
|
||||
`${
|
||||
process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?type=${3}&pid=${props.id}&thirdType=2`
|
||||
process.env.VUE_APP_BASE_API
|
||||
}/admin/student/exportTaskStudent?type=${3}&pid=${props.id}&thirdType=2`
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -2030,7 +2030,11 @@
|
||||
<div class="qrm_btn btn1" @click="rg_exit">
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="qrm_btn btn2" @click="handleJoin">
|
||||
<div
|
||||
class="qrm_btn btn2"
|
||||
style="background-color: #4ea6ff; color: #ffffff"
|
||||
@click="handleJoin"
|
||||
>
|
||||
<div class="btnText">确定</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3067,7 +3071,8 @@ export default defineComponent({
|
||||
dataIndex: "evastatus",
|
||||
key: "8",
|
||||
align: "center",
|
||||
customRender: ({record}) => record.assessmentStatus ? '已评估' : '未评估'
|
||||
customRender: ({ record }) =>
|
||||
record.assessmentStatus ? "已评估" : "未评估",
|
||||
},
|
||||
{
|
||||
title: "作业成绩",
|
||||
@@ -3118,14 +3123,15 @@ export default defineComponent({
|
||||
key: "8",
|
||||
align: "center",
|
||||
},
|
||||
{
|
||||
title: "结业状态",
|
||||
width: "15%",
|
||||
dataIndex: "completionStatus",
|
||||
key: "8",
|
||||
align: "center",
|
||||
customRender: ({ record }) => <div>{{1:'结业'}[record.completionStatus] || '-'}</div>,
|
||||
},
|
||||
// 2023-1-12 隐藏 后面放开
|
||||
// {
|
||||
// title: "结业状态",
|
||||
// width: "15%",
|
||||
// dataIndex: "completionStatus",
|
||||
// key: "8",
|
||||
// align: "center",
|
||||
// customRender: ({ record }) => <div>{{1:'结业'}[record.completionStatus] || '-'}</div>,
|
||||
// },
|
||||
],
|
||||
shipType: 1,
|
||||
addLoading: false,
|
||||
@@ -4755,7 +4761,7 @@ export default defineComponent({
|
||||
};
|
||||
|
||||
const handleJoin = async () => {
|
||||
state.lrcj_inputV1 || message.error("请输入成绩")
|
||||
state.lrcj_inputV1 || message.error("请输入成绩");
|
||||
if (state.rg_hs) {
|
||||
if (state.piliang) {
|
||||
api1.updateStudent({
|
||||
@@ -5840,8 +5846,6 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
.btn1 {
|
||||
|
||||
|
||||
.search {
|
||||
background-image: url("../../assets/images/courseManage/search0.png");
|
||||
}
|
||||
@@ -5850,7 +5854,7 @@ export default defineComponent({
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
/**
|
||||
/**
|
||||
.btn1:active {
|
||||
background: #0982ff;
|
||||
}
|
||||
@@ -5894,11 +5898,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.btn3 {
|
||||
|
||||
|
||||
.search {
|
||||
width: 17px;
|
||||
height: 18px;
|
||||
@@ -5909,7 +5909,6 @@ export default defineComponent({
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6951,7 +6950,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
.btn2{
|
||||
.btn2 {
|
||||
background: rgba(64, 158, 255, 1);
|
||||
|
||||
.search {
|
||||
@@ -7571,9 +7570,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
.btn1{
|
||||
|
||||
|
||||
.btn1 {
|
||||
.search {
|
||||
background-image: url("../../assets/images/courseManage/search0.png");
|
||||
}
|
||||
@@ -7582,7 +7579,7 @@ export default defineComponent({
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
/**
|
||||
/**
|
||||
.btn1:active {
|
||||
background: #0982ff;
|
||||
}
|
||||
@@ -7633,10 +7630,6 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user