瀏覽代碼

[Feat 0000] 测点页面-测点在成功添加/编辑后刷新内嵌的测点模块

houzekong 1 年之前
父節點
當前提交
71cde7cef7
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/views/vent/monitor/site/index.vue

+ 5 - 0
src/views/vent/monitor/site/index.vue

@@ -89,6 +89,11 @@
   function handleSave(formData: SaveMonitorSiteParams) {
   function handleSave(formData: SaveMonitorSiteParams) {
     saveMonitorSite(formData).then(() => {
     saveMonitorSite(formData).then(() => {
       notification.success({ message: '保存成功' });
       notification.success({ message: '保存成功' });
+      // 成功保存后刷新
+      postMonitorOperation(iframeRef.value!, {
+        clickType: 'refreshPoint',
+        from: 'tank',
+      });
     });
     });
   }
   }