|
|
@ -230,7 +230,7 @@ const { getList, setSearchParams } = tableMethods |
|
|
|
const HeadButttondata = [ |
|
|
|
// defaultButtons.defaultAddBtn(null), // 新增 |
|
|
|
// defaultButtons.defaultImportBtn({hasPermi:'eam:device-spot-inspection-record-main:import'}), |
|
|
|
// defaultButtons.defaultExportBtn({hasPermi:'eam:device-spot-inspection-record-main:export'}), |
|
|
|
defaultButtons.defaultExportBtn(null), |
|
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
|
defaultButtons.defaultSetBtn(null) // 设置 |
|
|
@ -331,7 +331,7 @@ const handleExport = async () => { |
|
|
|
// 发起导出 |
|
|
|
exportLoading.value = true |
|
|
|
const data = await DeviceSpotInspectionRecordMainApi.exportDeviceSpotInspectionRecordMain(tableObject.params) |
|
|
|
download.excel(data, '维修工单主.xlsx') |
|
|
|
download.excel(data, '巡检点检.xlsx') |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
|
exportLoading.value = false |
|
|
@ -355,6 +355,11 @@ const importSuccess = () => { |
|
|
|
|
|
|
|
// 筛选提交 |
|
|
|
const searchFormClick = (searchData) => { |
|
|
|
searchData.filters.push({ |
|
|
|
action: '==', |
|
|
|
column: 'type', |
|
|
|
value: 'DEVICE' |
|
|
|
}) |
|
|
|
tableObject.params = { |
|
|
|
isSearch: true, |
|
|
|
filters: searchData.filters |
|
|
|