diff --git a/src/views/DialogTabs/DialogConfig.js b/src/views/DialogTabs/DialogConfig.js index e8ccd92..999e7d3 100644 --- a/src/views/DialogTabs/DialogConfig.js +++ b/src/views/DialogTabs/DialogConfig.js @@ -57,6 +57,12 @@ content: markRaw(res_components['PS_ckzcsw']), name: 'PS_ckzcsw', }, + + { + title: '燃气安全应急响应预警发布', + content: markRaw(res_components['RQ_Warning']), + name: 'RQ_Warning', + }, ], }; diff --git a/src/views/DialogTabs/DialogConfig.js b/src/views/DialogTabs/DialogConfig.js index e8ccd92..999e7d3 100644 --- a/src/views/DialogTabs/DialogConfig.js +++ b/src/views/DialogTabs/DialogConfig.js @@ -57,6 +57,12 @@ content: markRaw(res_components['PS_ckzcsw']), name: 'PS_ckzcsw', }, + + { + title: '燃气安全应急响应预警发布', + content: markRaw(res_components['RQ_Warning']), + name: 'RQ_Warning', + }, ], }; diff --git a/src/views/DialogTabs/component/RQ_Warning.vue b/src/views/DialogTabs/component/RQ_Warning.vue new file mode 100644 index 0000000..e4ccf5d --- /dev/null +++ b/src/views/DialogTabs/component/RQ_Warning.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/src/views/DialogTabs/DialogConfig.js b/src/views/DialogTabs/DialogConfig.js index e8ccd92..999e7d3 100644 --- a/src/views/DialogTabs/DialogConfig.js +++ b/src/views/DialogTabs/DialogConfig.js @@ -57,6 +57,12 @@ content: markRaw(res_components['PS_ckzcsw']), name: 'PS_ckzcsw', }, + + { + title: '燃气安全应急响应预警发布', + content: markRaw(res_components['RQ_Warning']), + name: 'RQ_Warning', + }, ], }; diff --git a/src/views/DialogTabs/component/RQ_Warning.vue b/src/views/DialogTabs/component/RQ_Warning.vue new file mode 100644 index 0000000..e4ccf5d --- /dev/null +++ b/src/views/DialogTabs/component/RQ_Warning.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/src/views/oneMap/components/ZHRQ.vue b/src/views/oneMap/components/ZHRQ.vue index cb35a35..eea850d 100644 --- a/src/views/oneMap/components/ZHRQ.vue +++ b/src/views/oneMap/components/ZHRQ.vue @@ -173,6 +173,7 @@ +
发布预警
@@ -745,6 +746,15 @@ bus.emit('OpenRY'); }; +// 发布预警 +const WarningClick = item => { + let data = { + title: '发布预警', + comIDs: ['RQ_Warning'], + }; + bus.emit('publicDialog', data); +}; + watch( () => props.showPanel, () => { @@ -1476,5 +1486,24 @@ .color_red { color: #ff3f3f !important; } + .IssueWarning { + width: 40px; + height: 60px; + position: absolute; + bottom: 150px; + left: 1400px; + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 13px; + color: #ffffff; + text-align: center; + background: #003756; + border-radius: 28px; + border: 1px solid #53c6c9; + display: flex; + align-items: center; + cursor: pointer; + box-shadow: inset 0 0 5px 2px #47eef38a; + } }