diff --git a/package.json b/package.json index 9504fb7..36276b2 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "dependencies": { "axios": "^1.11.0", "core-js": "^3.8.3", + "driver.js": "^1.3.6", "element-ui": "^2.15.14", - "hammerjs": "^2.0.8", "jsencrypt": "^3.3.2", "lodash": "^4.17.21", "pixi.js": "^8.12.0", @@ -22,7 +22,6 @@ "vue-i18n": "8.0.0", "vue-router": "3.5.2", "vue-touch-keyboard": "^0.3.2", - "vue-tour": "^2.0.0", "vuex": "3.6.2" }, "devDependencies": { diff --git a/src/config/getData.js b/src/config/getData.js index 4846a0e..cfd1422 100644 --- a/src/config/getData.js +++ b/src/config/getData.js @@ -40,10 +40,6 @@ export const getMapInfoByCode = () => get('mapInfo/getMapInfoByCode', {}) export const queryMapAllStation = () => get('station/queryMapAllStation', {}) export const getRouteInfo = () => get('routeInfo/getRouteInfo', {}) // 下发任务 -export const relocate = (x, y, angle) => get('teaching/relocate', { - x: x, - y: y, - angle: angle -}) +export const relocate = (x, y, angle) => post('teaching/relocate?x=' + x + '&y=' + y + '&angle=' + angle, {}) // 关机重启 export const rebootVehicle = () => get('vehicle/rebootVehicle', {}) \ No newline at end of file diff --git a/src/main.js b/src/main.js index 4f1a3e1..ccc1531 100644 --- a/src/main.js +++ b/src/main.js @@ -7,8 +7,6 @@ import VueTouchKeyboard from 'vue-touch-keyboard' import 'vue-touch-keyboard/dist/vue-touch-keyboard.css' import { Row, Col, Button, Icon, Dialog, Form, FormItem, Input, Select, Option, Table, TableColumn, Tabs, TabPane, Popover, Loading, MessageBox, Message, Progress } from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' -import VueTour from 'vue-tour' -import 'vue-tour/dist/vue-tour.css' import './style/common.styl' import i18n from './i18n/i18n' import './config/rem.js' @@ -36,7 +34,6 @@ Vue.use(Progress) Vue.prototype.$confirm = MessageBox.confirm Vue.prototype.$message = Message Vue.use(VueTouchKeyboard) -Vue.use(VueTour) Vue.prototype.$post = post Vue.config.productionTip = false diff --git a/src/pages/modules/building.vue b/src/pages/modules/building.vue index fed40d9..0ef3800 100644 --- a/src/pages/modules/building.vue +++ b/src/pages/modules/building.vue @@ -1,13 +1,14 @@