Browse Source

[feat]基础资料

汇率管理列表页面操作栏引用$.table.dropdownToggle方法;
dev
liuxiaoxu 4 weeks ago
parent
commit
cbcc906725
  1. 7
      ruoyi-admin/src/main/resources/templates/system/exchangeRate/exchangeRate.html

7
ruoyi-admin/src/main/resources/templates/system/exchangeRate/exchangeRate.html

@ -104,9 +104,10 @@
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
var actions = []; var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.exchangeRateId + '\')"><i class="fa fa-edit"></i>编辑</a> '); actions.push('<a class="' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.exchangeRateId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.exchangeRateId + '\')"><i class="fa fa-remove"></i>删除</a> '); actions.push('<a class="' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.exchangeRateId + '\')"><i class="fa fa-remove"></i>删除</a> ');
return actions.join(''); var actionLinks = actions.join('');
return $.table.dropdownToggle(actionLinks);
} }
}] }]
}; };

Loading…
Cancel
Save