diff --git a/src/views/pictureOnMap/index.vue b/src/views/pictureOnMap/index.vue index 2abba73..4d3703b 100644 --- a/src/views/pictureOnMap/index.vue +++ b/src/views/pictureOnMap/index.vue @@ -588,11 +588,11 @@ properties.id = item.pid || item.id; } if (item.stType == 'waterlogging' || item.stType == 'rainwater_pipeline_quality') { - Getproperties.value.peopleUser = item.watchId; - Getproperties.value.useTitle = item.stName; + Getproperties.value.watchAreaId = item.watchId; + Getproperties.value.name = item.stName; } else { - Getproperties.value.peopleUser = null; - Getproperties.value.useTitle = null; + Getproperties.value.watchAreaId = null; + Getproperties.value.name = null; } console.log('Getproperties', Getproperties.value); // debugger diff --git a/src/views/pictureOnMap/index.vue b/src/views/pictureOnMap/index.vue index 2abba73..4d3703b 100644 --- a/src/views/pictureOnMap/index.vue +++ b/src/views/pictureOnMap/index.vue @@ -588,11 +588,11 @@ properties.id = item.pid || item.id; } if (item.stType == 'waterlogging' || item.stType == 'rainwater_pipeline_quality') { - Getproperties.value.peopleUser = item.watchId; - Getproperties.value.useTitle = item.stName; + Getproperties.value.watchAreaId = item.watchId; + Getproperties.value.name = item.stName; } else { - Getproperties.value.peopleUser = null; - Getproperties.value.useTitle = null; + Getproperties.value.watchAreaId = null; + Getproperties.value.name = null; } console.log('Getproperties', Getproperties.value); // debugger diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/zishuidiaodu.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/zishuidiaodu.vue index 0e6fd77..7b4701f 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/zishuidiaodu.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/zishuidiaodu.vue @@ -210,10 +210,11 @@ let dispatchInstruct =ref('') let baseInfo=ref({ - name:props.dataCode=="waterlogging_scheduling"?props.Getproperties.name:props.Getproperties.useTitle, - user:props.dataCode=="waterlogging_scheduling"?props.Getproperties.watchAreaId:props.Getproperties.peopleUser, + name:props.Getproperties.name, + user:props.Getproperties.watchAreaId, }) +console.log(baseInfo.value) let form =ref({ dispatchType:'2', qk:`${baseInfo.value.name}可能发生内涝`,