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

Commit 7eea377e authored by xuchen's avatar xuchen

添加代理演出列表导出

parent 39213041
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label is-required">代理数据:</label> <label class="col-sm-3 control-label is-required">代理数据:</label>
<a style="margin-left: 500px" href="javascript:void(0)" class="btn btn-success btn-xs" onclick="onexport()"><i class="fa fa-edit"></i>导出</a>
<table id="team-table2" class="table table-condensed table-sm" th:border="1"> <table id="team-table2" class="table table-condensed table-sm" th:border="1">
<tr> <tr>
<td>姓名</td> <td>姓名</td>
...@@ -109,6 +110,23 @@ ...@@ -109,6 +110,23 @@
} }
}); });
} }
function onexport(){
var params = {
perId:'[[${saleDataVo.performancesId}]]'.replaceAll("\"", "")
}
$.ajax({
type: 'get',
url: "/smile/show/base/export",
headers: {"Content-Type": "application/json;charset=UTF-8"},
data: params,
success: function (e) {
window.location.replace('http://' + window.location.host + '/smile/show/base/export?perId=' + '[[${saleDataVo.performancesId}]]'.replaceAll("\"", ""))
}
});
}
</script> </script>
</body> </body>
</html> </html>
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