feat(PerformanceEvaluation): 集成权限控制装饰器
parent
64d4148100
commit
0e31e8b0a8
|
|
@ -7,6 +7,7 @@ import useTable from "zy-react-library/hooks/useTable";
|
||||||
import { getLabelName } from "zy-react-library/utils";
|
import { getLabelName } from "zy-react-library/utils";
|
||||||
import { EVALUATION_TYPE_ENUM } from "~/enumerate/constant";
|
import { EVALUATION_TYPE_ENUM } from "~/enumerate/constant";
|
||||||
import { NS_PERFORMANCE_EVALUATION } from "~/enumerate/namespace";
|
import { NS_PERFORMANCE_EVALUATION } from "~/enumerate/namespace";
|
||||||
|
import {Permission} from "@cqsjjb/jjb-common-decorator/permission";
|
||||||
|
|
||||||
function List(props) {
|
function List(props) {
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
@ -89,4 +90,4 @@ function List(props) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Connect([NS_PERFORMANCE_EVALUATION], true)(List);
|
export default Connect([NS_PERFORMANCE_EVALUATION], true)(Permission(List));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue