mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
fix --模板
This commit is contained in:
@@ -4,4 +4,5 @@ export const ASSESSMENT_PAGE = '/assessment/queryAssessmentDetailList post';
|
|||||||
export const PROJECT_AUDIT_PAGE = '/admin/project/auditedlist post';
|
export const PROJECT_AUDIT_PAGE = '/admin/project/auditedlist post';
|
||||||
export const ROUTER_DETAIL_MODIFY = '/admin/router/routerInfoTemp post';
|
export const ROUTER_DETAIL_MODIFY = '/admin/router/routerInfoTemp post';
|
||||||
export const PROJECT_DETAIL_MODIFY = '/admin/project/projectInfoTemp post';
|
export const PROJECT_DETAIL_MODIFY = '/admin/project/projectInfoTemp post';
|
||||||
|
export const PROJECT_TEMPLATE_DETAIL_MODIFY = '/admin/project/template/editStageAndTask post';
|
||||||
export const PROJECT_RELEASE = '/admin/project/realease';
|
export const PROJECT_RELEASE = '/admin/project/realease';
|
||||||
@@ -2,23 +2,24 @@
|
|||||||
import http from "./config";
|
import http from "./config";
|
||||||
|
|
||||||
//编辑项目模板
|
//编辑项目模板
|
||||||
export const templateEdit = (obj) => http.post('/admin/project/template/edit',obj);
|
export const templateEdit = (obj) => http.post('/admin/project/template/edit', obj);
|
||||||
// 模板详情
|
// 模板详情
|
||||||
export const templateDetail = (id) => http.get(`/admin/project/template/detail?projectTemplateId=${id}`);
|
export const templateDetail = (id) => http.get(`/admin/project/template/detail?projectTemplateId=${id}`);
|
||||||
|
export const templateEditDetail = (id) => http.get(`/admin/project/template/detailEdit?projectTemplateId=${id}`);
|
||||||
// 删除阶段
|
// 删除阶段
|
||||||
export const deleteStage = (id) => http.delete(`/admin/project/template/deleteStage?stageId=${id}`);
|
export const deleteStage = (id) => http.delete(`/admin/project/template/deleteStage?stageId=${id}`);
|
||||||
//删除任务
|
//删除任务
|
||||||
export const deleteTask = (id) => http.delete(`/admin/project/template/deleteTask?projectTaskIds=${id}`);
|
export const deleteTask = (id) => http.delete(`/admin/project/template/deleteTask?projectTaskIds=${id}`);
|
||||||
// 移动任务到阶段
|
// 移动任务到阶段
|
||||||
export const moveTask = (obj) => http.post('/admin/project/template/moveTask',obj);
|
export const moveTask = (obj) => http.post('/admin/project/template/moveTask', obj);
|
||||||
// 新建或编辑阶段
|
// 新建或编辑阶段
|
||||||
export const editStage = (obj) => http.post('/admin/project/template/editStage',obj);
|
export const editStage = (obj) => http.post('/admin/project/template/editStage', obj);
|
||||||
// 新建或编辑阶段任务
|
// 新建或编辑阶段任务
|
||||||
export const editTask = (obj) => http.post('/admin/project/template/editTask',obj);
|
export const editTask = (obj) => http.post('/admin/project/template/editTask', obj);
|
||||||
// 操作模板(撤回,发布,删除)
|
// 操作模板(撤回,发布,删除)
|
||||||
export const handleTemplates = (obj) => http.post('/admin/project/template/handle',obj);
|
export const handleTemplates = (obj) => http.post('/admin/project/template/handle', obj);
|
||||||
// 模板库列表
|
// 模板库列表
|
||||||
export const templateList = (obj) => http.post(`/admin/project/template/list`,obj);
|
export const templateList = (obj) => http.post(`/admin/project/template/list`, obj);
|
||||||
// 发布项目公告
|
// 发布项目公告
|
||||||
export const publishNotice = (obj) => http.post(`/admin/project/template/publishNotice`,obj);
|
export const publishNotice = (obj) => http.post(`/admin/project/template/publishNotice`, obj);
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -283,8 +283,10 @@ export default defineComponent({
|
|||||||
getTableDate1()
|
getTableDate1()
|
||||||
};
|
};
|
||||||
const toLibraryAdd = (id) => {
|
const toLibraryAdd = (id) => {
|
||||||
router.push("/libraryAdd");
|
router.push({
|
||||||
localStorage.setItem("projectTemplateId", id);
|
path: "/libraryAdd",
|
||||||
|
query: {projectTemplateId: id}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user