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
832648c0
Commit
832648c0
authored
Jul 20, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备管理新增 gengdidi
parent
3547059e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
90 additions
and
57 deletions
+90
-57
flowMeter.vue
gassafety-web/src/components/PopWindow/flowMeter.vue
+30
-20
regulatorBox.vue
gassafety-web/src/components/PopWindow/regulatorBox.vue
+28
-18
valveWell.vue
gassafety-web/src/components/PopWindow/valveWell.vue
+28
-18
gaodeMap.js
gassafety-web/src/utils/gaodeMap.js
+4
-1
No files found.
gassafety-web/src/components/PopWindow/flowMeter.vue
View file @
832648c0
...
@@ -6,39 +6,49 @@
...
@@ -6,39 +6,49 @@
width=
"80%"
width=
"80%"
:before-close=
"handleClose"
>
:before-close=
"handleClose"
>
<el-form
ref=
"editForm"
:model=
"editForm"
label-width=
"120px"
size=
"mini"
>
<el-form
ref=
"editForm"
:model=
"editForm"
label-width=
"120px"
size=
"mini"
>
<el-form-item
label=
"所属燃气公司"
prop=
"
a
"
>
<el-form-item
label=
"所属燃气公司"
prop=
"
enterpriseId
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.enterpriseId"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"名称"
prop=
"
b
"
>
<el-form-item
label=
"名称"
prop=
"
deviceName
"
>
<el-input
></el-input>
<el-input
v-model=
"editForm.deviceName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"地址"
prop=
"
c
"
>
<el-form-item
label=
"地址"
prop=
"
deviceAddr
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.deviceAddr"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"所属管道"
prop=
"
c
"
>
<el-form-item
label=
"所属管道"
prop=
"
pipeId
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.pipeId"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"联系人"
prop=
"
d
"
>
<el-form-item
label=
"联系人"
prop=
"
linkman
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.linkman"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"电话"
prop=
"e"
>
<el-form-item
label=
"电话"
prop=
"
phon
e"
>
<el-input></el-input>
<el-input
v-model=
"editForm.phone"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"型号"
prop=
"
f
"
>
<el-form-item
label=
"型号"
prop=
"
deviceModel
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.deviceModel"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"安装日期"
prop=
"g"
>
<el-form-item
label=
"经纬度"
prop=
"deviceModel"
>
<el-row>
<el-col
:span=
"6"
style=
"margin-right: 10px"
>
<el-input
v-model=
"editForm.longitude"
></el-input>
</el-col>
<el-col
:span=
"6"
>
<el-input
v-model=
"editForm.latitude"
></el-input>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"安装日期"
prop=
"installationTime"
>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
style=
"width: 100%;"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
v-model=
"editForm.installationTime"
style=
"width: 100%;"
></el-date-picker>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"最后巡检日期"
prop=
"
k
"
>
<el-form-item
label=
"最后巡检日期"
prop=
"
inspectionTime
"
>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
style=
"width: 100%;"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
v-model=
"editForm.inspectionTime"
style=
"width: 100%;"
></el-date-picker>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注信息"
prop=
"
l
"
>
<el-form-item
label=
"备注信息"
prop=
"
remarks
"
>
<el-input
type=
"textarea"
></el-input>
<el-input
type=
"textarea"
v-model=
"editForm.remarks"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
...
gassafety-web/src/components/PopWindow/regulatorBox.vue
View file @
832648c0
...
@@ -6,36 +6,46 @@
...
@@ -6,36 +6,46 @@
width=
"80%"
width=
"80%"
:before-close=
"handleClose"
>
:before-close=
"handleClose"
>
<el-form
ref=
"editForm"
:model=
"editForm"
label-width=
"120px"
size=
"mini"
>
<el-form
ref=
"editForm"
:model=
"editForm"
label-width=
"120px"
size=
"mini"
>
<el-form-item
label=
"所属燃气公司"
prop=
"
a
"
>
<el-form-item
label=
"所属燃气公司"
prop=
"
enterpriseId
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.enterpriseId"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"名称"
prop=
"
b
"
>
<el-form-item
label=
"名称"
prop=
"
deviceName
"
>
<el-input
></el-input>
<el-input
v-model=
"editForm.deviceName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"地址"
prop=
"
c
"
>
<el-form-item
label=
"地址"
prop=
"
deviceAddr
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.deviceAddr"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"联系人"
prop=
"
d
"
>
<el-form-item
label=
"联系人"
prop=
"
linkman
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.linkman"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"电话"
prop=
"e"
>
<el-form-item
label=
"电话"
prop=
"
phon
e"
>
<el-input></el-input>
<el-input
v-model=
"editForm.phone"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"型号"
prop=
"
f
"
>
<el-form-item
label=
"型号"
prop=
"
deviceModel
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.deviceModel"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"安装日期"
prop=
"g"
>
<el-form-item
label=
"经纬度"
prop=
"deviceModel"
>
<el-row>
<el-col
:span=
"6"
style=
"margin-right: 10px"
>
<el-input
v-model=
"editForm.longitude"
></el-input>
</el-col>
<el-col
:span=
"6"
>
<el-input
v-model=
"editForm.latitude"
></el-input>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"安装日期"
prop=
"installationTime"
>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
style=
"width: 100%;"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
v-model=
"editForm.installationTime"
style=
"width: 100%;"
></el-date-picker>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"最后巡检日期"
prop=
"
k
"
>
<el-form-item
label=
"最后巡检日期"
prop=
"
inspectionTime
"
>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
style=
"width: 100%;"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
v-model=
"editForm.inspectionTime"
style=
"width: 100%;"
></el-date-picker>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注信息"
prop=
"
l
"
>
<el-form-item
label=
"备注信息"
prop=
"
remarks
"
>
<el-input
type=
"textarea"
></el-input>
<el-input
type=
"textarea"
v-model=
"editForm.remarks"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
...
gassafety-web/src/components/PopWindow/valveWell.vue
View file @
832648c0
...
@@ -6,36 +6,46 @@
...
@@ -6,36 +6,46 @@
width=
"80%"
width=
"80%"
:before-close=
"handleClose"
>
:before-close=
"handleClose"
>
<el-form
ref=
"editForm"
:model=
"editForm"
label-width=
"120px"
size=
"mini"
>
<el-form
ref=
"editForm"
:model=
"editForm"
label-width=
"120px"
size=
"mini"
>
<el-form-item
label=
"所属燃气公司"
prop=
"
a
"
>
<el-form-item
label=
"所属燃气公司"
prop=
"
enterpriseId
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.enterpriseId"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"名称"
prop=
"
b
"
>
<el-form-item
label=
"名称"
prop=
"
deviceName
"
>
<el-input
></el-input>
<el-input
v-model=
"editForm.deviceName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"地址"
prop=
"
c
"
>
<el-form-item
label=
"地址"
prop=
"
deviceAddr
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.deviceAddr"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"联系人"
prop=
"
d
"
>
<el-form-item
label=
"联系人"
prop=
"
linkman
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.linkman"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"电话"
prop=
"e"
>
<el-form-item
label=
"电话"
prop=
"
phon
e"
>
<el-input></el-input>
<el-input
v-model=
"editForm.phone"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"型号"
prop=
"
f
"
>
<el-form-item
label=
"型号"
prop=
"
deviceModel
"
>
<el-input></el-input>
<el-input
v-model=
"editForm.deviceModel"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"安装日期"
prop=
"g"
>
<el-form-item
label=
"经纬度"
prop=
"deviceModel"
>
<el-row>
<el-col
:span=
"6"
style=
"margin-right: 10px"
>
<el-input
v-model=
"editForm.longitude"
></el-input>
</el-col>
<el-col
:span=
"6"
>
<el-input
v-model=
"editForm.latitude"
></el-input>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"安装日期"
prop=
"installationTime"
>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
style=
"width: 100%;"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
v-model=
"editForm.installationTime"
style=
"width: 100%;"
></el-date-picker>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"最后巡检日期"
prop=
"
k
"
>
<el-form-item
label=
"最后巡检日期"
prop=
"
inspectionTime
"
>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
style=
"width: 100%;"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
v-model=
"editForm.inspectionTime"
style=
"width: 100%;"
></el-date-picker>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注信息"
prop=
"
l
"
>
<el-form-item
label=
"备注信息"
prop=
"
remarks
"
>
<el-input
type=
"textarea"
></el-input>
<el-input
type=
"textarea"
v-model=
"editForm.remarks"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
...
gassafety-web/src/utils/gaodeMap.js
View file @
832648c0
...
@@ -183,7 +183,10 @@ const DUTYPERSON = "5";
...
@@ -183,7 +183,10 @@ const DUTYPERSON = "5";
this
.
mouseTool
.
on
(
'draw'
,
function
(
e
){
this
.
mouseTool
.
on
(
'draw'
,
function
(
e
){
const
device
=
that
.
createInfowindow
();
const
device
=
that
.
createInfowindow
();
e
.
obj
.
on
(
"click"
,
function
(
aa
)
{
e
.
obj
.
on
(
"click"
,
function
(
aa
)
{
console
.
log
(
aa
.
target
.
_position
)
console
.
log
(
aa
.
target
.
_position
,
"=============="
);
let
postion
=
aa
.
target
.
_position
;
device
.
editForm
.
longitude
=
postion
.
lng
;
device
.
editForm
.
latitude
=
postion
.
lat
;
device
.
show
();
device
.
show
();
})
})
that
.
overlays
.
push
(
e
.
obj
);
that
.
overlays
.
push
(
e
.
obj
);
...
...
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