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
52e0f184
Commit
52e0f184
authored
Feb 12, 2022
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验信息提示修改
parent
e9348f82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
index.vue
...afetyprogress-web/src/views/standingBook/hidden/index.vue
+4
-1
index.vue
...fetyprogress-web/src/views/standingBook/trouble/index.vue
+4
-0
No files found.
gassafetyprogress-web/src/views/standingBook/hidden/index.vue
View file @
52e0f184
...
...
@@ -312,7 +312,7 @@ export default {
{
required
:
true
,
message
:
"请输入隐患内容"
,
trigger
:
"blur"
},
],
hiddenLocation
:
[
{
required
:
true
,
message
:
"请输入
经纬度
"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入
隐患位置
"
,
trigger
:
"blur"
},
],
longitude
:
[
{
required
:
true
,
message
:
"请输入经纬度"
,
trigger
:
"blur"
},
...
...
@@ -350,6 +350,7 @@ export default {
this
.
open
=
false
;
this
.
reset
();
this
.
fileList
=
[];
this
.
devicePos
=
[];
},
// 表单重置
reset
()
{
...
...
@@ -490,6 +491,8 @@ export default {
this
.
dialogTableVisible
=
false
;
},
getPath
(
res
){
console
.
log
(
"res"
,
res
);
console
.
log
(
this
.
form
.
longitude
,
this
.
form
.
latitude
);
//确认选择经纬度
this
.
form
.
longitude
=
res
[
0
];
this
.
form
.
latitude
=
res
[
1
];
...
...
gassafetyprogress-web/src/views/standingBook/trouble/index.vue
View file @
52e0f184
...
...
@@ -341,6 +341,7 @@ export default {
cancel
()
{
this
.
open
=
false
;
this
.
reset
();
this
.
devicePos
=
[];
},
// 表单重置
reset
()
{
...
...
@@ -363,6 +364,7 @@ export default {
remarks
:
null
};
this
.
resetForm
(
"form"
);
this
.
devicePos
=
[];
},
/** 搜索按钮操作 */
handleQuery
()
{
...
...
@@ -457,6 +459,8 @@ export default {
this
.
dialogTableVisible
=
false
;
},
getPath
(
res
){
console
.
log
(
"res"
,
res
);
console
.
log
(
this
.
form
.
longitude
,
this
.
form
.
latitude
);
//确认选择经纬度
this
.
form
.
longitude
=
res
[
0
];
this
.
form
.
latitude
=
res
[
1
];
...
...
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