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
f78f467d
Commit
f78f467d
authored
Aug 17, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患接口 gengdidi
parent
500ba214
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
THiddenTroubleController.java
...b/controller/riskManagement/THiddenTroubleController.java
+13
-0
hiddenTrouble.js
gassafety-web/src/api/riskManagement/hiddenTrouble.js
+10
-1
No files found.
gassafety-admin/src/main/java/com/zehong/web/controller/riskManagement/THiddenTroubleController.java
View file @
f78f467d
...
@@ -45,6 +45,18 @@ public class THiddenTroubleController extends BaseController
...
@@ -45,6 +45,18 @@ public class THiddenTroubleController extends BaseController
return
getDataTable
(
list
);
return
getDataTable
(
list
);
}
}
/**
* 地图初始化隐患
* @param tHiddenTrouble
* @return
*/
@GetMapping
(
"/getMapHiddenTroublelist"
)
public
AjaxResult
getMapHiddenTroublelist
(
THiddenTrouble
tHiddenTrouble
)
{
List
<
THiddenTrouble
>
list
=
tHiddenTroubleService
.
selectTHiddenTroubleList
(
tHiddenTrouble
);
return
AjaxResult
.
success
(
list
);
}
/**
/**
* 导出隐患信息列表
* 导出隐患信息列表
*/
*/
...
@@ -53,6 +65,7 @@ public class THiddenTroubleController extends BaseController
...
@@ -53,6 +65,7 @@ public class THiddenTroubleController extends BaseController
@GetMapping
(
"/export"
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
THiddenTrouble
tHiddenTrouble
)
public
AjaxResult
export
(
THiddenTrouble
tHiddenTrouble
)
{
{
tHiddenTrouble
.
setDealStatus
(
"3"
);
List
<
THiddenTrouble
>
list
=
tHiddenTroubleService
.
selectTHiddenTroubleList
(
tHiddenTrouble
);
List
<
THiddenTrouble
>
list
=
tHiddenTroubleService
.
selectTHiddenTroubleList
(
tHiddenTrouble
);
ExcelUtil
<
THiddenTrouble
>
util
=
new
ExcelUtil
<
THiddenTrouble
>(
THiddenTrouble
.
class
);
ExcelUtil
<
THiddenTrouble
>
util
=
new
ExcelUtil
<
THiddenTrouble
>(
THiddenTrouble
.
class
);
return
util
.
exportExcel
(
list
,
"隐患信息数据"
);
return
util
.
exportExcel
(
list
,
"隐患信息数据"
);
...
...
gassafety-web/src/api/riskManagement/hiddenTrouble.js
View file @
f78f467d
...
@@ -9,6 +9,15 @@ export function listHiddenTrouble(query) {
...
@@ -9,6 +9,15 @@ export function listHiddenTrouble(query) {
})
})
}
}
//地图隐患初始化
export
function
getMapHiddenTroublelist
(
query
)
{
return
request
({
url
:
'/riskManagement/hiddenTrouble/getMapHiddenTroublelist'
,
method
:
'get'
,
params
:
query
})
}
// 查询隐患信息详细
// 查询隐患信息详细
export
function
getHiddenTrouble
(
troubleId
)
{
export
function
getHiddenTrouble
(
troubleId
)
{
return
request
({
return
request
({
...
@@ -50,4 +59,4 @@ export function exportHiddenTrouble(query) {
...
@@ -50,4 +59,4 @@ export function exportHiddenTrouble(query) {
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
}
}
\ 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