From cbfed11819ac82ac9f18149b46fc626c934653c4 Mon Sep 17 00:00:00 2001 From: 18652063575 Date: Tue, 6 Sep 2022 19:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90ID1000135=E3=80=91=20=E7=BC=96?= =?UTF-8?q?=E5=88=B6=E7=AE=A1=E7=90=86-=E7=BC=96=E5=88=B6=E4=BF=A1?= =?UTF-8?q?=E6=81=AF-=E6=96=B0=E5=BB=BA=E7=BC=96=E5=88=B6=20=E3=80=90ID100?= =?UTF-8?q?0132=E3=80=91=20=E6=97=A5=E5=BF=97=E6=9F=A5=E7=9C=8B=EF=BC=9A?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E5=8C=BA=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/organization/components/NewAndEditDialog.js | 3 +++ pc4mobx/organization/components/index.less | 6 ++++++ pc4mobx/organization/components/log/LogView.js | 4 +++- pc4mobx/organization/style/common.less | 11 +++++++++-- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 pc4mobx/organization/components/index.less 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; + } +}