fix: 上传接口变更

This commit is contained in:
TsMask
2025-02-26 11:12:06 +08:00
parent 7429a55734
commit 5a61fc355e
13 changed files with 47 additions and 26 deletions

View File

@@ -14,6 +14,7 @@ import saveAs from 'file-saver';
import TableColumnsDnd from '@/components/TableColumnsDnd/index.vue';
import { writeSheet } from '@/utils/execl-utils';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import { parseDateToStr } from '@/utils/date-utils';
const neInfoStore = useNeInfoStore();
const { getDict } = useDictStore();
const { t } = useI18n();
@@ -154,6 +155,12 @@ let tableColumns: ColumnsType = [
align: 'center',
sorter: (a: any, b: any) => 1,
width: 5,
customRender(opt) {
if (typeof opt.value === 'number') {
return parseDateToStr(+opt.value);
}
return opt.value;
},
},
{
title: t('common.operate'),