mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage into develop
This commit is contained in:
@@ -1162,9 +1162,42 @@
|
|||||||
:isgetStudent="isgetStudent"
|
:isgetStudent="isgetStudent"
|
||||||
>
|
>
|
||||||
<template #extension="{ data: { record } }">
|
<template #extension="{ data: { record } }">
|
||||||
<a-button v-if="record.source === 4 && record.status === 1" @click="() => {record.status = 0;auditStudent(record);}" type="link">审核通过</a-button>
|
<a-button
|
||||||
<a-button v-if="record.source === 4 && record.status === 1" @click="() => {record.status = 2;auditStudent(record);}" type="link">拒绝</a-button>
|
v-if="record.source === 4 && record.status === 1"
|
||||||
<a-button v-if="record.source === 4 && (record.status === 0 || record.status === 2)" @click="() => {record.status = 1;auditStudent(record);}" type="link">撤回</a-button>
|
@click="
|
||||||
|
() => {
|
||||||
|
record.status = 0;
|
||||||
|
auditStudent(record);
|
||||||
|
}
|
||||||
|
"
|
||||||
|
type="link"
|
||||||
|
>审核通过</a-button
|
||||||
|
>
|
||||||
|
<a-button
|
||||||
|
v-if="record.source === 4 && record.status === 1"
|
||||||
|
@click="
|
||||||
|
() => {
|
||||||
|
record.status = 2;
|
||||||
|
auditStudent(record);
|
||||||
|
}
|
||||||
|
"
|
||||||
|
type="link"
|
||||||
|
>拒绝</a-button
|
||||||
|
>
|
||||||
|
<a-button
|
||||||
|
v-if="
|
||||||
|
record.source === 4 &&
|
||||||
|
(record.status === 0 || record.status === 2)
|
||||||
|
"
|
||||||
|
@click="
|
||||||
|
() => {
|
||||||
|
record.status = 1;
|
||||||
|
auditStudent(record);
|
||||||
|
}
|
||||||
|
"
|
||||||
|
type="link"
|
||||||
|
>撤回</a-button
|
||||||
|
>
|
||||||
</template>
|
</template>
|
||||||
</TableStudent>
|
</TableStudent>
|
||||||
</div>
|
</div>
|
||||||
@@ -1566,7 +1599,8 @@ import {
|
|||||||
addStudent,
|
addStudent,
|
||||||
studentExport,
|
studentExport,
|
||||||
handleStudent,
|
handleStudent,
|
||||||
getMemberInfoApi, copyCoursePlan,
|
getMemberInfoApi,
|
||||||
|
copyCoursePlan,
|
||||||
} from "@/api/indexCourse";
|
} from "@/api/indexCourse";
|
||||||
import {
|
import {
|
||||||
traverseArr,
|
traverseArr,
|
||||||
@@ -1594,7 +1628,7 @@ import FJUpload from "@/components/common/FJUpload";
|
|||||||
import { updateStudent } from "@/api/indexProjStu";
|
import { updateStudent } from "@/api/indexProjStu";
|
||||||
import { useStore } from "vuex";
|
import { useStore } from "vuex";
|
||||||
import DropDown from "@/components/common/DropDown";
|
import DropDown from "@/components/common/DropDown";
|
||||||
import {checkPer} from "@/utils/utils";
|
import { checkPer } from "@/utils/utils";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
//列表表格
|
//列表表格
|
||||||
@@ -3681,7 +3715,7 @@ export default defineComponent({
|
|||||||
applyFlag: state.checked1 ? 1 : 0,
|
applyFlag: state.checked1 ? 1 : 0,
|
||||||
attach: state.attach,
|
attach: state.attach,
|
||||||
beginTime: dayjs(state.xjkkinputV3[0]).format("YYYY-MM-DD HH:mm:ss"),
|
beginTime: dayjs(state.xjkkinputV3[0]).format("YYYY-MM-DD HH:mm:ss"),
|
||||||
endTime: dayjs(state.xjkkinputV3[1]).format( "YYYY-MM-DD HH:mm:ss"),
|
endTime: dayjs(state.xjkkinputV3[1]).format("YYYY-MM-DD HH:mm:ss"),
|
||||||
completeType: type,
|
completeType: type,
|
||||||
evalFlag: Number(state.assessmentId) > 0 && state.checked4 ? 1 : 0,
|
evalFlag: Number(state.assessmentId) > 0 && state.checked4 ? 1 : 0,
|
||||||
evaluateId: Number(state.assessmentId),
|
evaluateId: Number(state.assessmentId),
|
||||||
@@ -3718,7 +3752,6 @@ export default defineComponent({
|
|||||||
|
|
||||||
//编辑开课
|
//编辑开课
|
||||||
const handelEditStu = async (item) => {
|
const handelEditStu = async (item) => {
|
||||||
|
|
||||||
state.offcourseId = item.offcourseId;
|
state.offcourseId = item.offcourseId;
|
||||||
state.offcoursePlanId = item.id;
|
state.offcoursePlanId = item.id;
|
||||||
|
|
||||||
@@ -3744,7 +3777,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log("res");
|
console.log("res");
|
||||||
console.log("获取面授课详情", item);
|
console.log("获取面授课开课详情", item);
|
||||||
|
|
||||||
state.xjkkinputV2 = item.address;
|
state.xjkkinputV2 = item.address;
|
||||||
state.checked1 = item.applyFlag === 1 ? true : false;
|
state.checked1 = item.applyFlag === 1 ? true : false;
|
||||||
@@ -3969,9 +4002,12 @@ export default defineComponent({
|
|||||||
//确认复制课程 操作
|
//确认复制课程 操作
|
||||||
const handleDeleteExit = async () => {
|
const handleDeleteExit = async () => {
|
||||||
state.addLoading = true;
|
state.addLoading = true;
|
||||||
|
console.log(
|
||||||
|
"开课的复制删除面授id及开课id",
|
||||||
|
state.offcourseId,
|
||||||
|
state.offcoursePlanId
|
||||||
|
);
|
||||||
if (state.del_hs) {
|
if (state.del_hs) {
|
||||||
console.log(11111111);
|
|
||||||
if (state.offcourseId && state.offcoursePlanId && state.studentId) {
|
if (state.offcourseId && state.offcoursePlanId && state.studentId) {
|
||||||
console.log(111111);
|
console.log(111111);
|
||||||
handleStudent({
|
handleStudent({
|
||||||
@@ -4076,7 +4112,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const handleDeleteKaike = (value) => {
|
const handleDeleteKaike = (value) => {
|
||||||
state.offcoursePlanId = value.offcoursePlanId;
|
state.offcoursePlanId = value.id;
|
||||||
|
|
||||||
state.delete_hs = true;
|
state.delete_hs = true;
|
||||||
state.del_hs = true;
|
state.del_hs = true;
|
||||||
@@ -4294,9 +4330,9 @@ export default defineComponent({
|
|||||||
state.copy_hs = true;
|
state.copy_hs = true;
|
||||||
};
|
};
|
||||||
const handleCopyP = async (itm) => {
|
const handleCopyP = async (itm) => {
|
||||||
console.log(itm);
|
console.log("开课复制", itm);
|
||||||
state.offcourseId = itm.id;
|
state.offcourseId = itm.offcourseId;
|
||||||
state.offcoursePlanId = itm.offcoursePlanId;
|
state.offcoursePlanId = itm.id;
|
||||||
|
|
||||||
state.delete_hs = true;
|
state.delete_hs = true;
|
||||||
state.copy_hs = true;
|
state.copy_hs = true;
|
||||||
@@ -4666,6 +4702,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
//二维码
|
//二维码
|
||||||
const qrcodeVisible = (record, type) => {
|
const qrcodeVisible = (record, type) => {
|
||||||
|
console.log("点击签到信息", record);
|
||||||
state.codevisible = true;
|
state.codevisible = true;
|
||||||
state.codeInfo = {
|
state.codeInfo = {
|
||||||
title: type == 1 ? "【课程】二维码" : "【签到】二维码",
|
title: type == 1 ? "【课程】二维码" : "【签到】二维码",
|
||||||
@@ -4677,7 +4714,7 @@ export default defineComponent({
|
|||||||
record.offcourseId
|
record.offcourseId
|
||||||
: process.env.VUE_APP_BASE_API +
|
: process.env.VUE_APP_BASE_API +
|
||||||
`/admin/student/studentSign?taskId=${
|
`/admin/student/studentSign?taskId=${
|
||||||
record.offcoursePlanId
|
record.id
|
||||||
}&taskType=${2}&type=${3}`,
|
}&taskType=${2}&type=${3}`,
|
||||||
};
|
};
|
||||||
console.log("codeInfo", state.codeInfo);
|
console.log("codeInfo", state.codeInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user