diff --git a/src/views/demo/bootstraps/auditinfo/MapList/index.vue b/src/views/demo/bootstraps/auditinfo/MapList/index.vue index 7d2be040..9c3a3349 100644 --- a/src/views/demo/bootstraps/auditinfo/MapList/index.vue +++ b/src/views/demo/bootstraps/auditinfo/MapList/index.vue @@ -187,7 +187,7 @@ const flowWfDataStore = flowStore(); - const props = defineProps(['areaId', 'yearOptions', 'year']); + const props = defineProps(['areaId', 'yearOptions', 'year','level']); const processId = ref(''); const taskId = ref(''); const isRead: any = ref(0); @@ -202,7 +202,7 @@ const params = ref({ page: 1, limit: 10, - level: null, + level: props.level, areaid: props.areaId, geomid: null, year: props.year, diff --git a/src/views/demo/bootstraps/auditinfo/index.vue b/src/views/demo/bootstraps/auditinfo/index.vue index b4fa428d..c06257a7 100644 --- a/src/views/demo/bootstraps/auditinfo/index.vue +++ b/src/views/demo/bootstraps/auditinfo/index.vue @@ -15,6 +15,7 @@ @changeTask="changeTask" @changeShowParent="changeShowParent" :areaId="areaId" + :level="level" :year="year" :yearOptions="yearOptions" v-else @@ -71,6 +72,7 @@ ]); const dataList = ref([]); const areaId = ref(''); + const level = ref() const auditProgressScreenChange = (value, type) => { console.log(value, type); switch (type) { @@ -83,10 +85,11 @@ } getCountList(); }; - const changeShowInfo = (value) => { - console.log(value); + const changeShowInfo = (item) => { + console.log(item); showParent.value = false; - areaId.value = value; + areaId.value = item.areaid; + level.value = item.level }; function changeShowParent() { console.log('dedededede');