新增企业信息导入
This commit is contained in:
parent
dd1c4027b2
commit
0655754660
|
|
@ -341,11 +341,6 @@ function handleExport(){
|
|||
broTable.value.busiTable.exportExcelFileForAllData('/api/lawenforcement/enterprises/export', '企业信息', Object.assign({}, queryParams.value, {tag: 'cx'}))
|
||||
}
|
||||
|
||||
async function handleImport() {
|
||||
let fileObj = document.getElementById('uploadExcelFileInput')
|
||||
fileObj.click()
|
||||
}
|
||||
|
||||
function uploadFile(e) {
|
||||
tableConfig.value.tableLoading = true
|
||||
let file = e.target.files[0]
|
||||
|
|
|
|||
|
|
@ -97,20 +97,6 @@ public class EnterprisePoniteScheduleService {
|
|||
enterpriseWaferTask();
|
||||
}
|
||||
|
||||
/**
|
||||
* 导入企业信息
|
||||
*/
|
||||
public void enterpriseTask() {
|
||||
log.info("开始导入企业信息...");
|
||||
int page = 1;
|
||||
boolean b = updateOrImportIndustryEnterprise(page);
|
||||
while (b) {
|
||||
page++;
|
||||
b = updateOrImportIndustryEnterprise(page);
|
||||
}
|
||||
log.info("企业信息导入完成...");
|
||||
}
|
||||
|
||||
/**
|
||||
* 危化导入企业信息
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -122,6 +122,8 @@ public class EnterpriseScheduleService {
|
|||
log.info("企业信息导入完成...");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 刷新token
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue