|
@@ -4,7 +4,7 @@
|
|
* @Author: code4eat awesomedema@gmail.com
|
|
* @Author: code4eat awesomedema@gmail.com
|
|
* @Date: 2022-12-16 09:42:52
|
|
* @Date: 2022-12-16 09:42:52
|
|
* @LastEditors: code4eat awesomedema@gmail.com
|
|
* @LastEditors: code4eat awesomedema@gmail.com
|
|
- * @LastEditTime: 2023-03-01 16:26:50
|
|
|
|
|
|
+ * @LastEditTime: 2023-03-06 15:41:55
|
|
* @FilePath: /BudgetManaSystem/src/pages/budgetMana/monthlySet/index.tsx
|
|
* @FilePath: /BudgetManaSystem/src/pages/budgetMana/monthlySet/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
|
|
*/
|
|
*/
|
|
@@ -390,16 +390,24 @@ const MonthlyInfoCheck: React.FC = () => {
|
|
});
|
|
});
|
|
if (resp) {
|
|
if (resp) {
|
|
message.success('生成数据成功');
|
|
message.success('生成数据成功');
|
|
- getCurrentComputeDate();
|
|
|
|
|
|
+ tableRef.current?.reload();
|
|
} else {
|
|
} else {
|
|
message.success('生成数据错误!');
|
|
message.success('生成数据错误!');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
const generateFunc = (type: number) => {
|
|
const generateFunc = (type: number) => {
|
|
|
|
+
|
|
|
|
+ let msg = '';
|
|
|
|
+
|
|
|
|
+ if(type == 1)msg = '生成操作会根据基础设定的单元人员对照信息重新生成数据,手动调整的人员信息将会丢失,确定继续生成操作?';
|
|
|
|
+ if(type == 2)msg = '生成操作会覆盖现有的科室数据,确定继续生成操作?';
|
|
|
|
+ if(type == 3)msg = '生成操作会覆盖现有的收费项目数据,确定继续生成操作?';
|
|
|
|
+
|
|
|
|
+
|
|
Modal.confirm({
|
|
Modal.confirm({
|
|
title: '注意',
|
|
title: '注意',
|
|
- content: '生成操作会根据基础设定的单元人员对照信息重新生成数据,手动调整的人员信息将会丢失,确定继续生成操作?',
|
|
|
|
|
|
+ content: msg,
|
|
onOk: () => confirmGenerateHandle(type)
|
|
onOk: () => confirmGenerateHandle(type)
|
|
|
|
|
|
})
|
|
})
|
|
@@ -631,6 +639,7 @@ const MonthlyInfoCheck: React.FC = () => {
|
|
{/* <div style={{width:16,height:'92vh',background:'#F5F7FA'}}></div> */}
|
|
{/* <div style={{width:16,height:'92vh',background:'#F5F7FA'}}></div> */}
|
|
<div className='rightContent'>
|
|
<div className='rightContent'>
|
|
<BMSPagecontainer title={`核算年月:${currentComputeDate}`} ghost>
|
|
<BMSPagecontainer title={`核算年月:${currentComputeDate}`} ghost>
|
|
|
|
+ <div></div>
|
|
<div className='checkBtn' onClick={() => checkHandle(`${auditType}`)}>{auditType == '0' ? '审核' : '取消审核'}</div>
|
|
<div className='checkBtn' onClick={() => checkHandle(`${auditType}`)}>{auditType == '0' ? '审核' : '取消审核'}</div>
|
|
{/* <div className='midLine'>
|
|
{/* <div className='midLine'>
|
|
<span>点击检查</span>
|
|
<span>点击检查</span>
|