GuLiMmo
2024-03-22 7343fa5857e8f0cfbfd140f46eb61422d2f14ff1
src/pages/page-web/projects/wayline.vue
@@ -16,7 +16,7 @@
                <SelectOutlined />
              </a-button>
            </a-upload>
            <a-button type="text" style="color: white" @click="addWaylineDialogShow = true">
            <a-button type="text" v-if="!isPointListOpen" style="color: white" @click="addWaylineDialogShow = true">
              <template #icon>
                <PlusOutlined />
              </template>
@@ -275,9 +275,7 @@
  removeAllPoint()
  // removeById('clickBox')
  store.commit('SET_WAYLINE_INFO', {
    isShow: false,
    wayline: {},
    position: null,
    isShow: false
  })
})
@@ -353,9 +351,7 @@
    })
  // 清除选中点柱形和隐藏按钮
  store.commit('SET_WAYLINE_INFO', {
    isShow: false,
    wayline: {},
    position: null,
    isShow: false
  })
  // isPointListOpen.value = !isPointListOpen.value
}
@@ -395,9 +391,7 @@
function backPage () {
  isPointListOpen.value = false
  store.commit('SET_WAYLINE_INFO', {
    isShow: false,
    wayline: {},
    position: 0,
    isShow: false
  })
}
@@ -462,7 +456,9 @@
      createWayline(values).then((createRes: any) => {
        if (createRes) {
          store.commit('SET_WAYLINE_KMZPATH', '')
          isPointListOpen.value = !isPointListOpen.value
          isPointListOpen.value = true
          closeAddWaylineDialog()
          addWaylineDialogShow.value = false
        } else {
          message.error('创建航线失败,错误码:', createRes)
        }