main
kgdxpr 1 year ago
parent 61ad515d1c
commit 5edb699d95

@ -115,7 +115,7 @@
</button>
</div>
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="export" style="position: fixed;right: 20px;top:20px">
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="export" style="position: fixed;right: 20px;top:15px">
<i class="layui-icon layui-icon-download-circle"></i>
导出
</button>
@ -323,7 +323,7 @@
});
form.on('submit(export)', function () {
var url = "/QingLong/zbdc/exportQueryCgzb?export_flag=1&page=1&limit=1000&area_id=" + $("#xzqhId").val() + "&school_type_id=" + $("#xxlxId").val() + "&keyword=" + $("#xxmc").val();
var url = "/QingLong/zbdc/getQueryCgzb?export_flag=1&page=1&limit=1000&area_id=" + $("#xzqhId").val() + "&school_type_id=" + $("#xxlxId").val() + "&keyword=" + $("#xxmc").val();
window.location.href = url;
// 阻止表单的默认提交行为
return false;

@ -105,6 +105,11 @@
</button>
</div>
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="export" style="position: fixed;right: 20px;top:15px">
<i class="layui-icon layui-icon-download-circle"></i>
导出
</button>
<table class="layui-table" id="myTable"></table>
</div>
</div>
@ -237,6 +242,13 @@
return false;
});
form.on('submit(export)', function () {
var url = "/QingLong/zbdc/getQueryBaseInfo?export_flag=1&page=1&limit=1000&area_id=" + $("#xzqhId").val() + "&school_type_id=" + $("#xxlxId").val() + "&keyword=" + $("#xxmc").val();
window.location.href = url;
// 阻止表单的默认提交行为
return false;
});
});
</script>

@ -123,6 +123,13 @@
</button>
</div>
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="export"
style="position: fixed;right: 20px;top:15px">
<i class="layui-icon layui-icon-download-circle"></i>
导出
</button>
<table class="layui-table" id="myTable"></table>
</div>
</div>
@ -444,6 +451,13 @@
});
}
form.on('submit(export)', function () {
var url = "/QingLong/zbdc/getQueryXxhsb?export_flag=1&page=1&limit=50000&dcb_id=" + $("#flId").val() + "&area_id=" + $("#xzqhId").val() + "&school_type_id=" + $("#xxlxId").val() + "&keyword=" + $("#xxmc").val();
window.location.href = url;
// 阻止表单的默认提交行为
return false;
});
form.on('submit(user-query)', function () {
tableRender()

@ -156,6 +156,12 @@
</button>
</div>
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="export"
style="position: fixed;right: 20px;top:60px">
<i class="layui-icon layui-icon-download-circle"></i>
导出
</button>
<table class="layui-table" id="myTable"></table>
<script type="text/html" id="pbyq_templet">
@ -361,6 +367,20 @@
return false;
});
form.on('submit(export)', function () {
var fenlei_name = "";
if (xmSelectArr.length > 0) {
const levelName = xmSelectArr[0].level_name;
const result = findNodeAndParents(levelName);
fenlei_name = result.join(',');
}
var url = "/QingLong/zbdc/getQueryYqsb?export_flag=1&page=1&limit=50000&type_id=" + $("#sl").val() + "&level_filter=" + fenlei_name + "&pbyq=" + $("#pbyqId").val() + "&km_code=" + $("#kmId").val() + "&area_id=" + $("#xzqhId").val() + "&school_type_id=" + $("#xxlxId").val() + "&keyword=" + $("#xxmc").val();
window.location.href = url;
// 阻止表单的默认提交行为
return false;
});
function tableRender() {

Loading…
Cancel
Save