记得上下班打卡 | 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
2034a783
Commit
2034a783
authored
Aug 10, 2022
by
sangchunxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信息验证
parent
b798a247
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
15 deletions
+20
-15
edit.html
...ces/templates/zhengzai/sweet/affiliatedActivity/edit.html
+20
-15
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/affiliatedActivity/edit.html
View file @
2034a783
...
@@ -521,7 +521,10 @@
...
@@ -521,7 +521,10 @@
let
evryGroup
=
$
(
'#addClassify2'
).
find
(
$
(
'.addAvatarItem'
))
let
evryGroup
=
$
(
'#addClassify2'
).
find
(
$
(
'.addAvatarItem'
))
for
(
let
i
=
0
;
i
<
evryGroup
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
evryGroup
.
length
;
i
++
)
{
listData
.
push
({
listData
.
push
({
mid
:
$
(
'#listRemoteSearch'
+
(
i
+
1
)).
find
(
'input'
).
attr
(
'data-mid'
),
mid
:
$
(
'#listRemoteSearch'
+
(
i
+
1
)).
find
(
'input'
).
attr
(
'data-mid'
),
recommendActiveId
:
$
(
'#listRemoteSearch'
+
(
i
+
1
)).
find
(
'input'
).
attr
(
'data-recommendActiveId'
),
recommendActiveId
:
$
(
'#listRemoteSearch'
+
(
i
+
1
)).
find
(
'input'
).
attr
(
'data-recommendActiveId'
),
...
@@ -530,26 +533,28 @@
...
@@ -530,26 +533,28 @@
type
:
Number
(
$
(
"#listActiveType"
+
(
i
+
1
)).
find
(
"option:selected"
).
val
()),
type
:
Number
(
$
(
"#listActiveType"
+
(
i
+
1
)).
find
(
"option:selected"
).
val
()),
indexs
:
i
+
1
indexs
:
i
+
1
})
})
}
}
let
isUndefined
=
listData
.
filter
(
item
=>
item
.
recommendBindId
==
undefined
)
for
(
let
j
=
0
;
j
<
evryGroup
.
length
;
i
++
)
{
if
(
listData
[
j
].
recommendBindId
)
{
layer
.
msg
(
'需填写完整'
)
break
}
}
if
(
isUndefined
[
0
].
recommendBindId
!==
undefined
)
{
// 修改推荐活动
// 修改推荐活动
promiseMethods
(
'/kylin-recommend-active/addOrUpdateListKylinRecommendActiveRelation'
,
'post'
,
JSON
.
stringify
(
listData
),
'application/json'
).
then
(
res
=>
{
promiseMethods
(
'/kylin-recommend-active/addOrUpdateListKylinRecommendActiveRelation'
,
'post'
,
JSON
.
stringify
(
listData
),
'application/json'
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
layer
.
msg
(
'修改成功'
)
layer
.
msg
(
'修改成功'
)
// $.operate.successTabCallback(res);
// $.operate.successTabCallback(res);
// closeItem();
// closeItem();
}
else
{
}
else
{
layer
.
msg
(
res
.
msg
)
layer
.
msg
(
res
.
msg
)
}
}
})
})
}
else
{
layer
.
msg
(
'需要填写完整推荐活动!'
)
}
}
}
...
...
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