智慧农业后台管理页面
guoshilong
2022-10-15 e89236fe9148c5f2ce97d1d103d8c2e671661cbe
src/views/task/task.vue
@@ -115,6 +115,7 @@
          {
            label: "任务名称",
            prop: "taskName",
            maxlength:200,
            rules: [{
              required: true,
              message: "请输入任务名称",
@@ -212,6 +213,7 @@
            row: true,
          },
          {
            editDisplay: false,
            label: "任务状态",
            addDisplay: false,
            type: "select",
@@ -273,6 +275,7 @@
            prop: "remark",
            type: "textarea",
            span: 24,
            maxlength:200,
          },
        ]
      },
@@ -414,6 +417,7 @@
            editDisplay: false,
            prop: "remark",
            type: "textarea",
            maxlength:200,
            span: 23,
          },
        ]
@@ -433,12 +437,14 @@
          {
            label: "任务名称",
            prop: "taskName",
            maxlength:200,
            disabled: true,
          },
          {
            label: "任务说明",
            prop: "taskExplain",
            type: "textarea",
            maxlength:200,
            span: 23,
            disabled: true,
          },
@@ -558,6 +564,7 @@
            editDisplay: false,
            prop: "remark",
            type: "textarea",
            maxlength:200,
            span: 23,
          },
        ]
@@ -653,9 +660,11 @@
        type: row.type
      };
      if (row.type === "0") {
        var tp = this.findObject(this.optionchuli.column, "tp");
      var tp = this.findObject(this.optionchuli.column, "tp");
      if (row.type == "0") {
        tp.display = true;
      }else {
        tp.display = false
      }
      this.gradeBoxVisiblechuli = true;
    },