记得上下班打卡 | 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
8f0adf87
Commit
8f0adf87
authored
Oct 19, 2021
by
dongchun
Committed by
张国柄
Oct 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改id不对问题
parent
fdb270b9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
27 deletions
+9
-27
add1.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add1.html
+2
-10
add101.html
...resources/templates/zhengzai/candy/coupon/mgt/add101.html
+2
-5
add2.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add2.html
+2
-6
add3.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add3.html
+3
-4
add4.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add4.html
+0
-2
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add1.html
View file @
8f0adf87
...
@@ -306,18 +306,16 @@
...
@@ -306,18 +306,16 @@
// type:'get',
// type:'get',
// url:phpMallUrl + '/admin/goodListForQuick',
// url:phpMallUrl + '/admin/goodListForQuick',
// success:function(e){
// success:function(e){
// console.log(e)
// }
// }
// });
// });
};
};
function
selectOne
(
id
,
name
)
{
function
selectOne
(
id
,
name
)
{
console
.
log
(
id
,
showId
,
'showId'
)
$
(
"#searchIpt"
).
val
(
name
);
$
(
"#searchIpt"
).
val
(
name
);
showId
=
id
;
showId
=
id
;
if
(
typeOne
==
2
)
{
if
(
typeOne
==
2
)
{
return
return
}
}
let
str
=
`<option value="
0
" label="">所有</option>`
;
let
str
=
`<option value="" label="">所有</option>`
;
let
obj
=
{};
let
obj
=
{};
let
filterData
=
[];
let
filterData
=
[];
searchData
.
forEach
(
item
=>
{
searchData
.
forEach
(
item
=>
{
...
@@ -340,7 +338,6 @@
...
@@ -340,7 +338,6 @@
if
(
typeOne
==
2
)
{
if
(
typeOne
==
2
)
{
getMallList
()
getMallList
()
}
else
{
}
else
{
console
.
log
(
'search'
)
search
()
search
()
}
}
$
(
'#dataList'
).
show
()
$
(
'#dataList'
).
show
()
...
@@ -356,16 +353,14 @@
...
@@ -356,16 +353,14 @@
if
(
typeOne
==
2
)
{
if
(
typeOne
==
2
)
{
getMallList
()
getMallList
()
}
else
{
}
else
{
console
.
log
(
'search'
)
search
()
search
()
}
}
});
});
$
(
'#selectTwo'
).
change
(
function
(
e
){
$
(
'#selectTwo'
).
change
(
function
(
e
){
selectTwoId
=
$
(
this
).
val
();
selectTwoId
=
$
(
this
).
val
();
console
.
log
(
selectTwoId
,
'kankna'
)
selectTwoName
=
$
(
'#selectTwo'
).
find
(
'option:selected'
).
attr
(
'label'
);
selectTwoName
=
$
(
'#selectTwo'
).
find
(
'option:selected'
).
attr
(
'label'
);
let
str
=
`<option value="
0
" label="" >所有</option>`
;
let
str
=
`<option value="" label="" >所有</option>`
;
searchData
.
forEach
(
item
=>
{
searchData
.
forEach
(
item
=>
{
if
(
item
.
timeId
==
selectTwoId
)
{
if
(
item
.
timeId
==
selectTwoId
)
{
str
+=
`<option value='
${
item
.
ticketId
}
' label='
${
item
.
ticketTitle
}
'>
${
item
.
ticketTitle
}
</option>`
str
+=
`<option value='
${
item
.
ticketId
}
' label='
${
item
.
ticketTitle
}
'>
${
item
.
ticketTitle
}
</option>`
...
@@ -385,7 +380,6 @@
...
@@ -385,7 +380,6 @@
$
(
"#searchIpt"
).
attr
(
'placeholder'
,
'全部'
);
$
(
"#searchIpt"
).
attr
(
'placeholder'
,
'全部'
);
}
}
if
(
typeOne
!=
0
)
{
if
(
typeOne
!=
0
)
{
console
.
log
(
'???'
)
showId
=
''
;
// 选中演出id
showId
=
''
;
// 选中演出id
selectTwoId
=
''
;
// 选中演出下级的ID
selectTwoId
=
''
;
// 选中演出下级的ID
selectThreeId
=
''
;
// 选中演出三级的ID
selectThreeId
=
''
;
// 选中演出三级的ID
...
@@ -520,7 +514,6 @@
...
@@ -520,7 +514,6 @@
}
}
busiName
=
$
(
"#searchIpt"
).
val
();
busiName
=
$
(
"#searchIpt"
).
val
();
}
}
console
.
log
(
showId
,
busiId
,
'showId'
)
let
data
=
{
let
data
=
{
"bindType"
:
Number
(
typeTwo
),
// 兑换券/发放
"bindType"
:
Number
(
typeTwo
),
// 兑换券/发放
"busiType"
:
Number
(
typeOne
),
// 业务类别
"busiType"
:
Number
(
typeOne
),
// 业务类别
...
@@ -557,7 +550,6 @@
...
@@ -557,7 +550,6 @@
if
(
sendType
!=
2
)
{
if
(
sendType
!=
2
)
{
delete
data
.
eventLimit
;
delete
data
.
eventLimit
;
}
}
console
.
log
(
data
,
'data'
)
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
layer
.
msg
(
''
+
res
);
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add101.html
View file @
8f0adf87
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
if
(
typeOne
==
2
)
{
if
(
typeOne
==
2
)
{
return
return
}
}
let
str
=
`<option value="
0
" label="">所有</option>`
;
let
str
=
`<option value="" label="">所有</option>`
;
searchData
.
forEach
(
item
=>
{
searchData
.
forEach
(
item
=>
{
if
(
item
.
performancesId
==
id
)
{
if
(
item
.
performancesId
==
id
)
{
str
+=
`<option value='
${
item
.
timeId
}
' label='
${
item
.
timeTitle
}
'>
${
item
.
timeTitle
}
</option>`
str
+=
`<option value='
${
item
.
timeId
}
' label='
${
item
.
timeTitle
}
'>
${
item
.
timeTitle
}
</option>`
...
@@ -321,7 +321,6 @@
...
@@ -321,7 +321,6 @@
if
(
typeOne
==
2
)
{
if
(
typeOne
==
2
)
{
getMallList
()
getMallList
()
}
else
{
}
else
{
console
.
log
(
'search'
)
search
()
search
()
}
}
$
(
'#dataList'
).
show
()
$
(
'#dataList'
).
show
()
...
@@ -338,9 +337,8 @@
...
@@ -338,9 +337,8 @@
$
(
'#selectTwo'
).
change
(
function
(
e
){
$
(
'#selectTwo'
).
change
(
function
(
e
){
selectTwoId
=
$
(
this
).
val
();
selectTwoId
=
$
(
this
).
val
();
console
.
log
(
selectTwoId
,
'kankna'
)
selectTwoName
=
$
(
'#selectTwo'
).
find
(
'option:selected'
).
attr
(
'label'
);
selectTwoName
=
$
(
'#selectTwo'
).
find
(
'option:selected'
).
attr
(
'label'
);
let
str
=
`<option value="
0
" label="" >所有</option>`
;
let
str
=
`<option value="" label="" >所有</option>`
;
searchData
.
forEach
(
item
=>
{
searchData
.
forEach
(
item
=>
{
if
(
item
.
timeId
==
selectTwoId
)
{
if
(
item
.
timeId
==
selectTwoId
)
{
str
+=
`<option value='
${
item
.
ticketId
}
' label='
${
item
.
ticketTitle
}
'>
${
item
.
ticketTitle
}
</option>`
str
+=
`<option value='
${
item
.
ticketId
}
' label='
${
item
.
ticketTitle
}
'>
${
item
.
ticketTitle
}
</option>`
...
@@ -459,7 +457,6 @@
...
@@ -459,7 +457,6 @@
if
(
sendType
!=
2
)
{
if
(
sendType
!=
2
)
{
delete
data
.
eventLimit
;
delete
data
.
eventLimit
;
}
}
console
.
log
(
data
,
'data'
)
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
layer
.
msg
(
''
+
res
);
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add2.html
View file @
8f0adf87
...
@@ -308,7 +308,6 @@
...
@@ -308,7 +308,6 @@
// type:'get',
// type:'get',
// url:phpMallUrl + '/admin/goodListForQuick',
// url:phpMallUrl + '/admin/goodListForQuick',
// success:function(e){
// success:function(e){
// console.log(e)
// }
// }
// });
// });
};
};
...
@@ -318,7 +317,7 @@
...
@@ -318,7 +317,7 @@
if
(
typeOne
==
2
)
{
if
(
typeOne
==
2
)
{
return
return
}
}
let
str
=
`<option value="
0
" label="">所有</option>`
;
let
str
=
`<option value="" label="">所有</option>`
;
let
obj
=
{};
let
obj
=
{};
let
filterData
=
[];
let
filterData
=
[];
searchData
.
forEach
(
item
=>
{
searchData
.
forEach
(
item
=>
{
...
@@ -341,7 +340,6 @@
...
@@ -341,7 +340,6 @@
if
(
typeOne
==
2
)
{
if
(
typeOne
==
2
)
{
getMallList
()
getMallList
()
}
else
{
}
else
{
console
.
log
(
'search'
)
search
()
search
()
}
}
$
(
'#dataList'
).
show
()
$
(
'#dataList'
).
show
()
...
@@ -357,16 +355,14 @@
...
@@ -357,16 +355,14 @@
if
(
typeOne
==
2
)
{
if
(
typeOne
==
2
)
{
getMallList
()
getMallList
()
}
else
{
}
else
{
console
.
log
(
'search'
)
search
()
search
()
}
}
});
});
$
(
'#selectTwo'
).
change
(
function
(
e
){
$
(
'#selectTwo'
).
change
(
function
(
e
){
selectTwoId
=
$
(
this
).
val
();
selectTwoId
=
$
(
this
).
val
();
console
.
log
(
selectTwoId
,
'kankna'
)
selectTwoName
=
$
(
'#selectTwo'
).
find
(
'option:selected'
).
attr
(
'label'
);
selectTwoName
=
$
(
'#selectTwo'
).
find
(
'option:selected'
).
attr
(
'label'
);
let
str
=
`<option value="
0
" label="" >所有</option>`
;
let
str
=
`<option value="" label="" >所有</option>`
;
searchData
.
forEach
(
item
=>
{
searchData
.
forEach
(
item
=>
{
if
(
item
.
timeId
==
selectTwoId
)
{
if
(
item
.
timeId
==
selectTwoId
)
{
str
+=
`<option value='
${
item
.
ticketId
}
' label='
${
item
.
ticketTitle
}
'>
${
item
.
ticketTitle
}
</option>`
str
+=
`<option value='
${
item
.
ticketId
}
' label='
${
item
.
ticketTitle
}
'>
${
item
.
ticketTitle
}
</option>`
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add3.html
View file @
8f0adf87
...
@@ -235,7 +235,7 @@
...
@@ -235,7 +235,7 @@
function
selectOne
(
id
,
name
)
{
function
selectOne
(
id
,
name
)
{
$
(
"#searchIpt"
).
val
(
name
);
$
(
"#searchIpt"
).
val
(
name
);
showId
=
id
;
showId
=
id
;
let
str
=
`<option value="
0
" label="">所有</option>`
;
let
str
=
`<option value="" label="">所有</option>`
;
let
obj
=
{};
let
obj
=
{};
let
filterData
=
[];
let
filterData
=
[];
searchData
.
forEach
(
item
=>
{
searchData
.
forEach
(
item
=>
{
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
selectTwoId
=
''
;
// 选中演出下级的ID
selectTwoId
=
''
;
// 选中演出下级的ID
selectThreeId
=
''
;
// 选中演出三级的ID
selectThreeId
=
''
;
// 选中演出三级的ID
$
(
'#selectTwo'
).
empty
().
append
(
str
);
$
(
'#selectTwo'
).
empty
().
append
(
str
);
$
(
'#selectThree'
).
empty
().
append
(
'<option value="
0
" label="">所有</option>'
);
$
(
'#selectThree'
).
empty
().
append
(
'<option value="" label="">所有</option>'
);
};
};
$
(
"#searchIpt"
).
focus
(
function
(){
$
(
"#searchIpt"
).
focus
(
function
(){
search
()
search
()
...
@@ -274,9 +274,8 @@
...
@@ -274,9 +274,8 @@
$
(
'#selectTwo'
).
change
(
function
(
e
){
$
(
'#selectTwo'
).
change
(
function
(
e
){
selectTwoId
=
$
(
this
).
val
();
selectTwoId
=
$
(
this
).
val
();
console
.
log
(
selectTwoId
,
'kankna'
)
selectTwoName
=
$
(
'#selectTwo'
).
find
(
'option:selected'
).
attr
(
'label'
);
selectTwoName
=
$
(
'#selectTwo'
).
find
(
'option:selected'
).
attr
(
'label'
);
let
str
=
`<option value="
0
" label="" >所有</option>`
;
let
str
=
`<option value="" label="" >所有</option>`
;
searchData
.
forEach
(
item
=>
{
searchData
.
forEach
(
item
=>
{
if
(
item
.
timeId
==
selectTwoId
)
{
if
(
item
.
timeId
==
selectTwoId
)
{
str
+=
`<option value='
${
item
.
ticketId
}
' label='
${
item
.
ticketTitle
}
'>
${
item
.
ticketTitle
}
</option>`
str
+=
`<option value='
${
item
.
ticketId
}
' label='
${
item
.
ticketTitle
}
'>
${
item
.
ticketTitle
}
</option>`
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add4.html
View file @
8f0adf87
...
@@ -254,7 +254,6 @@
...
@@ -254,7 +254,6 @@
function
selectOne
(
id
,
name
)
{
function
selectOne
(
id
,
name
)
{
$
(
"#searchIpt"
).
val
(
name
);
$
(
"#searchIpt"
).
val
(
name
);
showId
=
id
;
showId
=
id
;
console
.
log
(
showId
,
'showId'
)
};
};
$
(
"input[name=typeTwo]"
).
change
(
function
(
e
){
$
(
"input[name=typeTwo]"
).
change
(
function
(
e
){
typeTwo
=
e
.
target
.
value
;
typeTwo
=
e
.
target
.
value
;
...
@@ -320,7 +319,6 @@
...
@@ -320,7 +319,6 @@
busiName
=
$
(
'#searchIpt'
).
val
();
busiName
=
$
(
'#searchIpt'
).
val
();
busiId
=
showId
;
busiId
=
showId
;
}
}
console
.
log
(
showId
,
busiId
,
'showId'
)
let
data
=
{
let
data
=
{
"bindType"
:
Number
(
typeTwo
),
// 兑换券/发放
"bindType"
:
Number
(
typeTwo
),
// 兑换券/发放
"busiType"
:
2
,
// 业务类别
"busiType"
:
2
,
// 业务类别
...
...
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