Commit d2853831 authored by wuqinghua's avatar wuqinghua

2022-2-22 吴卿华 取消长度限制

parent 200e06d6
...@@ -564,19 +564,19 @@ export default { ...@@ -564,19 +564,19 @@ export default {
rules: { rules: {
deviceName: [ deviceName: [
{ required: true, message: "请输入设备名称", trigger: "blur" }, { required: true, message: "请输入设备名称", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
deviceCode: [ deviceCode: [
{ required: true, message: "请输入设备编号", trigger: "blur" }, { required: true, message: "请输入设备编号", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
deviceAddr: [ deviceAddr: [
{ required: true, message: "请输入所在地址", trigger: "blur" }, { required: true, message: "请输入所在地址", trigger: "blur" },
{ min: 0, max: 30, message: "长度30位", trigger: "blur" }, // { min: 0, max: 30, message: "长度30位", trigger: "blur" },
], ],
deviceModel: [ deviceModel: [
{ required: true, message: "请输入设备型号", trigger: "blur" }, { required: true, message: "请输入设备型号", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
deviceType: [ deviceType: [
{ required: true, message: "请选择设备类型", trigger: "blur" }, { required: true, message: "请选择设备类型", trigger: "blur" },
......
...@@ -272,18 +272,18 @@ export default { ...@@ -272,18 +272,18 @@ export default {
rules: { rules: {
username: [ username: [
{ required: true, message: "请输入用户账号", trigger: "blur" }, { required: true, message: "请输入用户账号", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
nickName: [ nickName: [
{ required: true, message: "请输入用户名称", trigger: "blur" }, { required: true, message: "请输入用户名称", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
userType: [ userType: [
{ required: true, message: "请选择用户类型", trigger: "blur" }, { required: true, message: "请选择用户类型", trigger: "blur" },
], ],
address: [ address: [
{ required: true, message: "请输入地址", trigger: "blur" }, { required: true, message: "请输入地址", trigger: "blur" },
{ min: 0, max: 30, message: "长度30位", trigger: "blur" }, // { min: 0, max: 30, message: "长度30位", trigger: "blur" },
], ],
} }
}; };
......
...@@ -237,15 +237,15 @@ export default { ...@@ -237,15 +237,15 @@ export default {
rules: { rules: {
enterpriseName: [ enterpriseName: [
{ required: true, message: "请输入企业名称", trigger: "blur" }, { required: true, message: "请输入企业名称", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
registerAddress: [ registerAddress: [
{ required: true, message: "请输入注册地址", trigger: "blur" }, { required: true, message: "请输入注册地址", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
legalRepresentative: [ legalRepresentative: [
{ required: true, message: "请输入法定代表人", trigger: "blur" }, { required: true, message: "请输入法定代表人", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
} }
}; };
......
...@@ -317,26 +317,26 @@ export default { ...@@ -317,26 +317,26 @@ export default {
rules: { rules: {
pipeLength: [ pipeLength: [
{ required: true, message: "请输入管道长度", trigger: "blur" }, { required: true, message: "请输入管道长度", trigger: "blur" },
{ min: 0, max: 10, message: "长度10位", trigger: "blur" }, // { min: 0, max: 10, message: "长度10位", trigger: "blur" },
], ],
pipeDiameter: [ pipeDiameter: [
{ required: true, message: "请输入管径", trigger: "blur" }, { required: true, message: "请输入管径", trigger: "blur" },
{ min: 0, max: 15, message: "长度15位", trigger: "blur" }, // { min: 0, max: 15, message: "长度15位", trigger: "blur" },
], ],
pipePressure: [ pipePressure: [
{ required: true, message: "请输入压力", trigger: "blur" }, { required: true, message: "请输入压力", trigger: "blur" },
{ min: 0, max: 10, message: "长度10位", trigger: "blur" }, // { min: 0, max: 10, message: "长度10位", trigger: "blur" },
], ],
buildDate: [ buildDate: [
{ required: true, message: "请选择建设年代", trigger: "blur" }, { required: true, message: "请选择建设年代", trigger: "blur" },
], ],
pipeMaterial: [ pipeMaterial: [
{ required: true, message: "请输入材质", trigger: "blur" }, { required: true, message: "请输入材质", trigger: "blur" },
{ min: 0, max: 10, message: "长度10位", trigger: "blur" }, // { min: 0, max: 10, message: "长度10位", trigger: "blur" },
], ],
buriedDepth:[ buriedDepth:[
{ required: true, message: "请输入埋深", trigger: "blur" }, { required: true, message: "请输入埋深", trigger: "blur" },
{ min: 0, max: 10, message: "长度10位", trigger: "blur" }, // { min: 0, max: 10, message: "长度10位", trigger: "blur" },
], ],
} }
}; };
......
...@@ -254,14 +254,14 @@ export default { ...@@ -254,14 +254,14 @@ export default {
rules: { rules: {
employedPeopleName: [ employedPeopleName: [
{ required: true, message: "请输入姓名", trigger: "blur" }, { required: true, message: "请输入姓名", trigger: "blur" },
{ min: 0, max: 10, message: "长度10位", trigger: "blur" }, // { min: 0, max: 10, message: "长度10位", trigger: "blur" },
], ],
beyondEnterpriseId: [ beyondEnterpriseId: [
{ required: true, message: "请选择受聘企业名称", trigger: "blur" }, { required: true, message: "请选择受聘企业名称", trigger: "blur" },
], ],
idCard: [ idCard: [
{ required: true, message: "请输入身份证号", trigger: "blur" }, { required: true, message: "请输入身份证号", trigger: "blur" },
{ min: 0, max: 20, message: "长度20位", trigger: "blur" }, // { min: 0, max: 20, message: "长度20位", trigger: "blur" },
], ],
} }
}; };
......
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