mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-11-15 07:03:44 +08:00
修复一些交互问题
This commit is contained in:
@@ -250,7 +250,7 @@
|
||||
account.channelList(id);
|
||||
break;
|
||||
case 3:
|
||||
alert('收款统计');
|
||||
account.tradeList(id);
|
||||
break;
|
||||
case 4:
|
||||
account.orderList(id);
|
||||
@@ -270,6 +270,17 @@
|
||||
content: `/PayManage/editAccount?id=${id}`,
|
||||
});
|
||||
}
|
||||
// 收款统计
|
||||
account.tradeList = function (aid) {
|
||||
// 先尝试关闭已存在的标签
|
||||
if (parent.layui.tab) {
|
||||
parent.layui.tab.delTabByElem('content', 'payStatistics');
|
||||
}
|
||||
// 重新打开标签
|
||||
parent.layui.tab.addTabOnlyByElem('content',
|
||||
{ id: 'payStatistics', title: '收款统计', url: `/PayManage/payStatistics`, close: true }
|
||||
)
|
||||
}
|
||||
// 终端列表
|
||||
account.orderList = function (aid) {
|
||||
// 先尝试关闭已存在的标签
|
||||
|
||||
Reference in New Issue
Block a user