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
64c22520
Commit
64c22520
authored
Aug 25, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地图隐患信息列表接口设置参数、列表页空白字段占位符、详情页权限标识
parent
a7460605
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
59 additions
and
20 deletions
+59
-20
TDeviceReportDataController.java
...ontroller/dataMonitoring/TDeviceReportDataController.java
+2
-2
THiddenTroubleController.java
...b/controller/riskManagement/THiddenTroubleController.java
+2
-2
THiddenTroubleMapper.java
...n/java/com/zehong/system/mapper/THiddenTroubleMapper.java
+1
-1
ITHiddenTroubleService.java
...ava/com/zehong/system/service/ITHiddenTroubleService.java
+1
-1
THiddenTroubleServiceImpl.java
...zehong/system/service/impl/THiddenTroubleServiceImpl.java
+2
-2
THiddenTroubleMapper.xml
...src/main/resources/mapper/system/THiddenTroubleMapper.xml
+4
-2
index.vue
gassafety-web/src/views/dataMonitoring/deviceAlarm/index.vue
+2
-1
index.vue
...afety-web/src/views/dataMonitoring/realtimeData/index.vue
+1
-1
index.vue
gassafety-web/src/views/device/deviceInfo/index.vue
+7
-1
index.vue
gassafety-web/src/views/device/pipe/index.vue
+7
-1
index.vue
...y-web/src/views/deviceInspection/inspectionPlan/index.vue
+10
-1
index.vue
...fety-web/src/views/riskManagement/hiddenTrouble/index.vue
+1
-0
index.vue
gassafety-web/src/views/workOrder/basicsInfo/index.vue
+9
-2
index.vue
gassafety-web/src/views/workOrder/feedback/index.vue
+10
-3
No files found.
gassafety-admin/src/main/java/com/zehong/web/controller/dataMonitoring/TDeviceReportDataController.java
View file @
64c22520
...
@@ -37,7 +37,7 @@ public class TDeviceReportDataController extends BaseController
...
@@ -37,7 +37,7 @@ public class TDeviceReportDataController extends BaseController
private
ITDeviceReportDataService
tDeviceReportDataService
;
private
ITDeviceReportDataService
tDeviceReportDataService
;
/**
/**
* 查询设备监控列表
* 查询设备
历史
监控列表
*/
*/
@PreAuthorize
(
"@ss.hasPermi('dataMonitoring:reportData:list')"
)
@PreAuthorize
(
"@ss.hasPermi('dataMonitoring:reportData:list')"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
...
@@ -49,7 +49,7 @@ public class TDeviceReportDataController extends BaseController
...
@@ -49,7 +49,7 @@ public class TDeviceReportDataController extends BaseController
}
}
/**
/**
* 查询设备监控列表
* 查询设备
实时
监控列表
*/
*/
@PreAuthorize
(
"@ss.hasPermi('dataMonitoring:reportData:realtimeList')"
)
@PreAuthorize
(
"@ss.hasPermi('dataMonitoring:reportData:realtimeList')"
)
@GetMapping
(
"/realtimeList"
)
@GetMapping
(
"/realtimeList"
)
...
...
gassafety-admin/src/main/java/com/zehong/web/controller/riskManagement/THiddenTroubleController.java
View file @
64c22520
...
@@ -53,9 +53,9 @@ public class THiddenTroubleController extends BaseController
...
@@ -53,9 +53,9 @@ public class THiddenTroubleController extends BaseController
* @return
* @return
*/
*/
@GetMapping
(
"/getMapHiddenTroublelist"
)
@GetMapping
(
"/getMapHiddenTroublelist"
)
public
AjaxResult
getMapHiddenTroublelist
()
public
AjaxResult
getMapHiddenTroublelist
(
String
troubleName
)
{
{
List
<
HiddenTroubleVo
>
list
=
tHiddenTroubleService
.
getMapTHiddenTroubleList
();
List
<
HiddenTroubleVo
>
list
=
tHiddenTroubleService
.
getMapTHiddenTroubleList
(
troubleName
);
return
AjaxResult
.
success
(
list
);
return
AjaxResult
.
success
(
list
);
}
}
...
...
gassafety-system/src/main/java/com/zehong/system/mapper/THiddenTroubleMapper.java
View file @
64c22520
...
@@ -33,7 +33,7 @@ public interface THiddenTroubleMapper
...
@@ -33,7 +33,7 @@ public interface THiddenTroubleMapper
* @param
* @param
* @return 隐患信息集合
* @return 隐患信息集合
*/
*/
public
List
<
THiddenTrouble
>
getMapTHiddenTroubleList
();
public
List
<
THiddenTrouble
>
getMapTHiddenTroubleList
(
String
troubleName
);
/**
/**
* 新增隐患信息
* 新增隐患信息
...
...
gassafety-system/src/main/java/com/zehong/system/service/ITHiddenTroubleService.java
View file @
64c22520
...
@@ -34,7 +34,7 @@ public interface ITHiddenTroubleService
...
@@ -34,7 +34,7 @@ public interface ITHiddenTroubleService
* @param
* @param
* @return 隐患信息集合
* @return 隐患信息集合
*/
*/
public
List
<
HiddenTroubleVo
>
getMapTHiddenTroubleList
();
public
List
<
HiddenTroubleVo
>
getMapTHiddenTroubleList
(
String
troubleName
);
/**
/**
* 新增隐患信息
* 新增隐患信息
...
...
gassafety-system/src/main/java/com/zehong/system/service/impl/THiddenTroubleServiceImpl.java
View file @
64c22520
...
@@ -117,10 +117,10 @@ public class THiddenTroubleServiceImpl implements ITHiddenTroubleService
...
@@ -117,10 +117,10 @@ public class THiddenTroubleServiceImpl implements ITHiddenTroubleService
* @return 隐患信息集合
* @return 隐患信息集合
*/
*/
@Override
@Override
public
List
<
HiddenTroubleVo
>
getMapTHiddenTroubleList
()
public
List
<
HiddenTroubleVo
>
getMapTHiddenTroubleList
(
String
troubleName
)
{
{
List
<
HiddenTroubleVo
>
list
=
new
ArrayList
<>();
List
<
HiddenTroubleVo
>
list
=
new
ArrayList
<>();
List
<
THiddenTrouble
>
troubleList
=
tHiddenTroubleMapper
.
getMapTHiddenTroubleList
();
List
<
THiddenTrouble
>
troubleList
=
tHiddenTroubleMapper
.
getMapTHiddenTroubleList
(
troubleName
);
if
(
troubleList
.
size
()
!=
0
)
{
if
(
troubleList
.
size
()
!=
0
)
{
for
(
THiddenTrouble
temp
:
troubleList
)
{
for
(
THiddenTrouble
temp
:
troubleList
)
{
...
...
gassafety-system/src/main/resources/mapper/system/THiddenTroubleMapper.xml
View file @
64c22520
...
@@ -49,9 +49,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -49,9 +49,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by create_time desc
order by create_time desc
</select>
</select>
<select
id=
"getMapTHiddenTroubleList"
resultMap=
"THiddenTroubleResult"
>
<select
id=
"getMapTHiddenTroubleList"
parameterType=
"String"
resultMap=
"THiddenTroubleResult"
>
<include
refid=
"selectTHiddenTroubleVo"
/>
<include
refid=
"selectTHiddenTroubleVo"
/>
where is_del = '0' and (deal_status is null or deal_status = '3')
<where>
is_del = '0' and (deal_status is null or deal_status = '3')
<if
test=
"troubleName != null"
>
and trouble_name like concat('%', #{troubleName}, '%')
</if>
</where>
order by create_time desc
order by create_time desc
</select>
</select>
...
...
gassafety-web/src/views/dataMonitoring/deviceAlarm/index.vue
View file @
64c22520
...
@@ -124,7 +124,8 @@
...
@@ -124,7 +124,8 @@
size=
"normal"
size=
"normal"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"showDetail(scope.row)"
>
@
click=
"showDetail(scope.row)"
v-hasPermi=
"['dataMonitoring:deviceAlarm:query']"
>
详情
详情
</el-button>
</el-button>
</
template
>
</
template
>
...
...
gassafety-web/src/views/dataMonitoring/realtimeData/index.vue
View file @
64c22520
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"showDetail(scope.row)"
@
click=
"showDetail(scope.row)"
v-hasPermi=
"['
system:data:export
']"
v-hasPermi=
"['
dataMonitoring:reportData:query
']"
>
详情
</el-button>
>
详情
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
gassafety-web/src/views/device/deviceInfo/index.vue
View file @
64c22520
...
@@ -97,7 +97,12 @@
...
@@ -97,7 +97,12 @@
<el-table-column
label=
"设备型号"
align=
"center"
prop=
"deviceModel"
/>
<el-table-column
label=
"设备型号"
align=
"center"
prop=
"deviceModel"
/>
<el-table-column
label=
"所在地址"
align=
"center"
prop=
"deviceAddr"
/>
<el-table-column
label=
"所在地址"
align=
"center"
prop=
"deviceAddr"
/>
<el-table-column
label=
"安装日期"
align=
"center"
prop=
"installationTime"
width=
"180"
/>
<el-table-column
label=
"安装日期"
align=
"center"
prop=
"installationTime"
width=
"180"
/>
<el-table-column
label=
"最后巡检日期"
align=
"center"
prop=
"inspectionTime"
width=
"180"
/>
<el-table-column
label=
"最后巡检日期"
align=
"center"
prop=
"inspectionTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.inspectionTime != null"
>
{{
scope
.
row
.
inspectionTime
}}
</span>
<span
v-if=
"scope.row.inspectionTime == null"
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -112,6 +117,7 @@
...
@@ -112,6 +117,7 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"showDetail(scope.row)"
@
click=
"showDetail(scope.row)"
v-hasPermi=
"['device:deviceInfo:query']"
>
详情
</el-button>
>
详情
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
...
...
gassafety-web/src/views/device/pipe/index.vue
View file @
64c22520
...
@@ -102,7 +102,12 @@
...
@@ -102,7 +102,12 @@
<el-table-column
label=
"管道长度"
align=
"center"
prop=
"pipeLength"
/>
<el-table-column
label=
"管道长度"
align=
"center"
prop=
"pipeLength"
/>
<el-table-column
label=
"所在地址"
align=
"center"
prop=
"pipeAddr"
/>
<el-table-column
label=
"所在地址"
align=
"center"
prop=
"pipeAddr"
/>
<el-table-column
label=
"安装日期"
align=
"center"
prop=
"installationTime"
width=
"180"
/>
<el-table-column
label=
"安装日期"
align=
"center"
prop=
"installationTime"
width=
"180"
/>
<el-table-column
label=
"最后巡检日期"
align=
"center"
prop=
"inspectionTime"
width=
"180"
/>
<el-table-column
label=
"最后巡检日期"
align=
"center"
prop=
"inspectionTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.inspectionTime != null"
>
{{
scope
.
row
.
inspectionTime
}}
</span>
<span
v-if=
"scope.row.inspectionTime == null"
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -117,6 +122,7 @@
...
@@ -117,6 +122,7 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"showDetail(scope.row)"
@
click=
"showDetail(scope.row)"
v-hasPermi=
"['device:pipe:query']"
>
详情
</el-button>
>
详情
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
...
...
gassafety-web/src/views/deviceInspection/inspectionPlan/index.vue
View file @
64c22520
...
@@ -51,7 +51,12 @@
...
@@ -51,7 +51,12 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"地址"
align
=
"center"
prop
=
"address"
/>
<
el
-
table
-
column
label
=
"地址"
align
=
"center"
prop
=
"address"
/>
<
el
-
table
-
column
label
=
"计划描述"
align
=
"center"
prop
=
"remarks"
/>
<
el
-
table
-
column
label
=
"计划描述"
align
=
"center"
prop
=
"remarks"
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
if
=
"scope.row.remarks != null"
>
{{
scope
.
row
.
remarks
}}
<
/span
>
<
span
v
-
if
=
"scope.row.remarks == null"
>-<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"计划状态"
align
=
"center"
prop
=
"planStatus"
>
<
el
-
table
-
column
label
=
"计划状态"
align
=
"center"
prop
=
"planStatus"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
if
=
"scope.row.planStatus == 0"
>
未生成工单
<
/span
>
<
span
v
-
if
=
"scope.row.planStatus == 0"
>
未生成工单
<
/span
>
...
@@ -85,6 +90,7 @@
...
@@ -85,6 +90,7 @@
type
=
"text"
type
=
"text"
icon
=
"el-icon-edit"
icon
=
"el-icon-edit"
@
click
=
"showDetail(scope.row)"
@
click
=
"showDetail(scope.row)"
v
-
hasPermi
=
"['deviceInspection:inspectionPlan:query']"
>
详情
<
/el-button
>
>
详情
<
/el-button
>
<
el
-
button
<
el
-
button
size
=
"normal"
size
=
"normal"
...
@@ -270,6 +276,9 @@
...
@@ -270,6 +276,9 @@
endTime
:
[
endTime
:
[
{
required
:
true
,
message
:
"请选择结束时间"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请选择结束时间"
,
trigger
:
"blur"
}
],
],
address
:
[
{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
}
],
appointInspector
:
[
appointInspector
:
[
{
required
:
true
,
message
:
"请选择巡检人员"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请选择巡检人员"
,
trigger
:
"blur"
}
],
],
...
...
gassafety-web/src/views/riskManagement/hiddenTrouble/index.vue
View file @
64c22520
...
@@ -102,6 +102,7 @@
...
@@ -102,6 +102,7 @@
type=
"text"
type=
"text"
icon=
"el-icon-delete"
icon=
"el-icon-delete"
@
click=
"handleIsDel(scope.row)"
@
click=
"handleIsDel(scope.row)"
v-hasPermi=
"['riskManagement:hiddenTrouble:query']"
v-if=
"scope.row.orderId == '' || scope.row.orderId == null"
v-if=
"scope.row.orderId == '' || scope.row.orderId == null"
>
作废
>
作废
</el-button>
</el-button>
...
...
gassafety-web/src/views/workOrder/basicsInfo/index.vue
View file @
64c22520
...
@@ -84,10 +84,16 @@
...
@@ -84,10 +84,16 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"更新时间"
align=
"center"
prop=
"actualTime"
width=
"180"
>
<el-table-column
label=
"更新时间"
align=
"center"
prop=
"actualTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
actualTime
)
}}
</span>
<span
v-if=
"scope.row.actualTime != null"
>
{{
scope
.
row
.
actualTime
}}
</span>
<span
v-if=
"scope.row.actualTime == null"
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"工单描述"
align=
"center"
prop=
"remarks"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.remarks != null"
>
{{
scope
.
row
.
remarks
}}
</span>
<span
v-if=
"scope.row.remarks == null"
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"工单描述"
align=
"center"
prop=
"remarks"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -111,6 +117,7 @@
...
@@ -111,6 +117,7 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"showDetail(scope.row)"
@
click=
"showDetail(scope.row)"
v-hasPermi=
"['workOrder:basicsInfo:query']"
>
详情
</el-button>
>
详情
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
gassafety-web/src/views/workOrder/feedback/index.vue
View file @
64c22520
...
@@ -82,10 +82,16 @@
...
@@ -82,10 +82,16 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"更新时间"
align=
"center"
prop=
"actualTime"
width=
"180"
>
<el-table-column
label=
"更新时间"
align=
"center"
prop=
"actualTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
actualTime
)
}}
</span>
<span
v-if=
"scope.row.actualTime != null"
>
{{
scope
.
row
.
actualTime
}}
</span>
<span
v-if=
"scope.row.actualTime == null"
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"工单描述"
align=
"center"
prop=
"remarks"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.remarks != null"
>
{{
scope
.
row
.
remarks
}}
</span>
<span
v-if=
"scope.row.remarks == null"
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"工单描述"
align=
"center"
prop=
"remarks"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -109,6 +115,7 @@
...
@@ -109,6 +115,7 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"showDetail(scope.row)"
@
click=
"showDetail(scope.row)"
v-hasPermi=
"['workOrder:basicsInfo:query']"
>
详情
</el-button>
>
详情
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -323,7 +330,7 @@
...
@@ -323,7 +330,7 @@
handleReceive
(
row
)
{
handleReceive
(
row
)
{
if
(
row
.
orderStatus
==
'0'
)
{
if
(
row
.
orderStatus
==
'0'
)
{
const
orderIds
=
row
.
orderId
,
const
orderIds
=
row
.
orderId
,
orderName
=
ro
e
.
orderName
;
orderName
=
ro
w
.
orderName
;
this
.
$confirm
(
'是否确认接收工单('
+
orderName
+
orderIds
+
")"
,
"操作提示"
,
{
this
.
$confirm
(
'是否确认接收工单('
+
orderName
+
orderIds
+
")"
,
"操作提示"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
...
...
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