@@ -2683,7 +2683,7 @@ export default {
}
if (value.record.parentId == "0") {
router.push({
- path: "/manage/projectadd",
+ path: "/projectadd",
query: {
projectId: value.record.projectId,
name: value.record.name,
@@ -2692,7 +2692,7 @@ export default {
} else {
if (value.record.isbj) {
router.push({
- path: "/manage/classadd",
+ path: "/classadd",
query: {
projectId: value.record.projectId,
name: value.record.paraentName,
@@ -2701,7 +2701,7 @@ export default {
});
} else {
router.push({
- path: "/manage/sonproject",
+ path: "/sonproject",
query: {
projectId: value.record.projectId,
name: value.record.paraentName,
@@ -2728,7 +2728,7 @@ export default {
// }
// if (value.record.parentId == "0") {
// router.push({
- // path: "/manage/projectadd",
+ // path: "/projectadd",
// query: {
// projectId: value.record.projectId,
// name: value.record.name,
@@ -2738,7 +2738,7 @@ export default {
// } else {
// if (value.record.isbj) {
// router.push({
- // path: "/manage/classadd",
+ // path: "/classadd",
// query: {
// projectId: value.record.projectId,
// name: value.record.paraentName,
@@ -2748,7 +2748,7 @@ export default {
// });
// } else {
// router.push({
- // path: "/manage/sonproject",
+ // path: "/sonproject",
// query: {
// projectId: value.record.projectId,
// name: value.record.paraentName,
@@ -2878,7 +2878,7 @@ export default {
{
router.push({
- path: "/manage/taskpage",
+ path: "/taskpage",
});
storage.set("projectId", value.record.projectId);
}}
@@ -2937,7 +2937,7 @@ export default {
{
router.push({
- path: "/manage/taskpage",
+ path: "/taskpage",
});
storage.set("projectId", value.record.projectId);
}}
@@ -2984,7 +2984,7 @@ export default {
{
router.push({
- path: "/manage/taskpage",
+ path: "/taskpage",
});
storage.set("projectId", value.record.projectId);
}}
@@ -2992,7 +2992,7 @@ export default {
基础信息
{/**
-
基础信息
+
基础信息
*/}
diff --git a/src/views/projectcenter/SonProject.vue b/src/views/projectcenter/SonProject.vue
index 7b1dfa20..d09e7be9 100644
--- a/src/views/projectcenter/SonProject.vue
+++ b/src/views/projectcenter/SonProject.vue
@@ -6,7 +6,7 @@
返回
@@ -408,7 +408,7 @@ export default {
if (routers.query.name == undefined) {
router.push({
- path: "/manage/projectmanage",
+ path: "/projectmanage",
});
}
@@ -481,7 +481,7 @@ export default {
const backPage = () => {
setTimeout(() => {
router.push({
- path: "/manage/projectmanage",
+ path: "/projectmanage",
});
}, 400);
};
@@ -800,7 +800,7 @@ export default {
message.success("编辑成功");
setTimeout(() => {
router.push({
- path: "/manage/projectmanage",
+ path: "/projectmanage",
});
}, 1000);
} else {
@@ -855,7 +855,7 @@ export default {
message.success("创建成功");
setTimeout(() => {
router.push({
- path: "/manage/taskpage",
+ path: "/taskpage",
query: { id: res.data.data.projectId },
});
}, 1000);
diff --git a/src/views/projectcenter/TaskAdd.vue b/src/views/projectcenter/TaskAdd.vue
index 831dad0c..9ee429ee 100644
--- a/src/views/projectcenter/TaskAdd.vue
+++ b/src/views/projectcenter/TaskAdd.vue
@@ -149,7 +149,7 @@
-
+
-
+
返回
@@ -321,8 +321,8 @@
-
-
@@ -3260,7 +3264,7 @@ export default {
let luj = info.attach;
console.log("lulj", luj);
console.log("赚回来", JSON.parse(luj));
- state.fileList = JSON.parse(luj)
+ state.fileList = JSON.parse(luj);
// state.fileList = luj
}
});
@@ -3379,9 +3383,9 @@ export default {
// // list.push(JSON.stringify(item))
// state.fileList.push(item)
// });
-
- state.fileList.push(info.file)
- list = state.fileList
+
+ state.fileList.push(info.file);
+ list = state.fileList;
console.log("list", list);
// let str = list.join(",");
let str = JSON.stringify(list);
@@ -3431,7 +3435,7 @@ export default {
const toEdit = () => {
if (state.parentId == "0") {
routered.push({
- path: "/manage/projectadd",
+ path: "/projectadd",
query: {
projectId: state.projectId,
name: state.name,
@@ -3440,7 +3444,7 @@ export default {
} else {
if (state.isbj !== null) {
routered.push({
- path: "/manage/classadd",
+ path: "/classadd",
query: {
projectId: state.projectId,
// name: state.paraentName,
@@ -3450,7 +3454,7 @@ export default {
});
} else {
routered.push({
- path: "/manage/sonproject",
+ path: "/sonproject",
query: {
projectId: state.projectId,
name: state.name,
@@ -3608,45 +3612,47 @@ export default {
});
};
//删除文件
- const deFile=(id)=>{
- console.log(id)
- let index = state.fileList.findIndex(item=>{item.uid==id})
- state.fileList.splice(index,1)
- let str = JSON.stringify(state.fileList)
+ const deFile = (id) => {
+ console.log(id);
+ let index = state.fileList.findIndex((item) => {
+ item.uid == id;
+ });
+ state.fileList.splice(index, 1);
+ let str = JSON.stringify(state.fileList);
editProj({
- attach: str,
- beginTime: state.tstartTime.slice(0, 10),
- // beginTime:1668643200,
- boeFlag: state.boeFlag,
- category: state.category,
- courseSyncFlag: state.courseSyncFlag,
- endTime: state.tendTime.slice(0, 10),
- // endTime: 1668816000,
- level: state.tlevel,
- manager: state.manager,
- managerId: state.managerId,
- name: state.name,
- notice: state.notice,
- noticeFlag: state.noticeFlag,
- parentId: state.parentId,
- picUrl: state.picUrl,
- projectId: state.projectId,
- remark: state.remark,
- sourceBelongId: Number(state.tsourceBelong),
- status: state.status,
- systemId: state.tsystemId,
- templateId: state.templateId || 0,
- type: state.type,
+ attach: str,
+ beginTime: state.tstartTime.slice(0, 10),
+ // beginTime:1668643200,
+ boeFlag: state.boeFlag,
+ category: state.category,
+ courseSyncFlag: state.courseSyncFlag,
+ endTime: state.tendTime.slice(0, 10),
+ // endTime: 1668816000,
+ level: state.tlevel,
+ manager: state.manager,
+ managerId: state.managerId,
+ name: state.name,
+ notice: state.notice,
+ noticeFlag: state.noticeFlag,
+ parentId: state.parentId,
+ picUrl: state.picUrl,
+ projectId: state.projectId,
+ remark: state.remark,
+ sourceBelongId: Number(state.tsourceBelong),
+ status: state.status,
+ systemId: state.tsystemId,
+ templateId: state.templateId || 0,
+ type: state.type,
+ })
+ .then((res) => {
+ console.log("上传成功", res);
+ message.destroy();
+ return message.success("删除成功");
})
- .then((res) => {
- console.log("上传成功", res);
- message.destroy()
- return message.success("删除成功")
- })
- .catch((err) => {
- console.log("上传失败了", err);
- });
- }
+ .catch((err) => {
+ console.log("上传失败了", err);
+ });
+ };
onMounted(() => {
getStu();
getTaskList();
diff --git a/src/views/projectcenter/TemplateLibrary.vue b/src/views/projectcenter/TemplateLibrary.vue
index a809d8ee..840388e6 100644
--- a/src/views/projectcenter/TemplateLibrary.vue
+++ b/src/views/projectcenter/TemplateLibrary.vue
@@ -138,7 +138,7 @@ export default defineComponent({
{value.status === "已发布" ? (
-
+
查看{" "}
|
@@ -179,7 +179,7 @@ export default defineComponent({
-
+
查看
|
diff --git a/src/views/projectcenter/templateAdd.vue b/src/views/projectcenter/templateAdd.vue
index a7201aea..60bc59ee 100644
--- a/src/views/projectcenter/templateAdd.vue
+++ b/src/views/projectcenter/templateAdd.vue
@@ -6,7 +6,7 @@
返回
@@ -501,7 +501,7 @@ export default {
storage.remove("projectAddId");
setTimeout(() => {
router.push({
- path: "/manage/libraryAdd",
+ path: "/libraryAdd",
});
}, 400);
};
@@ -950,7 +950,7 @@ export default {
message.success("编辑成功");
setTimeout(() => {
router.push({
- path: "/manage/projectmanage",
+ path: "/projectmanage",
});
}, 1000);
} else {
@@ -1005,7 +1005,7 @@ export default {
message.success("创建成功");
setTimeout(() => {
router.push({
- path: "/manage/taskpage",
+ path: "/taskpage",
query: { id: res.data.data.projectId },
});
}, 1000);
diff --git a/src/views/research/ManagePage.vue b/src/views/research/ManagePage.vue
index 3008b51f..dd7aec0e 100644
--- a/src/views/research/ManagePage.vue
+++ b/src/views/research/ManagePage.vue
@@ -10,9 +10,9 @@
导出信息
-
+
-
+
返回
diff --git a/src/views/research/ResearchAdd copy.vue b/src/views/research/ResearchAdd copy.vue
index a8593eed..a9a6c462 100644
--- a/src/views/research/ResearchAdd copy.vue
+++ b/src/views/research/ResearchAdd copy.vue
@@ -3,9 +3,9 @@