|
|
@ -289,22 +289,24 @@ |
|
|
|
for (let i in detail) { |
|
|
|
detail[i] = data[i]; |
|
|
|
} |
|
|
|
const progressLine = await queryProcess(id); |
|
|
|
progress.value = progressLine; |
|
|
|
console.log(progress.value); |
|
|
|
const data1 = await dealInfo(id); |
|
|
|
for (let i in dealDetail) { |
|
|
|
dealDetail[i] = data1[i]; |
|
|
|
} |
|
|
|
const progressLine = await queryProcess(id); |
|
|
|
progress.value = progressLine; |
|
|
|
console.log(progress.value); |
|
|
|
initMap(detail.longitude, detail.latitude, detail.faultLocation); |
|
|
|
}; |
|
|
|
|
|
|
|
// 关闭抽屉的方法 |
|
|
|
const onClose = () => { |
|
|
|
visible.value = false; |
|
|
|
for(let i in dealDetail){ |
|
|
|
dealDetail[i] = '' |
|
|
|
} |
|
|
|
map.value?.destroy(); |
|
|
|
}; |
|
|
|
const activeKey = ref('1'); |
|
|
|
|
|
|
|
//地图 |
|
|
|
const map = ref(null); |
|
|
|