diff --git a/jjb.config.js b/jjb.config.js index 8c58ad4..61acb0a 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -10,7 +10,7 @@ module.exports = { javaGitBranch: "dev", // 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 8095) // 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095 - API_HOST: "http://192.168.0.152", + API_HOST: "https://gbs-gateway.qhdsafety.com", }, production: { // 应用后端分支名称,部署上线需要 diff --git a/src/pages/Container/EnterpriseInfo/index.js b/src/pages/Container/EnterpriseInfo/index.js index bed0eef..9180068 100644 --- a/src/pages/Container/EnterpriseInfo/index.js +++ b/src/pages/Container/EnterpriseInfo/index.js @@ -12,9 +12,12 @@ function EnterpriseInfo(props) { if (!orgInfoId) { props.orgInfoGet().then((res) => { if (res?.data?.id) { - // 下方两行切勿更换顺序 + // 下方两行切勿更换顺序 sessionStorage.setItem("orgInfoId", res?.data?.id); setOrgInfoId(res?.data?.id); + } + else { + props.history.push("/container/EnterpriseInfo/OrgInfo"); } }); } diff --git a/src/pages/Container/QualApplication/index.js b/src/pages/Container/QualApplication/index.js index f176feb..a7fcfe0 100644 --- a/src/pages/Container/QualApplication/index.js +++ b/src/pages/Container/QualApplication/index.js @@ -17,6 +17,9 @@ function QualApplication(props) { setOrgInfoId(res?.data?.id); } + else{ + props.history.push("/container/EnterpriseInfo/OrgInfo"); + } }); } }, []); diff --git a/src/pages/Container/index.less b/src/pages/Container/index.less index 4600d2f..e940ab6 100644 --- a/src/pages/Container/index.less +++ b/src/pages/Container/index.less @@ -19,3 +19,6 @@ body { display: flex; justify-content: flex-end; } +.micro-temp-skeleton-content{ + padding: 8px; +}