记得上下班打卡 | 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
ba038a89
Commit
ba038a89
authored
Oct 20, 2021
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
bf40d874
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
30 deletions
+8
-30
integralDetail.html
...resources/templates/zhengzai/integral/integralDetail.html
+8
-30
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/integral/integralDetail.html
View file @
ba038a89
...
...
@@ -97,15 +97,9 @@
title
:
'操作'
,
// align: 'center',
formatter
:
function
(
value
,
row
,
index
)
{
var
actions
=
[];
actions
.
push
(
'<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="open(
\'
'
+
row
.
mcouponId
+
'
\'
)"><i class="fa fa-search"></i>加入黑名单</span>'
);
// if (row.state === 0) {
// actions.push('
<
a
class
=
"btn btn-danger btn-xs ' + cancelMgtCouponFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.mcouponId + '
\
')"
><
i
class
=
"fa fa-remove"
><
/i>取消</
a
>
');
// }
if (row.bindType === 0 && row.state === 1) {
actions.push('
<
a
class
=
"btn btn-info btn-xs"
href
=
"javascript:void(0)"
onclick
=
"couponCodeList(
\
'' + row.couponId + '
\
')"
><
i
class
=
"fa fa-list-ul"
><
/i>码列表</
a
>
');
}
return actions.join('');
let
dataArr
=
[];
return
`<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="openModal('
${
index
}
')"><i class="fa fa-search"></i>查看</span>
<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="openModal('
${
index
}
')"><i class="fa fa-search"></i>加入黑名单</span>`
}
}]
};
...
...
@@ -117,27 +111,11 @@
var
url
=
'candy/coupon/code?couponId='
+
couponId
;
$
.
modal
.
openTab
(
"积分明细列表"
,
url
);
}
function open(id) {
console.log('
111111
')
layer.open({
type: 2,
// area: [width + '
px
', height + '
px
'],
fix: false,
//不固定
maxmin: true,
shade: 0.3,
title: '
加入黑名单
',
content: '
加入黑名单后,用户将不可使用积分功能
',
btn: ['
确定
', '
关闭
'],
// 弹层外区域关闭
shadeClose: true,
yes: function() {
console.log('
确定
')
},
cancel: function(index) {
console.log('
取消
')
return true;
}
function
openModal
(
id
)
{
// console.log('111111')
$
.
modal
.
confirm
(
"加入黑名单后,用户将不可使用积分功能"
,
function
()
{
console
.
log
(
12121212
)
// $.operate.post(prefix + "/edit_onsale", { "memberId": memberId, "onsale": 2 });
});
}
</script>
...
...
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