Merge remote-tracking branch 'origin/master'

master
fangjiakai 2025-12-24 17:30:35 +08:00
commit fc9af4faf8
2 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ function List(props) {
<Table
toolBarRender={() => (
<Space>
{props.permission("xmsh-xgf-yjxmbasq-btn-xz" || props.xzbtn) && (
{props.permission(props.xzbtn || "xmsh-xgf-yjxmbasq-btn-xz") && (
<Button
type="primary"
icon={<AddIcon />}
@ -85,7 +85,7 @@ function List(props) {
width: 200,
render: (_, record) => (
<Space>
{props.permission("xmsh-xgf-yjxmbasq-btn-ck" || props.ckbtn) && (
{props.permission(props.ckbtn || "xmsh-xgf-yjxmbasq-btn-ck") && (
<Button
type="link"
onClick={() => {
@ -97,7 +97,7 @@ function List(props) {
)}
{record.projectStatus === 6 && (
<>
{props.permission("xmsh-xgf-yjxmbasq-btn-xg" || props.xgbtn) && (
{props.permission(props.xgbtn || "xmsh-xgf-yjxmbasq-btn-xg") && (
<Button
type="link"
onClick={() => {
@ -107,7 +107,7 @@ function List(props) {
编辑
</Button>
)}
{props.permission("xmsh-xgf-yjxmbasq-btn-ckbhyy" || props.ckbhyybtn) && (
{props.permission(props.ckbhyybtn || "xmsh-xgf-yjxmbasq-btn-ckbhyy") && (
<Button
type="link"
onClick={() => {

View File

@ -55,7 +55,7 @@ function List(props) {
width: 350,
render: (_, record) => (
<Space>
{props.permission("xmsh-gfd-xmbaxx-btn-ck" || props.ckbtn) && (
{props.permission(props.ckbtn || "xmsh-gfd-xmbaxx-btn-ck") && (
<Button
type="link"
onClick={() => {
@ -73,7 +73,7 @@ function List(props) {
>
项目人员变更
</Button>
{props.permission("xmsh-gfd-xmbaxx-btn-rybgjl" || props.rybgjlbtn) && (
{props.permission(props.rybgjlbtn || "xmsh-gfd-xmbaxx-btn-rybgjl") && (
<Button
type="link"
onClick={() => {