This commit is contained in:
zk
2023-12-18 18:34:19 +08:00
parent 2cc8886c2d
commit 580a4fc5c6
50 changed files with 2343 additions and 223 deletions
@@ -53,7 +53,8 @@
const { isShow, className, setIsShow } = useMoveClass();
function init() {
Map.initMap({ el: 'mapContainer' });
let mapContainer = document.querySelector('.mapContainer');
mapContainer && Map.initMap({ el: 'mapContainer' });
getMapList();
}
@@ -12,6 +12,10 @@ export function useDepart() {
getOptionData();
});
function setOrgCode(val) {
orgCode.value = val;
}
function setOption(data) {
option.value = data;
orgCode.value = data[0]?.orgCode;
@@ -26,6 +30,7 @@ export function useDepart() {
return {
orgCode,
setOrgCode,
option,
setOption,
fieldNames,