|
@@ -82,10 +82,11 @@ const resetConfiguration = () => {
|
|
|
/**
|
|
|
* 报警详情
|
|
|
*/
|
|
|
-const handleOpenContent = async ({ id, category, reason:title }) => {
|
|
|
-
|
|
|
+const handleOpenContent = async (item) => {
|
|
|
+ const { id, category, reason:title, counts } = item;
|
|
|
if ( id == flowParams.warningId ) return;
|
|
|
|
|
|
+
|
|
|
flowParams.category = category;
|
|
|
flowParams.warningId = id;
|
|
|
flowParams.feedback = '';
|
|
@@ -229,6 +230,18 @@ const handleOpenContent = async ({ id, category, reason:title }) => {
|
|
|
warnKey: '报警值',
|
|
|
statusVal: !!warningActive.value ? '系统关闭' : basic['状态']
|
|
|
});
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 临时修改 - 后续需要删除
|
|
|
+ * */
|
|
|
+ textDataSources.value = {
|
|
|
+ ...textDataSources.value,
|
|
|
+ list: textDataSources.value.list.map(item => {
|
|
|
+ if (item.label === '持续时间') item.value = counts;
|
|
|
+ return item
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
jsTableData.value = [jsData];
|
|
|
csTableData.value = [csData];
|
|
|
|