parent
8a44f31d64
commit
cbfed11819
|
|
@ -20,6 +20,7 @@ import {
|
||||||
i18n
|
i18n
|
||||||
} from '../public/i18n';
|
} from '../public/i18n';
|
||||||
import AttachToNumberField from './NewNumberField';
|
import AttachToNumberField from './NewNumberField';
|
||||||
|
import "./index.less";
|
||||||
|
|
||||||
export default class NewAndEditDialog extends React.Component {
|
export default class NewAndEditDialog extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
|
@ -143,6 +144,7 @@ export default class NewAndEditDialog extends React.Component {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<WeaDialog ecId={`${this && this.props && this.props.ecId || ''}_WeaDialog@1txk5f`}
|
<WeaDialog ecId={`${this && this.props && this.props.ecId || ''}_WeaDialog@1txk5f`}
|
||||||
|
className="new-edit-wrapper"
|
||||||
title={title}
|
title={title}
|
||||||
icon="icon-coms-hrm"
|
icon="icon-coms-hrm"
|
||||||
iconBgcolor="#217346"
|
iconBgcolor="#217346"
|
||||||
|
|
@ -152,6 +154,7 @@ export default class NewAndEditDialog extends React.Component {
|
||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
buttons={isEdit ? buttons : buttons.slice(1, 2)}
|
buttons={isEdit ? buttons : buttons.slice(1, 2)}
|
||||||
style={{ width: width, height: height }}
|
style={{ width: width, height: height }}
|
||||||
|
initLoadCss
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
loading ? <div className='hrm-loading-center-small'>
|
loading ? <div className='hrm-loading-center-small'>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
//新建编辑弹框
|
||||||
|
.new-edit-wrapper{
|
||||||
|
.wea-select, .ant-select{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -170,6 +170,8 @@ export default class LogView extends React.Component {
|
||||||
hasScroll={true}
|
hasScroll={true}
|
||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
style={{ height: height, width: width }}
|
style={{ height: height, width: width }}
|
||||||
|
initLoadCss
|
||||||
|
className="logWrapper"
|
||||||
>
|
>
|
||||||
<WeaTab ecId={`${this && this.props && this.props.ecId || ''}_WeaTab@9c3zts`}
|
<WeaTab ecId={`${this && this.props && this.props.ecId || ''}_WeaTab@9c3zts`}
|
||||||
searchType={['advanced']}
|
searchType={['advanced']}
|
||||||
|
|
@ -209,4 +211,4 @@ export default class LogView extends React.Component {
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
width: 400px !important;
|
width: 400px !important;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hrm-new-weatable-spin {
|
.hrm-new-weatable-spin {
|
||||||
|
|
@ -68,4 +68,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//日志弹框样式
|
||||||
|
.logWrapper{
|
||||||
|
.ant-table-body{
|
||||||
|
max-height: 350px!important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue