|
@@ -1,7 +1,7 @@
|
|
/*
|
|
/*
|
|
* @Author: your name
|
|
* @Author: your name
|
|
* @Date: 2021-07-26 10:13:13
|
|
* @Date: 2021-07-26 10:13:13
|
|
- * @LastEditTime: 2021-08-12 09:54:26
|
|
|
|
|
|
+ * @LastEditTime: 2021-08-12 14:30:35
|
|
* @LastEditors: Please set LastEditors
|
|
* @LastEditors: Please set LastEditors
|
|
* @Description: In User Settings Edit
|
|
* @Description: In User Settings Edit
|
|
* @FilePath: /TracerMethodology_PC/src/pages/UserMana/index.js
|
|
* @FilePath: /TracerMethodology_PC/src/pages/UserMana/index.js
|
|
@@ -13,7 +13,6 @@ import React, { useState, useRef } from 'react';
|
|
import { PageContainer } from '@ant-design/pro-layout';
|
|
import { PageContainer } from '@ant-design/pro-layout';
|
|
import ProTable from '@ant-design/pro-table';
|
|
import ProTable from '@ant-design/pro-table';
|
|
import ProForm,{ ModalForm, ProFormText, ProFormSelect,ProFormDatePicker} from '@ant-design/pro-form';
|
|
import ProForm,{ ModalForm, ProFormText, ProFormSelect,ProFormDatePicker} from '@ant-design/pro-form';
|
|
-import UpdateForm from './updateForm';
|
|
|
|
import DrawerContent from './components/DrawerContent';
|
|
import DrawerContent from './components/DrawerContent';
|
|
import CAUpload from '@/components/CAUpload/index';
|
|
import CAUpload from '@/components/CAUpload/index';
|
|
import { getIncomeCostDataImport,addIncomeCostDataImport,cancelIncomeCostDataImport,getIncomeCostDataImportErrList } from './service';
|
|
import { getIncomeCostDataImport,addIncomeCostDataImport,cancelIncomeCostDataImport,getIncomeCostDataImportErrList } from './service';
|
|
@@ -378,30 +377,6 @@ const IncomeCostDataImport = () => {
|
|
|
|
|
|
}}
|
|
}}
|
|
/>
|
|
/>
|
|
-
|
|
|
|
-
|
|
|
|
- {/* 更新 */}
|
|
|
|
- <UpdateForm
|
|
|
|
- onSubmit={async (value) => {
|
|
|
|
- // console.log({ '编辑': value });
|
|
|
|
- const success = await editDistrictList(value);
|
|
|
|
- if (success) {
|
|
|
|
- handleUpdateModalVisible(false);
|
|
|
|
- setCurrentRow(undefined);
|
|
|
|
-
|
|
|
|
- if (actionRef.current) {
|
|
|
|
- actionRef.current.reload();
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }}
|
|
|
|
- onCancel={() => {
|
|
|
|
- handleUpdateModalVisible(false);
|
|
|
|
- setCurrentRow(undefined);
|
|
|
|
- }}
|
|
|
|
- updateModalVisible={updateModalVisible}
|
|
|
|
- updateModalVisibleChange={updateModalVisibleChange}
|
|
|
|
- values={currentRow || {}}
|
|
|
|
- />
|
|
|
|
</PageContainer>
|
|
</PageContainer>
|
|
);
|
|
);
|
|
};
|
|
};
|