Commit 194e89f1 by YG8999

设备mac必填

parent d414072b
...@@ -346,6 +346,9 @@ export default { ...@@ -346,6 +346,9 @@ export default {
devId: [ devId: [
{ required: true, message: "设备ID不能为空", trigger: "blur" } { required: true, message: "设备ID不能为空", trigger: "blur" }
], ],
devMac: [
{ required: true, message: "设备mac不能为空", trigger: "blur" }
],
devName: [ devName: [
{required: true, message: "设备名称不能为空", trigger: "blur"} {required: true, message: "设备名称不能为空", trigger: "blur"}
], ],
......
...@@ -31,22 +31,22 @@ ...@@ -31,22 +31,22 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="门店名称" prop="storeName"> <!-- <el-form-item label="门店名称" prop="storeName">-->
<el-input <!-- <el-input-->
v-model="queryParams.storeName" <!-- v-model="queryParams.storeName"-->
placeholder="请输入门店名称" <!-- placeholder="请输入门店名称"-->
clearable <!-- clearable-->
@keyup.enter.native="handleQuery" <!-- @keyup.enter.native="handleQuery"-->
/> <!-- />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="房间名称" prop="roomName"> <!-- <el-form-item label="房间名称" prop="roomName">-->
<el-input <!-- <el-input-->
v-model="queryParams.roomName" <!-- v-model="queryParams.roomName"-->
placeholder="请输入房间名称" <!-- placeholder="请输入房间名称"-->
clearable <!-- clearable-->
@keyup.enter.native="handleQuery" <!-- @keyup.enter.native="handleQuery"-->
/> <!-- />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="是否异常" prop="isAbnormal"> <el-form-item label="是否异常" prop="isAbnormal">
<el-select v-model="queryParams.isAbnormal" placeholder="请选择"> <el-select v-model="queryParams.isAbnormal" placeholder="请选择">
......
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