diff --git a/ruoyi-ui/src/api/commandDispatch/index.js b/ruoyi-ui/src/api/commandDispatch/index.js index 3f85b074..970ec5e0 100644 --- a/ruoyi-ui/src/api/commandDispatch/index.js +++ b/ruoyi-ui/src/api/commandDispatch/index.js @@ -141,3 +141,19 @@ export function importantFileStatus(eventId) { method: "get", }); } + +// 事件预案详情 +export function eventDetails(assocId) { + return request({ + url: `/business/plans/event/assocId/${assocId}`, + method: "get", + }); +} + +// 获取重要文件内容详情 +export function getEventImportantFileDetails(id) { + return request({ + url: `/business/eventImportantFile/${id}`, + method: "get", + }); +} diff --git a/ruoyi-ui/src/components/eventDialogTable/eventDialog.vue b/ruoyi-ui/src/components/eventDialogTable/eventDialog.vue index 95c5ac8b..6d6452a8 100644 --- a/ruoyi-ui/src/components/eventDialogTable/eventDialog.vue +++ b/ruoyi-ui/src/components/eventDialogTable/eventDialog.vue @@ -561,7 +561,9 @@
-
复核提交
+
+ 复核提交 +
- - -
+ 详情 +
+
+ {{ item.deviceName }}: + {{ item.content }} +
+
+ +
+ 详情 +
+ +
+
+
+

+ 重要事件 +

+

+ 报送单位: + {{ formFileData.fromDept }}报送时间:{{ formFileData.createTime }} +

+

+ —————————————————— +

+

+ {{ formFileData.title }} +

+

+ 智慧管理中心: +

+ + +

+

+

+ —————————————————— +

+

+ 填报人:{{ formFileData.createName }} + 联系电话:{{ formFileData.phoneNumber }} + 签发人:{{ formFileData.issued }} +

+
+
+ +
+
+
@@ -99,4 +376,40 @@ export default { line-height: 19px; } } +.videoClass { + width: 300px; + height: 180px; +} +.docx-wrapper { + background: #fff; + padding: 30px; + display: flex; + flex-flow: column; + align-items: center; + > section.docx { + background: white; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); + margin-bottom: 30px; + } + .docx p, + p.docx_1 span { + font-family: var(--docx-minorHAnsi-font); + color: #00000a; + min-height: 11pt; + font-size: 11pt; + } + button { + cursor: pointer; + width: 100px; + height: 35px; + line-height: 35px; + color: #fff; + background: #00b3cc; + border-radius: 48px; + display: flex; + justify-content: center; + align-items: center; + border: none; + } +} diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastReleases.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastReleases.vue index 6bd999ca..b8ce4ed6 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastReleases.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastReleases.vue @@ -10,28 +10,65 @@ - -
-
-
-
+
+
+
- -
-
+ + + + + + + + 取值范围 1 - 9 + + + + + + + + 取值范围 1 - 16 + + + + + + + + + + + + + + + + + + + + + + + + + @@ -46,7 +83,7 @@ import request from "@/utils/request"; import { getDeviceList } from "@screen/pages/Home/components/RoadAndEvents/utils/httpList.js"; import { Message } from "element-ui"; - +import { broadcastPriority } from "@screen/utils/enum.js"; export default { name: "BroadcastReleases", components: { @@ -67,10 +104,25 @@ export default { }, data() { return { + broadcastPriority, submitting: false, checkList: [], - releaseMessage: null, + dataForm: { + content:"", + priority:"1", + repeatTimes:3, + outVol:6 + }, musicList: [], + dataRule: { + content: [ + { + required: true, + message: "请输入详细内容", + trigger: "blur", + }, + ] + }, }; }, computed: { @@ -94,7 +146,7 @@ export default { }, methods: { handleSubmit() { - if (!this.releaseMessage?.trim()) + if (!this.dataForm.content?.trim()) return Message.error("发布内容不能为空!"); if (!this.checkList.length) return Message.error("请至少选择一个广播设备!"); @@ -113,12 +165,11 @@ export default { "functionId": "A1", "params": { "name": "task-3", - "outVol": "6", - "priority": "1", - "text": "山东高速欢迎您", - "repeatTimes": "3", + "outVol": "" + this.dataForm.outVol, + "priority": "" + this.dataForm.priority, + "text": this.dataForm.content.trim(), + "repeatTimes": "" + this.dataForm.repeatTimes, "termList": [ - { ...JSON.parse(i) } @@ -157,7 +208,7 @@ export default {