修改,备案申请已提交不允许修改;项目管理,变更项目人员不允许移除项目负责人
parent
3a103e5c93
commit
220bf517f1
|
|
@ -90,14 +90,6 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
|
||||||
type="link"
|
|
||||||
onClick={() => {
|
|
||||||
props.history.push(`./add?id=${record.id}`);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
编辑
|
|
||||||
</Button>
|
|
||||||
{record.projectStatus === 6 && (
|
{record.projectStatus === 6 && (
|
||||||
<>
|
<>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{record.projectStatus === 6 && (
|
||||||
|
<>
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -97,7 +99,6 @@ function List(props) {
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
{record.projectStatus === 6 && (
|
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -107,6 +108,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看驳回原因
|
查看驳回原因
|
||||||
</Button>
|
</Button>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ function UserChange(props) {
|
||||||
{
|
{
|
||||||
title: "是否为项目负责人",
|
title: "是否为项目负责人",
|
||||||
dataIndex: "projectLeader",
|
dataIndex: "projectLeader",
|
||||||
render: value => value === 1 ? "是" : "否",
|
render: (_, record) => record.projectLeader === 1 ? "是" : "否",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "操作",
|
||||||
|
|
@ -109,6 +109,7 @@ function UserChange(props) {
|
||||||
>
|
>
|
||||||
查看特种证书
|
查看特种证书
|
||||||
</Button>
|
</Button>
|
||||||
|
{record.projectLeader === 0 && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
danger
|
danger
|
||||||
|
|
@ -116,6 +117,7 @@ function UserChange(props) {
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue