Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
Commits
23ea46a4
Commit
23ea46a4
authored
Sep 08, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备信息管理新增修改添加所属管道校验
parent
30f5947b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
flowMeter.vue
gassafety-web/src/components/PopWindow/flowMeter.vue
+0
-2
index.vue
gassafety-web/src/views/device/deviceInfo/index.vue
+3
-0
index.vue
gassafety-web/src/views/device/deviceInfoDetail/index.vue
+5
-2
No files found.
gassafety-web/src/components/PopWindow/flowMeter.vue
View file @
23ea46a4
...
...
@@ -156,8 +156,6 @@ export default {
type
:
DEVICE_TYPE
.
FLOWMETER
,
dialogVisible
:
false
,
fileList
:
[],
// 表单校验
rules
:
{},
map
:
null
,
obj
:
null
,
gaoMap
:
null
,
...
...
gassafety-web/src/views/device/deviceInfo/index.vue
View file @
23ea46a4
...
...
@@ -353,6 +353,9 @@
form
:
{},
// 表单校验
rules
:
{
pipeId
:
[
{
required
:
true
,
message
:
"请选择所属管道"
,
trigger
:
"blur"
},
],
deviceType
:
[
{
required
:
true
,
message
:
"请选择设备类型"
,
trigger
:
"blur"
},
],
...
...
gassafety-web/src/views/device/deviceInfoDetail/index.vue
View file @
23ea46a4
...
...
@@ -251,6 +251,9 @@
editForm
:
{},
// 表单校验
rules
:
{
pipeId
:
[
{
required
:
true
,
message
:
"请选择所属管道"
,
trigger
:
"blur"
},
],
deviceType
:
[
{
required
:
true
,
message
:
"请选择设备类型"
,
trigger
:
"blur"
},
],
...
...
@@ -291,7 +294,7 @@
created
()
{
// 如果是跳转来的,则接受初始化参数
this
.
deviceId
=
this
.
$route
.
query
.
deviceId
;
this
.
getDicts
(
"t_device_type"
).
then
(
response
=>
{
this
.
typeOptions
=
response
.
data
;
});
...
...
@@ -459,4 +462,4 @@
font-size
:
15px
;
font-weight
:
900
;
}
</
style
>
\ No newline at end of file
</
style
>
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