diff --git a/pc4mobx/organization/components/NewAndEditDialog.js b/pc4mobx/organization/components/NewAndEditDialog.js index 535f8a3..4ead83a 100644 --- a/pc4mobx/organization/components/NewAndEditDialog.js +++ b/pc4mobx/organization/components/NewAndEditDialog.js @@ -20,6 +20,7 @@ import { i18n } from '../public/i18n'; import AttachToNumberField from './NewNumberField'; +import "./index.less"; export default class NewAndEditDialog extends React.Component { constructor(props) { @@ -143,6 +144,7 @@ export default class NewAndEditDialog extends React.Component { return ( onCancel()} buttons={isEdit ? buttons : buttons.slice(1, 2)} style={{ width: width, height: height }} + initLoadCss > { loading ?
diff --git a/pc4mobx/organization/components/index.less b/pc4mobx/organization/components/index.less new file mode 100644 index 0000000..abeb9fb --- /dev/null +++ b/pc4mobx/organization/components/index.less @@ -0,0 +1,6 @@ +//新建编辑弹框 +.new-edit-wrapper{ + .wea-select, .ant-select{ + width: 100%; + } +} diff --git a/pc4mobx/organization/components/log/LogView.js b/pc4mobx/organization/components/log/LogView.js index 2487d5e..15851f9 100644 --- a/pc4mobx/organization/components/log/LogView.js +++ b/pc4mobx/organization/components/log/LogView.js @@ -170,6 +170,8 @@ export default class LogView extends React.Component { hasScroll={true} onCancel={() => onCancel()} style={{ height: height, width: width }} + initLoadCss + className="logWrapper" > ) } -} \ No newline at end of file +} diff --git a/pc4mobx/organization/style/common.less b/pc4mobx/organization/style/common.less index 411086b..fc4cfca 100644 --- a/pc4mobx/organization/style/common.less +++ b/pc4mobx/organization/style/common.less @@ -18,7 +18,7 @@ width: 400px !important; line-height: 30px; } - } + } } .hrm-new-weatable-spin { @@ -68,4 +68,11 @@ } -} \ No newline at end of file +} + +//日志弹框样式 +.logWrapper{ + .ant-table-body{ + max-height: 350px!important; + } +}