bug修复
This commit is contained in:
parent
5cce357d78
commit
28cbe4d7e1
|
|
@ -150,7 +150,7 @@ export default class ImportDialog extends React.Component {
|
||||||
} = this.state;
|
} = this.state;
|
||||||
|
|
||||||
const buttons = [
|
const buttons = [
|
||||||
(<Button ecId={`${this && this.props && this.props.ecId || ''}_Button@jd6baw`} type="primary" onClick={() => this.next()}>{current === steps.length - 1 ? '导入完成' : '开始导入'}</Button>),
|
(<Button ecId={`${this && this.props && this.props.ecId || ''}_Button@jd6baw`} type="primary" onClick={() => this.next()}>{current === steps.length - 1 ? '关闭' : '开始导入'}</Button>),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ export default class NewAndEditDialog extends React.Component {
|
||||||
error={form.getError(field)}
|
error={form.getError(field)}
|
||||||
tipPosition="bottom"
|
tipPosition="bottom"
|
||||||
wrapperCol={{ span: `${field.fieldcol}` }}>
|
wrapperCol={{ span: `${field.fieldcol}` }}>
|
||||||
{<WeaSwitch ecId={`${this && this.props && this.props.ecId || ''}_WeaSwitch@7vxyfr@${index}`} fieldConfig={field} form={form} formParams={form.getFormParams()} />}
|
{<WeaSwitch ecId={`${this && this.props && this.props.ecId || ''}_WeaSwitch@7vxyfr@${index}`} fieldConfig={field} form={form} formParams={form.getFormParams()} onChange={this.onChange} />}
|
||||||
</WeaFormItem>)
|
</WeaFormItem>)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ class ColumnSetting extends Component {
|
||||||
return renderNoright();
|
return renderNoright();
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div style={{ height: "100%" }}>
|
authorized && <div style={{ height: "100%" }}>
|
||||||
<WeaRightMenu
|
<WeaRightMenu
|
||||||
ecId={`${this && this.props && this.props.ecId || ""}_WeaRightMenu@k6oc4u`}
|
ecId={`${this && this.props && this.props.ecId || ""}_WeaRightMenu@k6oc4u`}
|
||||||
datas={[{
|
datas={[{
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ export default class StepDialog extends React.Component {
|
||||||
} = this.state;
|
} = this.state;
|
||||||
|
|
||||||
const buttons = [
|
const buttons = [
|
||||||
(<Button ecId={`${this && this.props && this.props.ecId || ''}_Button@jd6baw`} type="primary" onClick={() => this.next()}>{current === steps.length - 1 ? '导入完成' : i18n.button.nextStep()}</Button>),
|
(<Button ecId={`${this && this.props && this.props.ecId || ''}_Button@jd6baw`} type="primary" onClick={() => this.next()}>{current === steps.length - 1 ? '关闭' : i18n.button.nextStep()}</Button>),
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -533,7 +533,7 @@ export default class Staff extends React.Component {
|
||||||
loading={dialogLoading}
|
loading={dialogLoading}
|
||||||
isEdit={isEdit}
|
isEdit={isEdit}
|
||||||
height={350}
|
height={350}
|
||||||
conditionLen={1}
|
conditionLen={2}
|
||||||
save={() => this.handleSave()}
|
save={() => this.handleSave()}
|
||||||
onCancel={() => staff.setVisible(false)}
|
onCancel={() => staff.setVisible(false)}
|
||||||
moduleName={"staff"}
|
moduleName={"staff"}
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,7 @@ export const i18n = {
|
||||||
typeName: () => getLabel(129927, '类型名称'),
|
typeName: () => getLabel(129927, '类型名称'),
|
||||||
ResourceName: () => getLabel(385936, '人员'),
|
ResourceName: () => getLabel(385936, '人员'),
|
||||||
newPeople: () => getLabel(386246, '新建人员'),
|
newPeople: () => getLabel(386246, '新建人员'),
|
||||||
resourceMange: () => getLabel(386246, '人员管理'),
|
resourceMange: () => getLabel(386246, '花名册'),
|
||||||
resourceBasicInfo: () => getLabel(386246, '人员信息'),
|
resourceBasicInfo: () => getLabel(386246, '人员信息'),
|
||||||
newResourceBasicInfo: () => getLabel(386246, '新建人员资料'),
|
newResourceBasicInfo: () => getLabel(386246, '新建人员资料'),
|
||||||
newResourceBasicType: () => getLabel(386246, '新建人员资料类型'),
|
newResourceBasicType: () => getLabel(386246, '新建人员资料类型'),
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ export class ColumnSetting {
|
||||||
@observable tableStore = new TableStore();
|
@observable tableStore = new TableStore();
|
||||||
@observable columnsPermissionData = [];
|
@observable columnsPermissionData = [];
|
||||||
@observable selectedKey = "0";
|
@observable selectedKey = "0";
|
||||||
@observable authorized = true;
|
@observable authorized = '';
|
||||||
@observable loading = true;
|
@observable loading = true;
|
||||||
@observable tabOneRelatedData = {
|
@observable tabOneRelatedData = {
|
||||||
datas: [], //datas受控
|
datas: [], //datas受控
|
||||||
|
|
@ -186,7 +186,7 @@ export class ColumnSetting {
|
||||||
ecId={`${this && this.props && this.props.ecId || ""}_WeaHelpfulTip@4vdvfp@${index}`}
|
ecId={`${this && this.props && this.props.ecId || ""}_WeaHelpfulTip@4vdvfp@${index}`}
|
||||||
title="页面链接地址可以为外网地址,如:http://www.baidu.com
|
title="页面链接地址可以为外网地址,如:http://www.baidu.com
|
||||||
也可以是内部地址,如:/test.jsp,可以带上参数传参,像这样:/test.jsp?a=1&b=2
|
也可以是内部地址,如:/test.jsp,可以带上参数传参,像这样:/test.jsp?a=1&b=2
|
||||||
也可以写占位符{#id}传人员id,像这样:/test.jsp?a=1&b={#id}&mypara2={#id}"/>
|
也可以写占位符${id}传人员id,像这样:/test.jsp?a=1&b=${id}&mypara2=${id}"/>
|
||||||
</span>
|
</span>
|
||||||
</span>;
|
</span>;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -186,10 +186,10 @@ export class StaffStore {
|
||||||
|
|
||||||
updateConditions(data) {
|
updateConditions(data) {
|
||||||
this.form.updateFields({
|
this.form.updateFields({
|
||||||
compId: {
|
ecCompany: {
|
||||||
value: ''
|
value: ''
|
||||||
},
|
},
|
||||||
deptId: {
|
ecDepartment: {
|
||||||
value: ''
|
value: ''
|
||||||
},
|
},
|
||||||
jobId: {
|
jobId: {
|
||||||
|
|
@ -206,11 +206,13 @@ export class StaffStore {
|
||||||
break;
|
break;
|
||||||
case '部门':
|
case '部门':
|
||||||
this.condition[0].items = this.condition[0].items.filter(item => {
|
this.condition[0].items = this.condition[0].items.filter(item => {
|
||||||
return item.domkey[0] != 'jobId'
|
return item.domkey[0] != 'ecCompany' && item.domkey[0] != 'jobId'
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case '岗位':
|
case '岗位':
|
||||||
break;
|
this.condition[0].items = this.condition[0].items.filter(item => {
|
||||||
|
return item.domkey[0] != 'ecCompany' && item.domkey[0] != 'ecDepartment'
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
this.setCondition(this.condition);
|
this.setCondition(this.condition);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue