记得上下班打卡 | 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
183839ff
Commit
183839ff
authored
Aug 04, 2022
by
sangchunxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推荐活动edit 2
parent
8cebb2bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
35 deletions
+42
-35
edit.html
...ces/templates/zhengzai/sweet/affiliatedActivity/edit.html
+37
-35
list.html
...ces/templates/zhengzai/sweet/affiliatedActivity/list.html
+5
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/affiliatedActivity/edit.html
View file @
183839ff
...
...
@@ -382,7 +382,7 @@
function
searchAjax
(
val
,
index
)
{
let
_selectVal
=
$
(
"#listActiveType"
+
index
).
find
(
"option:selected"
).
val
()
// 当前子select
console
.
log
(
'ajax'
,
_selectVal
)
if
(
_selectVal
)
{
let
_params
=
{}
if
(
_selectVal
===
1
)
{
_params
[
'type'
]
=
1
...
...
@@ -398,7 +398,7 @@
}
$
.
ajax
({
type
:
'get'
,
url
:
ctx
+
affiliatedUrl
[
_selectVal
-
1
],
url
:
ctx
+
affiliatedUrl
[
_selectVal
],
contentType
:
"application/json;charset=UTF-8"
,
data
:
_params
,
success
:
function
(
res
)
{
...
...
@@ -420,6 +420,8 @@
})
}
}
// 保存/更新
function
save
()
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/affiliatedActivity/list.html
View file @
183839ff
...
...
@@ -420,6 +420,8 @@
// 监听 模糊搜索 list
let
listRemoteSearch1
=
new
searchSelect
(
'#listRemoteSearch1'
,
[],
function
(
val
)
{
console
.
log
(
'activeTypeChangeValChild'
,
activeTypeChangeValChild
)
let
_params
=
{}
if
(
activeTypeChangeValChild
===
1
)
{
_params
[
'type'
]
=
1
...
...
@@ -540,6 +542,9 @@
// 设置 代入的 点击
$
(
'#listActiveType1'
).
find
(
`option[value=
${
index
}
]`
).
attr
(
'selected'
,
true
)
activeTypeChangeValChild
=
index
currentChildUrl
=
affiliatedUrl
[
activeTypeChangeValChild
]
}
...
...
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