mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
t
This commit is contained in:
@@ -2924,7 +2924,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 预览弹窗 -->
|
<!-- 预览弹窗 -->
|
||||||
<!-- <SeeModal :show="lookCourseModal" /> -->
|
<SeeModal
|
||||||
|
:show="lookCourseModal"
|
||||||
|
:detail="faceDetailObj"
|
||||||
|
@cancel="ft_exit_see"
|
||||||
|
/>
|
||||||
<!--删除 复制 停用弹窗 -->
|
<!--删除 复制 停用弹窗 -->
|
||||||
<!-- 学员管理课程库-归属权抽屉 -->
|
<!-- 学员管理课程库-归属权抽屉 -->
|
||||||
<!-- <own-power v-model:ownpowervisible="ownpowervisible" /> -->
|
<!-- <own-power v-model:ownpowervisible="ownpowervisible" /> -->
|
||||||
@@ -4825,16 +4829,22 @@ export default defineComponent({
|
|||||||
score: "",
|
score: "",
|
||||||
studentIds: [state.studentId],
|
studentIds: [state.studentId],
|
||||||
type: 5,
|
type: 5,
|
||||||
});
|
}).then((res) => {
|
||||||
|
if (res.data.code === 200) {
|
||||||
getTableDate2();
|
getTableDate2();
|
||||||
delete_exit1();
|
delete_exit1();
|
||||||
|
}
|
||||||
|
});
|
||||||
} else if (state.offcourseId && state.offcoursePlanId) {
|
} else if (state.offcourseId && state.offcoursePlanId) {
|
||||||
console.log(2222222);
|
console.log(2222222);
|
||||||
deletePlan({
|
deletePlan({
|
||||||
offcoursePlanId: state.offcoursePlanId,
|
offcoursePlanId: state.offcoursePlanId,
|
||||||
});
|
}).then((res) => {
|
||||||
|
if (res.data.code === 200) {
|
||||||
getTableDate3();
|
getTableDate3();
|
||||||
delete_exit1();
|
delete_exit1();
|
||||||
|
}
|
||||||
|
});
|
||||||
} else if (state.offcourseId) {
|
} else if (state.offcourseId) {
|
||||||
console.log(3333333);
|
console.log(3333333);
|
||||||
handle({
|
handle({
|
||||||
@@ -5086,7 +5096,6 @@ export default defineComponent({
|
|||||||
state.lookCourseModal = false;
|
state.lookCourseModal = false;
|
||||||
};
|
};
|
||||||
const handleLook = async (itm, type) => {
|
const handleLook = async (itm, type) => {
|
||||||
state.lookCourseModal = true;
|
|
||||||
// state.isEdit = 0;
|
// state.isEdit = 0;
|
||||||
console.log(45555);
|
console.log(45555);
|
||||||
console.log(itm);
|
console.log(itm);
|
||||||
@@ -5100,12 +5109,14 @@ export default defineComponent({
|
|||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.data.code === 200) return res.data.data;
|
if (res.data.code === 200) return res.data.data;
|
||||||
});
|
});
|
||||||
|
state.lookCourseModal = true;
|
||||||
state.faceDetailObj = item;
|
state.faceDetailObj = item;
|
||||||
// heroImg.value.src = item.picUrl;
|
// heroImg.value.src = item.picUrl;
|
||||||
// valueHtmlRef.value = item.outline;
|
// valueHtmlRef.value = item.outline;
|
||||||
// attachMap.value = item.attach == "" ? [] : item.attach.split(",");
|
// attachMap.value = item.attach == "" ? [] : item.attach.split(",");
|
||||||
console.log("res222222222");
|
console.log("res222222222");
|
||||||
console.log(item);
|
console.log(item);
|
||||||
|
console.log(state.lookCourseModal);
|
||||||
|
|
||||||
// state.qdms_inputV1 = item.name;
|
// state.qdms_inputV1 = item.name;
|
||||||
// state.imageUrl = item.picUrl;
|
// state.imageUrl = item.picUrl;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- 预览弹窗 -->
|
<!-- 预览弹窗 -->
|
||||||
<a-modal
|
<a-modal
|
||||||
v-model:visible="showM"
|
:visible="show"
|
||||||
title="查看"
|
title="查看"
|
||||||
@ok="handleCancel"
|
@ok="handleCancel"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
@@ -301,7 +301,7 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs, defineComponent } from "vue";
|
import { reactive, toRefs, defineComponent, toRef, watch } from "vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
@@ -316,10 +316,16 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
setup(props, { emit }) {
|
setup(props, { emit }) {
|
||||||
console.log(props);
|
console.log(props);
|
||||||
// const showM = ref(props.show);
|
const detailWatch = toRef(props, "detail");
|
||||||
const state = reactive({
|
const state = reactive({});
|
||||||
showM: false,
|
watch(
|
||||||
});
|
() => detailWatch,
|
||||||
|
(newValue) => {
|
||||||
|
console.log(78787878);
|
||||||
|
console.log(newValue);
|
||||||
|
},
|
||||||
|
{ deep: true }
|
||||||
|
);
|
||||||
|
|
||||||
const filterTxt = (txt) => {
|
const filterTxt = (txt) => {
|
||||||
if (txt) {
|
if (txt) {
|
||||||
@@ -329,7 +335,6 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const handleCancel = () => {
|
const handleCancel = () => {
|
||||||
console.log(6767767);
|
|
||||||
emit("cancel");
|
emit("cancel");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user