判读 导出SHP时加入筛选条件
parent
8f13b7ed5d
commit
514abb775f
|
|
@ -94,7 +94,7 @@ const picihao = ref()
|
||||||
const openProgressModal = ref(false)
|
const openProgressModal = ref(false)
|
||||||
const modalLoading = ref(false)
|
const modalLoading = ref(false)
|
||||||
|
|
||||||
const [registerTable, { reload, expandAll}] = useTable({
|
const [registerTable, { reload, expandAll, getForm}] = useTable({
|
||||||
title: '待审核',
|
title: '待审核',
|
||||||
api: (params) => LoadCaseInfoLists(type,params),
|
api: (params) => LoadCaseInfoLists(type,params),
|
||||||
columns,
|
columns,
|
||||||
|
|
@ -289,7 +289,9 @@ const preview = () => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const downloadSHP = () => {
|
const downloadSHP = () => {
|
||||||
ExportapprovalCaseInfoShapefile(type).then(res => {
|
const form = getForm();
|
||||||
|
const filterValues = form.getFieldsValue();
|
||||||
|
ExportapprovalCaseInfoShapefile(type,filterValues).then(res => {
|
||||||
const elink = document.createElement('a');
|
const elink = document.createElement('a');
|
||||||
elink.download = '待审核矢量数据' + new Date().getTime() + '.zip';
|
elink.download = '待审核矢量数据' + new Date().getTime() + '.zip';
|
||||||
elink.style.display = 'none';
|
elink.style.display = 'none';
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ const openImportModal = ref(false)
|
||||||
const openProgressModal = ref(false)
|
const openProgressModal = ref(false)
|
||||||
const modalLoading = ref(false)
|
const modalLoading = ref(false)
|
||||||
|
|
||||||
const [registerTable, { reload, expandAll}] = useTable({
|
const [registerTable, { reload, expandAll, getForm}] = useTable({
|
||||||
title: '待审核',
|
title: '待审核',
|
||||||
api: MainLoadCaseInfoLists,
|
api: MainLoadCaseInfoLists,
|
||||||
columns,
|
columns,
|
||||||
|
|
@ -275,7 +275,9 @@ const preview = () => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const downloadSHP = () => {
|
const downloadSHP = () => {
|
||||||
MainExportapprovalCaseInfoShapefile().then(res => {
|
const form = getForm();
|
||||||
|
const filterValues = form.getFieldsValue();
|
||||||
|
MainExportapprovalCaseInfoShapefile(filterValues).then(res => {
|
||||||
const elink = document.createElement('a');
|
const elink = document.createElement('a');
|
||||||
elink.download = '待审核矢量数据' + new Date().getTime() + '.zip';
|
elink.download = '待审核矢量数据' + new Date().getTime() + '.zip';
|
||||||
elink.style.display = 'none';
|
elink.style.display = 'none';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue