瀏覽代碼

升级版本

YaolongHan 4 年之前
父節點
當前提交
43862e0ec2
共有 5 個文件被更改,包括 30 次插入22 次删除
  1. 22 14
      package-lock.json
  2. 2 2
      package.json
  3. 3 3
      src/api/editer.js
  4. 1 1
      src/components/baseEditer.vue
  5. 2 2
      vue.config.js

+ 22 - 14
package-lock.json

@@ -1064,21 +1064,11 @@
       "integrity": "sha512-bsOw0WsGSn98oYkuf9Uah6Po2Ds7IWknxHqUmYxu7h8qaqw7SidWmT/9iwNTCnjeqJEd5f6tP+Yg4tT/8C52YA=="
     },
     "@saga-web/big": {
-      "version": "1.0.39",
-      "resolved": "http://192.168.200.80:8081/repository/npm-saga/@saga-web/big/-/big-1.0.39.tgz",
-      "integrity": "sha512-1tdfTUkXr3mFxuakkriuiNIYFfRlbAYyh8bRHuoIOkNuJ42mXrQU4t/loWrThOe62zbUlDJx1W0qxyZajIQZdA==",
+      "version": "1.0.41",
+      "resolved": "http://192.168.200.80:8081/repository/npm-saga/@saga-web/big/-/big-1.0.41.tgz",
+      "integrity": "sha512-/BJJlKVsW8bRO8gxN57qJ5AwHQXno+AbGE0G9FqLPlmpaW9SPLe8rV3EQ7QavVG1VPGdoSGJ1UIqNp4KVBujpg==",
       "requires": {
-        "@saga-web/graph": "2.1.81"
-      },
-      "dependencies": {
-        "@saga-web/graph": {
-          "version": "2.1.81",
-          "resolved": "http://192.168.200.80:8081/repository/npm-saga/@saga-web/graph/-/graph-2.1.81.tgz",
-          "integrity": "sha512-qZx4RUXuR/Y02/EUGZHTe10rF+SWndgVx0vexRRaslmHNn6NbRxpqRKtrGFJXJBOKoCaxIN3ZpDC62/9yUDVTg==",
-          "requires": {
-            "@saga-web/draw": "2.1.94"
-          }
-        }
+        "@saga-web/graph": "2.1.82"
       }
     },
     "@saga-web/draw": {
@@ -1096,6 +1086,24 @@
       "requires": {
         "@saga-web/big": "1.0.39",
         "axios": "^0.18.0"
+      },
+      "dependencies": {
+        "@saga-web/big": {
+          "version": "1.0.39",
+          "resolved": "http://192.168.200.80:8081/repository/npm-saga/@saga-web/big/-/big-1.0.39.tgz",
+          "integrity": "sha512-1tdfTUkXr3mFxuakkriuiNIYFfRlbAYyh8bRHuoIOkNuJ42mXrQU4t/loWrThOe62zbUlDJx1W0qxyZajIQZdA==",
+          "requires": {
+            "@saga-web/graph": "2.1.81"
+          }
+        },
+        "@saga-web/graph": {
+          "version": "2.1.81",
+          "resolved": "http://192.168.200.80:8081/repository/npm-saga/@saga-web/graph/-/graph-2.1.81.tgz",
+          "integrity": "sha512-qZx4RUXuR/Y02/EUGZHTe10rF+SWndgVx0vexRRaslmHNn6NbRxpqRKtrGFJXJBOKoCaxIN3ZpDC62/9yUDVTg==",
+          "requires": {
+            "@saga-web/draw": "2.1.94"
+          }
+        }
       }
     },
     "@saga-web/graph": {

+ 2 - 2
package.json

@@ -9,10 +9,10 @@
   },
   "dependencies": {
     "@saga-web/base": "2.1.19",
-    "@saga-web/big": "1.0.39",
+    "@saga-web/big": "1.0.41",
     "@saga-web/draw": "2.1.94",
     "@saga-web/feng-map": "1.0.11",
-    "@saga-web/graph": "2.1.82",
+    "@saga-web/graph": "2.1.84",
     "@saga-web/topology": "1.0.84",
     "ant-design-vue": "^1.6.0",
     "core-js": "^3.6.4",

+ 3 - 3
src/api/editer.js

@@ -1,8 +1,8 @@
 // 登录校验接口
 import httputils from '@/api/httputils'
-const testApi = '/serve/topology-wanda';
+// const testApi = '/serve/topology-wanda';
 const dataApi = '/data';
-// const testApi = '/serve'
+const testApi = '/serve'
 //获取图例分类结构
 export function queryByGroup(params) {
     return httputils.getJson(`${testApi}/graphCategory/queryByGroup`, params)
@@ -19,7 +19,7 @@ export function saveGroup(postParams) {
 
 //查询系统图展示所需数据
 export function readGroup(postParams) {
-    return httputils.fetchJson(`${testApi}/graph/read`, postParams)
+    return httputils.postJson(`${testApi}/graph/read`, postParams)
 }
 //上传图片
 export function uploadImg({

+ 1 - 1
src/components/baseEditer.vue

@@ -305,7 +305,7 @@ export default {
       });
       // 修改当前得状态是否为编辑状态
       bus.$on("OpenEditStatus", () => {
-        // 获取焦点item (必须选中且仅选中一个)
+  ` `        // 获取焦点item (必须选中且仅选中一个)
         if (
           this.chiceItemList &&
           this.chiceItemList.length &&

+ 2 - 2
vue.config.js

@@ -14,8 +14,8 @@ module.exports = {
                 },
             },
             "/serve": {
-                target: 'http://192.168.200.87:8088/',
-                //  target: 'http://192.168.200.83:8085/',
+                // target: 'http://192.168.200.87:8088/',
+                target: 'http://192.168.200.83:8085/',
                 changeOrigin: true,
                 secure: false,
                 pathRewrite: {