预览弹窗

This commit is contained in:
kclf
2022-12-05 23:46:00 +08:00
parent 65358d260c
commit fecf60549e
2 changed files with 86 additions and 135 deletions

View File

@@ -4188,7 +4188,7 @@ export default defineComponent({
const getDictList = (param) => {
let obj = {
pageNo: 1,
pageSize: 20,
pageSize: 10000,
setCode: param,
};
api1
@@ -5104,18 +5104,6 @@ export default defineComponent({
};
// 预览弹框 开启和关闭
// 内容分类 场景 -- 目前直接写死的
const sceneist11 = [
{ dictCode: "6", dictValue: "场景一" },
{ dictCode: "7", dictValue: "场景二" },
];
const contentList11 = [
{ dictCode: "8", dictValue: "分类一" },
{ dictCode: "5", dictValue: "分类二" },
];
// const heroImg = ref(null);
// // const valueHtmlRef = ref(null);
// const attachMap = ref([]);
const ft_exit_see = () => {
state.lookCourseModal = false;
};
@@ -5134,6 +5122,7 @@ export default defineComponent({
if (res.data.code === 200) return res.data.data;
});
state.lookCourseModal = true;
item.attach = item.attach == "" ? [] : item.attach.split(",");
state.faceDetailObj = item;
// heroImg.value.src = item.picUrl;
// valueHtmlRef.value = item.outline;
@@ -5542,8 +5531,6 @@ export default defineComponent({
ftsr_exit,
stm_exit,
ft_exit_see,
contentList11,
sceneist11,
createkk,
handleCancelStu,
handleSureStu,