diff --git a/src/api/indexLibrary.js b/src/api/indexLibrary.js deleted file mode 100644 index a5f8feb2..00000000 --- a/src/api/indexLibrary.js +++ /dev/null @@ -1,10 +0,0 @@ -import http from "./config"; - -// 获取模板库列表 -export const templateList = obj => http.post('/admin/project/template/list', obj); - -// 获取模板详情 -export const templateDetail = id => http.get(`/admin/project/template/detail?projectTemplateId=${id}`); - -// 操作模板(撤回,发布,删除) -export const templateHadle = obj => http.post(`/admin/project/template/handle`,obj); \ No newline at end of file diff --git a/src/api/indexTemplate.js b/src/api/indexTemplate.js index 713e349a..a9837852 100644 --- a/src/api/indexTemplate.js +++ b/src/api/indexTemplate.js @@ -14,4 +14,8 @@ export const moveTask = (obj) => http.post('/admin/project/template/moveTask',ob // 新建或编辑阶段 export const editStage = (obj) => http.post('/admin/project/template/editStage',obj); // 新建或编辑阶段任务 -export const editTask = (obj) => http.post('/admin/project/template/editTask',obj); \ No newline at end of file +export const editTask = (obj) => http.post('/admin/project/template/editTask',obj); +// 操作模板(撤回,发布,删除) +export const handleTemplates = (obj) => http.post('/admin/project/template/handle',obj); +// 模板库列表 +export const templateList = (obj) => http.post(`/admin/project/template/list`,obj); diff --git a/src/views/projectcenter/LibraryAdd.vue b/src/views/projectcenter/LibraryAdd.vue index 851e7e8e..09657694 100644 --- a/src/views/projectcenter/LibraryAdd.vue +++ b/src/views/projectcenter/LibraryAdd.vue @@ -5,11 +5,11 @@
-
管理者进阶-腾飞班1备份
+
{{projectInfo.name || '-'}}
-
项目经理:黄华、刘俊备份
+
项目经理:{{projectInfo.manager || '-'}}
- 起止时间:2022-09-21 00:00 至 2022-10-21 00:00 + 起止时间:{{projectInfo.beginTime || '-'}} 至 {{projectInfo.endTime || '-'}}
@@ -200,7 +200,7 @@ : 'none', }" > - +
- +
-
-
- 基本信息 - 编辑 -
-
-
-
-
模板名称:
-
- -
-
-
-
封面图:
-
- - - -
-
-
-
模板时间:
-
- -
-
-
-
项目经理:
-
- -
-
-
-
资源归属:
-
- -
-
-
-
模板说明:
-
- -
-
-
-
同步学习记录:
-
- 同步课程学习记录(如学员在课程库中拥有课程的学习记录,自动免修该课程) -
-
-
-
项目级别:
-
- -
-
-
-
培训分类:
-
- -
-
-
-
是否BOEU实施:
-
- BOEU实施 -
-
-
- 取消 - 保存 -
+
+
+ 基本信息 + 编辑 +
+
+
+
+
模板名称:
+
+
+
+
封面图:
+
+ + + + +
+
+
+
模板时间:
+
+ +
+
+
+
项目经理:
+
+ +
+
+
+
资源归属:
+
+ +
+
+
+
模板说明:
+
+ +
+
+
+
同步学习记录:
+
+ 同步课程学习记录(如学员在课程库中拥有课程的学习记录,自动免修该课程) +
+
+
+
项目级别:
+
+ +
+
+
+
培训分类:
+
+ +
+
+
+
是否BOEU实施:
+
+ BOEU实施 +
+
+
+ 取消 + 保存 +
+
+
-
-
-
-
-
-
上传共享文档
-
- -
-
-
- - 上传 - - -
- - 支持:pdf.ppt.pptx.doc.docx.xls.xlsx.jpeg.png.gif.zip - -
-
- - {{ - item.name - }} - 删除 -
+
+
+
+
+
+
上传共享文档
+
+
+
+ + 上传 + + +
+ + 支持:pdf.ppt.pptx.doc.docx.xls.xlsx.jpeg.png.gif.zip + +
+
+ + {{item.name}} + 删除 +
+
+
@@ -642,9 +590,9 @@