mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 14:56:46 +08:00
'面授管理'
This commit is contained in:
@@ -437,8 +437,7 @@ export default {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const getDictList = async (param) =>
|
const getDictList = async (param) =>
|
||||||
api1
|
api1.getDict({
|
||||||
.getDict({
|
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 20,
|
pageSize: 20,
|
||||||
setCode: param,
|
setCode: param,
|
||||||
|
|||||||
@@ -4146,55 +4146,58 @@ export default defineComponent({
|
|||||||
if (type === "1") {
|
if (type === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
state.offcourseId = itm.offcourseId;
|
// console.log(itm)
|
||||||
|
state.offcourseId = itm.id;
|
||||||
|
|
||||||
// const item = await detail({
|
const item = await detail({
|
||||||
// offcourseId: Number(state.offcourseId),
|
offcourseId: Number(state.offcourseId),
|
||||||
// }).then((res) => {
|
}).then((res) => {
|
||||||
// if (res.data.code === 200) return res.data.data;
|
if (res.data.code === 200) return res.data.data;
|
||||||
// });
|
});
|
||||||
|
|
||||||
// state.statusJuJue = Number(item.auditStatus) === -1 ? 1 : 0;
|
|
||||||
|
|
||||||
// if (Number(item.auditStatus) === 2 && Number(item.status) === 1) {
|
|
||||||
// state.statusTingQi = 1;
|
|
||||||
// }
|
|
||||||
// if (Number(item.auditStatus) === 2 && Number(item.status) === 0) {
|
|
||||||
// state.statusTingQi = 0;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// state.qdms_inputV1 = item.name;
|
state.statusJuJue = Number(item.auditStatus) === -1 ? 1 : 0;
|
||||||
// // state.imageUrl = item.picUrl;
|
|
||||||
// state.feng_mian_1 = item.picUrl;
|
|
||||||
// state.qdms_inputV2 = item.targetUser;
|
|
||||||
// state.qdms_inputV3 = item.meaning;
|
|
||||||
// state.fen_lei = String(item.categoryId);
|
|
||||||
// state.chang_jin = String(item.sceneId);
|
|
||||||
// state.tags_val = item.tips ? item.tips.split(",") : [];
|
|
||||||
// //state.qdms_inputV5 = item.teacherId;
|
|
||||||
// state.teacher = item.teacher;
|
|
||||||
// state.teacherId = item.teacherId;
|
|
||||||
// state.qdms_inputV6 = item.intro;
|
|
||||||
// state.member = { value: item.teacherId, name: item.teacher };
|
|
||||||
// if (item.attach == "") {
|
|
||||||
// state.imgList = [];
|
|
||||||
// } else {
|
|
||||||
// if (item.attach.indexOf(",")) {
|
|
||||||
// const arr = item.attach.split(",");
|
|
||||||
// arr.forEach((item) => {
|
|
||||||
// state.imgList.push({ img: item });
|
|
||||||
// });
|
|
||||||
// } else {
|
|
||||||
// state.imgList = [{ img: item.attach }];
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// valueHtml.value = item.outline;
|
if (Number(item.auditStatus) === 2 && Number(item.status) === 1) {
|
||||||
|
state.statusTingQi = 1;
|
||||||
|
}
|
||||||
|
if (Number(item.auditStatus) === 2 && Number(item.status) === 0) {
|
||||||
|
state.statusTingQi = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
state.qdms_inputV1 = item.name;
|
||||||
|
// state.imageUrl = item.picUrl;
|
||||||
|
state.feng_mian_1 = item.picUrl;
|
||||||
|
state.qdms_inputV2 = item.targetUser;
|
||||||
|
state.qdms_inputV3 = item.meaning;
|
||||||
|
state.fen_lei = String(item.categoryId);
|
||||||
|
state.chang_jin = String(item.sceneId);
|
||||||
|
state.tags_val = item.tips ? item.tips.split(",") : [];
|
||||||
|
//state.qdms_inputV5 = item.teacherId;
|
||||||
|
state.teacher = item.teacher;
|
||||||
|
state.teacherId = item.teacherId;
|
||||||
|
state.qdms_inputV6 = item.intro;
|
||||||
|
state.member = { value: item.teacherId, name: item.teacher };
|
||||||
|
if (item.attach == "") {
|
||||||
|
state.imgList = [];
|
||||||
|
} else {
|
||||||
|
if (item.attach.indexOf(",")) {
|
||||||
|
const arr = item.attach.split(",");
|
||||||
|
arr.forEach((item) => {
|
||||||
|
state.imgList.push({ img: item });
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
state.imgList = [{ img: item.attach }];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
valueHtml.value = item.outline;
|
||||||
|
|
||||||
// state.ft_hs = true;
|
// state.ft_hs = true;
|
||||||
CourseModalRef.value.visibleOpen(state.offcourseId, null);
|
CourseModalRef.value.visibleOpen(state.offcourseId, null);
|
||||||
state.ft_eidt = true;
|
state.ft_eidt = true;
|
||||||
getTea();
|
// getTea();
|
||||||
};
|
};
|
||||||
|
|
||||||
// handleTagChange
|
// handleTagChange
|
||||||
@@ -4242,7 +4245,7 @@ export default defineComponent({
|
|||||||
if (type === "1") {
|
if (type === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
state.offcourseId = item.offcourseId;
|
state.offcourseId = item.id;
|
||||||
|
|
||||||
state.delete_hs = true;
|
state.delete_hs = true;
|
||||||
state.del_hs = true;
|
state.del_hs = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user