|
@@ -2,7 +2,7 @@
|
|
* @Author: code4eat awesomedema@gmail.com
|
|
* @Author: code4eat awesomedema@gmail.com
|
|
* @Date: 2023-03-03 11:30:33
|
|
* @Date: 2023-03-03 11:30:33
|
|
* @LastEditors: code4eat awesomedema@gmail.com
|
|
* @LastEditors: code4eat awesomedema@gmail.com
|
|
- * @LastEditTime: 2023-03-24 12:22:43
|
|
|
|
|
|
+ * @LastEditTime: 2023-03-24 15:24:18
|
|
* @FilePath: /KC-MiddlePlatform/src/pages/platform/setting/pubDicTypeMana/index.tsx
|
|
* @FilePath: /KC-MiddlePlatform/src/pages/platform/setting/pubDicTypeMana/index.tsx
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
*/
|
|
@@ -16,7 +16,7 @@ import { getAllHosp } from '@/service/hospList';
|
|
import { downloadTemplateReq } from '@/utils';
|
|
import { downloadTemplateReq } from '@/utils';
|
|
import { ModalForm, ProFormSelect, ProFormText, ProFormTextArea } from '@ant-design/pro-form'
|
|
import { ModalForm, ProFormSelect, ProFormText, ProFormTextArea } from '@ant-design/pro-form'
|
|
import { ProColumns } from '@ant-design/pro-table';
|
|
import { ProColumns } from '@ant-design/pro-table';
|
|
-import { message, Popconfirm } from 'antd';
|
|
|
|
|
|
+import { message, Modal, Popconfirm } from 'antd';
|
|
import FormItem from 'antd/lib/form/FormItem';
|
|
import FormItem from 'antd/lib/form/FormItem';
|
|
import { useEffect, useState } from 'react'
|
|
import { useEffect, useState } from 'react'
|
|
import { addData, delData, editData, getDepartmentData, getDepartmentType, getRelaHosp, importDepartmentData } from './service';
|
|
import { addData, delData, editData, getDepartmentData, getDepartmentType, getRelaHosp, importDepartmentData } from './service';
|
|
@@ -218,7 +218,7 @@ export default function DepartmentMana() {
|
|
<span key="3">导入</span>
|
|
<span key="3">导入</span>
|
|
}
|
|
}
|
|
onFinish={async (values) => {
|
|
onFinish={async (values) => {
|
|
-
|
|
|
|
|
|
+
|
|
const { importFile: { fileList } } = values;
|
|
const { importFile: { fileList } } = values;
|
|
|
|
|
|
let formData = new FormData();
|
|
let formData = new FormData();
|