feat
parent
2f83305b6f
commit
3e820c0bd7
|
|
@ -10,10 +10,10 @@ module.exports = {
|
||||||
javaGitBranch: "dev",
|
javaGitBranch: "dev",
|
||||||
// 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 8095)
|
// 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 8095)
|
||||||
// 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095
|
// 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095
|
||||||
//API_HOST: "https://gbs-gateway.qhdsafety.com",
|
API_HOST: "https://gbs-gateway.qhdsafety.com",
|
||||||
|
|
||||||
//API_HOST: "http://192.168.0.152",
|
//API_HOST: "http://192.168.0.152",
|
||||||
API_HOST: "http://192.168.0.150", //太浅
|
//API_HOST: "http://192.168.0.150", //太浅
|
||||||
// API_HOST: "http://192.168.0.152",
|
// API_HOST: "http://192.168.0.152",
|
||||||
//API_HOST: "http://192.168.0.103", //huwei
|
//API_HOST: "http://192.168.0.103", //huwei
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ const RiskAnalysisContent = (props) => {
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<Card
|
<Card
|
||||||
title="安全评价风险分析记录表(受控编号:QAPJ-CX-1-JL01)"
|
title="安全评价风险分析记录表"
|
||||||
styles={{ header: { textAlign: "center" } }}
|
styles={{ header: { textAlign: "center" } }}
|
||||||
>
|
>
|
||||||
<Form form={form} layout="vertical">
|
<Form form={form} layout="vertical">
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,7 @@ const ProjectFlow = (props) => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
props.queryMyOrCreateDoc({
|
props.queryMyOrCreateDoc({
|
||||||
docxUrl: "",
|
docxUrl: "",
|
||||||
|
projectId,
|
||||||
});
|
});
|
||||||
getDetail();
|
getDetail();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ const App = (props) => {
|
||||||
const instance = WebOfficeSDK.init({
|
const instance = WebOfficeSDK.init({
|
||||||
// 必填项
|
// 必填项
|
||||||
officeType: WebOfficeSDK.OfficeType.Writer,
|
officeType: WebOfficeSDK.OfficeType.Writer,
|
||||||
appId: "SX20260717TSGKEA",
|
appId: "SX20260724JJYTBX",
|
||||||
mount: document.getElementById("app-sbsb"),
|
mount: document.getElementById("app-sbsb"),
|
||||||
fileId: fileId,
|
fileId: fileId,
|
||||||
token: sessionStorage.getItem("token"),
|
token: sessionStorage.getItem("token"),
|
||||||
|
|
@ -84,7 +84,7 @@ const App = (props) => {
|
||||||
<Flex gap={12}>
|
<Flex gap={12}>
|
||||||
<Button onClick={handleSave}>保存</Button>
|
<Button onClick={handleSave}>保存</Button>
|
||||||
<Button>下载报告</Button>
|
<Button>下载报告</Button>
|
||||||
<Button type="primary">提交内审</Button>
|
|
||||||
</Flex>
|
</Flex>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue