bill 2 months ago
parent
commit
d2a087ff29
5 changed files with 809 additions and 1097 deletions
  1. 804 1095
      pnpm-lock.yaml
  2. 1 0
      src/api/instance.ts
  3. 2 0
      src/main.ts
  4. 1 1
      src/sdk/cover/index.js
  5. 1 1
      vite.config.ts

File diff suppressed because it is too large
+ 804 - 1095
pnpm-lock.yaml


+ 1 - 0
src/api/instance.ts

@@ -27,6 +27,7 @@ export const {
 } = instance;
 
 const gotoLogin = () => {
+  return;
   if (import.meta.env.DEV) {
     GAxios.post("/service/manage/login", {
       password: "MRinIEn3ExMjM0NTY=Q5Lm39urQWzN7k4oCG",

+ 2 - 0
src/main.ts

@@ -71,6 +71,8 @@ watchEffect(
         URL.CASE_INFO,
         URL.PATH_LIST,
         URL.AUTH_PWD,
+        URL.MAP_TILE_LIST,
+        URL.AM_MODEL_LIST,
         '/fusion/caseInquest/info',
         '/fusion/caseExtractDetail/info',
         '/fusion/caseInquest/downDocx',

+ 1 - 1
src/sdk/cover/index.js

@@ -2673,7 +2673,7 @@ function load4dkkMedias(model){//加载四维看看的一些媒体物品
                     //Potree.addModel(prop, prop.done, prop.progressFun, prop.onError)
                     prop.type = 'media'
                     prop.model = model
-                    prop.position = Potree.Utils.tran4dkkVecInModel(new THREE.Vector3().fromArray(prop.pos), model) ,
+                    prop.position = Potree.Utils.tran4dkkVecInModel(new THREE.Vector3().fromArray(prop.pos), model);
                     let qua = new THREE.Quaternion().fromArray(prop.qua).normalize()
                     if(model.props.baseRotation?.x == 0){ //该模型已经矫正,无需旋转90度,但是场景的数据需要,导致monitor和模型不匹配,需要再旋转
                         qua.copy(Potree.math.convertQuaternion.YupToZup(qua))

+ 1 - 1
vite.config.ts

@@ -5,7 +5,7 @@ import mkcert from 'vite-plugin-mkcert'
 
 import { resolve } from 'path'
 
-const ip = `http://192.168.0.25`
+const ip = `https://survey.4dkankan.com/`
 const proxy = {
   '/offlineData': {
     target: 'http://192.168.0.43:9000/',