diff --git a/src/views/dataBoard/sida/cpts/fwqd.vue b/src/views/dataBoard/sida/cpts/fwqd.vue
index 42c8d7e46..f814ec3e9 100644
--- a/src/views/dataBoard/sida/cpts/fwqd.vue
+++ b/src/views/dataBoard/sida/cpts/fwqd.vue
@@ -26,7 +26,8 @@ export default {
orgId: {
type: String,
default: ''
- }
+ },
+ searchDate:Array
},
data() {
return {
@@ -49,10 +50,14 @@ export default {
screenEchartsFrame
},
mounted() {
- this.init();
+ // this.init();
},
watch: {
orgId() {
+ this.init();
+ },
+ searchDate() {
+
this.init();
}
},
@@ -91,7 +96,9 @@ export default {
url,
{
queryParam: {
- org_id: this.orgId
+ org_id: this.orgId,
+ start_date: this.searchDate[0],
+ end_date: this.searchDate[1]
}
},
{
diff --git a/src/views/dataBoard/sida/cpts/sqpj.vue b/src/views/dataBoard/sida/cpts/sqpj.vue
index 321835eab..21b1ea951 100644
--- a/src/views/dataBoard/sida/cpts/sqpj.vue
+++ b/src/views/dataBoard/sida/cpts/sqpj.vue
@@ -34,7 +34,8 @@ export default {
orgId: {
type: String,
default: ''
- }
+ },
+ searchDate:Array
},
data() {
return {
@@ -84,13 +85,17 @@ export default {
screenEchartsFrame
},
mounted() {
- this.init();
+ // this.init();
},
watch: {
currentTab() {
// this.getResiCategoryData();
},
orgId() {
+ this.init();
+ },
+ searchDate() {
+
this.init();
}
},
@@ -128,7 +133,9 @@ export default {
url,
{
queryParam: {
- org_id: this.orgId
+ org_id: this.orgId,
+ start_date: this.searchDate[0],
+ end_date: this.searchDate[1]
}
},
{
diff --git a/src/views/dataBoard/sida/cpts/wtqd.vue b/src/views/dataBoard/sida/cpts/wtqd.vue
index 7a7106d2a..b81649896 100644
--- a/src/views/dataBoard/sida/cpts/wtqd.vue
+++ b/src/views/dataBoard/sida/cpts/wtqd.vue
@@ -27,7 +27,8 @@ export default {
orgId: {
type: String,
default: ''
- }
+ },
+ searchDate:Array
},
data() {
return {
@@ -51,10 +52,14 @@ export default {
screenEchartsFrame
},
mounted() {
- this.init();
+ // this.init();
},
watch: {
orgId() {
+ this.init();
+ },
+ searchDate() {
+
this.init();
}
},
@@ -84,7 +89,9 @@ export default {
query: {
org_id: this.orgId,
type: this.currentTab,
- type2: item.name
+ type2: item.name,
+ start_date: this.searchDate[0],
+ end_date: this.searchDate[1]
}
});
},
diff --git a/src/views/dataBoard/sida/cpts/xqqd.vue b/src/views/dataBoard/sida/cpts/xqqd.vue
index 679638ea0..b02552880 100644
--- a/src/views/dataBoard/sida/cpts/xqqd.vue
+++ b/src/views/dataBoard/sida/cpts/xqqd.vue
@@ -26,7 +26,8 @@ export default {
orgId: {
type: String,
default: ''
- }
+ },
+ searchDate:Array
},
data() {
return {
@@ -45,11 +46,15 @@ export default {
screenEchartsFrame
},
mounted() {
- this.init();
+ // console.log("ddd")
+ // this.init();
},
watch: {
orgId() {
this.init();
+ },
+ searchDate() {
+ this.init();
}
},
methods: {
@@ -80,13 +85,14 @@ export default {
} else {
url = 'common_need_view';
}
-
this.$refs.pieChart.showLoading();
const { data, code, msg } = await requestPostBi(
url,
{
queryParam: {
- org_id: this.orgId
+ org_id: this.orgId,
+ start_date: this.searchDate[0],
+ end_date: this.searchDate[1]
}
},
{
diff --git a/src/views/dataBoard/sida/cpts/zyqd.vue b/src/views/dataBoard/sida/cpts/zyqd.vue
index 9a3c0398f..d16a162cf 100644
--- a/src/views/dataBoard/sida/cpts/zyqd.vue
+++ b/src/views/dataBoard/sida/cpts/zyqd.vue
@@ -26,7 +26,8 @@ export default {
orgId: {
type: String,
default: ''
- }
+ },
+ searchDate:Array
},
data() {
return {
@@ -50,10 +51,14 @@ export default {
screenEchartsFrame
},
mounted() {
- this.init();
+ // this.init();
},
watch: {
orgId() {
+ this.init();
+ },
+ searchDate() {
+
this.init();
}
},
@@ -94,7 +99,9 @@ export default {
url,
{
queryParam: {
- org_id: this.orgId
+ org_id: this.orgId,
+ start_date: this.searchDate[0],
+ end_date: this.searchDate[1]
}
},
{
diff --git a/src/views/dataBoard/sida/index.vue b/src/views/dataBoard/sida/index.vue
index 7ca3eec42..140e93ab7 100644
--- a/src/views/dataBoard/sida/index.vue
+++ b/src/views/dataBoard/sida/index.vue
@@ -7,21 +7,30 @@