mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26: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';
|
||||||
@@ -5,6 +5,7 @@ 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}`);
|
||||||
//删除任务
|
//删除任务
|
||||||
|
|||||||
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