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
565013a7
Commit
565013a7
authored
Aug 19, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备信息详情、管道详情
parent
ee8f7bd4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
390 additions
and
193 deletions
+390
-193
TDeviceInfo.java
...m/src/main/java/com/zehong/system/domain/TDeviceInfo.java
+4
-4
TPipe.java
...-system/src/main/java/com/zehong/system/domain/TPipe.java
+4
-4
index.vue
gassafety-web/src/views/device/deviceInfo/index.vue
+209
-102
index.vue
gassafety-web/src/views/device/deviceInfoDetail/index.vue
+2
-5
index.vue
gassafety-web/src/views/device/pipe/index.vue
+170
-74
index.vue
gassafety-web/src/views/device/pipeDetail/index.vue
+1
-4
No files found.
gassafety-system/src/main/java/com/zehong/system/domain/TDeviceInfo.java
View file @
565013a7
...
...
@@ -74,13 +74,13 @@ public class TDeviceInfo extends BaseEntity
private
String
phone
;
/** 安装时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd
HH:mm:ss
"
)
@Excel
(
name
=
"安装时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd
HH:mm:ss
"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"安装时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
installationTime
;
/** 最后巡检时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd
HH:mm:ss
"
)
@Excel
(
name
=
"最后巡检时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd
HH:mm:ss
"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"最后巡检时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
inspectionTime
;
/** 是否删除 */
...
...
gassafety-system/src/main/java/com/zehong/system/domain/TPipe.java
View file @
565013a7
...
...
@@ -57,13 +57,13 @@ public class TPipe extends BaseEntity
private
String
iconUrl
;
/** 安装时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd
HH:mm:ss
"
)
@Excel
(
name
=
"安装时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd
HH:mm:ss
"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"安装时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
installationTime
;
/** 最后巡检时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd
HH:mm:ss
"
)
@Excel
(
name
=
"最后巡检时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd
HH:mm:ss
"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"最后巡检时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
inspectionTime
;
/** 是否删除 */
...
...
gassafety-web/src/views/device/deviceInfo/index.vue
View file @
565013a7
This diff is collapsed.
Click to expand it.
gassafety-web/src/views/device/deviceInfoDetail/index.vue
View file @
565013a7
...
...
@@ -32,7 +32,7 @@
<el-form-item
label=
"设备型号:"
prop=
"deviceModel"
>
<font>
{{
form
.
deviceModel
}}
</font>
</el-form-item>
<el-form-item
label=
"物联网编号:"
prop=
"iotNo"
v-if=
"form.iotNo != null || form.iotNo != ''"
>
<el-form-item
label=
"物联网编号:"
prop=
"iotNo"
>
<font>
{{
form
.
iotNo
}}
</font>
</el-form-item>
<el-form-item
label=
"联系人:"
prop=
"linkman"
>
...
...
@@ -70,7 +70,7 @@
</el-form>
</div>
<div
id=
"marbox"
style=
"width: 700px;height:
40
0px;float: left;margin-top: -25px; border: 1px solid rgb(218, 213, 213);"
>
<div
id=
"marbox"
style=
"width: 700px;height:
39
0px;float: left;margin-top: -25px; border: 1px solid rgb(218, 213, 213);"
>
<div
style=
"width: 100%;height: 100%"
id=
"container"
></div>
</div>
</div>
...
...
@@ -106,12 +106,9 @@
this
.
gaoMap
=
gaoMap
;
},
methods
:
{
/** 获取巡检计划详情 */
getDetail
(){
getDeviceInfo
(
this
.
deviceId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
console
.
log
(
"this.form"
,
this
.
form
)
this
.
gaoMap
.
resetMapCenter
([
this
.
form
.
longitude
,
this
.
form
.
latitude
]);
this
.
gaoMap
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
this
.
form
)
});
...
...
gassafety-web/src/views/device/pipe/index.vue
View file @
565013a7
This diff is collapsed.
Click to expand it.
gassafety-web/src/views/device/pipeDetail/index.vue
View file @
565013a7
...
...
@@ -56,7 +56,7 @@
</el-form>
</div>
<div
id=
"marbox"
style=
"width: 700px;height:
40
0px;float: left;margin-top: -25px; border: 1px solid rgb(218, 213, 213);"
>
<div
id=
"marbox"
style=
"width: 700px;height:
39
0px;float: left;margin-top: -25px; border: 1px solid rgb(218, 213, 213);"
>
<div
style=
"width: 100%;height: 100%"
id=
"container"
></div>
</div>
</div>
...
...
@@ -92,12 +92,9 @@
this
.
gaoMap
=
gaoMap
;
},
methods
:
{
/** 获取巡检计划详情 */
getDetail
(){
getPipe
(
this
.
pipeId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
console
.
log
(
"this.form"
,
this
.
form
)
this
.
gaoMap
.
resetMapCenter
([
this
.
form
.
longitude
,
this
.
form
.
latitude
]);
this
.
gaoMap
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
this
.
form
)
});
...
...
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