|
@@ -89,7 +89,7 @@ class MainScene extends SGraphyScene {
|
|
|
|
|
|
import { updatePoint, getPoint, formBIMToPri, getPointList, updateBusiness } from "@/api/scan/request";
|
|
|
import pako from '@/assets/pako/pako'
|
|
|
-
|
|
|
+import {mapGetters, mapActions} from "vuex";
|
|
|
export default {
|
|
|
name: "HelloWorld",
|
|
|
props: {
|
|
@@ -122,7 +122,18 @@ export default {
|
|
|
"http://prod.dp.sagacloud.cn:28888/image-service/common/image_get?systemId=dev&key=graphy.png"
|
|
|
};
|
|
|
},
|
|
|
- created() { },
|
|
|
+ computed: {
|
|
|
+ ...mapGetters("peojMess", [
|
|
|
+ "projectId",
|
|
|
+ "secret",
|
|
|
+ "userId"
|
|
|
+ ])
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.param.ProjId = this.projectId
|
|
|
+ this.param.secret = this.secret
|
|
|
+ this.param.UserId = this.userId
|
|
|
+ },
|
|
|
mounted() {
|
|
|
this.resize()
|
|
|
},
|
|
@@ -448,7 +459,7 @@ export default {
|
|
|
await formBIMToPri({
|
|
|
type: ["Si"],
|
|
|
ids: ids,
|
|
|
- ProjId: this.param.projId,
|
|
|
+ ProjId: this.param.ProjId,
|
|
|
secret: this.param.secret
|
|
|
})
|
|
|
.then(res => {
|