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">