wenlele 2 years ago
parent
commit
d95ae5c6bc
  1. 12
      web/client/src/sections/install/containers/system.jsx

12
web/client/src/sections/install/containers/system.jsx

@ -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> : ''
}

Loading…
Cancel
Save