记得上下班打卡 | git大法好,push需谨慎

Commit 7034d2da authored by dongchun's avatar dongchun

yb启用禁用

parent 7b3f4053
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
title: '操作', title: '操作',
align: 'center', align: 'center',
formatter: function (value, row, index) { formatter: function (value, row, index) {
return`<a class="btn btn-info btn-xs" href="javascript:void(0)" onclick="creatAndEdit('','${row.activityId}')">编辑</a><a class="btn btn-warning btn-xs" id="button-open-11" onclick="exportData('','${row.activityId}')"> return`<a class="btn btn-info btn-xs" href="javascript:void(0)" onclick="creatAndEdit('','${row.activityId}')">编辑</a><a class="btn btn-warning btn-xs" id="button-open-11" onclick="exportData('${row.activityId}')">
<i class="fa fa-download"></i> 导出Excel <i class="fa fa-download"></i> 导出Excel
</a>` </a>`
} }
...@@ -221,8 +221,8 @@ ...@@ -221,8 +221,8 @@
return bodyDom.document.getElementById(name); return bodyDom.document.getElementById(name);
} }
function exportData(id) { function exportData(id) {
console.log(id, '????')
let param = { let param = {
title: '',
activityId: id activityId: id
} }
// promiseMethods('/sweet/activity/export', 'post', {title: ''}).then(res => { // promiseMethods('/sweet/activity/export', 'post', {title: ''}).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment