记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
0903f472
Commit
0903f472
authored
Sep 26, 2022
by
xuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代理管理
parent
76fa478a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
60 additions
and
9 deletions
+60
-9
LocalAdminController.java
...t/admin/web/controller/zhengzai/LocalAdminController.java
+5
-5
blackList.html
...sources/templates/zhengzai/smile/blackList/blackList.html
+0
-0
list.html
...ain/resources/templates/zhengzai/smile/userList/list.html
+9
-4
specialDetail.html
...rces/templates/zhengzai/smile/userList/specialDetail.html
+46
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/LocalAdminController.java
View file @
0903f472
...
...
@@ -32,11 +32,11 @@ public class LocalAdminController extends BaseController
return
smilePrefix
+
"/userList/list"
;
}
@GetMapping
(
"/smileDetail"
)
// 用户详情
public
String
smileDetail
()
{
return
smilePrefix
+
"/userList/detail"
;
}
public
String
smileDetail
()
{
return
smilePrefix
+
"/userList/detail"
;
}
@GetMapping
(
"/specialDetail"
)
// 特邀用户详情
public
String
specialDetail
()
{
return
smilePrefix
+
"/userList/specialDetail"
;
}
@GetMapping
(
"/blackList"
)
// 黑名单管理
public
String
blackList
()
{
return
smilePrefix
+
"/blackList/blackList"
;
}
@GetMapping
(
"/smilePending"
)
// 待审核列表
public
String
smilePending
()
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/blackList/blackList.html
0 → 100644
View file @
0903f472
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/userList/list.html
View file @
0903f472
...
...
@@ -129,7 +129,7 @@
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
var
actions
=
[];
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
detailFlag
+
'" href="javascript:void(0)" onclick="goDetail(
\'
'
+
row
.
uid
+
'
\'
)"><i class="fa fa-edit"></i>查看</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
detailFlag
+
'" href="javascript:void(0)" onclick="goDetail(
\'
'
+
row
.
type
+
'
\'
,
\'
'
+
row
.
uid
+
'
\'
)"><i class="fa fa-edit"></i>查看</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
detailFlag
+
'" href="javascript:void(0)" onclick="updateUserStateById(
\'
'
+
row
.
uid
+
'
\'
,
\'
'
+
1
+
'
\'
)"><i class="fa fa-edit"></i>加入黑名单</a> '
);
return
actions
.
join
(
''
);
}
...
...
@@ -139,9 +139,14 @@
console
.
log
(
options
)
});
function
goDetail
(
id
)
{
var
url
=
ctx
+
'local/smileDetail?id='
+
id
;
$
.
modal
.
openTab
(
"用户详情"
,
url
);
function
goDetail
(
type
,
id
)
{
if
(
type
===
'5'
){
let
url
=
ctx
+
'local/specialDetail?id='
+
id
;
$
.
modal
.
openTab
(
"特邀用户详情"
,
url
);
}
else
{
let
url
=
ctx
+
'local/smileDetail?id='
+
id
;
$
.
modal
.
openTab
(
"用户详情"
,
url
);
}
}
/*加入黑名单*/
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/userList/specialDetail.html
0 → 100644
View file @
0903f472
<!DOCTYPE html>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<th:block
th:include=
"include :: header('特邀用户详情')"
/>
<th:block
th:include=
"include :: bootstrap-fileinput-css"
/>
<style>
.detail-container
{
height
:
50%
;
padding
:
50px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-around
;
align-content
:
flex-start
;
}
</style>
</head>
<body>
<div
class=
"detail-container"
></div>
</body>
<th:block
th:include=
"include :: footer"
/>
<script
type=
"text/javascript"
>
$
(
function
(){
let
uid
=
getUrlParms
(
'id'
);
let
data
=
{
uid
:
uid
}
$
.
ajax
({
url
:
'/smile/user/getUserById'
,
type
:
'post'
,
data
,
success
:
function
(
response
){
let
{
data
}
=
response
;
let
child
=
`<div>特邀代理姓名:
${
data
.
name
}
</div>`
+
`<div>特邀代理手机号:
${
data
.
phone
}
</div>`
+
`<div>代理描述:
${
data
.
describe
}
</div>`
+
`<div>代理演出:
${
data
.
title
}
</div>`
+
`<div>票提设置:
${
data
.
ticket
}
%</div>`
$
(
'.detail-container'
).
append
(
child
)
}
})
})
function
getUrlParms
(
name
){
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
if
(
r
!=
null
)
return
unescape
(
r
[
2
]);
return
null
;
}
</script>
</html>
\ 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