diff --git a/src/views/sponeScreen/evaluationKH/chanChuJiXiao.vue b/src/views/sponeScreen/evaluationKH/chanChuJiXiao.vue
index 66b6399..ae77c3a 100644
--- a/src/views/sponeScreen/evaluationKH/chanChuJiXiao.vue
+++ b/src/views/sponeScreen/evaluationKH/chanChuJiXiao.vue
@@ -36,6 +36,7 @@
佐证材料
{{ quotaInfo.isCompliance == '1' ? '达标' : '不达标' }}
+
{{ item }}
@@ -53,6 +54,7 @@
import newfiberMapBoxVectorLayer from '@/views/sponeScreen/gisMF/mapboxVectorLayer.js';
import tuLi72X from '@/assets/newImgs/tuLi72X.png';
import kaifengPSFQ1 from '@/assets/geojson/kaifeng/kaifengPSFQ1.json';
+import { onBeforeUnmount } from 'vue';
const { proxy } = getCurrentInstance();
const tabList = ref([
@@ -60,12 +62,17 @@
{ id: 'nlbz', name: '内涝标准' },
{ id: 'nlxc', name: '内涝消除' },
]);
-
const curTab = ref('');
const quotaInfo = ref({ isCompliance: 1 }); //改造措施数据
const tableData = ref([]);
const waterLoggingData = ref([]);
const waterLoggingDataByType = ref([]);
+const currentYear = ref(2023);
+
+// 获取佐证材料
+function getZzcl() {
+ bus.emit('getZzclData', curTab.value);
+}
const tabClick = item => {
curTab.value = item.id;
@@ -342,10 +349,15 @@
onMounted(() => {
getWaterlogging();
- setTimeout(() => {
+ // 切换年份
+ bus.on('changeYearKH', e => {
+ currentYear.value = e;
tabClick(tabList.value[0]);
});
});
+onBeforeUnmount(() => {
+ bus.off('changeYearKH');
+});
diff --git a/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue b/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
index 1573fee..6c56639 100644
--- a/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
+++ b/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
@@ -1,7 +1,7 @@
-
管理绩效评价(截至2024)
+ 管理绩效评价
diff --git a/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue b/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
index a39f881..911f40d 100644
--- a/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
+++ b/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
@@ -2,7 +2,7 @@
- 可透水面积
+ 产出绩效
{{ item.name }}
@@ -39,6 +39,7 @@
佐证材料
{{ quotaInfo.isCompliance == '1' ? '达标' : '不达标' }}
+
{{ quotaInfo.remark }}
@@ -65,6 +66,12 @@
const quotaInfo = ref({}); //改造措施数据
const tableData = ref([]);
const type = ref('ktsdmmj');
+const currentYear = ref(2023);
+
+// 获取佐证材料
+function getZzcl() {
+ bus.emit('getZzclData', curTab.value);
+}
const tabClick = item => {
curTab.value = item.id;
@@ -116,8 +123,15 @@
}
}
onMounted(() => {
- getjb();
- getkhzn();
+ // 切换年份
+ bus.on('changeYearKH', e => {
+ currentYear.value = e;
+ getjb();
+ getkhzn();
+ });
+});
+onBeforeUnmount(() => {
+ bus.off('changeYearKH');
});
diff --git a/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue b/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
index 1573fee..6c56639 100644
--- a/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
+++ b/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
@@ -1,7 +1,7 @@
-
管理绩效评价(截至2024)
+ 管理绩效评价
diff --git a/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue b/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
index a39f881..911f40d 100644
--- a/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
+++ b/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
@@ -2,7 +2,7 @@
- 可透水面积
+ 产出绩效
{{ item.name }}
@@ -39,6 +39,7 @@
佐证材料
{{ quotaInfo.isCompliance == '1' ? '达标' : '不达标' }}
+
{{ quotaInfo.remark }}
@@ -65,6 +66,12 @@
const quotaInfo = ref({}); //改造措施数据
const tableData = ref([]);
const type = ref('ktsdmmj');
+const currentYear = ref(2023);
+
+// 获取佐证材料
+function getZzcl() {
+ bus.emit('getZzclData', curTab.value);
+}
const tabClick = item => {
curTab.value = item.id;
@@ -116,8 +123,15 @@
}
}
onMounted(() => {
- getjb();
- getkhzn();
+ // 切换年份
+ bus.on('changeYearKH', e => {
+ currentYear.value = e;
+ getjb();
+ getkhzn();
+ });
+});
+onBeforeUnmount(() => {
+ bus.off('changeYearKH');
});
diff --git a/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue b/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
index 1573fee..6c56639 100644
--- a/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
+++ b/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
@@ -1,7 +1,7 @@
-
管理绩效评价(截至2024)
+ 管理绩效评价
diff --git a/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue b/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
index a39f881..911f40d 100644
--- a/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
+++ b/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
@@ -2,7 +2,7 @@
- 可透水面积
+ 产出绩效
{{ item.name }}
@@ -39,6 +39,7 @@
佐证材料
{{ quotaInfo.isCompliance == '1' ? '达标' : '不达标' }}
+
{{ quotaInfo.remark }}
@@ -65,6 +66,12 @@
const quotaInfo = ref({}); //改造措施数据
const tableData = ref([]);
const type = ref('ktsdmmj');
+const currentYear = ref(2023);
+
+// 获取佐证材料
+function getZzcl() {
+ bus.emit('getZzclData', curTab.value);
+}
const tabClick = item => {
curTab.value = item.id;
@@ -116,8 +123,15 @@
}
}
onMounted(() => {
- getjb();
- getkhzn();
+ // 切换年份
+ bus.on('changeYearKH', e => {
+ currentYear.value = e;
+ getjb();
+ getkhzn();
+ });
+});
+onBeforeUnmount(() => {
+ bus.off('changeYearKH');
});
diff --git a/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue b/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
index 1573fee..6c56639 100644
--- a/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
+++ b/src/views/sponeScreen/evaluationKH/jiZhiJianShe.vue
@@ -1,7 +1,7 @@
-
管理绩效评价(截至2024)
+ 管理绩效评价
diff --git a/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue b/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
index a39f881..911f40d 100644
--- a/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
+++ b/src/views/sponeScreen/evaluationKH/keTouShuiMianJi.vue
@@ -2,7 +2,7 @@
- 可透水面积
+ 产出绩效
{{ item.name }}
@@ -39,6 +39,7 @@
佐证材料
{{ quotaInfo.isCompliance == '1' ? '达标' : '不达标' }}
+
{{ quotaInfo.remark }}
@@ -65,6 +66,12 @@
const quotaInfo = ref({}); //改造措施数据
const tableData = ref([]);
const type = ref('ktsdmmj');
+const currentYear = ref(2023);
+
+// 获取佐证材料
+function getZzcl() {
+ bus.emit('getZzclData', curTab.value);
+}
const tabClick = item => {
curTab.value = item.id;
@@ -116,8 +123,15 @@
}
}
onMounted(() => {
- getjb();
- getkhzn();
+ // 切换年份
+ bus.on('changeYearKH', e => {
+ currentYear.value = e;
+ getjb();
+ getkhzn();
+ });
+});
+onBeforeUnmount(() => {
+ bus.off('changeYearKH');
});