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()
+ ],
},
});