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
866dbca3
Commit
866dbca3
authored
Jul 26, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://111.61.77.35:15/gengdidi/gassafety
parents
d66bc84f
9f704243
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
82 additions
and
38 deletions
+82
-38
THiddenTrouble.java
...rc/main/java/com/zehong/system/domain/THiddenTrouble.java
+15
-1
WorkOrderVo.java
...rc/main/java/com/zehong/system/domain/vo/WorkOrderVo.java
+12
-0
TWorkOrderServiceImpl.java
...com/zehong/system/service/impl/TWorkOrderServiceImpl.java
+4
-0
THiddenTroubleMapper.xml
...src/main/resources/mapper/system/THiddenTroubleMapper.xml
+5
-1
TInspectionDataMapper.xml
...rc/main/resources/mapper/system/TInspectionDataMapper.xml
+1
-1
detail.vue
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
+45
-35
No files found.
gassafety-system/src/main/java/com/zehong/system/domain/THiddenTrouble.java
View file @
866dbca3
...
@@ -30,6 +30,10 @@ public class THiddenTrouble extends BaseEntity
...
@@ -30,6 +30,10 @@ public class THiddenTrouble extends BaseEntity
@Excel
(
name
=
"工单id"
)
@Excel
(
name
=
"工单id"
)
private
String
orderId
;
private
String
orderId
;
/** 地址 */
@Excel
(
name
=
"地址"
)
private
String
address
;
/** 经度 */
/** 经度 */
@Excel
(
name
=
"经度"
)
@Excel
(
name
=
"经度"
)
private
BigDecimal
longitude
;
private
BigDecimal
longitude
;
...
@@ -86,7 +90,16 @@ public class THiddenTrouble extends BaseEntity
...
@@ -86,7 +90,16 @@ public class THiddenTrouble extends BaseEntity
{
{
return
orderId
;
return
orderId
;
}
}
public
void
setLongitude
(
BigDecimal
longitude
)
public
String
getAddress
()
{
return
address
;
}
public
void
setAddress
(
String
address
)
{
this
.
address
=
address
;
}
public
void
setLongitude
(
BigDecimal
longitude
)
{
{
this
.
longitude
=
longitude
;
this
.
longitude
=
longitude
;
}
}
...
@@ -139,6 +152,7 @@ public class THiddenTrouble extends BaseEntity
...
@@ -139,6 +152,7 @@ public class THiddenTrouble extends BaseEntity
.
append
(
"deviceCode"
,
getDeviceCode
())
.
append
(
"deviceCode"
,
getDeviceCode
())
.
append
(
"deviceType"
,
getDeviceType
())
.
append
(
"deviceType"
,
getDeviceType
())
.
append
(
"orderId"
,
getOrderId
())
.
append
(
"orderId"
,
getOrderId
())
.
append
(
"address"
,
getAddress
())
.
append
(
"longitude"
,
getLongitude
())
.
append
(
"longitude"
,
getLongitude
())
.
append
(
"latitude"
,
getLatitude
())
.
append
(
"latitude"
,
getLatitude
())
.
append
(
"coordinates"
,
getCoordinates
())
.
append
(
"coordinates"
,
getCoordinates
())
...
...
gassafety-system/src/main/java/com/zehong/system/domain/vo/WorkOrderVo.java
View file @
866dbca3
...
@@ -56,6 +56,9 @@ public class WorkOrderVo extends BaseEntity
...
@@ -56,6 +56,9 @@ public class WorkOrderVo extends BaseEntity
/** 坐标 */
/** 坐标 */
private
String
coordinates
;
private
String
coordinates
;
/** 地址 */
private
String
address
;
/** 工单状态(0未接收,1已接收,2进行中,3已反馈,4已归档) */
/** 工单状态(0未接收,1已接收,2进行中,3已反馈,4已归档) */
private
String
orderStatus
;
private
String
orderStatus
;
...
@@ -193,6 +196,14 @@ public class WorkOrderVo extends BaseEntity
...
@@ -193,6 +196,14 @@ public class WorkOrderVo extends BaseEntity
this
.
coordinates
=
coordinates
;
this
.
coordinates
=
coordinates
;
}
}
public
String
getAddress
()
{
return
address
;
}
public
void
setAddress
(
String
address
)
{
this
.
address
=
address
;
}
public
void
setOrderStatus
(
String
orderStatus
)
public
void
setOrderStatus
(
String
orderStatus
)
{
{
this
.
orderStatus
=
orderStatus
;
this
.
orderStatus
=
orderStatus
;
...
@@ -302,6 +313,7 @@ public class WorkOrderVo extends BaseEntity
...
@@ -302,6 +313,7 @@ public class WorkOrderVo extends BaseEntity
.
append
(
"longitude"
,
getLongitude
())
.
append
(
"longitude"
,
getLongitude
())
.
append
(
"latitude"
,
getLatitude
())
.
append
(
"latitude"
,
getLatitude
())
.
append
(
"coordinates"
,
getCoordinates
())
.
append
(
"coordinates"
,
getCoordinates
())
.
append
(
"address"
,
getAddress
())
.
append
(
"orderStatus"
,
getOrderStatus
())
.
append
(
"orderStatus"
,
getOrderStatus
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"appointInspector"
,
getAppointInspector
())
.
append
(
"appointInspector"
,
getAppointInspector
())
...
...
gassafety-system/src/main/java/com/zehong/system/service/impl/TWorkOrderServiceImpl.java
View file @
866dbca3
...
@@ -93,6 +93,7 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
...
@@ -93,6 +93,7 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
deviceInfoList
.
add
(
deviceInfo
);
deviceInfoList
.
add
(
deviceInfo
);
}
}
}
}
workOrderVo
.
setDeviceInfoList
(
deviceInfoList
);
int
finish
=
tInspectionDataMapper
.
selectFinishTInspectionData
(
resourceId
);
int
finish
=
tInspectionDataMapper
.
selectFinishTInspectionData
(
resourceId
);
workOrderVo
.
setFinishNum
(
finish
);
workOrderVo
.
setFinishNum
(
finish
);
...
@@ -105,6 +106,7 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
...
@@ -105,6 +106,7 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
workOrderVo
.
setLatitude
(
trouble
.
getLatitude
()
!=
null
?
trouble
.
getLatitude
()
:
null
);
workOrderVo
.
setLatitude
(
trouble
.
getLatitude
()
!=
null
?
trouble
.
getLatitude
()
:
null
);
workOrderVo
.
setCoordinates
(
trouble
.
getCoordinates
()
!=
null
?
trouble
.
getCoordinates
()
:
null
);
workOrderVo
.
setCoordinates
(
trouble
.
getCoordinates
()
!=
null
?
trouble
.
getCoordinates
()
:
null
);
workOrderVo
.
setDeviceType
(
trouble
.
getDeviceType
());
workOrderVo
.
setDeviceType
(
trouble
.
getDeviceType
());
workOrderVo
.
setAddress
(
trouble
.
getAddress
());
}
else
{
}
else
{
...
@@ -117,11 +119,13 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
...
@@ -117,11 +119,13 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
TPipe
pipe
=
tPipeMapper
.
selectTPipeByCode
(
deviceCode
);
TPipe
pipe
=
tPipeMapper
.
selectTPipeByCode
(
deviceCode
);
workOrderVo
.
setCoordinates
(
pipe
.
getCoordinates
());
workOrderVo
.
setCoordinates
(
pipe
.
getCoordinates
());
workOrderVo
.
setDeviceType
(
"0"
);
workOrderVo
.
setDeviceType
(
"0"
);
workOrderVo
.
setAddress
(
pipe
.
getPipeAddr
());
}
else
{
}
else
{
TDeviceInfo
device
=
tDeviceInfoMapper
.
selectTDeviceInfoByCode
(
deviceCode
);
TDeviceInfo
device
=
tDeviceInfoMapper
.
selectTDeviceInfoByCode
(
deviceCode
);
workOrderVo
.
setLongitude
(
device
.
getLongitude
());
workOrderVo
.
setLongitude
(
device
.
getLongitude
());
workOrderVo
.
setLatitude
(
device
.
getLatitude
());
workOrderVo
.
setLatitude
(
device
.
getLatitude
());
workOrderVo
.
setDeviceType
(
device
.
getDeviceType
());
workOrderVo
.
setDeviceType
(
device
.
getDeviceType
());
workOrderVo
.
setAddress
(
device
.
getDeviceAddr
());
}
}
}
}
...
...
gassafety-system/src/main/resources/mapper/system/THiddenTroubleMapper.xml
View file @
866dbca3
...
@@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"deviceCode"
column=
"device_code"
/>
<result
property=
"deviceCode"
column=
"device_code"
/>
<result
property=
"deviceType"
column=
"device_type"
/>
<result
property=
"deviceType"
column=
"device_type"
/>
<result
property=
"orderId"
column=
"order_id"
/>
<result
property=
"orderId"
column=
"order_id"
/>
<result
property=
"address"
column=
"address"
/>
<result
property=
"longitude"
column=
"longitude"
/>
<result
property=
"longitude"
column=
"longitude"
/>
<result
property=
"latitude"
column=
"latitude"
/>
<result
property=
"latitude"
column=
"latitude"
/>
<result
property=
"coordinates"
column=
"coordinates"
/>
<result
property=
"coordinates"
column=
"coordinates"
/>
...
@@ -19,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -19,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
</resultMap>
<sql
id=
"selectTHiddenTroubleVo"
>
<sql
id=
"selectTHiddenTroubleVo"
>
select trouble_id, device_code, device_type, order_id, longitude, latitude, coordinates, deal_status, update_time, create_time, remarks from t_hidden_trouble
select trouble_id, device_code, device_type, order_id,
address,
longitude, latitude, coordinates, deal_status, update_time, create_time, remarks from t_hidden_trouble
</sql>
</sql>
<select
id=
"selectTHiddenTroubleList"
parameterType=
"THiddenTrouble"
resultMap=
"THiddenTroubleResult"
>
<select
id=
"selectTHiddenTroubleList"
parameterType=
"THiddenTrouble"
resultMap=
"THiddenTroubleResult"
>
...
@@ -47,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -47,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"deviceCode != null"
>
device_code,
</if>
<if
test=
"deviceCode != null"
>
device_code,
</if>
<if
test=
"deviceType != null"
>
device_type,
</if>
<if
test=
"deviceType != null"
>
device_type,
</if>
<if
test=
"orderId != null"
>
order_id,
</if>
<if
test=
"orderId != null"
>
order_id,
</if>
<if
test=
"address != null"
>
address,
</if>
<if
test=
"longitude != null"
>
longitude,
</if>
<if
test=
"longitude != null"
>
longitude,
</if>
<if
test=
"latitude != null"
>
latitude,
</if>
<if
test=
"latitude != null"
>
latitude,
</if>
<if
test=
"coordinates != null"
>
coordinates,
</if>
<if
test=
"coordinates != null"
>
coordinates,
</if>
...
@@ -59,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -59,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"deviceCode != null"
>
#{deviceCode},
</if>
<if
test=
"deviceCode != null"
>
#{deviceCode},
</if>
<if
test=
"deviceType != null"
>
#{deviceType},
</if>
<if
test=
"deviceType != null"
>
#{deviceType},
</if>
<if
test=
"orderId != null"
>
#{orderId},
</if>
<if
test=
"orderId != null"
>
#{orderId},
</if>
<if
test=
"address != null"
>
#{address},
</if>
<if
test=
"longitude != null"
>
#{longitude},
</if>
<if
test=
"longitude != null"
>
#{longitude},
</if>
<if
test=
"latitude != null"
>
#{latitude},
</if>
<if
test=
"latitude != null"
>
#{latitude},
</if>
<if
test=
"coordinates != null"
>
#{coordinates},
</if>
<if
test=
"coordinates != null"
>
#{coordinates},
</if>
...
@@ -75,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -75,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"deviceCode != null"
>
device_code = #{deviceCode},
</if>
<if
test=
"deviceCode != null"
>
device_code = #{deviceCode},
</if>
<if
test=
"deviceType != null"
>
device_code = #{deviceType},
</if>
<if
test=
"deviceType != null"
>
device_code = #{deviceType},
</if>
<if
test=
"orderId != null"
>
order_id = #{orderId},
</if>
<if
test=
"orderId != null"
>
order_id = #{orderId},
</if>
<if
test=
"address != null"
>
address = #{address},
</if>
<if
test=
"longitude != null"
>
longitude = #{longitude},
</if>
<if
test=
"longitude != null"
>
longitude = #{longitude},
</if>
<if
test=
"latitude != null"
>
latitude = #{latitude},
</if>
<if
test=
"latitude != null"
>
latitude = #{latitude},
</if>
<if
test=
"coordinates != null"
>
coordinates = #{coordinates},
</if>
<if
test=
"coordinates != null"
>
coordinates = #{coordinates},
</if>
...
...
gassafety-system/src/main/resources/mapper/system/TInspectionDataMapper.xml
View file @
866dbca3
...
@@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectFinishTInspectionData"
parameterType=
"int"
resultType=
"int"
>
<select
id=
"selectFinishTInspectionData"
parameterType=
"int"
resultType=
"int"
>
select count(*) from t_inspection_data
select count(*) from t_inspection_data
where plan_id = #{planId}
where plan_id = #{planId}
and deal_status
!=
null
and deal_status
is not
null
</select>
</select>
<select
id=
"selectTInspectionDataById"
parameterType=
"int"
resultMap=
"TInspectionDataResult"
>
<select
id=
"selectTInspectionDataById"
parameterType=
"int"
resultMap=
"TInspectionDataResult"
>
...
...
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
View file @
866dbca3
...
@@ -19,7 +19,9 @@
...
@@ -19,7 +19,9 @@
<!--
<template
slot-scope=
"scope"
>
<!--
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderType
}}
</span>
<span>
{{
scope
.
row
.
orderType
}}
</span>
</
template
>
-->
</
template
>
-->
<font>
{{form.orderType}}
</font>
<font
v-if=
"form.orderType == 1"
>
巡检信息
</font>
<font
v-if=
"form.orderType == 2"
>
隐患信息
</font>
<font
v-if=
"form.orderType == 3"
>
报警信息
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"工单编号:"
prop=
"orderId"
>
<el-form-item
label=
"工单编号:"
prop=
"orderId"
>
<font>
{{form.orderId}}
</font>
<font>
{{form.orderId}}
</font>
...
@@ -30,32 +32,40 @@
...
@@ -30,32 +32,40 @@
<el-form-item
label=
"指定执行人员:"
prop=
"appointInspectorName"
>
<el-form-item
label=
"指定执行人员:"
prop=
"appointInspectorName"
>
<font>
{{form.appointInspectorName}}
</font>
<font>
{{form.appointInspectorName}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
设备类型:"
prop=
"actualInspector
"
>
<el-form-item
label=
"
工单描述:"
prop=
"actualTime
"
>
<font>
{{form.actual
Inspector
}}
</font>
<font>
{{form.actual
Time
}}
</font>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"float: left;"
>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"float: left;"
>
<el-form-item
label=
"设备编号:"
prop=
"deviceId"
>
<el-form-item
label=
"设备类型:"
prop=
"deviceType"
v-if=
"form.orderType != 1"
>
<font>
{{form.deviceId}}
</font>
<font
v-if=
"form.deviceType == 0"
>
管道
</font>
<font
v-if=
"form.deviceType == 1"
>
调压阀
</font>
<font
v-if=
"form.deviceType == 2"
>
阀门井
</font>
<font
v-if=
"form.deviceType == 3"
>
流量计
</font>
<font
v-if=
"form.deviceType == 4"
>
压力表
</font>
</el-form-item>
<el-form-item
label=
"设备编号:"
prop=
"deviceCodes"
>
<font>
{{form.deviceCodes}}
</font>
</el-form-item>
<el-form-item
label=
"设备位置:"
v-if=
"form.orderType != 1"
>
<font
v-if=
"form.deviceType == 0"
>
{{form.coordinates}}
</font>
<font
v-if=
"form.deviceType != 0"
>
{{form.longitude}},{{form.longitude}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
设备位置:"
prop=
"remarks
"
>
<el-form-item
label=
"
工单进度:"
v-if=
"form.orderType == 1
"
>
<font>
{{form.
remarks
}}
</font>
<font>
{{form.
deviceNum}}/{{form.deviceNum
}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
创建
时间:"
prop=
"allotTime"
>
<el-form-item
label=
"
下发
时间:"
prop=
"allotTime"
>
<font>
{{form.allotTime}}
</font>
<font>
{{form.allotTime}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
更新
时间:"
prop=
"actualTime"
>
<el-form-item
label=
"
接收
时间:"
prop=
"actualTime"
>
<font>
{{form.actualTime}}
</font>
<font>
{{form.actualTime}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"工单描述:"
prop=
"actualTime"
>
<font>
{{form.actualTime}}
</font>
</el-form-item>
</el-form>
</el-form>
<div
id=
"marbox"
style=
"width: 700px;height: 180px;float: left;border: 1px solid rgb(218, 213, 213);"
>
<div
id=
"marbox"
style=
"width: 700px;height: 180px;float: left;border: 1px solid rgb(218, 213, 213);"
>
<div
style=
"width: 100%;height: 100%"
id=
"container"
></div>
<div
style=
"width: 100%;height: 100%"
id=
"container"
></div>
</div>
</div>
</div>
</div>
<el-divider></el-divider>
<el-divider></el-divider>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
<ul><li>
接单信息
</li></ul>
<ul><li>
接单信息
</li></ul>
...
@@ -66,7 +76,7 @@
...
@@ -66,7 +76,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"接单时间:"
prop=
"actualTime"
style=
"float: left;"
>
<el-form-item
label=
"接单时间:"
prop=
"actualTime"
style=
"float: left;"
>
<font>
{{form.actualTime}}
</font>
<font>
{{form.actualTime}}
</font>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-divider></el-divider>
<el-divider></el-divider>
<div
style=
"width: 100%;font-weight: 600;height: 250px;"
>
<div
style=
"width: 100%;font-weight: 600;height: 250px;"
>
...
@@ -109,20 +119,21 @@
...
@@ -109,20 +119,21 @@
</div>
</div>
</el-upload>
</el-upload>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"float: left;width: 50%;"
>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"float: left;width: 50%;"
>
<el-form-item
label=
"反馈信息:"
prop=
"actualInspector"
>
<el-form-item
label=
"反馈信息:"
prop=
"contents"
>
<font>
{{form.actualInspector}}
</font>
<font>
{{form.contents}}
</font>
</el-form-item>
<el-form-item
label=
"反馈时间:"
prop=
"feedbackTime"
>
<font>
{{form.feedbackTime}}
</font>
</el-form-item>
<el-form-item
label=
"是否解决:"
prop=
"dealStatus"
>
<font
v-if=
"form.dealStatus == 3"
>
未解决
</font>
<font
v-if=
"form.dealStatus != 3"
>
已解决
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"反馈时间:"
prop=
"actualTime"
>
<font>
{{form.actualTime}}
</font>
</el-form-item>
<el-form-item
label=
"是否解决:"
prop=
"actualTime"
>
<font>
{{form.actualTime}}
</font>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</div>
</div>
<div
style=
"width: 5%;height: 50px;margin-left: 20px;"
@
click=
"$router.go(-1)"
>
<div
style=
"width: 5%;height: 50px;margin-left: 20px;"
@
click=
"$router.go(-1)"
>
<el-button
<el-button
size=
"medium"
size=
"medium"
...
@@ -130,14 +141,14 @@
...
@@ -130,14 +141,14 @@
style=
"font-size: 18px; color: rgb(7, 63, 112);float: left;"
style=
"font-size: 18px; color: rgb(7, 63, 112);float: left;"
>
返回
</el-button>
>
返回
</el-button>
<div
style=
"float: left;margin-top: 8px;margin-left: 5px;"
><img
src=
"../../../assets/logo/fanhui.png"
style=
"width: 25px;"
alt=
""
></div>
<div
style=
"float: left;margin-top: 8px;margin-left: 5px;"
><img
src=
"../../../assets/logo/fanhui.png"
style=
"width: 25px;"
alt=
""
></div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
listBasicsInfo
,
getBasicsInfo
,
delBasicsInfo
,
addBasicsInfo
,
updateBasicsInfo
,
exportBasicsInfo
}
from
"@/api/workOrder/basicsInfo"
;
import
{
listBasicsInfo
,
getBasicsInfo
,
delBasicsInfo
,
addBasicsInfo
,
updateBasicsInfo
,
exportBasicsInfo
}
from
"@/api/workOrder/basicsInfo"
;
import
gaodeMap
from
"utils/gaodeMap.js"
import
gaodeMap
from
"utils/gaodeMap.js"
import
{
map
,
DEVICE_TYPE
}
from
"utils/gaodeMap.js"
import
{
map
,
DEVICE_TYPE
}
from
"utils/gaodeMap.js"
...
@@ -202,7 +213,7 @@ export default {
...
@@ -202,7 +213,7 @@ export default {
// 如果是跳转来的,则接受初始化参数
// 如果是跳转来的,则接受初始化参数
// this.user_id = this.$route.query.id; //详细信息页接收参数
// this.user_id = this.$route.query.id; //详细信息页接收参数
this
.
orderId
=
this
.
$route
.
query
.
orderId
;
this
.
orderId
=
this
.
$route
.
query
.
orderId
;
this
.
getList
();
this
.
getList
();
this
.
getDicts
(
"t_order_status"
).
then
(
response
=>
{
this
.
getDicts
(
"t_order_status"
).
then
(
response
=>
{
this
.
typeOptions
=
response
.
data
;
this
.
typeOptions
=
response
.
data
;
...
@@ -213,11 +224,10 @@ export default {
...
@@ -213,11 +224,10 @@ export default {
this
.
getBasicsInfo
();
this
.
getBasicsInfo
();
},
},
mounted
(){
mounted
(){
let
map
=
new
gaodeMap
(
"平山"
);
let
map
=
new
gaodeMap
(
"平山"
);
let
data
=
{
longitude
:
"114.208371"
,
latitude
:
"38.267036"
}
let
data
=
{
longitude
:
"114.208371"
,
latitude
:
"38.267036"
}
map
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
data
)
map
.
addMarker
(
DEVICE_TYPE
,
data
)
// map.addMarker(DEVICE_TYPE.WORKORDER,data)
},
},
methods
:
{
methods
:
{
handleRemove
(
file
)
{
handleRemove
(
file
)
{
...
@@ -389,4 +399,4 @@ export default {
...
@@ -389,4 +399,4 @@ export default {
font-size
:
15px
;
font-size
:
15px
;
font-weight
:
900
;
font-weight
:
900
;
}
}
</
style
>
</
style
>
\ No newline at end of file
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