石超 2025-06-05 10:08:17 +08:00
commit 53986adcb8
2 changed files with 4 additions and 13 deletions

View File

@ -148,8 +148,6 @@ enum Api {
GetCxjgCaseInfoById = '/api/DroneCaseInfoSingle/GetCxjgCaseInfoById', GetCxjgCaseInfoById = '/api/DroneCaseInfoSingle/GetCxjgCaseInfoById',
// 持续监管-迁入违法专题 // 持续监管-迁入违法专题
MoveInIllegalSubject = '/api/DroneCaseInfoSingle/MoveInIllegalSubject', MoveInIllegalSubject = '/api/DroneCaseInfoSingle/MoveInIllegalSubject',
// 持续监管-导出
ExportCaseInfoCxjgShapefile = '/api/DroneCaseInfoSingle/ExportCaseInfoCxjgShapefile',
} }
export const getPositionsTree = (params?: AccountParams) => export const getPositionsTree = (params?: AccountParams) =>
defHttp.get<AccountListGetResultModel>({ url: Api.PositionsTree, params }); defHttp.get<AccountListGetResultModel>({ url: Api.PositionsTree, params });
@ -557,7 +555,4 @@ export const GetCxjgCaseInfoById = (params) =>
defHttp.get({ url: Api.GetCxjgCaseInfoById, params }); defHttp.get({ url: Api.GetCxjgCaseInfoById, params });
// 持续监管-迁入违法专题 // 持续监管-迁入违法专题
export const MoveInIllegalSubject = (params) => export const MoveInIllegalSubject = (params) =>
defHttp.post({ url: Api.MoveInIllegalSubject, params }); defHttp.post({ url: Api.MoveInIllegalSubject, params });
// 持续监管-导出
export const ExportCaseInfoCxjgShapefile = (params) =>
defHttp.post({ url: Api.ExportCaseInfoCxjgShapefile, params });

View File

@ -102,11 +102,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { ref, reactive, onMounted, watch } from 'vue'; import { ref, reactive, onMounted, watch } from 'vue';
import { BasicTable, useTable, TableAction } from '@/components/Table'; import { BasicTable, useTable, TableAction } from '@/components/Table';
import { import { LoadCaseInfoCxjgTuBanList, GetCxjgCaseInfoById } from '@/api/demo/system';
LoadCaseInfoCxjgTuBanList,
GetCxjgCaseInfoById,
ExportCaseInfoCxjgShapefile,
} from '@/api/demo/system';
import { PermissionBtn } from '@/components/PermissionBtn/index'; import { PermissionBtn } from '@/components/PermissionBtn/index';
import { columns, searchFormSchema } from './keepSupervision.data'; import { columns, searchFormSchema } from './keepSupervision.data';
import { getAppEnvConfig } from '@/utils/env'; import { getAppEnvConfig } from '@/utils/env';
@ -197,8 +193,8 @@
let params = { ...searchParams.value }; let params = { ...searchParams.value };
delete params['page']; delete params['page'];
delete params['limit']; delete params['limit'];
let url = VITE_GLOB_API_URL + '/api/DroneCaseInfoSingle/ExportCaseInfoShapefile'; let url = VITE_GLOB_API_URL + '/api/DroneCaseInfoSingle/ExportCaseInfoCxjgShapefile';
let fileName = '图斑列表矢量数据' + new Date().getTime() + '.zip'; let fileName = '持续监管列表矢量数据' + new Date().getTime() + '.zip';
axios({ axios({
method: 'post', method: 'post',
url: url, url: url,