Commit e7ce84b8 authored by 赵啸非's avatar 赵啸非

添加设备告警

parent 10ce3b8e
...@@ -35,7 +35,14 @@ export default { ...@@ -35,7 +35,14 @@ export default {
data() { data() {
return { return {
config: { config: {
search: [], search: [
{
name: "deviceType",
type: "select",
label: "设备类型",
},],
columns: [ columns: [
{ type: "selection", width: 60 }, { type: "selection", width: 60 },
{ type: "index", label: "序号", width: 50 }, { type: "index", label: "序号", width: 50 },
...@@ -46,9 +53,9 @@ export default { ...@@ -46,9 +53,9 @@ export default {
{ label: "设备类型", prop: "deviceType" }, { label: "设备类型", prop: "deviceType" },
{ label: "告警类型", prop: "alarmType", }, { label: "告警类型", prop: "alarmType", formatter:this.formatter },
{ label: "告警级别", prop: "alarmLevel", }, { label: "告警级别", prop: "alarmLevel", formatter:this.formatter },
{ label: "告警详细内容", prop: "alarmContent" }, { label: "告警详细内容", prop: "alarmContent" },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment