记得上下班打卡 | 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
74056550
Commit
74056550
authored
Oct 26, 2022
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改创建代理弹窗样式以及必填
parent
5e9ab309
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
18 deletions
+88
-18
LocalAdminController.java
...t/admin/web/controller/zhengzai/LocalAdminController.java
+5
-0
add.html
...main/resources/templates/zhengzai/smile/userList/add.html
+72
-0
list.html
...ain/resources/templates/zhengzai/smile/userList/list.html
+11
-18
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 @
74056550
...
@@ -221,5 +221,10 @@ public class LocalAdminController extends BaseController
...
@@ -221,5 +221,10 @@ public class LocalAdminController extends BaseController
{
{
return
activityPrefix
+
"/affiliatedActivity/edit"
;
return
activityPrefix
+
"/affiliatedActivity/edit"
;
}
}
@GetMapping
(
"/smileUserListAdd"
)
// 关联活动-编辑
public
String
smileUserListAdd
()
{
return
smilePrefix
+
"/userList/add"
;
}
}
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/userList/add.html
0 → 100644
View file @
74056550
<!DOCTYPE html>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
xmlns:shiro=
"http://www.pollix.at/thymeleaf/shiro"
>
<head>
<th:block
th:include=
"include :: header('用户列表')"
/>
<style>
.container-div
.row
.addBox
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-around
;
align-items
:
center
;
}
.addBox
.addItems
{
display
:
flex
;
align-items
:
center
;
margin-top
:
20px
;
}
.addBox
.addItems
span
{
display
:
inline-block
;
width
:
100px
;
text-align
:
right
;
margin-right
:
8px
;
}
</style>
</head>
<body
class=
"gray-bg"
>
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"addBox"
>
<div
class=
"addItems"
>
<span><em
style=
"color: red;"
>
*
</em>
特邀代理姓名
</span><input
id=
"name"
type=
"text"
placeholder=
"特邀代理姓名"
style=
"width:200px;height: 30px;"
>
</div>
<div
class=
"addItems"
>
<span><em
style=
"color: red;"
>
*
</em>
特邀代理手机号
</span><input
id=
"phone"
maxlength=
"11"
type=
"text"
placeholder=
"特邀代理手机号"
style=
"width:200px;height: 30px;"
>
</div>
<div
class=
"addItems"
>
<span><em
style=
"color: red;"
>
*
</em>
代理描述
</span><input
id=
"text"
type=
"text"
placeholder=
"代理描述"
style=
"width:200px;height: 30px;"
>
</div>
<div
class=
"addItems"
>
<span><em
style=
"color: red;"
>
*
</em>
特邀代理姓名
</span>
<select
name=
""
id=
"performance"
style=
"width:200px;height: 30px;"
>
<option
value=
""
disabled
selected
>
选择演出
</option>
</select>
</div>
<div
class=
"addItems"
>
<span><em
style=
"color: red;"
>
*
</em>
票提设置
</span><input
id=
"ticket"
type=
"text"
placeholder=
"票提设置%"
style=
"width:200px;height: 30px;"
>
</div>
</div>
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<script
th:inline=
"javascript"
>
let
uid
=
null
let
perId
=
null
let
hostname
=
null
var
title
=
null
var
smilePrefix
=
ctx
+
"smile/user"
;
var
performancesId
=
null
$
.
ajax
({
url
:
'/smile/show/listAll'
,
type
:
'get'
,
success
:
function
(
res
){
let
arr
=
[]
res
.
data
.
forEach
(
item
=>
{
arr
.
push
(
`<option value="
${
item
.
performancesId
}
">
${
item
.
title
}
</option>`
)
})
$
(
'#performance'
).
append
(
arr
)
}
})
</script>
</body>
</html>
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/userList/list.html
View file @
74056550
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
let
perId
=
null
let
perId
=
null
let
hostname
=
null
let
hostname
=
null
var
title
=
null
var
title
=
null
var
prefix2
=
ctx
+
"local"
;
let
dialog
=
`<div class="dialog" style="height:200px;width:500px;display: flex;flex-direction: column;justify-content: space-around;align-items: center;">
let
dialog
=
`<div class="dialog" style="height:200px;width:500px;display: flex;flex-direction: column;justify-content: space-around;align-items: center;">
<div class="title">请输入拉黑原因</div>
<div class="title">请输入拉黑原因</div>
<textarea name="" id="" cols="50" rows="10"></textarea>
<textarea name="" id="" cols="50" rows="10"></textarea>
...
@@ -200,24 +200,17 @@
...
@@ -200,24 +200,17 @@
}
}
function
create
(){
function
create
(){
$
.
ajax
({
$
.
modal
.
open
(
'创建特邀代理'
,
prefix2
+
'/smileUserListAdd'
,
450
,
400
,
(
index
,
layero
)
=>
{
url
:
'/smile/show/listAll'
,
let
body
=
layer
.
getChildFrame
(
'body'
,
index
);
type
:
'get'
,
success
:
function
(
res
){
let
arr
=
[]
res
.
data
.
forEach
(
item
=>
{
arr
.
push
(
`<option value="
${
item
.
performancesId
}
">
${
item
.
title
}
</option>`
)
})
$
(
'#performance'
).
append
(
arr
)
}
})
$
.
modal
.
confirm
(
add
,()
=>
{
let
data
=
{
let
data
=
{
describe
:
$
(
'#text'
).
val
(),
describe
:
body
.
find
(
'#text'
).
val
(),
name
:
$
(
'#name'
).
val
(),
name
:
body
.
find
(
'#name'
).
val
(),
performancesId
:
$
(
'#performance'
).
val
(),
performancesId
:
body
.
find
(
'#performance'
).
val
(),
phone
:
$
(
'#phone'
).
val
(),
phone
:
body
.
find
(
'#phone'
).
val
(),
ticket
:
Number
(
$
(
'#ticket'
).
val
())
ticket
:
Number
(
body
.
find
(
'#ticket'
).
val
())
}
for
(
let
i
in
data
)
{
if
(
!
data
[
i
])
return
layer
.
msg
(
'请将必填项填写完整!'
)
}
}
$
.
ajax
({
$
.
ajax
({
url
:
'/smile/user/saveInvitedAgent'
,
url
:
'/smile/user/saveInvitedAgent'
,
...
...
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