Commit 78b4a962 by 叶明星

优化

parent a84bf01b
......@@ -111,7 +111,7 @@ layui.use(['table', 'form', 'laydate', 'layer'], function () {
});
break;
case 'edit':
window.location = '/integrals/updateIntegral?id=' + obj.data.id;
window.open('/integrals/updateIntegral?id=' + obj.data.id);
break;
}
});
......
......@@ -115,11 +115,11 @@ table.on('tool(UserExchange)', function (obj) {
var layEvent = obj.event;
switch (layEvent) {
case 'audit':
window.location = `/user_exchanges/auditUserExchange?id=${obj.data.id}&user_id=${obj.data.user_id}`;
window.open(`/user_exchanges/auditUserExchange?id=${obj.data.id}&user_id=${obj.data.user_id}`);
break;
case 'bills':
window.location = '/user_exchanges/userExchangeBillList?user_id='
+ obj.data.user_id;
window.open( '/user_exchanges/userExchangeBillList?user_id='
+ obj.data.user_id);
break;
}
});
......
......@@ -93,7 +93,7 @@ layui.use(['table', 'form', 'laydate', 'layer'], function () {
});
break;
case 'bills':
window.location = '/integral_bills/integralBillList?user_id=' + obj.data.user_id;
window.open('/integral_bills/integralBillList?user_id=' + obj.data.user_id);
break;
}
});
......
......@@ -34,7 +34,7 @@
<div class="layui-card-body" style="padding-top: 20px">
<div style="padding-bottom: 10px;">
{{-- <button class="layui-btn layui-btn-danger layuiadmin-btn-list" data-type="batchdel">禁用</button>--}}
<a href="/exchange/settings/createExchangeSetting" class="layui-btn layuiadmin-btn-list"
<a href="/exchange/settings/createExchangeSetting" target="_blank" class="layui-btn layuiadmin-btn-list"
data-type="add">添加</a>
</div>
<table class="layui-table" id="list" lay-filter="ExchangeSetting"></table>
......
......@@ -49,7 +49,7 @@
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit="" lay-filter="update_integral">立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary" onclick="history.back()">返回列表</button>
{{-- <button type="reset" class="layui-btn layui-btn-primary" onclick="history.back()">返回列表</button>--}}
</div>
</div>
</div>
......
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 sign in to comment