From a31caad7d3cb4a7fc083e74b88b1c3a2f99e59bb Mon Sep 17 00:00:00 2001
From: zhufu <17863654727@163.com>
Date: Thu, 5 Feb 2026 08:51:01 +0800
Subject: [PATCH] =?UTF-8?q?=E7=9B=97=E9=87=87=E7=82=B9=E7=BB=B4=E6=8A=A4?=
=?UTF-8?q?=E7=94=BB=E9=9D=A2=EF=BC=8C=E5=81=9C=E8=BD=A6=E5=9C=BA=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E7=94=BB=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../miningsitemanagement.ts | 43 +++
src/api/illegalconstruction/parkinglot.ts | 43 +++
src/components/illegalconstruction/Map.vue | 304 ++++++++++++++++++
.../AddOrUpdateModal/index.vue | 186 +++++++++++
.../miningsitemanagement/index.vue | 101 ++++++
.../miningsitemanagement/util.ts | 33 ++
.../parkinglot/AddOrUpdateModal/index.vue | 124 +++++++
.../illegalconstruction/parkinglot/index.vue | 101 ++++++
.../illegalconstruction/parkinglot/util.ts | 33 ++
vite.config.ts | 5 +-
10 files changed, 972 insertions(+), 1 deletion(-)
create mode 100644 src/api/illegalconstruction/miningsitemanagement.ts
create mode 100644 src/api/illegalconstruction/parkinglot.ts
create mode 100644 src/components/illegalconstruction/Map.vue
create mode 100644 src/views/demo/illegalconstruction/miningsitemanagement/AddOrUpdateModal/index.vue
create mode 100644 src/views/demo/illegalconstruction/miningsitemanagement/index.vue
create mode 100644 src/views/demo/illegalconstruction/miningsitemanagement/util.ts
create mode 100644 src/views/demo/illegalconstruction/parkinglot/AddOrUpdateModal/index.vue
create mode 100644 src/views/demo/illegalconstruction/parkinglot/index.vue
create mode 100644 src/views/demo/illegalconstruction/parkinglot/util.ts
diff --git a/src/api/illegalconstruction/miningsitemanagement.ts b/src/api/illegalconstruction/miningsitemanagement.ts
new file mode 100644
index 0000000..ad8d5da
--- /dev/null
+++ b/src/api/illegalconstruction/miningsitemanagement.ts
@@ -0,0 +1,43 @@
+import { defHttp } from '@/utils/http/axios';
+enum Api {
+ // 分页
+ LoadAllPage = '/api/MiMinePoint/LoadAllPage',
+ // 实体
+ Get = '/api/MiMinePoint/Get',
+ // 添加
+ Add = '/api/MiMinePoint/Add',
+ // 修改
+ Update = '/api/MiMinePoint/Update',
+ // 删除
+ Delete = '/api/MiMinePoint/Delete',
+}
+export function LoadAllPage(params) {
+ return defHttp.get({
+ url: Api.LoadAllPage,
+ params,
+ });
+}
+export function Get(params) {
+ return defHttp.get({
+ url: Api.Get,
+ params,
+ });
+}
+export function Add(params) {
+ return defHttp.post({
+ url: Api.Add,
+ params,
+ });
+}
+export function Update(params) {
+ return defHttp.post({
+ url: Api.Update,
+ params,
+ });
+}
+export function Delete(params) {
+ return defHttp.post({
+ url: Api.Delete,
+ params,
+ });
+}
\ No newline at end of file
diff --git a/src/api/illegalconstruction/parkinglot.ts b/src/api/illegalconstruction/parkinglot.ts
new file mode 100644
index 0000000..c3f8756
--- /dev/null
+++ b/src/api/illegalconstruction/parkinglot.ts
@@ -0,0 +1,43 @@
+import { defHttp } from '@/utils/http/axios';
+enum Api {
+ // 分页
+ LoadAllPage = '/api/MiParking/LoadAllPage',
+ // 实体
+ Get = '/api/MiParking/Get',
+ // 添加
+ Add = '/api/MiParking/Add',
+ // 修改
+ Update = '/api/MiParking/Update',
+ // 删除
+ Delete = '/api/MiParking/Delete',
+}
+export function LoadAllPage(params) {
+ return defHttp.get({
+ url: Api.LoadAllPage,
+ params,
+ });
+}
+export function Get(params) {
+ return defHttp.get({
+ url: Api.Get,
+ params,
+ });
+}
+export function Add(params) {
+ return defHttp.post({
+ url: Api.Add,
+ params,
+ });
+}
+export function Update(params) {
+ return defHttp.post({
+ url: Api.Update,
+ params,
+ });
+}
+export function Delete(params) {
+ return defHttp.post({
+ url: Api.Delete,
+ params,
+ });
+}
\ No newline at end of file
diff --git a/src/components/illegalconstruction/Map.vue b/src/components/illegalconstruction/Map.vue
new file mode 100644
index 0000000..57a40e4
--- /dev/null
+++ b/src/components/illegalconstruction/Map.vue
@@ -0,0 +1,304 @@
+
+
+
+
+
+
diff --git a/src/views/demo/illegalconstruction/miningsitemanagement/AddOrUpdateModal/index.vue b/src/views/demo/illegalconstruction/miningsitemanagement/AddOrUpdateModal/index.vue
new file mode 100644
index 0000000..f756902
--- /dev/null
+++ b/src/views/demo/illegalconstruction/miningsitemanagement/AddOrUpdateModal/index.vue
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选择经纬度
+ {{ `${props.modalData.lng}, ${props.modalData.lat}` }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/demo/illegalconstruction/miningsitemanagement/index.vue b/src/views/demo/illegalconstruction/miningsitemanagement/index.vue
new file mode 100644
index 0000000..a4d3f65
--- /dev/null
+++ b/src/views/demo/illegalconstruction/miningsitemanagement/index.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+ {{ `${record.lng}, ${record.lat}` }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/demo/illegalconstruction/miningsitemanagement/util.ts b/src/views/demo/illegalconstruction/miningsitemanagement/util.ts
new file mode 100644
index 0000000..6cc090f
--- /dev/null
+++ b/src/views/demo/illegalconstruction/miningsitemanagement/util.ts
@@ -0,0 +1,33 @@
+import { BasicColumn, FormSchema } from '@/components/Table';
+
+export const columns: BasicColumn[] = [
+ {
+ title: '名称',
+ dataIndex: 'name',
+ },
+ {
+ title: '区县',
+ dataIndex: 'countyName',
+ },
+ {
+ title: '乡镇',
+ dataIndex: 'streetName',
+ },
+ {
+ title: '社区/村',
+ dataIndex: 'communityName',
+ },
+ {
+ title: '经纬度',
+ dataIndex: 'LngLat',
+ },
+];
+
+export const searchFormSchema: FormSchema[] = [
+ {
+ field: 'key',
+ label: '名称',
+ component: 'Input',
+ colProps: { span: 8 },
+ },
+];
diff --git a/src/views/demo/illegalconstruction/parkinglot/AddOrUpdateModal/index.vue b/src/views/demo/illegalconstruction/parkinglot/AddOrUpdateModal/index.vue
new file mode 100644
index 0000000..a83339c
--- /dev/null
+++ b/src/views/demo/illegalconstruction/parkinglot/AddOrUpdateModal/index.vue
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/demo/illegalconstruction/parkinglot/index.vue b/src/views/demo/illegalconstruction/parkinglot/index.vue
new file mode 100644
index 0000000..1a2a028
--- /dev/null
+++ b/src/views/demo/illegalconstruction/parkinglot/index.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+ {{ `${record.lng}, ${record.lat}` }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/demo/illegalconstruction/parkinglot/util.ts b/src/views/demo/illegalconstruction/parkinglot/util.ts
new file mode 100644
index 0000000..ca73e86
--- /dev/null
+++ b/src/views/demo/illegalconstruction/parkinglot/util.ts
@@ -0,0 +1,33 @@
+import { BasicColumn, FormSchema } from '@/components/Table';
+
+export const columns: BasicColumn[] = [
+ {
+ title: '编号',
+ dataIndex: 'num',
+ },
+ {
+ title: '名称',
+ dataIndex: 'name',
+ },
+ {
+ title: '负责人',
+ dataIndex: 'manager',
+ },
+ {
+ title: '联系方式',
+ dataIndex: 'phone',
+ },
+ {
+ title: '地址',
+ dataIndex: 'address',
+ },
+];
+
+export const searchFormSchema: FormSchema[] = [
+ {
+ field: 'key',
+ label: '名称',
+ component: 'Input',
+ colProps: { span: 8 },
+ },
+];
diff --git a/vite.config.ts b/vite.config.ts
index 61a5558..2bd44a6 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,4 +1,5 @@
import { defineApplicationConfig } from '@vben/vite-config';
+import {mars3dPlugin} from 'vite-plugin-mars3d';
export default defineApplicationConfig({
overrides: {
@@ -56,6 +57,8 @@ export default defineApplicationConfig({
},
},
},
- plugins: [],
+ plugins: [
+ mars3dPlugin()
+ ],
},
});