no message
parent
f017300e30
commit
9d6bd9d550
|
|
@ -32,7 +32,7 @@
|
|||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-to-print": "^3.2.0",
|
||||
"zy-react-library": "^1.2.32"
|
||||
"zy-react-library": "^1.3.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button } from "antd";
|
||||
import Page from "zy-react-library/components/Page";
|
||||
|
|
@ -7,7 +8,6 @@ import useTable from "zy-react-library/hooks/useTable";
|
|||
import { getLabelName } from "zy-react-library/utils";
|
||||
import { EVALUATION_TYPE_ENUM } from "~/enumerate/constant";
|
||||
import { NS_PERFORMANCE_EVALUATION } from "~/enumerate/namespace";
|
||||
import {Permission} from "@cqsjjb/jjb-common-decorator/permission";
|
||||
|
||||
function List(props) {
|
||||
const [form] = Search.useForm();
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ function UserExchangeList(props) {
|
|||
fixed: "right",
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
{(props.entrance === "enterprise" || props.permission("qyd-rykpgl-exchange-info")) && (
|
||||
{(!props.entrance || props.permission("qyd-rykpgl-exchange-info")) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -164,7 +164,7 @@ function UserExchangeList(props) {
|
|||
兑换记录
|
||||
</Button>
|
||||
)}
|
||||
{(props.entrance === "enterprise" || props.permission("qyd-rykpgl-eval-record")) && (
|
||||
{(!props.entrance || props.permission("qyd-rykpgl-eval-record")) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue