Commit f8bfeac2 authored by 王晓倩's avatar 王晓倩

管道新增时单选框默认值问题

parent a1236e3c
......@@ -371,7 +371,7 @@
iotNo: [
{ required: true, message: "请输入物联网编号", trigger: "blur" },
],
/*linkman: [
linkman: [
{ required: true, message: "请输入联系人", trigger: "blur" }
],
phone: [
......@@ -383,7 +383,7 @@
],
installationTime: [
{ required: true, message: "请选择日期", trigger: "change" },
],*/
],
}
};
},
......
......@@ -332,12 +332,12 @@
coordinates: [
{ required: true, message: "请选择管道坐标", trigger: "blur" },
],
/*iconUrl: [
iconUrl: [
{ required: true, message: "请上传图片", trigger: "change" },
],
installationTime: [
{ required: true, message: "请选择日期", trigger: "change" },
],*/
],
}
};
},
......@@ -422,6 +422,13 @@
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.form={
pipeName: "",
pipeType: "1",
pipePressure: "1",
iconUrl: "",
coordinates: ""
};
this.open = true;
this.title = "新增管道信息";
},
......
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