diff --git a/src/views/lsxmsb/TaskForm.vue b/src/views/lsxmsb/TaskForm.vue index f9ff16f..e889a62 100644 --- a/src/views/lsxmsb/TaskForm.vue +++ b/src/views/lsxmsb/TaskForm.vue @@ -120,6 +120,7 @@ projectNo: '', uploadType: '2', //1:临时巡查 lonLat: '', + problemAddress: '', }, patrolTargetIdText: '', formOptions: { @@ -176,13 +177,12 @@ { immediate: true } ); onMounted(() => { + projectTypeListM(); getCurrentPositon((lng, lat, address) => { let NewLonLat = CoordTransform.gcj02towgs84(Number(lng), Number(lat)); AllData.formData.lonLat = String(NewLonLat); - console.log(AllData.formData.lonLat, ' AllData.formData.lonLat'); + AllData.formData.problemAddress = address; }); - - projectTypeListM(); });