diff --git a/js/aq_demand_plan/apply_plan_list.js b/js/aq_demand_plan/apply_plan_list.js index 90ff9e5..e7af8da 100644 --- a/js/aq_demand_plan/apply_plan_list.js +++ b/js/aq_demand_plan/apply_plan_list.js @@ -25,6 +25,7 @@ function queryTable(type) { reloadTable(1); } else if (type === 2) { $('#keyWord').val(''); + $('#status').val(''); layui.form.render(); reloadTable(1); } @@ -44,6 +45,7 @@ function reloadTable(pageNum) { where: { encryptedData: JSON.stringify({ 'keyWord': $('#keyWord').val(), + 'status': $('#status').val(), }), }, }, @@ -191,6 +193,7 @@ function initTable() { function exportExcel() { let params = { 'keyWord': $('#keyWord').val(), + 'status': $('#status').val(), } let url = dataUrl + "backstage/planApply/exportApplyPlanList"; exportExcelUtil(url, '需求计划申请', JSON.stringify(params)); diff --git a/page/aq_basic/type_list.html b/page/aq_basic/type_list.html index fcb99d8..c8973cc 100644 --- a/page/aq_basic/type_list.html +++ b/page/aq_basic/type_list.html @@ -64,7 +64,7 @@ + class="layui-icon layui-icon-download-circle">导出数据 diff --git a/page/aq_demand_plan/apply_plan_list.html b/page/aq_demand_plan/apply_plan_list.html index f8095f0..d28a8b4 100644 --- a/page/aq_demand_plan/apply_plan_list.html +++ b/page/aq_demand_plan/apply_plan_list.html @@ -26,6 +26,16 @@ class="layui-input" lay-affix="clear" placeholder="输入关键字(计划编号/工程名称/申请人)" maxlength="30"> +