commit
58b99e41ff
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* @Author: 程亮
|
* @Author: 程亮
|
||||||
* @Date: 2022-05-18 16:23:32
|
* @Date: 2022-05-18 16:23:32
|
||||||
* @LastEditTime: 2022-06-06 14:21:43
|
* @LastEditTime: 2022-06-07 16:39:25
|
||||||
* @Description:
|
* @Description:
|
||||||
* @FilePath: /trunk/src4js/pc4mobx/organization/components/company/company.js
|
* @FilePath: /trunk/src4js/pc4mobx/organization/components/company/company.js
|
||||||
*/
|
*/
|
||||||
|
|
@ -41,7 +41,7 @@ import '../../style/common.less';
|
||||||
import NewTableDialog from '../NewTableDialog';
|
import NewTableDialog from '../NewTableDialog';
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
import NewWeaTable from '../NewWeaTableDialog';
|
import NewWeaTable from '../NewWeaTableDialog';
|
||||||
import { renderLoading } from '../../util'; // 从util文件引入公共的方法
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -396,9 +396,13 @@ export default class Company extends React.Component {
|
||||||
const {
|
const {
|
||||||
isPanelShow, companyName, conditionNum, visible, condition, form,
|
isPanelShow, companyName, conditionNum, visible, condition, form,
|
||||||
tableStore, dataSource, columns, loading, date, nEdialogTitle, dialogLoading,
|
tableStore, dataSource, columns, loading, date, nEdialogTitle, dialogLoading,
|
||||||
form1, isEdit, newVisible, deptDataSource, deptColumns, selectedRowKeys, total, current, pageSize, init
|
form1, isEdit, newVisible, deptDataSource, deptColumns, selectedRowKeys, total, current, pageSize, init,hasRight
|
||||||
} = company;
|
} = company;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
const rowSelection = {
|
const rowSelection = {
|
||||||
type: "checkbox",
|
type: "checkbox",
|
||||||
onChange(selectedRowKeys, selectedRows) {
|
onChange(selectedRowKeys, selectedRows) {
|
||||||
|
|
@ -426,7 +430,7 @@ export default class Company extends React.Component {
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* @Author: 程亮
|
* @Author: 程亮
|
||||||
* @Date: 2022-06-02 09:19:37
|
* @Date: 2022-06-02 09:19:37
|
||||||
* @LastEditTime: 2022-06-06 19:32:11
|
* @LastEditTime: 2022-06-07 16:15:54
|
||||||
* @Description:
|
* @Description:
|
||||||
* @FilePath: /trunk/src4js/pc4mobx/organization/components/department/department.js
|
* @FilePath: /trunk/src4js/pc4mobx/organization/components/department/department.js
|
||||||
*/
|
*/
|
||||||
|
|
@ -40,6 +40,7 @@
|
||||||
} from '../../public/i18n';
|
} from '../../public/i18n';
|
||||||
|
|
||||||
import '../../style/common.less';
|
import '../../style/common.less';
|
||||||
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
import NewTableDialog from '../NewTableDialog';
|
import NewTableDialog from '../NewTableDialog';
|
||||||
|
|
@ -526,9 +527,13 @@
|
||||||
isPanelShow, departmentName, conditionNum, visible, condition, form,
|
isPanelShow, departmentName, conditionNum, visible, condition, form,
|
||||||
tableStore, dataSource, columns, loading, date, nEdialogTitle, dialogLoading,
|
tableStore, dataSource, columns, loading, date, nEdialogTitle, dialogLoading,
|
||||||
form1, isEdit, newVisible, jobDataSource, jobColumns, selectedRowKeys, total, current, pageSize, init,
|
form1, isEdit, newVisible, jobDataSource, jobColumns, selectedRowKeys, total, current, pageSize, init,
|
||||||
defaultShowLeft,confirmVisible,confirmLoading,postionDataSource,postionColumns,isMerge
|
defaultShowLeft,confirmVisible,confirmLoading,postionDataSource,postionColumns,isMerge,hasRight
|
||||||
} = department;
|
} = department;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
const rowSelection = {
|
const rowSelection = {
|
||||||
type:"checkbox",
|
type:"checkbox",
|
||||||
onChange(selectedRowKeys, selectedRows) {
|
onChange(selectedRowKeys, selectedRows) {
|
||||||
|
|
@ -556,7 +561,7 @@
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* @Author: 程亮
|
* @Author: 程亮
|
||||||
* @Date: 2022-05-26 14:05:59
|
* @Date: 2022-05-26 14:05:59
|
||||||
* @LastEditTime: 2022-06-02 15:51:37
|
* @LastEditTime: 2022-06-07 16:44:49
|
||||||
* @Description:
|
* @Description:
|
||||||
* @FilePath: /trunk/src4js/pc4mobx/organization/components/job/Job.js
|
* @FilePath: /trunk/src4js/pc4mobx/organization/components/job/Job.js
|
||||||
*/
|
*/
|
||||||
|
|
@ -42,7 +42,7 @@ import '../../style/common.less';
|
||||||
|
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
import NewWeaTableDialog from '../NewWeaTableDialog';
|
import NewWeaTableDialog from '../NewWeaTableDialog';
|
||||||
import { renderLoading } from '../../util'; // 从util文件引入公共的方法
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -487,9 +487,14 @@ export default class Job extends React.Component {
|
||||||
isPanelShow, jobName, conditionNum, visible, condition, form,
|
isPanelShow, jobName, conditionNum, visible, condition, form,
|
||||||
tableStore, dataSource, columns, loading, date, nEdialogTitle, dialogLoading,
|
tableStore, dataSource, columns, loading, date, nEdialogTitle, dialogLoading,
|
||||||
form1, isEdit, newVisible,selectedRowKeys, total, current, pageSize, init,
|
form1, isEdit, newVisible,selectedRowKeys, total, current, pageSize, init,
|
||||||
defaultShowLeft,form2
|
defaultShowLeft,form2,hasRight
|
||||||
} = job;
|
} = job;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const rowSelection = {
|
const rowSelection = {
|
||||||
onChange(selectedRowKeys, selectedRows) {
|
onChange(selectedRowKeys, selectedRows) {
|
||||||
job.setSelectedRowKeys(selectedRowKeys);
|
job.setSelectedRowKeys(selectedRowKeys);
|
||||||
|
|
@ -516,7 +521,7 @@ export default class Job extends React.Component {
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@ import {
|
||||||
import { Row, Col, Spin, Modal, Button, message, Switch } from "antd";
|
import { Row, Col, Spin, Modal, Button, message, Switch } from "antd";
|
||||||
import { WeaSwitch, WeaTableNew } from "comsMobx";
|
import { WeaSwitch, WeaTableNew } from "comsMobx";
|
||||||
import "./index.less";
|
import "./index.less";
|
||||||
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
|
|
||||||
const confirm = Modal.confirm;
|
const confirm = Modal.confirm;
|
||||||
const WeaTable = WeaTableNew.WeaTable;
|
const WeaTable = WeaTableNew.WeaTable;
|
||||||
|
|
@ -266,23 +268,20 @@ export default class OfficeManage extends Component {
|
||||||
c.items.map((field, index) => {
|
c.items.map((field, index) => {
|
||||||
arr.push(
|
arr.push(
|
||||||
<Col
|
<Col
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_Col@4cc308@${index}`}
|
}_Col@4cc308@${index}`}
|
||||||
span={index % 2 == 0 ? 10 : 11}
|
span={index % 2 == 0 ? 10 : 11}
|
||||||
offset={1}>
|
offset={1}>
|
||||||
<div style={{ marginTop: 20 }}>
|
<div style={{ marginTop: 20 }}>
|
||||||
<WeaFormItem
|
<WeaFormItem
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_WeaFormItem@u6ex85@${index}`}
|
}_WeaFormItem@u6ex85@${index}`}
|
||||||
label={`${field.label}`}
|
label={`${field.label}`}
|
||||||
labelCol={{ span: `${field.labelcol}` }}
|
labelCol={{ span: `${field.labelcol}` }}
|
||||||
wrapperCol={{ span: `${field.fieldcol}` }}>
|
wrapperCol={{ span: `${field.fieldcol}` }}>
|
||||||
{
|
{
|
||||||
<WeaSwitch
|
<WeaSwitch
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_WeaSwitch@p7d3td@${index}`}
|
}_WeaSwitch@p7d3td@${index}`}
|
||||||
fieldConfig={field}
|
fieldConfig={field}
|
||||||
form={form2}
|
form={form2}
|
||||||
|
|
@ -300,8 +299,7 @@ export default class OfficeManage extends Component {
|
||||||
return (
|
return (
|
||||||
<div className="hrm-loading-center-small" style={{ top: "25%" }}>
|
<div className="hrm-loading-center-small" style={{ top: "25%" }}>
|
||||||
<Spin
|
<Spin
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_Spin@lbktzb`}
|
}_Spin@lbktzb`}
|
||||||
spinning={searchConditionLoading}></Spin>
|
spinning={searchConditionLoading}></Spin>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -370,23 +368,27 @@ export default class OfficeManage extends Component {
|
||||||
condition,
|
condition,
|
||||||
form,
|
form,
|
||||||
dialogLoading,
|
dialogLoading,
|
||||||
|
hasRight
|
||||||
} = officeManageStore;
|
} = officeManageStore;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="office-wapper">
|
hasRight && <div className="office-wapper">
|
||||||
<WeaLeftRightLayout
|
<WeaLeftRightLayout
|
||||||
isNew={true}
|
isNew={true}
|
||||||
leftWidth={310}
|
leftWidth={310}
|
||||||
leftCom={<LeftTree />}
|
leftCom={<LeftTree />}
|
||||||
onCollapse={(showLeft) => console.log("showLeft:", showLeft)}>
|
onCollapse={(showLeft) => console.log("showLeft:", showLeft)}>
|
||||||
<WeaRightMenu
|
<WeaRightMenu
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_WeaRightMenu@cea97d`}
|
}_WeaRightMenu@cea97d`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={(key) => this.handleMenuClick(key)}>
|
onClick={(key) => this.handleMenuClick(key)}>
|
||||||
<WeaTop
|
<WeaTop
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_WeaTop@446d12`}
|
}_WeaTop@446d12`}
|
||||||
title={i18n.label.officeName()}
|
title={i18n.label.officeName()}
|
||||||
icon={<i className="icon-coms-hrm" />}
|
icon={<i className="icon-coms-hrm" />}
|
||||||
|
|
@ -397,8 +399,7 @@ export default class OfficeManage extends Component {
|
||||||
dropMenuDatas={this.getDropMenuDatas()}
|
dropMenuDatas={this.getDropMenuDatas()}
|
||||||
onDropMenuClick={(e) => this.handleMenuClick(e)}>
|
onDropMenuClick={(e) => this.handleMenuClick(e)}>
|
||||||
<WeaTab
|
<WeaTab
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_WeaTab@39c727`}
|
}_WeaTab@39c727`}
|
||||||
searchType={["base", "advanced"]}
|
searchType={["base", "advanced"]}
|
||||||
showSearchAd={isPanelShow}
|
showSearchAd={isPanelShow}
|
||||||
|
|
@ -421,8 +422,7 @@ export default class OfficeManage extends Component {
|
||||||
onSearchChange={(val) => this.onSearchChange(val)}
|
onSearchChange={(val) => this.onSearchChange(val)}
|
||||||
/>
|
/>
|
||||||
<WeaTable
|
<WeaTable
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_WeaTable@b43a4c`}
|
}_WeaTable@b43a4c`}
|
||||||
comsWeaTableStore={tableStore}
|
comsWeaTableStore={tableStore}
|
||||||
hasOrder={true}
|
hasOrder={true}
|
||||||
|
|
@ -442,8 +442,7 @@ export default class OfficeManage extends Component {
|
||||||
/>
|
/>
|
||||||
</WeaTop>
|
</WeaTop>
|
||||||
<NewAndEditDialog
|
<NewAndEditDialog
|
||||||
ecId={`${
|
ecId={`${(this && this.props && this.props.ecId) || ""
|
||||||
(this && this.props && this.props.ecId) || ""
|
|
||||||
}_NewAndEditDialog@q4rrwm`}
|
}_NewAndEditDialog@q4rrwm`}
|
||||||
title={nEdialogTitle}
|
title={nEdialogTitle}
|
||||||
visible={visible}
|
visible={visible}
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ import {
|
||||||
import '../../style/common.less';
|
import '../../style/common.less';
|
||||||
|
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -360,12 +361,15 @@ export default class JobGrade extends React.Component {
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const {
|
const {
|
||||||
isPanelShow, form2, gradeName, conditionNum, tableStore,nEdialogTitle,visible,condition,
|
isPanelShow, form2, gradeName, conditionNum, tableStore,nEdialogTitle,visible,condition,
|
||||||
form,dialogLoading,isEdit,selectedKey,topTab,topTabCount,date
|
form,dialogLoading,isEdit,selectedKey,topTab,topTabCount,date,hasRight
|
||||||
} = jobGrade;
|
} = jobGrade;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ import {
|
||||||
import '../../style/common.less';
|
import '../../style/common.less';
|
||||||
|
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
|
|
||||||
const toJS = mobx.toJS;
|
const toJS = mobx.toJS;
|
||||||
|
|
@ -357,12 +357,15 @@ export default class JobLevel extends React.Component {
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const {
|
const {
|
||||||
isPanelShow, form2, levelName, conditionNum, tableStore, nEdialogTitle, visible, condition,
|
isPanelShow, form2, levelName, conditionNum, tableStore, nEdialogTitle, visible, condition,
|
||||||
form,dialogLoading,isEdit,selectedKey,topTab,topTabCount,date
|
form, dialogLoading, isEdit, selectedKey, topTab, topTabCount, date, hasRight
|
||||||
} = jobLevel;
|
} = jobLevel;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import {
|
||||||
WeaTab,
|
WeaTab,
|
||||||
WeaFormItem,
|
WeaFormItem,
|
||||||
WeaRightMenu,
|
WeaRightMenu,
|
||||||
|
WeaAlertPage
|
||||||
} from 'ecCom'
|
} from 'ecCom'
|
||||||
import {
|
import {
|
||||||
Row,
|
Row,
|
||||||
|
|
@ -30,6 +31,7 @@ import {
|
||||||
import '../../style/common.less';
|
import '../../style/common.less';
|
||||||
|
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
|
import { renderNoright } from '../../util'; // 从util文件引入公共的方法
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -351,11 +353,15 @@ export default class RankScheme extends React.Component {
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const {
|
const {
|
||||||
isPanelShow, form2, schemeName, conditionNum, tableStore, nEdialogTitle, visible, condition,
|
isPanelShow, form2, schemeName, conditionNum, tableStore, nEdialogTitle, visible, condition,
|
||||||
form,dialogLoading,isEdit,date
|
form, dialogLoading, isEdit, date, hasRight
|
||||||
} = rankScheme;
|
} = rankScheme;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ import {
|
||||||
import '../../style/common.less';
|
import '../../style/common.less';
|
||||||
|
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -358,12 +359,15 @@ export default class Sequence extends React.Component {
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const {
|
const {
|
||||||
isPanelShow, form2, levelName, conditionNum, tableStore,nEdialogTitle,visible,condition,
|
isPanelShow, form2, levelName, conditionNum, tableStore,nEdialogTitle,visible,condition,
|
||||||
form,dialogLoading,isEdit,selectedKey,topTab,topTabCount,date
|
form,dialogLoading,isEdit,selectedKey,topTab,topTabCount,date,hasRight
|
||||||
} = sequence;
|
} = sequence;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ import {
|
||||||
import '../../style/common.less';
|
import '../../style/common.less';
|
||||||
|
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -210,7 +211,7 @@ export default class Staff extends React.Component {
|
||||||
form2
|
form2
|
||||||
} = staff;
|
} = staff;
|
||||||
|
|
||||||
staff.setSchemeName(val);
|
staff.setStaffName(val);
|
||||||
!this.isEmptyObject(form2.getFormParams()) && staff.updateFields(val);
|
!this.isEmptyObject(form2.getFormParams()) && staff.updateFields(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -353,11 +354,15 @@ export default class Staff extends React.Component {
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const {
|
const {
|
||||||
isPanelShow, form2, staffName, conditionNum, tableStore,nEdialogTitle,visible,condition,
|
isPanelShow, form2, staffName, conditionNum, tableStore,nEdialogTitle,visible,condition,
|
||||||
form,dialogLoading,isEdit,date
|
form,dialogLoading,isEdit,date,hasRight
|
||||||
} = staff;
|
} = staff;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ import {
|
||||||
import '../../style/common.less';
|
import '../../style/common.less';
|
||||||
|
|
||||||
import NewAndEditDialog from '../NewAndEditDialog';
|
import NewAndEditDialog from '../NewAndEditDialog';
|
||||||
|
import { renderNoright } from '../../util';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -210,7 +211,7 @@ export default class StaffScheme extends React.Component {
|
||||||
form2
|
form2
|
||||||
} = staffScheme;
|
} = staffScheme;
|
||||||
|
|
||||||
staffScheme.setSchemeName(val);
|
staffScheme.setPlanName(val);
|
||||||
!this.isEmptyObject(form2.getFormParams()) && staffScheme.updateFields(val);
|
!this.isEmptyObject(form2.getFormParams()) && staffScheme.updateFields(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -238,7 +239,7 @@ export default class StaffScheme extends React.Component {
|
||||||
} = operate;
|
} = operate;
|
||||||
(index == '0') && this.doEdit(record.randomFieldId);
|
(index == '0') && this.doEdit(record.randomFieldId);
|
||||||
(index == '1') && this.doDel(record.randomFieldId);
|
(index == '1') && this.doDel(record.randomFieldId);
|
||||||
|
(index == '2') && this.doWorkflow(record.randomFieldId);
|
||||||
}
|
}
|
||||||
|
|
||||||
doEdit(id) {
|
doEdit(id) {
|
||||||
|
|
@ -282,6 +283,10 @@ export default class StaffScheme extends React.Component {
|
||||||
this.showConfirm('del');
|
this.showConfirm('del');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
doWorkflow(id) {
|
||||||
|
alert("逻辑太自由,暂缓")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
handleSave() {
|
handleSave() {
|
||||||
const {
|
const {
|
||||||
|
|
@ -360,12 +365,17 @@ export default class StaffScheme extends React.Component {
|
||||||
staffScheme
|
staffScheme
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const {
|
const {
|
||||||
isPanelShow, form2, schemeName, conditionNum, tableStore,nEdialogTitle,visible,condition,
|
isPanelShow, form2, planName, conditionNum, tableStore,nEdialogTitle,visible,condition,
|
||||||
form,dialogLoading,isEdit,date
|
form,dialogLoading,isEdit,date,hasRight
|
||||||
} = staffScheme;
|
} = staffScheme;
|
||||||
|
|
||||||
|
if (hasRight === false) {
|
||||||
|
return renderNoright();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref='page' style={{ height: '100%' }}>
|
hasRight && <div ref='page' style={{ height: '100%' }}>
|
||||||
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
<WeaRightMenu ecId={`${this && this.props && this.props.ecId || ''}_WeaRightMenu@k6oc4u`}
|
||||||
datas={this.getDropMenuDatas()}
|
datas={this.getDropMenuDatas()}
|
||||||
onClick={key => this.handleMenuClick(key)}
|
onClick={key => this.handleMenuClick(key)}
|
||||||
|
|
@ -383,7 +393,7 @@ export default class StaffScheme extends React.Component {
|
||||||
<WeaTab ecId={`${this && this.props && this.props.ecId || ''}_WeaTab@9c3zts`}
|
<WeaTab ecId={`${this && this.props && this.props.ecId || ''}_WeaTab@9c3zts`}
|
||||||
searchType={['base', 'advanced']}
|
searchType={['base', 'advanced']}
|
||||||
showSearchAd={isPanelShow}
|
showSearchAd={isPanelShow}
|
||||||
searchsBaseValue={this.isEmptyObject(form2.getFormParams()) ? schemeName : form2.getFormParams().schemeName}
|
searchsBaseValue={this.isEmptyObject(form2.getFormParams()) ? planName : form2.getFormParams().planName}
|
||||||
setShowSearchAd={bool => staffScheme.setPanelStatus(bool)}
|
setShowSearchAd={bool => staffScheme.setPanelStatus(bool)}
|
||||||
hideSearchAd={() => staffScheme.setPanelStatus(false)}
|
hideSearchAd={() => staffScheme.setPanelStatus(false)}
|
||||||
searchsAd= {isPanelShow ? this.getPanelComponents() : <div></div>}
|
searchsAd= {isPanelShow ? this.getPanelComponents() : <div></div>}
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ export class CompanyStore {
|
||||||
@observable total = '';
|
@observable total = '';
|
||||||
@observable current = 1;
|
@observable current = 1;
|
||||||
@observable pageSize = 10;
|
@observable pageSize = 10;
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -82,6 +82,7 @@ export class CompanyStore {
|
||||||
return response.json()
|
return response.json()
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.pageInfo.columns && this.setColumns(res.data.pageInfo.columns);
|
res.data.pageInfo.columns && this.setColumns(res.data.pageInfo.columns);
|
||||||
this.setTotal(res.data.pageInfo.total);
|
this.setTotal(res.data.pageInfo.total);
|
||||||
res.data.pageInfo.list && this.setDataSource(res.data.pageInfo.list);
|
res.data.pageInfo.list && this.setDataSource(res.data.pageInfo.list);
|
||||||
|
|
@ -368,4 +369,8 @@ save() {
|
||||||
this.init = bool;
|
this.init = bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -63,6 +63,7 @@ export class DepartmentStore {
|
||||||
@observable confirmVisible = false;
|
@observable confirmVisible = false;
|
||||||
@observable confirmLoading = true;
|
@observable confirmLoading = true;
|
||||||
@observable isMerge = true;
|
@observable isMerge = true;
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
@ -89,6 +90,7 @@ export class DepartmentStore {
|
||||||
return response.json()
|
return response.json()
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.pageInfo.columns && this.setColumns(res.data.pageInfo.columns);
|
res.data.pageInfo.columns && this.setColumns(res.data.pageInfo.columns);
|
||||||
this.setTotal(res.data.pageInfo.total);
|
this.setTotal(res.data.pageInfo.total);
|
||||||
res.data.pageInfo.list && this.setDataSource(res.data.pageInfo.list);
|
res.data.pageInfo.list && this.setDataSource(res.data.pageInfo.list);
|
||||||
|
|
@ -517,4 +519,8 @@ export class DepartmentStore {
|
||||||
setIsMerge(bool) {
|
setIsMerge(bool) {
|
||||||
this.isMerge = bool;
|
this.isMerge = bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -58,7 +58,7 @@ export class JobStore {
|
||||||
|
|
||||||
@observable defaultShowLeft = true;
|
@observable defaultShowLeft = true;
|
||||||
@observable companysId = 1
|
@observable companysId = 1
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
@ -85,6 +85,7 @@ export class JobStore {
|
||||||
return response.json()
|
return response.json()
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.pageInfo.columns && this.setColumns(res.data.pageInfo.columns);
|
res.data.pageInfo.columns && this.setColumns(res.data.pageInfo.columns);
|
||||||
this.setTotal(res.data.pageInfo.total);
|
this.setTotal(res.data.pageInfo.total);
|
||||||
res.data.pageInfo.list && this.setDataSource(res.data.pageInfo.list);
|
res.data.pageInfo.list && this.setDataSource(res.data.pageInfo.list);
|
||||||
|
|
@ -402,4 +403,8 @@ export class JobStore {
|
||||||
this.init = bool;
|
this.init = bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -48,7 +48,7 @@ export class JobGradeStore {
|
||||||
@observable topTab = [];
|
@observable topTab = [];
|
||||||
@observable topTabCount = {};
|
@observable topTabCount = {};
|
||||||
@observable key = '';//
|
@observable key = '';//
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
@ -69,6 +69,7 @@ export class JobGradeStore {
|
||||||
}
|
}
|
||||||
Api.getSearchList(params).then(res => {
|
Api.getSearchList(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
||||||
} else {
|
} else {
|
||||||
message.warning(res.msg);
|
message.warning(res.msg);
|
||||||
|
|
@ -378,4 +379,8 @@ export class JobGradeStore {
|
||||||
this.key = key;
|
this.key = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -47,6 +47,7 @@ export class JobLevelStore {
|
||||||
@observable selectedKey = -1;
|
@observable selectedKey = -1;
|
||||||
@observable topTab = [];
|
@observable topTab = [];
|
||||||
@observable topTabCount = {};
|
@observable topTabCount = {};
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -70,6 +71,7 @@ export class JobLevelStore {
|
||||||
}
|
}
|
||||||
Api.getSearchList(params).then(res => {
|
Api.getSearchList(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
||||||
} else {
|
} else {
|
||||||
message.warning(res.msg);
|
message.warning(res.msg);
|
||||||
|
|
@ -337,4 +339,8 @@ export class JobLevelStore {
|
||||||
this.rightMenu = rightMenu;
|
this.rightMenu = rightMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -31,6 +31,7 @@ export class OfficeManageStore {
|
||||||
@observable dialogLoading = false;
|
@observable dialogLoading = false;
|
||||||
@observable schemeId = "";
|
@observable schemeId = "";
|
||||||
@observable date = "";
|
@observable date = "";
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
@action
|
@action
|
||||||
getHasRight() {
|
getHasRight() {
|
||||||
|
|
@ -94,6 +95,7 @@ export class OfficeManageStore {
|
||||||
}
|
}
|
||||||
API.getPostInfoTable(params).then((res) => {
|
API.getPostInfoTable(params).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
||||||
} else {
|
} else {
|
||||||
message.error(res.msg);
|
message.error(res.msg);
|
||||||
|
|
@ -227,4 +229,8 @@ export class OfficeManageStore {
|
||||||
officeFormReset() {
|
officeFormReset() {
|
||||||
this.form1 = new WeaForm();
|
this.form1 = new WeaForm();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ export class RankSchemeStore {
|
||||||
@observable dialogLoading = true;
|
@observable dialogLoading = true;
|
||||||
@observable schemeId = '';
|
@observable schemeId = '';
|
||||||
@observable date = '';
|
@observable date = '';
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -65,6 +65,7 @@ export class RankSchemeStore {
|
||||||
}
|
}
|
||||||
Api.getSearchList(params).then(res => {
|
Api.getSearchList(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
||||||
} else {
|
} else {
|
||||||
message.warning(res.msg);
|
message.warning(res.msg);
|
||||||
|
|
@ -305,4 +306,8 @@ export class RankSchemeStore {
|
||||||
this.rightMenu = rightMenu;
|
this.rightMenu = rightMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -47,7 +47,7 @@ export class SequenceStore {
|
||||||
@observable selectedKey = -1;
|
@observable selectedKey = -1;
|
||||||
@observable topTab = [];
|
@observable topTab = [];
|
||||||
@observable topTabCount = {};
|
@observable topTabCount = {};
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
@ -68,6 +68,7 @@ export class SequenceStore {
|
||||||
}
|
}
|
||||||
Api.getSearchList(params).then(res => {
|
Api.getSearchList(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
||||||
} else {
|
} else {
|
||||||
message.warning(res.msg);
|
message.warning(res.msg);
|
||||||
|
|
@ -337,4 +338,8 @@ export class SequenceStore {
|
||||||
this.rightMenu = rightMenu;
|
this.rightMenu = rightMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -44,7 +44,7 @@ export class StaffStore {
|
||||||
@observable dialogLoading = true;
|
@observable dialogLoading = true;
|
||||||
@observable staffId = '';
|
@observable staffId = '';
|
||||||
@observable date = '';
|
@observable date = '';
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -65,6 +65,7 @@ export class StaffStore {
|
||||||
}
|
}
|
||||||
Api.getSearchList(params).then(res => {
|
Api.getSearchList(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight);
|
||||||
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
||||||
} else {
|
} else {
|
||||||
message.warning(res.msg);
|
message.warning(res.msg);
|
||||||
|
|
@ -287,4 +288,8 @@ export class StaffStore {
|
||||||
this.rightMenu = rightMenu;
|
this.rightMenu = rightMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -35,7 +35,7 @@ export class StaffSchemeStore {
|
||||||
@observable form2 = new WeaForm();
|
@observable form2 = new WeaForm();
|
||||||
@observable form = new WeaForm();
|
@observable form = new WeaForm();
|
||||||
@observable form1 = new WeaForm();
|
@observable form1 = new WeaForm();
|
||||||
@observable schemeName = '';
|
@observable planName = '';
|
||||||
@observable conditionNum = 8;
|
@observable conditionNum = 8;
|
||||||
@observable ids = ''; //选择行id
|
@observable ids = ''; //选择行id
|
||||||
@observable searchConditionLoading = true;
|
@observable searchConditionLoading = true;
|
||||||
|
|
@ -44,7 +44,7 @@ export class StaffSchemeStore {
|
||||||
@observable dialogLoading = true;
|
@observable dialogLoading = true;
|
||||||
@observable schemeId = '';
|
@observable schemeId = '';
|
||||||
@observable date = '';
|
@observable date = '';
|
||||||
|
@observable hasRight = '';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -56,7 +56,7 @@ export class StaffSchemeStore {
|
||||||
if (this.isEmptyObject(this.form2.getFormParams())) {
|
if (this.isEmptyObject(this.form2.getFormParams())) {
|
||||||
params = {
|
params = {
|
||||||
...this.form2.getFormParams(),
|
...this.form2.getFormParams(),
|
||||||
schemeName: this.schemeName
|
planName: this.planName
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
params = {
|
params = {
|
||||||
|
|
@ -65,6 +65,7 @@ export class StaffSchemeStore {
|
||||||
}
|
}
|
||||||
Api.getSearchList(params).then(res => {
|
Api.getSearchList(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
this.setHasRight(res.data.hasRight)
|
||||||
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
||||||
} else {
|
} else {
|
||||||
message.warning(res.msg);
|
message.warning(res.msg);
|
||||||
|
|
@ -216,7 +217,7 @@ export class StaffSchemeStore {
|
||||||
|
|
||||||
updateFields(val) {
|
updateFields(val) {
|
||||||
this.form2.updateFields({
|
this.form2.updateFields({
|
||||||
schemeName: {
|
planName: {
|
||||||
value: val
|
value: val
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -238,8 +239,8 @@ export class StaffSchemeStore {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setSchemeName(val) {
|
setPlanName(val) {
|
||||||
this.schemeName = val;
|
this.planName = val;
|
||||||
}
|
}
|
||||||
|
|
||||||
isEmptyObject(obj) {
|
isEmptyObject(obj) {
|
||||||
|
|
@ -305,4 +306,8 @@ export class StaffSchemeStore {
|
||||||
this.rightMenu = rightMenu;
|
this.rightMenu = rightMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setHasRight(bool) {
|
||||||
|
this.hasRight = bool;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue