custom/领悦业务线
This commit is contained in:
parent
197dac0988
commit
5927da3deb
|
|
@ -4,10 +4,6 @@
|
|||
height: 30px;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.wea-form-item {
|
||||
min-width: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
.lingyue-body {
|
||||
|
|
@ -15,6 +11,26 @@
|
|||
padding: 16px 16px 0 16px;
|
||||
background: #F6F6F6;
|
||||
|
||||
.lingyue-query {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 16px 24px 16px 24px;
|
||||
background: #FFF;
|
||||
margin-bottom: 16px;
|
||||
|
||||
.wea-form-item:last-child {
|
||||
width: 500px !important;
|
||||
}
|
||||
|
||||
.wea-form-item {
|
||||
width: 300px;
|
||||
|
||||
.customMuiSelect .ant-select-selection--multiple {
|
||||
max-height: 110px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.custom_lingyue_list {
|
||||
.ant-spin-nested-loading, .ant-spin-container {
|
||||
height: 100%;
|
||||
|
|
|
|||
|
|
@ -27,15 +27,7 @@ class Layout extends Component {
|
|||
const { salaryMonth, ffgsqc } = query;
|
||||
let buttons = [
|
||||
<Button type="primary" onClick={() => listRef.handleOperate("GENERATE")}>{getLabel(111, "生成数据")}</Button>,
|
||||
<Button type="ghost" onClick={() => listRef.handleOperate("BATCHDEL")}>{getLabel(111, "批量删除")}</Button>,
|
||||
<WeaFormItem label={getLabel(111, "薪资所属月")} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<WeaDatePicker format="YYYY-MM" value={salaryMonth}
|
||||
onChange={value => onChange({ ...query, salaryMonth: value, isQuery: !isQuery })}/>
|
||||
</WeaFormItem>,
|
||||
<WeaFormItem label={ffgsqcLabel} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<CustomSelect value={ffgsqc} options={companyOpts}
|
||||
onChange={value => onChange({ ...query, ffgsqc: value, isQuery: !isQuery })}/>
|
||||
</WeaFormItem>
|
||||
<Button type="ghost" onClick={() => listRef.handleOperate("BATCHDEL")}>{getLabel(111, "批量删除")}</Button>
|
||||
];
|
||||
const dropMenuDatas = [
|
||||
{ key: "EXPORTALL", icon: <i className="iconfont icon-daochu"/>, content: getLabel(81272, "导出全部") }
|
||||
|
|
@ -48,7 +40,19 @@ class Layout extends Component {
|
|||
title={title} icon={<i className="icon-coms-fa"/>} buttons={buttons} showDropIcon={true}
|
||||
iconBgcolor="#F14A2D" className="custom_salary_lingyue" dropMenuDatas={dropMenuDatas}
|
||||
onDropMenuClick={key => listRef.handleOperate(key)}>
|
||||
<div className="lingyue-body">{this.props.children}</div>
|
||||
<div className="lingyue-body">
|
||||
<div className="lingyue-query">
|
||||
<WeaFormItem label={getLabel(111, "薪资所属月")} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<WeaDatePicker format="YYYY-MM" value={salaryMonth}
|
||||
onChange={value => onChange({ ...query, salaryMonth: value, isQuery: !isQuery })}/>
|
||||
</WeaFormItem>
|
||||
<WeaFormItem label={ffgsqcLabel} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<CustomSelect value={ffgsqc} options={companyOpts}
|
||||
onChange={value => onChange({ ...query, ffgsqc: value, isQuery: !isQuery })}/>
|
||||
</WeaFormItem>
|
||||
</div>
|
||||
{this.props.children}
|
||||
</div>
|
||||
</WeaTop>);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue