|
@@ -3,6 +3,7 @@ package com.jay.monitor.data.server.avue.template.rulePlatform;
|
|
|
import com.jay.monitor.data.server.controllers.AlertPlatformController;
|
|
|
import com.jay.monitor.data.server.enums.AlertMsgEnums;
|
|
|
import com.ruoyi.client.annotation.AVueConfig;
|
|
|
+import com.ruoyi.client.annotation.AVuePage;
|
|
|
import com.ruoyi.client.annotation.AVueRouteKey;
|
|
|
import com.ruoyi.client.annotation.AVueTableOption;
|
|
|
import com.ruoyi.client.annotation.column.*;
|
|
@@ -17,7 +18,8 @@ import java.util.Date;
|
|
|
* @date 2021/8/17 - 13:02
|
|
|
*/
|
|
|
@AVueRouteKey(groupKey = "alert-platform")
|
|
|
-@AVueTableOption(title = "告警平台配置管理", dialogDrag = true, pageRoot = "pageModel", pageData = "resultSet")
|
|
|
+@AVueTableOption(title = "告警平台配置管理", dialogDrag = true)
|
|
|
+@AVuePage(pageRoot = "pageModel", pageData = "resultSet")
|
|
|
@AVueConfig(list = AlertPlatformController.LIST_URL, update = AlertPlatformController.UPDATE_URL, save = AlertPlatformController.ADD_URL, del = AlertPlatformController.DEL_URL)
|
|
|
public class AlertPlatformAVueModel {
|
|
|
|
|
@@ -37,7 +39,7 @@ public class AlertPlatformAVueModel {
|
|
|
|
|
|
* 地址
|
|
|
*/
|
|
|
- @AVueTextarea(prop = "url", label = "第三方URL", row = true, required = true,hide = true)
|
|
|
+ @AVueTextarea(prop = "url", label = "第三方URL", row = true, required = true, hide = true)
|
|
|
private String url;
|
|
|
|
|
|
@AVueTextarea(prop = "remark", label = "备注")
|
|
@@ -45,7 +47,7 @@ public class AlertPlatformAVueModel {
|
|
|
|
|
|
* 拓展参数
|
|
|
*/
|
|
|
- @AVueJson(prop = "extJson", label = "拓展参数", labelTip = "请输入JSON类型的参数",hide = true)
|
|
|
+ @AVueJson(prop = "extJson", label = "拓展参数", labelTip = "请输入JSON类型的参数", hide = true)
|
|
|
private MapAVueModel extJson;
|
|
|
|
|
|
* 状态
|