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
82d255b4
Commit
82d255b4
authored
Sep 06, 2021
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地图模式图片上传bug
parent
5ed83297
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
10 deletions
+28
-10
flowMeter.vue
gassafety-web/src/components/PopWindow/flowMeter.vue
+1
-0
pipelineView.vue
gassafety-web/src/components/PopWindow/pipelineView.vue
+22
-10
pressureGage.vue
gassafety-web/src/components/PopWindow/pressureGage.vue
+2
-0
regulatorBox.vue
gassafety-web/src/components/PopWindow/regulatorBox.vue
+2
-0
valveWell.vue
gassafety-web/src/components/PopWindow/valveWell.vue
+1
-0
No files found.
gassafety-web/src/components/PopWindow/flowMeter.vue
View file @
82d255b4
...
...
@@ -151,6 +151,7 @@ export default {
return
{
form
:
{
deviceType
:
"3"
,
iconUrl
:
""
,
},
type
:
DEVICE_TYPE
.
FLOWMETER
,
dialogVisible
:
false
,
...
...
gassafety-web/src/components/PopWindow/pipelineView.vue
View file @
82d255b4
...
...
@@ -3,6 +3,7 @@
:title=
"myTitle"
:visible
.
sync=
"dialogVisible"
:before-close=
"handleClose"
ref=
"dialog"
>
<el-row>
<el-form
...
...
@@ -146,7 +147,7 @@
<
el
-
button
:
loading
=
"okLoading"
type
=
"primary"
@
click
=
"ok"
>
确
定
<
/el-butto
n
>
<
el
-
button
@
click
=
"
dialogVisible = false
"
>
取
消
<
/el-button
>
<
el
-
button
@
click
=
"
handleCloseBtn
"
>
取
消
<
/el-button
>
<
/span
>
<
/el-dialog
>
<
/template
>
...
...
@@ -271,14 +272,19 @@ export default {
if
(
res
.
code
==
200
)
{
this
.
dialogVisible
=
false
;
data
.
pipeId
=
data
.
pipeId
?
data
.
pipeId
:
res
.
data
;
this
.
lineOkCallBack
.
call
(
this
.
gaodeMap
,
this
.
target
,
data
,()
=>
{
const
arr
=
this
.
gaodeMap
.
polyLines
.
map
(
item
=>
{
return
item
.
getExtData
().
lineData
}
)
console
.
log
(
"arr==================="
,
arr
)
this
.
gaodeMap
.
view
.
pipeClassify
(
arr
)
this
.
gaodeMap
.
view
.
pipeList
();
}
);
this
.
lineOkCallBack
.
call
(
this
.
gaodeMap
,
this
.
target
,
data
,
()
=>
{
const
arr
=
this
.
gaodeMap
.
polyLines
.
map
((
item
)
=>
{
return
item
.
getExtData
().
lineData
;
}
);
console
.
log
(
"arr==================="
,
arr
);
this
.
gaodeMap
.
view
.
pipeClassify
(
arr
);
this
.
gaodeMap
.
view
.
pipeList
();
}
);
if
(
!
this
.
editForm
.
pipeId
)
{
this
.
gaodeMap
.
newLineObj
=
null
;
this
.
gaodeMap
.
createNewLine
();
...
...
@@ -321,7 +327,9 @@ export default {
options
.
lineData
=
{
...
this
.
editForm
}
;
this
.
target
.
setExtData
(
options
);
// 把值带出去
done
();
if
(
done
)
{
done
();
}
// this.$confirm("确认关闭?")
// .then((_) =>
{
...
...
@@ -329,6 +337,10 @@ export default {
//
}
)
// .catch((_) =>
{
}
);
}
,
handleCloseBtn
()
{
this
.
handleClose
();
this
.
dialogVisible
=
false
;
}
,
// 图片上传成功
fileFinshed
(
e
)
{
this
.
editForm
.
iconUrl
=
e
.
url
;
...
...
gassafety-web/src/components/PopWindow/pressureGage.vue
View file @
82d255b4
...
...
@@ -151,6 +151,8 @@ export default {
return
{
form
:
{
deviceType
:
"4"
,
iconUrl
:
""
,
},
type
:
DEVICE_TYPE
.
PRESSUREGAGE
,
dialogVisible
:
false
,
...
...
gassafety-web/src/components/PopWindow/regulatorBox.vue
View file @
82d255b4
...
...
@@ -151,6 +151,8 @@ export default {
return
{
form
:
{
deviceType
:
"1"
,
iconUrl
:
""
,
},
type
:
DEVICE_TYPE
.
REGEULATORBOX
,
dialogVisible
:
false
,
...
...
gassafety-web/src/components/PopWindow/valveWell.vue
View file @
82d255b4
...
...
@@ -150,6 +150,7 @@ export default {
return
{
form
:
{
deviceType
:
"2"
,
iconUrl
:
""
,
},
type
:
DEVICE_TYPE
.
VALUEWELL
,
dialogVisible
:
false
,
...
...
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