记得上下班打卡 | 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
f6517f85
Commit
f6517f85
authored
Aug 04, 2022
by
sangchunxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推荐活动edit 2
parent
183839ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
edit.html
...ces/templates/zhengzai/sweet/affiliatedActivity/edit.html
+10
-1
list.html
...ces/templates/zhengzai/sweet/affiliatedActivity/list.html
+2
-2
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/affiliatedActivity/edit.html
View file @
f6517f85
...
...
@@ -297,6 +297,13 @@
}
},
500
)
setTimeout
(()
=>
{
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
)
{
$
(
'#listRemoteSearch'
+
(
i
+
1
)).
update
([{
id
:
list
[
i
].
recommendActiveId
,
value
:
list
[
i
].
name
}])
$
(
'#listRemoteSearch'
+
(
i
+
1
)).
assignment
(
1
)
}
},
800
)
}
else
{
...
...
@@ -378,10 +385,12 @@
new
searchSelect
(
`#listRemoteSearch
${
index
}
`
,
[],
function
(
val
)
{
searchAjax
(
val
,
index
)
})
}
function
searchAjax
(
val
,
index
)
{
let
_selectVal
=
$
(
"#listActiveType"
+
index
).
find
(
"option:selected"
).
val
()
// 当前子select
let
_selectVal
=
$
(
"#listActiveType"
+
index
).
find
(
"option:selected"
).
val
()
// 当前子select
val
if
(
_selectVal
)
{
let
_params
=
{}
if
(
_selectVal
===
1
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/affiliatedActivity/list.html
View file @
f6517f85
...
...
@@ -256,7 +256,7 @@
<div
class=
"search-wrapper"
>
<div
class=
"search-wrapper"
style=
"margin-bottom: 15px;"
>
<!-- 关联 模糊搜索 -->
<div
id=
"listRemoteSearch1"
placeholder=
"请搜索"
name=
"
s
eaarchSelect"
></div>
<div
id=
"listRemoteSearch1"
placeholder=
"请搜索"
name=
"
listS
eaarchSelect"
></div>
</div>
</div>
</div>
...
...
@@ -501,7 +501,7 @@
// 保存关联活动内容
function
saveListAffiliated
()
{
let
_recommendBindId
=
document
.
getElementsByName
(
"
recommendBindId
"
)[
0
].
value
let
_recommendBindId
=
document
.
getElementsByName
(
"
listSeaarchSelect
"
)[
0
].
value
let
_type
=
$
(
"#listActiveType1"
).
find
(
"option:selected"
).
val
()
// 已经获取
listData
.
push
({
recommendBindId
:
_recommendBindId
,
...
...
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