|
@@ -37,7 +37,8 @@
|
|
<i class="fa fa-calendar"></i>
|
|
<i class="fa fa-calendar"></i>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
- <input type="button" class="btn btn-sm btn-primary" onclick="exportTask()" value="导出">
|
|
|
|
|
|
+<!-- <input type="button" class="btn btn-sm btn-primary" onclick="exportTask()" value="导出">-->
|
|
|
|
+ <a type="button" class="btn btn-sm btn-primary" href="/front/group/task/export">导出</a>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<table id="dataTable" class="table table-bordered table-hover">
|
|
<table id="dataTable" class="table table-bordered table-hover">
|
|
@@ -191,7 +192,7 @@
|
|
data: {"s_sourceinfo": sourceinfo, "s_status": status, "taskid": id},
|
|
data: {"s_sourceinfo": sourceinfo, "s_status": status, "taskid": id},
|
|
success: function (r) {
|
|
success: function (r) {
|
|
if (r.success) {
|
|
if (r.success) {
|
|
- location.reload()
|
|
|
|
|
|
+ ttable.api().ajax.reload()
|
|
} else {
|
|
} else {
|
|
showTip(r.msg);
|
|
showTip(r.msg);
|
|
}
|
|
}
|
|
@@ -205,6 +206,8 @@
|
|
|
|
|
|
function exportTask() {
|
|
function exportTask() {
|
|
|
|
|
|
|
|
+ const search = $("[type=search]").val();
|
|
|
|
+ console.log(search)
|
|
$.ajax({
|
|
$.ajax({
|
|
url: "/front/group/task/export",
|
|
url: "/front/group/task/export",
|
|
type: 'POST',
|
|
type: 'POST',
|