|
|
@ -46,13 +46,17 @@ const Example = (props) => { |
|
|
|
|
|
|
|
const [tableData, setTableData] = useState([]) //表格数据 |
|
|
|
|
|
|
|
const getPepProject = ()=>{ |
|
|
|
dispatch(install.getProjectPmanage(query)).then((res) => {//获取PEP项目管理项目 |
|
|
|
setPeplist(res.payload.data) |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
dispatch(install.getProjectAnxincloud(query)).then((res) => {//获取安心云项目 |
|
|
|
setAnxincloudList(res.payload.data) |
|
|
|
}) |
|
|
|
dispatch(install.getProjectPmanage(query)).then((res) => {//获取PEP项目管理项目 |
|
|
|
setPeplist(res.payload.data) |
|
|
|
}) |
|
|
|
getPepProject() |
|
|
|
dispatch(install.getProjectAppList(query)).then((res) => {//获取应用列表 |
|
|
|
setAppList(res.payload.data) |
|
|
|
}) |
|
|
@ -279,6 +283,7 @@ const Example = (props) => { |
|
|
|
position="topRight" |
|
|
|
onConfirm={() => { |
|
|
|
dispatch(install.deleteProjectBind({ bindId: row?.id, msg: '删除安心云、项目管理项目绑定关系' })).then(() => { |
|
|
|
getPepProject() |
|
|
|
if (page.current > 0 && mylimits.current < 2) { |
|
|
|
setQuery({ limit: 10, page: page.current - 1 }) |
|
|
|
} else { |
|
|
@ -437,6 +442,7 @@ const Example = (props) => { |
|
|
|
close={() => { |
|
|
|
setSystemModal(false); |
|
|
|
getProjectPomsList() |
|
|
|
getPepProject() |
|
|
|
}} > |
|
|
|
</SystemModal> : '' |
|
|
|
} |
|
|
|