|
|
|
@ -31,6 +31,8 @@ |
|
|
|
|
type="date" |
|
|
|
|
placeholder="选择日期时间" |
|
|
|
|
:disabled="!row.editable" |
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
value-format="YYYY-MM-DD" |
|
|
|
|
style="width: 100%" |
|
|
|
|
/> |
|
|
|
|
</template> |
|
|
|
@ -521,6 +523,10 @@ function remoteMethod(searchValue) { |
|
|
|
|
function currentSelect(val) { |
|
|
|
|
const area = areaList.value.find((it) => it.name == val) |
|
|
|
|
if (area) { |
|
|
|
|
defaultLatLng.value = { |
|
|
|
|
lng: area.location?.lng, |
|
|
|
|
lat: area.location?.lat |
|
|
|
|
} |
|
|
|
|
addmark(area.location?.lng, area.location?.lat, aMap.value) |
|
|
|
|
dialogMap.value.setCenter([area.location?.lng, area.location?.lat], '', 500) |
|
|
|
|
regeoCode(area.location?.lng, area.location?.lat) |
|
|
|
@ -528,6 +534,7 @@ function currentSelect(val) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function destroyMap() { |
|
|
|
|
areaValue.value = undefined |
|
|
|
|
dialogMap.value = null |
|
|
|
|
aMap.value = null |
|
|
|
|
} |
|
|
|
|