mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
fix:更新调试项目、学习路径图共享文档编辑
This commit is contained in:
@@ -2175,7 +2175,7 @@ import {
|
||||
import { message, Modal } from "ant-design-vue";
|
||||
import * as apitl from "../../api/index";
|
||||
import { getTask } from "../../api/indexTaskadd";
|
||||
import { editProj } from "../../api/indexTaskadd";
|
||||
import { editProjDoc } from "../../api/indexTaskadd";
|
||||
import { toDate } from "../../api/method";
|
||||
import projSet from "../../components/Modals/projSet";
|
||||
import { overview } from "../../api/indexProjStu";
|
||||
@@ -4213,7 +4213,7 @@ export default {
|
||||
state.docChecked = data;
|
||||
state.switchopen = data;
|
||||
// 更新开关状态
|
||||
editProj({
|
||||
editProjDoc({
|
||||
attachSwitch: state.switchopen ? 1 : -1,
|
||||
boeFlag: state.boeFlag,
|
||||
category: state.category,
|
||||
@@ -4275,7 +4275,7 @@ export default {
|
||||
templateId: state.templateId || 0,
|
||||
type: state.type,
|
||||
});
|
||||
editProj({
|
||||
editProjDoc({
|
||||
attachSwitch: state.switchopen ? 1 : -1,
|
||||
attach: str,
|
||||
boeFlag: state.boeFlag,
|
||||
@@ -4548,7 +4548,7 @@ export default {
|
||||
});
|
||||
state.fileList.splice(index, 1);
|
||||
let str = JSON.stringify(state.fileList);
|
||||
editProj({
|
||||
editProjDoc({
|
||||
attach: str,
|
||||
beginTime: state.tstartTime.slice(0, 10),
|
||||
// beginTime:1668643200,
|
||||
|
||||
Reference in New Issue
Block a user