Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
gassafety-progress
Commits
d2853831
Commit
d2853831
authored
Feb 22, 2022
by
wuqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022-2-22 吴卿华 取消长度限制
parent
200e06d6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
17 deletions
+17
-17
index.vue
gassafetyprogress-web/src/views/regulation/device/index.vue
+4
-4
index.vue
gassafetyprogress-web/src/views/regulation/gasuser/index.vue
+3
-3
index.vue
gassafetyprogress-web/src/views/regulation/info/index.vue
+3
-3
index.vue
gassafetyprogress-web/src/views/regulation/pipe/index.vue
+5
-5
index.vue
...fetyprogress-web/src/views/regulation/supervise/index.vue
+2
-2
No files found.
gassafetyprogress-web/src/views/regulation/device/index.vue
View file @
d2853831
...
...
@@ -564,19 +564,19 @@ export default {
rules
:
{
deviceName
:
[
{
required
:
true
,
message
:
"请输入设备名称"
,
trigger
:
"blur"
}
,
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
//
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
],
deviceCode
:
[
{
required
:
true
,
message
:
"请输入设备编号"
,
trigger
:
"blur"
}
,
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
//
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
],
deviceAddr
:
[
{
required
:
true
,
message
:
"请输入所在地址"
,
trigger
:
"blur"
}
,
{
min
:
0
,
max
:
30
,
message
:
"长度30位"
,
trigger
:
"blur"
}
,
//
{
min
:
0
,
max
:
30
,
message
:
"长度30位"
,
trigger
:
"blur"
}
,
],
deviceModel
:
[
{
required
:
true
,
message
:
"请输入设备型号"
,
trigger
:
"blur"
}
,
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
//
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
],
deviceType
:
[
{
required
:
true
,
message
:
"请选择设备类型"
,
trigger
:
"blur"
}
,
...
...
gassafetyprogress-web/src/views/regulation/gasuser/index.vue
View file @
d2853831
...
...
@@ -272,18 +272,18 @@ export default {
rules
:
{
username
:
[
{
required
:
true
,
message
:
"请输入用户账号"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
nickName
:
[
{
required
:
true
,
message
:
"请输入用户名称"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
userType
:
[
{
required
:
true
,
message
:
"请选择用户类型"
,
trigger
:
"blur"
},
],
address
:
[
{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
30
,
message
:
"长度30位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 30, message: "长度30位", trigger: "blur" },
],
}
};
...
...
gassafetyprogress-web/src/views/regulation/info/index.vue
View file @
d2853831
...
...
@@ -237,15 +237,15 @@ export default {
rules
:
{
enterpriseName
:
[
{
required
:
true
,
message
:
"请输入企业名称"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
registerAddress
:
[
{
required
:
true
,
message
:
"请输入注册地址"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
legalRepresentative
:
[
{
required
:
true
,
message
:
"请输入法定代表人"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
}
};
...
...
gassafetyprogress-web/src/views/regulation/pipe/index.vue
View file @
d2853831
...
...
@@ -317,26 +317,26 @@ export default {
rules
:
{
pipeLength
:
[
{
required
:
true
,
message
:
"请输入管道长度"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
pipeDiameter
:
[
{
required
:
true
,
message
:
"请输入管径"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
15
,
message
:
"长度15位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 15, message: "长度15位", trigger: "blur" },
],
pipePressure
:
[
{
required
:
true
,
message
:
"请输入压力"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
buildDate
:
[
{
required
:
true
,
message
:
"请选择建设年代"
,
trigger
:
"blur"
},
],
pipeMaterial
:
[
{
required
:
true
,
message
:
"请输入材质"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
buriedDepth
:[
{
required
:
true
,
message
:
"请输入埋深"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
}
};
...
...
gassafetyprogress-web/src/views/regulation/supervise/index.vue
View file @
d2853831
...
...
@@ -254,14 +254,14 @@ export default {
rules
:
{
employedPeopleName
:
[
{
required
:
true
,
message
:
"请输入姓名"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
beyondEnterpriseId
:
[
{
required
:
true
,
message
:
"请选择受聘企业名称"
,
trigger
:
"blur"
},
],
idCard
:
[
{
required
:
true
,
message
:
"请输入身份证号"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment