From fd72c18d4801af0c86b55a5a606ab9123bdd301c Mon Sep 17 00:00:00 2001 From: zuqijia <2924963185@qq.com> Date: Thu, 16 Apr 2026 15:37:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E6=88=90=E5=87=BA=E5=B7=AE?= =?UTF-8?q?=E7=9B=AE=E7=9A=84=E5=9C=B0=E9=AB=98=E5=BE=B7=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/package.json | 1 + ruoyi-ui/public/index.html | 6 +- ruoyi-ui/src/api/hrm/flow.js | 5 - .../src/components/AmapCitySelect/index.vue | 306 ++++++++++++++++++ ruoyi-ui/src/views/hrm/requests/travel.vue | 8 +- 5 files changed, 316 insertions(+), 10 deletions(-) create mode 100644 ruoyi-ui/src/components/AmapCitySelect/index.vue diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 59b6547..3939739 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -37,6 +37,7 @@ "url": "https://gitee.com/KonBAI-Q/ruoyi-flowable-plus.git" }, "dependencies": { + "@amap/amap-jsapi-loader": "^1.0.1", "@babel/parser": "7.7.4", "@handsontable/vue": "^15.3.0", "@jiaminghi/data-view": "^2.10.0", diff --git a/ruoyi-ui/public/index.html b/ruoyi-ui/public/index.html index 4d71211..0733f44 100644 --- a/ruoyi-ui/public/index.html +++ b/ruoyi-ui/public/index.html @@ -10,6 +10,8 @@ <%= webpackConfig.name %> + + \ No newline at end of file diff --git a/ruoyi-ui/src/views/hrm/requests/travel.vue b/ruoyi-ui/src/views/hrm/requests/travel.vue index f6ffcf3..9edd6b0 100644 --- a/ruoyi-ui/src/views/hrm/requests/travel.vue +++ b/ruoyi-ui/src/views/hrm/requests/travel.vue @@ -65,8 +65,8 @@ - -
请填写具体目的地,便于审批人判断出差必要性
+ +
请通过地图或搜索选择具体城市,便于审批人判断出差必要性
出差说明
@@ -223,13 +223,15 @@ import { ccFlowTask, listFlowNode, listFlowTemplate } from '@/api/hrm/flow' import FileUpload from '@/components/FileUpload' import UserMultiSelect from '@/components/UserSelect/multi.vue' import UserSelect from '@/components/UserSelect/single.vue' +import AmapCitySelect from '@/components/AmapCitySelect/index.vue' export default { name: 'HrmTravelRequest', components: { UserSelect, FileUpload, - UserMultiSelect + UserMultiSelect, + AmapCitySelect }, data () { return {