From d997809ced00d38cf52e0bf3db6470c047a33642 Mon Sep 17 00:00:00 2001
From: 13176889840 <13176889840@163.com>
Date: Thu, 28 Jul 2022 16:55:58 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1----?=
=?UTF-8?q?=E5=AF=BC=E5=87=BA=EF=BC=8C=E7=82=B9=E5=87=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/shequzhili/statics/cEvent.vue | 28 ++++++++++++-------
.../modules/shequzhili/statics/gridEvent.vue | 18 ++++++------
2 files changed, 27 insertions(+), 19 deletions(-)
diff --git a/src/views/modules/shequzhili/statics/cEvent.vue b/src/views/modules/shequzhili/statics/cEvent.vue
index 03d2aad5..0614f451 100644
--- a/src/views/modules/shequzhili/statics/cEvent.vue
+++ b/src/views/modules/shequzhili/statics/cEvent.vue
@@ -13,7 +13,7 @@
-->
+ prop="startDate">
-->
-
+
+
+ {{scope.row.orgName}}
+
+
@@ -116,8 +120,8 @@ export default {
timeRange: '',
dataForm: {
agencyId: '',
- startTime: '',
- endTime: '',
+ startDate: '',
+ endDate: '',
type: ''
},
total: 0,
@@ -137,11 +141,11 @@ export default {
watch: {
timeRange (val) {
if (Array.isArray(val) && val.length == 2) {
- this.dataForm.startTime = val[0];
- this.dataForm.endTime = val[1];
+ this.dataForm.startDate = val[0];
+ this.dataForm.endDate = val[1];
} else {
- this.dataForm.startTime = "";
- this.dataForm.endTime = "";
+ this.dataForm.startDate = "";
+ this.dataForm.endDate = "";
}
}
},
@@ -154,11 +158,15 @@ export default {
},
},
methods: {
+ handleClick(row) {
+ this.dataForm.agencyId = row.orgId
+ this.handleSearch()
+ },
resetForm(formName) {
this.$refs[formName].resetFields();
this.timeRange = "";
- this.dataForm.startTime = "";
- this.dataForm.endTime = "";
+ this.dataForm.startDate = "";
+ this.dataForm.endDate = "";
this.dataForm.type = "";
this.pageNo = 1
this.getTableList()
diff --git a/src/views/modules/shequzhili/statics/gridEvent.vue b/src/views/modules/shequzhili/statics/gridEvent.vue
index af24a50e..4392a738 100644
--- a/src/views/modules/shequzhili/statics/gridEvent.vue
+++ b/src/views/modules/shequzhili/statics/gridEvent.vue
@@ -17,7 +17,7 @@
-->
+ prop="startDate">