记得上下班打卡 | 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
e9b07c48
Commit
e9b07c48
authored
Oct 14, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/new_member' into new_member
parents
541aead8
2299d8b5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
26 deletions
+50
-26
add1.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add1.html
+9
-4
add101.html
...resources/templates/zhengzai/candy/coupon/mgt/add101.html
+18
-7
add2.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add2.html
+8
-3
add3.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add3.html
+7
-9
add4.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add4.html
+8
-3
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 @
e9b07c48
...
...
@@ -172,7 +172,7 @@
<ul
id=
"dataList"
style=
"position: absolute;"
></ul>
</div>
<select
name=
"bindType"
id=
"selectTwo"
placeholder=
"请选择场次"
>
<option
value=
""
>
所有
111
</option>
<option
value=
""
>
所有
</option>
</select>
<select
name=
"bindType"
id=
"selectThree"
placeholder=
"请选择票种"
>
<option
value=
""
>
所有
</option>
...
...
@@ -559,9 +559,14 @@
}
console
.
log
(
data
,
'data'
)
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
layer
.
msg
(
'创建成功!'
);
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
$
.
modal
.
alertWarning
(
res
.
msg
);
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
}
})
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add101.html
View file @
e9b07c48
...
...
@@ -267,9 +267,16 @@
promiseMethods
(
ctx
+
'kylin/base/performance/status'
,
'get'
,
data
,
'application/x-www-form-urlencoded'
).
then
(
res
=>
{
if
(
res
.
value
.
length
>
0
)
{
searchData
=
res
.
value
;
searchData
.
forEach
((
item
,
index
)
=>
{
str
+=
`<li class="selectData" onclick="selectOne('
${
item
.
performancesId
}
','
${
item
.
title
}
')">
${
item
.
title
}
</li>`
})
let
obj
=
{};
searchData
.
reduce
((
cur
,
next
)
=>
{
if
(
!
obj
[
next
.
performancesId
])
{
obj
[
next
.
performancesId
]
=
true
str
+=
`<li class="selectData" onclick="selectOne('
${
next
.
performancesId
}
','
${
next
.
title
}
')">
${
next
.
title
}
</li>`
}
},[])
//设置cur默认类型为数组,并且初始值为空的数组
// searchData.forEach((item,index)=>{
// str+= `
<
li
class
=
"selectData"
onclick
=
"selectOne('${item.performancesId}','${item.title}')"
>
$
{
item
.
title
}
<
/li>
`
// })
$
(
'#dataList'
).
html
(
str
);
}
else
{
$
(
'#dataList'
).
html
(
'<li style="width:100%;text-align:center;color:#ccc;">--- 暂无数据 ---</li>'
);
...
...
@@ -454,10 +461,14 @@
}
console
.
log
(
data
,
'data'
)
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
console
.
log
(
res
)
layer
.
msg
(
'创建成功!'
);
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
$
.
modal
.
alertWarning
(
res
.
msg
);
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
}
})
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add2.html
View file @
e9b07c48
...
...
@@ -560,9 +560,14 @@
delete
data
.
eventLimit
;
}
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
layer
.
msg
(
'创建成功!'
);
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
$
.
modal
.
alertWarning
(
res
.
msg
);
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
}
})
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add3.html
View file @
e9b07c48
...
...
@@ -333,16 +333,14 @@
"redeemValidity"
:
Number
(
$
(
'#ticketTime'
).
val
())
// 兑换有效期
}
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
layer
.
msg
(
'
创建成功!'
);
let
data
=
{
pageSize
:
10
,
pageNum
:
1
,
orderByColumn
:
'createdAt'
,
isAsc
:
'desc'
,
c
ouType
:
3
layer
.
msg
(
'
'
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
$
.
modal
.
alertWarning
(
res
.
msg
);
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
c
loseItem
();
}
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
})
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add4.html
View file @
e9b07c48
...
...
@@ -352,9 +352,14 @@
delete
data
.
eventLimit
;
}
promiseMethods
(
'/candy/coupon/mgt/add'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
layer
.
msg
(
'创建成功!'
);
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
$
.
modal
.
alertWarning
(
res
.
msg
);
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
}
})
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
...
...
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