diff --git a/ruoyi-ui/src/api/commandDispatch/index.js b/ruoyi-ui/src/api/commandDispatch/index.js index f240d74d..3f85b074 100644 --- a/ruoyi-ui/src/api/commandDispatch/index.js +++ b/ruoyi-ui/src/api/commandDispatch/index.js @@ -99,7 +99,7 @@ export function addEventImportantFile(data) { }); } -// 新增重要事件文件内容 +// 修改重要事件文件内容 export function editEventImportantFile(data) { return request({ url: "/business/eventImportantFile", @@ -120,7 +120,24 @@ export function downloadEventImportantFile(data) { // 无分页查询事件列表 export function deventImportantFileList(eventId, type) { return request({ - url: `/business/eventImportantFile/list/?eventId=${eventId}/&type=${type}`, + url: `/business/eventImportantFile/list/?eventId=${eventId}&type=${type}`, + method: "get", + }); +} + +// 生成重要事件文件内容 +export function getEventImportantFile(data) { + return request({ + url: `/business/eventImportantFile/generate`, + method: "post", + data, + }); +} + +// 生成重要事件文件内容 +export function importantFileStatus(eventId) { + return request({ + url: `/business/eventImportantFile/getImportantFileStatus/${eventId}`, method: "get", }); } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue index 6db2d81a..f6658ae0 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue @@ -12,11 +12,6 @@ labelWidth="120px" /> - 上报侧重要素
-