浏览代码

feat: 放开告警用户,修改警告弹窗时间

dzx 1 周之前
父节点
当前提交
7110e5d675
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      src/components/Notification/Notification.vue
  2. 4 4
      src/views/iot/device/device-edit.vue

+ 1 - 1
src/components/Notification/Notification.vue

@@ -34,7 +34,7 @@ export default {
                     }
                     this.autoClose = setTimeout(() => {
                         this.closeAlert();
-                    }, 2000);
+                    }, 100000);
                 }
             },
         },

+ 4 - 4
src/views/iot/device/device-edit.vue

@@ -233,10 +233,10 @@
                 </el-tab-pane>
 
 <!--              告警用户-->
-<!--                <el-tab-pane name="alertUser" v-hasPermi="['iot:device:alert:user:list']" :disabled="form.deviceId == 0" v-if="form.deviceType !== 3">-->
-<!--                    <span slot="label">{{ $t('device.device-edit.148398-80') }}</span>-->
-<!--                    <alert-user ref="alertUser" :device="form" />-->
-<!--                </el-tab-pane>-->
+                <el-tab-pane name="alertUser" v-hasPermi="['iot:device:alert:user:list']" :disabled="form.deviceId == 0" v-if="form.deviceType !== 3">
+                    <span slot="label">{{ $t('device.device-edit.148398-80') }}</span>
+                    <alert-user ref="alertUser" :device="form" />
+                </el-tab-pane>
 
 <!--              视频监控-->
 <!--                <el-tab-pane name="inlineVideo" :disabled="form.deviceId == 0" v-if="form.deviceType !== 3" lazy>-->