Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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-progress
Commits
9c8ee7c5
Commit
9c8ee7c5
authored
Mar 30, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务下发 隐患反馈 gengdidi
parent
151f57e5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
524 additions
and
50 deletions
+524
-50
THiddenTroubleInfoController.java
...roller/operationMonitor/THiddenTroubleInfoController.java
+7
-7
THiddenTroubleInfo.java
...ain/java/com/zehong/system/domain/THiddenTroubleInfo.java
+12
-1
THiddenTroubleInfoMapper.xml
...main/resources/mapper/system/THiddenTroubleInfoMapper.xml
+2
-1
hiddenTrouble.js
...etyprogress-web/src/api/operationMonitor/hiddenTrouble.js
+11
-11
HiddenFeedTrouble.vue
...inspectionWork/workOrder/components/HiddenFeedTrouble.vue
+379
-0
index.vue
...progress-web/src/views/inspectionWork/workOrder/index.vue
+113
-30
No files found.
gassafetyprogress-admin/src/main/java/com/zehong/web/controller/operationMonitor/THiddenTroubleInfoController.java
View file @
9c8ee7c5
...
...
@@ -27,7 +27,7 @@ import com.zehong.common.core.page.TableDataInfo;
* @date 2022-03-24
*/
@RestController
@RequestMapping
(
"/system/
info
"
)
@RequestMapping
(
"/system/
hidden
"
)
public
class
THiddenTroubleInfoController
extends
BaseController
{
@Autowired
...
...
@@ -36,7 +36,7 @@ public class THiddenTroubleInfoController extends BaseController
/**
* 查询燃气隐患列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
info
:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
hidden
:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
THiddenTroubleInfo
tHiddenTroubleInfo
)
{
...
...
@@ -53,7 +53,7 @@ public class THiddenTroubleInfoController extends BaseController
/**
* 导出燃气隐患列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
info
:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
hidden
:export')"
)
@Log
(
title
=
"燃气隐患"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
THiddenTroubleInfo
tHiddenTroubleInfo
)
...
...
@@ -66,7 +66,7 @@ public class THiddenTroubleInfoController extends BaseController
/**
* 获取燃气隐患详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
info
:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
hidden
:query')"
)
@GetMapping
(
value
=
"/{hiddenTroubleId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"hiddenTroubleId"
)
Long
hiddenTroubleId
)
{
...
...
@@ -76,7 +76,7 @@ public class THiddenTroubleInfoController extends BaseController
/**
* 新增燃气隐患
*/
@PreAuthorize
(
"@ss.hasPermi('system:
info
:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
hidden
:add')"
)
@Log
(
title
=
"燃气隐患"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
THiddenTroubleInfo
tHiddenTroubleInfo
)
...
...
@@ -87,7 +87,7 @@ public class THiddenTroubleInfoController extends BaseController
/**
* 修改燃气隐患
*/
@PreAuthorize
(
"@ss.hasPermi('system:
info
:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
hidden
:edit')"
)
@Log
(
title
=
"燃气隐患"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
THiddenTroubleInfo
tHiddenTroubleInfo
)
...
...
@@ -98,7 +98,7 @@ public class THiddenTroubleInfoController extends BaseController
/**
* 删除燃气隐患
*/
@PreAuthorize
(
"@ss.hasPermi('system:
info
:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
hidden
:remove')"
)
@Log
(
title
=
"燃气隐患"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{hiddenTroubleIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
hiddenTroubleIds
)
...
...
gassafetyprogress-system/src/main/java/com/zehong/system/domain/THiddenTroubleInfo.java
View file @
9c8ee7c5
...
...
@@ -83,6 +83,17 @@ public class THiddenTroubleInfo extends BaseEntity
@Excel
(
name
=
"备注"
)
private
String
remarks
;
/**上报人名称*/
private
String
reportPersonName
;
public
String
getReportPersonName
()
{
return
reportPersonName
;
}
public
void
setReportPersonName
(
String
reportPersonName
)
{
this
.
reportPersonName
=
reportPersonName
;
}
public
void
setHiddenTroubleId
(
Long
hiddenTroubleId
)
{
this
.
hiddenTroubleId
=
hiddenTroubleId
;
...
...
gassafetyprogress-system/src/main/resources/mapper/system/THiddenTroubleInfoMapper.xml
View file @
9c8ee7c5
...
...
@@ -21,10 +21,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"hiddenTroubleDealFinishTime"
column=
"hidden_trouble_deal_finish_time"
/>
<result
property=
"isDel"
column=
"is_del"
/>
<result
property=
"remarks"
column=
"remarks"
/>
<result
property=
"reportPersonName"
column=
"report_person_name"
/>
</resultMap>
<sql
id=
"selectTHiddenTroubleInfoVo"
>
select hidden_trouble_id, work_id, hidden_trouble_name, hidden_trouble_level, hidden_trouble_type, longitude, latitude, picture_url, hidden_trouble_describe, report_time, (select u.user_name from sys_user u where u.user_id = report_person) AS report_person, hidden_trouble_deal_status, hidden_trouble_deal_condition, hidden_trouble_deal_finish_time, is_del, remarks from t_hidden_trouble_info
select hidden_trouble_id, work_id, hidden_trouble_name, hidden_trouble_level, hidden_trouble_type, longitude, latitude, picture_url, hidden_trouble_describe, report_time, (select u.user_name from sys_user u where u.user_id = report_person) AS report_person
_name, report_person
, hidden_trouble_deal_status, hidden_trouble_deal_condition, hidden_trouble_deal_finish_time, is_del, remarks from t_hidden_trouble_info
</sql>
<select
id=
"selectTHiddenTroubleInfoList"
parameterType=
"THiddenTroubleInfo"
resultMap=
"THiddenTroubleInfoResult"
>
...
...
gassafetyprogress-web/src/api/operationMonitor/hiddenTrouble.js
View file @
9c8ee7c5
...
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询燃气隐患列表
export
function
listInfo
(
query
)
{
return
request
({
url
:
'/system/
info
/list'
,
url
:
'/system/
hidden
/list'
,
method
:
'get'
,
params
:
query
})
...
...
@@ -12,7 +12,7 @@ export function listInfo(query) {
// 查询燃气隐患
export
function
hiddenTroubleList
(
query
)
{
return
request
({
url
:
'/system/
info
/hiddenTroubleList'
,
url
:
'/system/
hidden
/hiddenTroubleList'
,
method
:
'get'
,
params
:
query
})
...
...
@@ -21,41 +21,41 @@ export function hiddenTroubleList(query) {
// 查询燃气隐患详细
export
function
getInfo
(
hiddenTroubleId
)
{
return
request
({
url
:
'/system/
info
/'
+
hiddenTroubleId
,
url
:
'/system/
hidden
/'
+
hiddenTroubleId
,
method
:
'get'
})
}
// 新增燃气隐患
export
function
addInfo
(
data
)
{
export
function
add
Hidden
Info
(
data
)
{
return
request
({
url
:
'/system/
info
'
,
url
:
'/system/
hidden
'
,
method
:
'post'
,
data
:
data
})
}
// 修改燃气隐患
export
function
updateInfo
(
data
)
{
export
function
update
Hidden
Info
(
data
)
{
return
request
({
url
:
'/system/
info
'
,
url
:
'/system/
hidden
'
,
method
:
'put'
,
data
:
data
})
}
// 删除燃气隐患
export
function
delInfo
(
hiddenTroubleId
)
{
export
function
del
Hidden
Info
(
hiddenTroubleId
)
{
return
request
({
url
:
'/system/
info
/'
+
hiddenTroubleId
,
url
:
'/system/
hidden
/'
+
hiddenTroubleId
,
method
:
'delete'
})
}
// 导出燃气隐患
export
function
exportInfo
(
query
)
{
export
function
export
Hidden
Info
(
query
)
{
return
request
({
url
:
'/system/
info
/export'
,
url
:
'/system/
hidden
/export'
,
method
:
'get'
,
params
:
query
})
...
...
gassafetyprogress-web/src/views/inspectionWork/workOrder/components/HiddenFeedTrouble.vue
0 → 100644
View file @
9c8ee7c5
This diff is collapsed.
Click to expand it.
gassafetyprogress-web/src/views/inspectionWork/workOrder/index.vue
View file @
9c8ee7c5
This diff is collapsed.
Click to expand it.
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