mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
fix:更新调试项目、学习路径图共享文档编辑
This commit is contained in:
@@ -1374,7 +1374,7 @@ import { getRouterOverview } from "@/api/indexLearningPath";
|
||||
import { handleLearnPath } from "../../api/index1";
|
||||
import { GetRouterDetail } from "@/api/indexTask";
|
||||
import * as api from "../../api/index1";
|
||||
import { editRoutered } from "../../api/indexLearningPath";
|
||||
import { editRouteredDoc } from "../../api/indexLearningPath";
|
||||
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
||||
import TableStudent from "@/components/student/TableStudent";
|
||||
import { getStuPage, moveStudent } from "@/api/index1";
|
||||
@@ -2255,12 +2255,12 @@ export default {
|
||||
attachSwitch: data ? 1 : -1,
|
||||
});
|
||||
// 更新开关状态
|
||||
editRoutered({
|
||||
editRouteredDoc({
|
||||
attach: JSON.stringify(state.fileList),
|
||||
name: state.styTitle,
|
||||
picUrl: state.picUrl,
|
||||
remark: state.remark,
|
||||
routerId: state.routerId,
|
||||
id: state.routerId,
|
||||
status: state.action,
|
||||
attachSwitch: data ? 1 : -1,
|
||||
})
|
||||
@@ -2355,12 +2355,12 @@ export default {
|
||||
let str = JSON.stringify(list);
|
||||
console.log(str);
|
||||
//要编辑路径图
|
||||
editRoutered({
|
||||
editRouteredDoc({
|
||||
attach: str,
|
||||
name: state.styTitle,
|
||||
picUrl: state.picUrl,
|
||||
remark: state.remark,
|
||||
routerId: state.routerId,
|
||||
id: state.routerId,
|
||||
status: state.action,
|
||||
attachSwitch: state.docChecked ? 1 : -1,
|
||||
})
|
||||
@@ -2480,12 +2480,12 @@ export default {
|
||||
state.fileList.splice(index, 1);
|
||||
let str = JSON.stringify(state.fileList);
|
||||
//要编辑路径图
|
||||
editRoutered({
|
||||
editRouteredDoc({
|
||||
attach: str,
|
||||
name: state.styTitle,
|
||||
picUrl: state.picUrl,
|
||||
remark: state.remark,
|
||||
routerId: state.routerId,
|
||||
id: state.routerId,
|
||||
status: state.action,
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user