Browse Source

调整前端导出表格后缀,移除备件审批取消按钮条件

master
zengqinyuan 1 month ago
parent
commit
b653995207
  1. 2
      src/views/eam/basic/locationArea/index.vue
  2. 4
      src/views/eam/device/deviceAllot/index.vue
  3. 2
      src/views/eam/item/applicationRecord/index.vue

2
src/views/eam/basic/locationArea/index.vue

@ -196,7 +196,7 @@
// //
exportLoading.value = true exportLoading.value = true
const data = await LocationAreaApi.exportLocationArea(tableObject.params) const data = await LocationAreaApi.exportLocationArea(tableObject.params)
download.excel(data, '库区.xls') download.excel(data, '库区.xlsx')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

4
src/views/eam/device/deviceAllot/index.vue

@ -191,7 +191,7 @@ const handleExport = async () => {
// //
exportLoading.value = true exportLoading.value = true
const data = await DeviceAllotApi.exportDeviceAccounts(setSearchParams) const data = await DeviceAllotApi.exportDeviceAccounts(setSearchParams)
download.excel(data, '备件台账.xls') download.excel(data, '备件台账.xlsx')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false
@ -206,7 +206,7 @@ const handleImport = () => {
// //
const importTemplateData = reactive({ const importTemplateData = reactive({
templateUrl: '', templateUrl: '',
templateTitle: '备件台账导入模版.xls' templateTitle: '备件台账导入模版.xlsx'
}) })
// //
const importSuccess = () => { const importSuccess = () => {

2
src/views/eam/item/applicationRecord/index.vue

@ -191,7 +191,7 @@
const butttondata = (row) => { const butttondata = (row) => {
return [ return [
defaultButtons.approveBtn({ hide: isShowApproveButton(row) ,hasPermi:'item:itemApplyMain:approve'}), // defaultButtons.approveBtn({ hide: isShowApproveButton(row) ,hasPermi:'item:itemApplyMain:approve'}), //
defaultButtons.mainListOrderCloBtn({ hide: isShowCloseButton(row) ,hasPermi:'item:itemApplyMain:close'}), // defaultButtons.mainListOrderCloBtn({ hasPermi:'item:itemApplyMain:close'}), //
// defaultButtons.mainListEditBtn(null), // // defaultButtons.mainListEditBtn(null), //
// defaultButtons.mainListDeleteBtn(null), // // defaultButtons.mainListDeleteBtn(null), //
] ]

Loading…
Cancel
Save