Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
tanling
8 years ago
Commit
eaaa32f5b598eb97ce3ea828b4329a927a96e82c
1 parent
d13ec3e9
微信卡券
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
code/static/js.jquery/module/marketing/CouponList/Index.js
code/static/js.jquery/module/marketing/CouponList/Index.js
View file @
eaaa32f
...
...
@@ -441,14 +441,14 @@ $(document).on('click', '.operation-third', function() {
//
绑定第三方
//
更新微信卡券h5链接
$
(
document
).
on
(
'click'
,
'#updateh5-btn'
,
function
()
{
var
obj
=
{};
var
e
=
new
common
.
edit
(
"#h5LinkForm"
);
var
url
=
"/coupon/update
CouponsUseRule
"
;
var
url
=
"/coupon/update
H5Link
"
;
var
dialog
=
common
.
dialog
.
confirm
(
"更新微信卡券h5链接"
,
artTemplate
(
"h5Link-template"
,
obj
),
function
()
{
...
...
@@ -456,11 +456,20 @@ $(document).on('click', '#updateh5-btn', function() {
console
.
log
(
option
.
data
);
option
.
success
=
function
()
{
dialog
.
close
();
// g.reload();
option
.
success
=
function
(
res
)
{
if
(
res
.
code
==
200
)
{
common
.
util
.
__tip
(
'更新微信卡券h5链接成功!'
,
'success'
);
dialog
.
close
();
}
else
{
common
.
util
.
__tip
(
res
.
message
);
dialog
.
close
();
}
return
false
;
};
option
.
error
=
function
(){
common
.
util
.
__tip
(
'提交失败!'
,
'fail'
);
};
option
.
error
=
function
(){};
});
return
false
;
...
...
Please
register
or
login
to post a comment