Commit 102dee0f authored by 皮倩雯's avatar 皮倩雯

fix: '优化维保模板界面样式'

parent 984ed5a1
Pipeline #63154 passed with stages
...@@ -24,6 +24,7 @@ import { ...@@ -24,6 +24,7 @@ import {
StepForwardFilled, StepForwardFilled,
InfoCircleOutlined, InfoCircleOutlined,
} from '@ant-design/icons'; } from '@ant-design/icons';
import { setAutoFreeze } from 'immer';
import styles from './maintenance.less'; import styles from './maintenance.less';
import { import {
CM_XWBPlan_AccountTable, CM_XWBPlan_AccountTable,
...@@ -86,6 +87,8 @@ const AddModal = props => { ...@@ -86,6 +87,8 @@ const AddModal = props => {
let data = res.data[0]; let data = res.data[0];
if (data.isSubmit == '是') { if (data.isSubmit == '是') {
setAutoFlag(true); setAutoFlag(true);
} else {
setAutoFlag(false);
} }
setVisibleChecked(data.isSubmit == '是'); setVisibleChecked(data.isSubmit == '是');
setVisibleChecked1(data.autoAssign == '是'); setVisibleChecked1(data.autoAssign == '是');
...@@ -96,6 +99,7 @@ const AddModal = props => { ...@@ -96,6 +99,7 @@ const AddModal = props => {
}); });
} }
} else { } else {
setAutoFlag(false);
setVisibleChecked(false); setVisibleChecked(false);
setVisibleChecked1(false); setVisibleChecked1(false);
setChee(''); setChee('');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment