mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 16:26:45 +08:00
--fix 面授课
This commit is contained in:
@@ -3619,7 +3619,7 @@ export default defineComponent({
|
|||||||
let type = t.concat(p);
|
let type = t.concat(p);
|
||||||
const postData = {
|
const postData = {
|
||||||
offcourseId: state.offcourseId,
|
offcourseId: state.offcourseId,
|
||||||
offcoursePlanId: state.offcoursePlanId, //开课ID,不传代表新增
|
id: state.offcoursePlanId, //开课ID,不传代表新增
|
||||||
address: state.xjkkinputV2,
|
address: state.xjkkinputV2,
|
||||||
applyFlag: state.checked1 ? 1 : 0,
|
applyFlag: state.checked1 ? 1 : 0,
|
||||||
attach: state.attach,
|
attach: state.attach,
|
||||||
@@ -3660,17 +3660,10 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
|
|
||||||
//编辑开课
|
//编辑开课
|
||||||
const handelEditStu = async (itm) => {
|
const handelEditStu = async (item) => {
|
||||||
console.log(itm);
|
|
||||||
|
|
||||||
state.offcourseId = itm.id;
|
state.offcourseId = item.offcourseId;
|
||||||
state.offcoursePlanId = itm.offcoursePlanId;
|
state.offcoursePlanId = item.id;
|
||||||
|
|
||||||
const item = await detailPlan({
|
|
||||||
offcoursePlanId: Number(state.offcoursePlanId),
|
|
||||||
}).then((res) => {
|
|
||||||
if (res.data.code === 200) return res.data.data;
|
|
||||||
});
|
|
||||||
|
|
||||||
if (item.evaluateId) {
|
if (item.evaluateId) {
|
||||||
api
|
api
|
||||||
@@ -3692,12 +3685,9 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
let arrss = item.attach.split(",");
|
let arrss = item.attach.split(",");
|
||||||
let str = "";
|
let str = "";
|
||||||
for (let i = 0; i < arrss.length; i++) {
|
for (let i = 0; i < arrss.length; i++) {
|
||||||
@@ -3718,9 +3708,9 @@ export default defineComponent({
|
|||||||
(state.comLeave =
|
(state.comLeave =
|
||||||
item.completeType.split(",")[1] == "1" ? true : false),
|
item.completeType.split(",")[1] == "1" ? true : false),
|
||||||
(state.checked4 = item.evalFlag === 1 ? true : false);
|
(state.checked4 = item.evalFlag === 1 ? true : false);
|
||||||
state.assessmentId = String(item.evaluateId);
|
state.assessmentId =item.evaluateId || '';
|
||||||
state.EditTestId = String(item.testId);
|
state.EditTestId = item.testId || '';
|
||||||
state.EditWorkId = String(item.homeWorkId);
|
state.EditWorkId = item.homeWorkId || ''
|
||||||
state.xjkkinputV1 = item.name;
|
state.xjkkinputV1 = item.name;
|
||||||
if (item.signFlag === 1) {
|
if (item.signFlag === 1) {
|
||||||
//是否允许未报名的签到:1是0否
|
//是否允许未报名的签到:1是0否
|
||||||
|
|||||||
Reference in New Issue
Block a user