记得上下班打卡 | 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
1b295c35
Commit
1b295c35
authored
Aug 19, 2022
by
sangchunxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能阻塞3
parent
5d037bcc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
add.html
...rces/templates/zhengzai/sweet/affiliatedActivity/add.html
+13
-10
edit.html
...ces/templates/zhengzai/sweet/affiliatedActivity/edit.html
+5
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/affiliatedActivity/add.html
View file @
1b295c35
...
...
@@ -394,9 +394,10 @@
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
)
{
createListenerSearch
(
i
+
1
)
$
(
`#listActiveType
${
i
+
1
}
`
).
change
(
function
()
{
varObj
[
Object
.
keys
(
varObj
)[
i
]].
empty
()
$
(
'#listRemoteSearch'
+
(
currentSelect
)
+
' input'
).
attr
(
'value'
,
''
)
$
(
'#listRemoteSearch'
+
(
currentSelect
)
+
' input'
).
attr
(
'data-id'
,
''
)
varObj
[
Object
.
keys
(
varObj
)[
currentSelect
-
1
]].
empty
()
console
.
log
(
'init-listener'
,
varObj
[
Object
.
keys
(
varObj
)[
currentSelect
-
1
]])
})
$
(
'#listRemoteSearch'
+
(
i
+
1
)
+
' input'
).
focus
(
function
()
{
...
...
@@ -492,22 +493,26 @@
$
(
`#listActiveType
${
count
}
`
).
change
(
function
()
{
$
(
'#listRemoteSearch'
+
(
currentSelect
)
+
' input'
).
val
(
''
)
$
(
'#listRemoteSearch'
+
(
currentSelect
)
+
' input'
).
attr
(
'data-id'
,
''
)
varObj
[
Object
.
keys
(
varObj
)[
currentSelect
-
1
]].
empty
()
console
.
log
(
'add-listener'
,
varObj
[
Object
.
keys
(
varObj
)[
currentSelect
-
1
]])
})
$
(
'#listRemoteSearch'
+
(
count
)
+
' input'
).
focus
(
function
()
{
$
(
this
).
val
(
''
)
$
(
this
).
attr
(
'data-id'
,
''
)
// varObj['listRemoteSearch'+currentSelect].empty()
})
},
400
)
setTimeout
(()
=>
{
$
(
'#listRemoteSearch'
+
(
count
)
+
' input'
).
focus
(
function
()
{
$
(
this
).
val
(
''
)
$
(
this
).
attr
(
'data-id'
,
''
)
})
},
600
)
// setTimeout(() => {
// $('#listRemoteSearch' + (count) + ' input').focus(function () {
// $(this).val('')
// $(this).attr('data-id', '')
// varObj['listRemoteSearch'+currentSelect].empty()
// })
//
// }, 600)
}
else
{
layer
.
msg
(
'不能添加'
)
...
...
@@ -581,8 +586,6 @@
console
.
log
(
'当前的list下啦'
,
val
,
index
)
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/edit.html
View file @
1b295c35
...
...
@@ -424,6 +424,8 @@
$
(
'#listRemoteSearch'
+
(
currentSelect
)
+
' input'
).
attr
(
'value'
,
''
)
// 重置功能
$
(
'#listRemoteSearch'
+
(
currentSelect
)
+
' input'
).
attr
(
'data-id'
,
''
)
varObj
[
Object
.
keys
(
varObj
)[
currentSelect
-
1
]].
empty
()
console
.
log
(
'init-listener'
,
varObj
[
Object
.
keys
(
varObj
)[
currentSelect
-
1
]])
})
$
(
'#listRemoteSearch'
+
(
i
+
1
)
+
' input'
).
focus
(
function
()
{
...
...
@@ -532,6 +534,8 @@
$
(
'#listRemoteSearch'
+
(
currentSelect
)
+
' input'
).
val
(
''
);
// 重置功能
$
(
'#listRemoteSearch'
+
(
currentSelect
)
+
' input'
).
attr
(
'data-id'
,
''
)
varObj
[
Object
.
keys
(
varObj
)[
currentSelect
-
1
]].
empty
()
console
.
log
(
'add-listener'
,
varObj
[
Object
.
keys
(
varObj
)[
currentSelect
-
1
]])
})
},
400
)
...
...
@@ -540,6 +544,7 @@
$
(
'#listRemoteSearch'
+
(
count
)
+
' input'
).
focus
(
function
()
{
$
(
this
).
val
(
''
)
$
(
this
).
attr
(
'data-id'
,
''
)
// varObj[Object.keys(varObj)[currentSelect - 1]].empty()
})
},
600
)
...
...
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