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
Show 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 {
...
@@ -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"
}
,
...
...
gassafetyprogress-web/src/views/regulation/gasuser/index.vue
View file @
d2853831
...
@@ -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" },
],
],
}
}
};
};
...
...
gassafetyprogress-web/src/views/regulation/info/index.vue
View file @
d2853831
...
@@ -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" },
],
],
}
}
};
};
...
...
gassafetyprogress-web/src/views/regulation/pipe/index.vue
View file @
d2853831
...
@@ -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" },
],
],
}
}
};
};
...
...
gassafetyprogress-web/src/views/regulation/supervise/index.vue
View file @
d2853831
...
@@ -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" },
],
],
}
}
};
};
...
...
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