|
|
@@ -76,6 +76,12 @@
|
|
|
this.industryAttribute = res.value
|
|
|
}
|
|
|
});
|
|
|
+
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ clientEnvironmentId() {
|
|
|
+ return this.$store.state.user.info.clientEnvironmentId;
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {},
|
|
|
|
|
|
@@ -85,7 +91,7 @@
|
|
|
this.workOrderId = workOrderId;
|
|
|
|
|
|
this.qrCodeUrl =
|
|
|
- window.location.origin + `/traceability?id=${this.workOrderId}&industry=${this.industryAttribute}`;
|
|
|
+ window.location.origin + `/traceability?id=${this.workOrderId}&industry=${this.industryAttribute}&clientEnvironmentId=${this.clientEnvironmentId}`;
|
|
|
// this.qrCodeUrl = `http://192.168.1.22:9999/traceability?id=${this.workOrderId}`;
|
|
|
|
|
|
this.$nextTick(() => {
|