记得上下班打卡 | 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
b6b9bd8a
Commit
b6b9bd8a
authored
Oct 14, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt;
parent
3f27cd0f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
22 deletions
+39
-22
add1.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add1.html
+8
-3
add101.html
...resources/templates/zhengzai/candy/coupon/mgt/add101.html
+8
-4
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 @
b6b9bd8a
...
@@ -559,9 +559,14 @@
...
@@ -559,9 +559,14 @@
}
}
console
.
log
(
data
,
'data'
)
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
(
'创建成功!'
);
layer
.
msg
(
''
+
res
);
$
.
operate
.
successTabCallback
(
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
closeItem
();
$
.
modal
.
alertWarning
(
res
.
msg
);
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
}
})
})
}
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
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 @
b6b9bd8a
...
@@ -454,10 +454,14 @@
...
@@ -454,10 +454,14 @@
}
}
console
.
log
(
data
,
'data'
)
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
=>
{
console
.
log
(
res
)
layer
.
msg
(
''
+
res
);
layer
.
msg
(
'创建成功!'
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
$
.
modal
.
alertWarning
(
res
.
msg
);
closeItem
();
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
}
})
})
}
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
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 @
b6b9bd8a
...
@@ -560,9 +560,14 @@
...
@@ -560,9 +560,14 @@
delete
data
.
eventLimit
;
delete
data
.
eventLimit
;
}
}
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
(
'创建成功!'
);
layer
.
msg
(
''
+
res
);
$
.
operate
.
successTabCallback
(
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
closeItem
();
$
.
modal
.
alertWarning
(
res
.
msg
);
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
}
})
})
}
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
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 @
b6b9bd8a
...
@@ -333,16 +333,14 @@
...
@@ -333,16 +333,14 @@
"redeemValidity"
:
Number
(
$
(
'#ticketTime'
).
val
())
// 兑换有效期
"redeemValidity"
:
Number
(
$
(
'#ticketTime'
).
val
())
// 兑换有效期
}
}
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
(
'
创建成功!'
);
layer
.
msg
(
'
'
+
res
);
let
data
=
{
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
pageSize
:
10
,
$
.
modal
.
alertWarning
(
res
.
msg
);
pageNum
:
1
,
return
[];
orderByColumn
:
'createdAt'
,
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
isAsc
:
'desc'
,
$
.
operate
.
successTabCallback
(
res
);
c
ouType
:
3
c
loseItem
();
}
}
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
})
})
}
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
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 @
b6b9bd8a
...
@@ -352,9 +352,14 @@
...
@@ -352,9 +352,14 @@
delete
data
.
eventLimit
;
delete
data
.
eventLimit
;
}
}
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
(
'创建成功!'
);
layer
.
msg
(
''
+
res
);
$
.
operate
.
successTabCallback
(
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
closeItem
();
$
.
modal
.
alertWarning
(
res
.
msg
);
return
[];
}
else
if
(
res
.
code
==
web_status
.
SUCCESS
)
{
$
.
operate
.
successTabCallback
(
res
);
closeItem
();
}
})
})
}
}
function
promiseMethods
(
url
,
type
,
data
,
contentType
)
{
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