线索共享导出excel和SHP功能
parent
b1788eab52
commit
00d73e86cf
|
|
@ -23,10 +23,10 @@
|
|||
<a-modal v-model:open="open" title="导出文件类型" :footer="null">
|
||||
<div>
|
||||
<a-button class="exportbutton" @click="handleExport('excel')">
|
||||
线索汇总统计报表(execl)
|
||||
线索共享统计报表(execl)
|
||||
</a-button>
|
||||
<a-button class="exportbutton" @click="handleExport('shp')">
|
||||
线索汇总矢量数据(shp)
|
||||
线索共享矢量数据(shp)
|
||||
</a-button>
|
||||
</div>
|
||||
</a-modal>
|
||||
|
|
@ -119,10 +119,10 @@
|
|||
let url = '';
|
||||
let fileName = '';
|
||||
if (exportType == 'excel') {
|
||||
url = VITE_GLOB_API_URL + '/api/DroneCaseInfoSatellite/ExportCaseInfoWpxfTuBanList';
|
||||
url = VITE_GLOB_API_URL + '/api/DroneCaseinfoMineralsNew/ExportCaseInfoMineralsNewTuBanList';
|
||||
fileName = '线索共享统计报表' + new Date().getTime() + '.xls';
|
||||
} else if (exportType == 'shp') {
|
||||
url = VITE_GLOB_API_URL + '/api/DroneCaseInfoSatellite/ExportCaseInfoWpxfShapefile';
|
||||
url = VITE_GLOB_API_URL + '/api/DroneCaseinfoMineralsNew/ExportCaseInfoffckShapefile';
|
||||
fileName = '线索共享矢量数据' + new Date().getTime() + '.zip';
|
||||
}
|
||||
axios({
|
||||
|
|
|
|||
Loading…
Reference in New Issue