Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/CaiYuanYiTiHua
commit
53986adcb8
|
|
@ -148,8 +148,6 @@ enum Api {
|
|||
GetCxjgCaseInfoById = '/api/DroneCaseInfoSingle/GetCxjgCaseInfoById',
|
||||
// 持续监管-迁入违法专题
|
||||
MoveInIllegalSubject = '/api/DroneCaseInfoSingle/MoveInIllegalSubject',
|
||||
// 持续监管-导出
|
||||
ExportCaseInfoCxjgShapefile = '/api/DroneCaseInfoSingle/ExportCaseInfoCxjgShapefile',
|
||||
}
|
||||
export const getPositionsTree = (params?: AccountParams) =>
|
||||
defHttp.get<AccountListGetResultModel>({ url: Api.PositionsTree, params });
|
||||
|
|
@ -558,6 +556,3 @@ export const GetCxjgCaseInfoById = (params) =>
|
|||
// 持续监管-迁入违法专题
|
||||
export const MoveInIllegalSubject = (params) =>
|
||||
defHttp.post({ url: Api.MoveInIllegalSubject, params });
|
||||
// 持续监管-导出
|
||||
export const ExportCaseInfoCxjgShapefile = (params) =>
|
||||
defHttp.post({ url: Api.ExportCaseInfoCxjgShapefile, params });
|
||||
|
|
@ -102,11 +102,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { ref, reactive, onMounted, watch } from 'vue';
|
||||
import { BasicTable, useTable, TableAction } from '@/components/Table';
|
||||
import {
|
||||
LoadCaseInfoCxjgTuBanList,
|
||||
GetCxjgCaseInfoById,
|
||||
ExportCaseInfoCxjgShapefile,
|
||||
} from '@/api/demo/system';
|
||||
import { LoadCaseInfoCxjgTuBanList, GetCxjgCaseInfoById } from '@/api/demo/system';
|
||||
import { PermissionBtn } from '@/components/PermissionBtn/index';
|
||||
import { columns, searchFormSchema } from './keepSupervision.data';
|
||||
import { getAppEnvConfig } from '@/utils/env';
|
||||
|
|
@ -197,8 +193,8 @@
|
|||
let params = { ...searchParams.value };
|
||||
delete params['page'];
|
||||
delete params['limit'];
|
||||
let url = VITE_GLOB_API_URL + '/api/DroneCaseInfoSingle/ExportCaseInfoShapefile';
|
||||
let fileName = '图斑列表矢量数据' + new Date().getTime() + '.zip';
|
||||
let url = VITE_GLOB_API_URL + '/api/DroneCaseInfoSingle/ExportCaseInfoCxjgShapefile';
|
||||
let fileName = '持续监管列表矢量数据' + new Date().getTime() + '.zip';
|
||||
axios({
|
||||
method: 'post',
|
||||
url: url,
|
||||
|
|
|
|||
Loading…
Reference in New Issue