Browse Source

修改excel后缀

master
liuchen864 12 months ago
parent
commit
94910030c6
  1. 2
      src/views/infra/apiAccessLog/index.vue
  2. 2
      src/views/infra/apiErrorLog/index.vue
  3. 2
      src/views/infra/config/index.vue
  4. 2
      src/views/infra/job/index.vue
  5. 2
      src/views/infra/job/logger/index.vue
  6. 2
      src/views/system/dict/data/index.vue
  7. 2
      src/views/system/dict/index.vue
  8. 2
      src/views/system/errorCode/index.vue
  9. 2
      src/views/system/loginlog/index.vue
  10. 2
      src/views/system/operatelog/index.vue
  11. 2
      src/views/system/post/index.vue
  12. 2
      src/views/system/role/index.vue
  13. 2
      src/views/system/sensitiveWord/index.vue
  14. 2
      src/views/system/serialNumber/index.vue
  15. 2
      src/views/system/sms/log/index.vue
  16. 2
      src/views/system/sms/template/index.vue
  17. 2
      src/views/system/tenant/index.vue
  18. 2
      src/views/system/user/UserImportForm.vue
  19. 2
      src/views/system/user/index.vue
  20. 4
      src/views/wms/basicDataManage/labelManage/barbasic/index.vue
  21. 2
      src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/index.vue
  22. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue
  23. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue
  24. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  25. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue
  26. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

2
src/views/infra/apiAccessLog/index.vue

@ -153,7 +153,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ApiAccessLogApi.exportApiAccessLog(queryParams)
download.excel(data, 'API 访问日志.xls')
download.excel(data, 'API 访问日志.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/infra/apiErrorLog/index.vue

@ -235,7 +235,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ApiErrorLogApi.exportApiErrorLog(queryParams)
download.excel(data, '异常日志.xls')
download.excel(data, '异常日志.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/infra/config/index.vue

@ -155,7 +155,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ConfigApi.exportConfig(queryParams)
download.excel(data, '参数配置.xls')
download.excel(data, '参数配置.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/infra/job/index.vue

@ -155,7 +155,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await JobApi.exportJob(queryParams)
download.excel(data, '定时任务.xls')
download.excel(data, '定时任务.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/infra/job/logger/index.vue

@ -182,7 +182,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await JobLogApi.exportJobLog(queryParams)
download.excel(data, '定时任务执行日志.xls')
download.excel(data, '定时任务执行日志.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/dict/data/index.vue

@ -194,7 +194,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await DictDataApi.exportDictData(queryParams)
download.excel(data, '字典数据.xls')
download.excel(data, '字典数据.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/dict/index.vue

@ -161,7 +161,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await DictTypeApi.exportDictType(queryParams)
download.excel(data, '字典类型.xls')
download.excel(data, '字典类型.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/errorCode/index.vue

@ -157,7 +157,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ErrorCodeApi.excelErrorCode(queryParams)
download.excel(data, '错误码.xls')
download.excel(data, '错误码.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/loginlog/index.vue

@ -126,7 +126,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await LoginLogApi.exportLoginLog(queryParams)
download.excel(data, '登录日志.xls')
download.excel(data, '登录日志.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/operatelog/index.vue

@ -145,7 +145,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await OperateLogApi.exportOperateLog(queryParams)
download.excel(data, '操作日志.xls')
download.excel(data, '操作日志.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/post/index.vue

@ -143,7 +143,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await PostApi.exportPost(queryParams)
download.excel(data, '岗位列表.xls')
download.excel(data, '岗位列表.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/role/index.vue

@ -250,7 +250,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await RoleApi.exportRole(queryParams)
download.excel(data, '角色列表.xls')
download.excel(data, '角色列表.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/sensitiveWord/index.vue

@ -175,7 +175,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await SensitiveWordApi.exportSensitiveWord(queryParams)
download.excel(data, '敏感词.xls')
download.excel(data, '敏感词.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/serialNumber/index.vue

@ -168,7 +168,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await SerialNumberApi.exportSerialNumber(queryParams)
download.excel(data, '流水号规则.xls')
download.excel(data, '流水号规则.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/sms/log/index.vue

@ -171,7 +171,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await SmsLogApi.exportSmsLog(queryParams)
download.excel(data, '短信日志.xls')
download.excel(data, '短信日志.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/sms/template/index.vue

@ -197,7 +197,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await SmsTemplateApi.exportSmsTemplate(queryParams)
download.excel(data, '短信模板.xls')
download.excel(data, '短信模板.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/tenant/index.vue

@ -177,7 +177,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await TenantApi.exportTenant(queryParams)
download.excel(data, '租户列表.xls')
download.excel(data, '租户列表.xlsx')
} catch {
} finally {
exportLoading.value = false

2
src/views/system/user/UserImportForm.vue

@ -130,6 +130,6 @@ const importTemplate = async () => {
console.log(await UserApi.importUserTemplate());
const res = await UserApi.importUserTemplate()
download.excel(res, '用户导入模版.xls')
download.excel(res, '用户导入模版.xlsx')
}
</script>

2
src/views/system/user/index.vue

@ -195,7 +195,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await UserApi.exportUser(queryParams)
download.excel(data, '用户数据.xls')
download.excel(data, '用户数据.xlsx')
} catch {
} finally {
exportLoading.value = false

4
src/views/wms/basicDataManage/labelManage/barbasic/index.vue

@ -191,7 +191,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await BarbasicApi.exportBarbasic(setSearchParams)
download.excel(data, '条码实体基类.xls')
download.excel(data, '条码实体基类.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -206,7 +206,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '条码实体基类导入模版.xls'
templateTitle: '条码实体基类导入模版.xlsx'
})
//
const importSuccess = () => {

2
src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/index.vue

@ -365,7 +365,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '上架申请主导入模版.xls'
templateTitle: '上架申请主导入模版.xlsx'
})
//

4
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue

@ -245,7 +245,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await DemandforecastingMainApi.exportDemandforecastingMain(setSearchParams)
download.excel(data, '要货预测主.xls')
download.excel(data, '要货预测主.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -298,7 +298,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '要货预测主导入模版.xls'
templateTitle: '要货预测主导入模版.xlsx'
})
//

2
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue

@ -273,7 +273,7 @@
//
exportLoading.value = true
const data = await PurchaseMainApi.exportPurchaseMain(setSearchParams)
download.excel(data, '采购订单主.xls')
download.excel(data, '采购订单主.xlsx')
} catch {
} finally {
exportLoading.value = false

4
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -323,7 +323,7 @@
//
exportLoading.value = true
const data = await PurchasePlanMainApi.exportPurchasePlanMain(setSearchParams)
download.excel(data, '要货计划主.xls')
download.excel(data, '要货计划主.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -409,7 +409,7 @@
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '要货计划主导入模版.xls'
templateTitle: '要货计划主导入模版.xlsx'
})
//

2
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue

@ -144,7 +144,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await SupplierdeliverRecordMainApi.exportSupplierdeliverRecordMain(setSearchParams)
download.excel(data, '供应商发货记录主.xls')
download.excel(data, '供应商发货记录主.xlsx')
} catch {
} finally {
exportLoading.value = false

4
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -341,7 +341,7 @@
//
exportLoading.value = true
const data = await SupplierdeliverRequestMainApi.exportSupplierdeliverRequestMain(setSearchParams)
download.excel(data, '供应商发货申请主.xls')
download.excel(data, '供应商发货申请主.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -520,7 +520,7 @@
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '供应商发货申请主导入模版.xls'
templateTitle: '供应商发货申请主导入模版.xlsx'
})
//

Loading…
Cancel
Save