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
0077d42e
Commit
0077d42e
authored
Feb 26, 2022
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏获取燃气用户列表
parent
9ca885f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
TDetectorUserController.java
...ong/web/controller/supervise/TDetectorUserController.java
+10
-0
detectorUser.js
gassafetyprogress-web/src/api/detector/detectorUser.js
+6
-6
No files found.
gassafetyprogress-admin/src/main/java/com/zehong/web/controller/supervise/TDetectorUserController.java
View file @
0077d42e
...
...
@@ -45,6 +45,16 @@ public class TDetectorUserController extends BaseController
return
getDataTable
(
list
);
}
/**
* 获取探测器用户列表
* @param tDetectorUser
* @return
*/
@GetMapping
(
"/detectorUserList"
)
public
AjaxResult
detectorUserList
(
TDetectorUser
tDetectorUser
){
return
AjaxResult
.
success
(
tDetectorUserService
.
detectorUserList
(
tDetectorUser
));
}
/**
* 导出燃气用户列表
*/
...
...
gassafetyprogress-web/src/api/detector/detectorUser.js
View file @
0077d42e
...
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询探测器用户列表
export
function
listDetectorUser
(
query
)
{
return
request
({
url
:
'/
detector/detectorU
ser/list'
,
url
:
'/
supervise/u
ser/list'
,
method
:
'get'
,
params
:
query
})
...
...
@@ -12,7 +12,7 @@ export function listDetectorUser(query) {
// 探测器用户列表
export
function
detectorUserList
(
query
)
{
return
request
({
url
:
'/
detector/detectorU
ser/detectorUserList'
,
url
:
'/
supervise/u
ser/detectorUserList'
,
method
:
'get'
,
params
:
query
})
...
...
@@ -21,7 +21,7 @@ export function detectorUserList(query) {
// 查询探测器用户详细
export
function
getDetectorUser
(
userId
)
{
return
request
({
url
:
'/
detector/detectorU
ser/'
+
userId
,
url
:
'/
supervise/u
ser/'
+
userId
,
method
:
'get'
})
}
...
...
@@ -29,7 +29,7 @@ export function getDetectorUser(userId) {
// 新增探测器用户
export
function
addDetectorUser
(
data
)
{
return
request
({
url
:
'/
detector/detectorU
ser'
,
url
:
'/
supervise/u
ser'
,
method
:
'post'
,
data
:
data
})
...
...
@@ -38,7 +38,7 @@ export function addDetectorUser(data) {
// 修改探测器用户
export
function
updateDetectorUser
(
data
)
{
return
request
({
url
:
'/
detector/detectorU
ser'
,
url
:
'/
supervise/u
ser'
,
method
:
'put'
,
data
:
data
})
...
...
@@ -47,7 +47,7 @@ export function updateDetectorUser(data) {
// 删除探测器用户
export
function
delDetectorUser
(
userId
)
{
return
request
({
url
:
'/
detector/detectorU
ser/'
+
userId
,
url
:
'/
supervise/u
ser/'
+
userId
,
method
:
'delete'
})
}
...
...
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