记得上下班打卡 | 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
153e5364
Commit
153e5364
authored
Aug 05, 2022
by
sangchunxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit change 3
parent
6f7924d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
edit.html
...ces/templates/zhengzai/sweet/affiliatedActivity/edit.html
+2
-3
list.html
...ces/templates/zhengzai/sweet/affiliatedActivity/list.html
+5
-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 @
153e5364
...
...
@@ -466,7 +466,6 @@
function
searchAjax
(
val
,
index
)
{
let
_selectVal
=
$
(
"#listActiveType"
+
index
).
find
(
"option:selected"
).
val
()
// 当前子select val
console
.
log
(
'111'
,
val
,
_selectVal
)
if
(
_selectVal
)
{
let
_params
=
{}
...
...
@@ -536,7 +535,7 @@
for
(
let
i
=
0
;
i
<
evryGroup
.
length
;
i
++
)
{
listData
.
push
({
recommendBindId
:
$
(
'#listRemoteSearch'
+
(
i
+
1
)).
find
(
'input'
).
val
(
),
recommendBindId
:
$
(
'#listRemoteSearch'
+
(
i
+
1
)).
find
(
'input'
).
attr
(
'data-id'
),
type
:
$
(
"#listActiveType"
+
(
i
+
1
)).
find
(
"option:selected"
).
val
()
})
...
...
@@ -546,7 +545,7 @@
console
.
log
(
'listData'
,
listData
)
let
_params
=
{
activeBindId
:
$
(
'#search input'
).
val
(
),
activeBindId
:
$
(
'#search input'
).
attr
(
'data-id'
),
activeName
:
$
(
'#activeName'
).
val
(),
activeType
:
Number
(
$
(
"#activeType"
).
find
(
"option:selected"
).
val
()),
endTime
:
$
(
'#endTime'
).
val
(),
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/affiliatedActivity/list.html
View file @
153e5364
...
...
@@ -533,13 +533,14 @@
function
saveActivity
()
{
let
data
=
{
activeName
:
$
(
'#activeName'
).
val
(),
activeBindId
:
$
(
'#
activeBindId'
).
val
(
),
activeBindId
:
$
(
'#
search input'
).
attr
(
'data-id'
),
startTime
:
$
(
'#startTime'
).
val
(),
endTime
:
$
(
'#endTime'
).
val
(),
activeType
:
Number
(
$
(
"#activeType"
).
find
(
"option:selected"
).
val
()),
status
:
Number
(
$
(
"#status"
).
find
(
"option:selected"
).
val
()),
list
:
listData
}
console
.
log
(
'saveActivity'
,
data
)
let
isRequired
=
data
.
startTime
&&
data
.
endTime
&&
data
.
activeType
console
.
log
(
'saveActivity-params'
,
data
)
if
(
isRequired
)
{
// 必填ok
...
...
@@ -564,7 +565,9 @@
// 保存关联活动内容
function
saveListAffiliated
()
{
let
_recommendBindId
=
$
(
'#listRemoteSearch1'
).
val
()
let
_recommendBindId
=
$
(
'#listRemoteSearch1 input'
).
attr
(
'data-id'
)
console
.
log
(
'_recommendBindId'
,
_recommendBindId
)
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