From 1f8b92c74443431c5e90b92cbcfcaba302e653fe Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 04 Nov 2021 19:05:22 +0800
Subject: [PATCH] 统计查询新增时间查询
---
src/views/statisticalQueryManagement/businessStatistics.vue | 41 +++++++++++++++++++++++++++++++++++++++--
1 files changed, 39 insertions(+), 2 deletions(-)
diff --git a/src/views/statisticalQueryManagement/businessStatistics.vue b/src/views/statisticalQueryManagement/businessStatistics.vue
index 0474ddc..e9cdce3 100644
--- a/src/views/statisticalQueryManagement/businessStatistics.vue
+++ b/src/views/statisticalQueryManagement/businessStatistics.vue
@@ -86,6 +86,7 @@
currentPage: 1,
total: 0,
},
+ query: {},
value1: "",
value2: "",
tableData: [
@@ -109,7 +110,7 @@
// }
],
tableOption: {
- excelBtn: true,
+ // excelBtn: true,
delBtn: false,
editBtn: false,
addBtn: false,
@@ -127,6 +128,29 @@
viewBtn: true,
dialogClickModal: false,
column: [
+ {
+ label: "单位注册时间",
+ prop: "releaseTimeRange",
+ type: "date",
+ format: "yyyy-MM-dd",
+ valueFormat: "yyyy-MM-dd",
+ searchRange: true,
+ searchSpan: 6,
+ searchLabelWidth: 120,
+ labelWidth:160,
+ hide: true,
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ search: true,
+ rules: [
+ {
+ required: true,
+ message: "请选择单位注册时间",
+ trigger: "blur",
+ },
+ ],
+ },
{
label: "公司名称",
prop: "enterpriseName",
@@ -268,7 +292,20 @@
param["stats"] = params["stats"] || "";
param["current"] = page.currentPage;
param["size"] = page.pageSize;
- selectYw(param).then((res) => {
+ const { releaseTimeRange } = this.query;
+ let values = {
+ ...param,
+ };
+ if (releaseTimeRange) {
+ values = {
+ ...param,
+ startTime: releaseTimeRange[0],
+ endTime: releaseTimeRange[1],
+ ...this.query,
+ };
+ values.releaseTimeRange = null;
+ }
+ selectYw(values).then((res) => {
const data = res.data.data;
this.page.total = data.total;
this.tableData = data.records;
--
Gitblit v1.9.3