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
f8bfeac2
Commit
f8bfeac2
authored
Aug 19, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管道新增时单选框默认值问题
parent
a1236e3c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
index.vue
gassafety-web/src/views/device/deviceInfo/index.vue
+2
-2
index.vue
gassafety-web/src/views/device/pipe/index.vue
+9
-2
No files found.
gassafety-web/src/views/device/deviceInfo/index.vue
View file @
f8bfeac2
...
@@ -371,7 +371,7 @@
...
@@ -371,7 +371,7 @@
iotNo
:
[
iotNo
:
[
{
required
:
true
,
message
:
"请输入物联网编号"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入物联网编号"
,
trigger
:
"blur"
},
],
],
/*
linkman: [
linkman
:
[
{
required
:
true
,
message
:
"请输入联系人"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请输入联系人"
,
trigger
:
"blur"
}
],
],
phone
:
[
phone
:
[
...
@@ -383,7 +383,7 @@
...
@@ -383,7 +383,7 @@
],
],
installationTime
:
[
installationTime
:
[
{
required
:
true
,
message
:
"请选择日期"
,
trigger
:
"change"
},
{
required
:
true
,
message
:
"请选择日期"
,
trigger
:
"change"
},
],
*/
],
}
}
};
};
},
},
...
...
gassafety-web/src/views/device/pipe/index.vue
View file @
f8bfeac2
...
@@ -332,12 +332,12 @@
...
@@ -332,12 +332,12 @@
coordinates
:
[
coordinates
:
[
{
required
:
true
,
message
:
"请选择管道坐标"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请选择管道坐标"
,
trigger
:
"blur"
},
],
],
/*
iconUrl: [
iconUrl
:
[
{
required
:
true
,
message
:
"请上传图片"
,
trigger
:
"change"
},
{
required
:
true
,
message
:
"请上传图片"
,
trigger
:
"change"
},
],
],
installationTime
:
[
installationTime
:
[
{
required
:
true
,
message
:
"请选择日期"
,
trigger
:
"change"
},
{
required
:
true
,
message
:
"请选择日期"
,
trigger
:
"change"
},
],
*/
],
}
}
};
};
},
},
...
@@ -422,6 +422,13 @@
...
@@ -422,6 +422,13 @@
/** 新增按钮操作 */
/** 新增按钮操作 */
handleAdd
()
{
handleAdd
()
{
this
.
reset
();
this
.
reset
();
this
.
form
=
{
pipeName
:
""
,
pipeType
:
"1"
,
pipePressure
:
"1"
,
iconUrl
:
""
,
coordinates
:
""
};
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"新增管道信息"
;
this
.
title
=
"新增管道信息"
;
},
},
...
...
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