This commit is contained in:
wyw 2025-11-07 17:45:04 +08:00
commit 5049c1fe5f
2 changed files with 6 additions and 18 deletions

View File

@ -40,20 +40,8 @@ class GuideCanvas extends Component {
}
}
);
if (this.props.login.OrgId == "b043b28b-bbc3-c452-6052-4fba1457abfa") {
this.setState({ visible: "flex" })
this.state.company = "XLK";
} else if (this.props.login.OrgId == "d9871ba8-0eec-9e4a-bb87-7d5a540d8913") {
this.state.company = "LYYL";
} else if (this.props.login.OrgId == "8b3c41aa-51b1-7ce9-1879-248a038c1b5c") {
this.state.company = "DCJD";
} else if (this.props.login.OrgId == "8f1cf418-8bf3-ea3f-7a6d-fc5d61247008") {
this.state.company = "LYXT";
} else if (this.props.login.OrgId == "3efd5276-632b-e379-9ff3-7a7546591fca") {
this.state.company = "GXBB";
}
QRCode.toCanvas(
config.h5Web + "#/pages/apply/index?Company=" + this.state.company,
config.h5Web + "#/pages/apply/index?OrgId=" + this.props.login.OrgId,
{ errorCorrectionLevel: "L", width: 140 },
function (err, canvas) {
if (err) throw err;
@ -109,7 +97,7 @@ class GuideCanvas extends Component {
</div>
<div
style={{
display: this.state.visible,
display: 'none',
flexDirection: "column",
alignItems: "center",
marginLeft: "30px",
@ -121,7 +109,7 @@ class GuideCanvas extends Component {
<div
style={{
display: this.state.visible,
display: 'none',
flexDirection: "column",
alignItems: "center",
marginLeft: "30px",

View File

@ -44,9 +44,9 @@ const config = {
picServerHost: 'http://124.117.209.78:5199',
dataVUrl: "http://124.117.209.78:3167/home",
version: version,
guideSeverHost: "http://www.xmmhe.com/jyapk/",
guideH5Host: "http://www.xmmhe.com:5100/",
h5Web: "http://www.xmmhe.com:9201/",
guideSeverHost: "http://124.117.209.78/jyapk/",
guideH5Host: "http://124.117.209.78:5100/",
h5Web: "http://124.117.209.78:9201/",
},
test: {
serviceHost: api => {