【审核列表】详情列表添加传参level

dianlixunjian
Zhufu 2024-07-06 15:54:06 +08:00
parent 15f7fbacec
commit 62a609d22e
2 changed files with 8 additions and 5 deletions

View File

@ -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,

View File

@ -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');