fuchengshen
2022-06-24 0924fcc06ead4d10ea5d0d579c8224850a0f37a4
src/cool/modules/hntask/views/periodic_task.vue
@@ -54,6 +54,20 @@
               required: true
            },
            {
               label: "任务指令",
               prop: "task_command",
               component: {
                  name: "el-input"
               }
            },
            {
               label: "任务内容描述",
               prop: "task_content",
               component: {
                  name: "el-input"
               }
            },
            {
               prop: "task_type",
               value: 1,
               label: "任务类型",
@@ -104,7 +118,17 @@
               label: "状态",
               prop: "status",
               component: {
                  name: "el-input"
                  name: "el-radio-group",
                  options: [
                     {
                        label: "未启用",
                        value: 0
                     },
                     {
                        label: "启用",
                        value: 1
                     }
                  ]
               }
            }
         ]
@@ -161,6 +185,14 @@
               width: 100
            },
            {
               label: "任务指令",
               prop: "task_command"
            },
            {
               label: "任务内容描述",
               prop: "task_content"
            },
            {
               label: "设备分组ID",
               prop: "group_id"
            },
@@ -174,7 +206,28 @@
            },
            {
               label: "状态",
               prop: "status"
               prop: "status",
               dict: [
                  {
                     label: "停用",
                     value: 0,
                     type: "info" //success  warning  danger  info可选
                  },
                  {
                     label: "启用",
                     value: 1
                  }
               ],
               filters: [
                  {
                     text: "停用",
                     value: 0
                  },
                  {
                     text: "启用",
                     value: 1
                  }
               ]
            },
            {
               label: "操作",