Forráskód Böngészése

增加网站管理

hfxc226 2 éve
szülő
commit
89d143cd67
5 módosított fájl, 72 hozzáadás és 0 törlés
  1. 17 0
      src/api/qykh/hotspot.js
  2. 17 0
      src/api/qykh/information.js
  3. 17 0
      src/api/qykh/plan.js
  4. 16 0
      src/api/qykh/product.js
  5. 5 0
      yarn.lock

+ 17 - 0
src/api/qykh/hotspot.js

@@ -64,3 +64,20 @@ export function fetchHotspot (parameter) {
     }
   })
 }
+
+
+/**
+ * page func
+ * parameter: { }
+ * @param parameter
+ * @returns {*}
+ */
+export function fetchHotspotTree (parameter) {
+  return axios({
+    url: '/qykh/hotspots/tree?' + stringify(parameter),
+    method: 'get',
+    headers: {
+      'Content-Type': 'application/json;charset=UTF-8'
+    }
+  })
+}

+ 17 - 0
src/api/qykh/information.js

@@ -64,3 +64,20 @@ export function fetchInformation (parameter) {
     }
   })
 }
+
+
+/**
+ * page func
+ * parameter: { }
+ * @param parameter
+ * @returns {*}
+ */
+export function fetchInformationTree (parameter) {
+  return axios({
+    url: '/qykh/informations/tree?' + stringify(parameter),
+    method: 'get',
+    headers: {
+      'Content-Type': 'application/json;charset=UTF-8'
+    }
+  })
+}

+ 17 - 0
src/api/qykh/plan.js

@@ -63,4 +63,21 @@ export function fetchPlan (parameter) {
       'Content-Type': 'application/json;charset=UTF-8'
     }
   })
+}
+
+
+/**
+ * page func
+ * parameter: { }
+ * @param parameter
+ * @returns {*}
+ */
+export function fetchProductTree (parameter) {
+  return axios({
+    url: '/qykh/products/tree?' + stringify(parameter),
+    method: 'get',
+    headers: {
+      'Content-Type': 'application/json;charset=UTF-8'
+    }
+  })
 }

+ 16 - 0
src/api/qykh/product.js

@@ -64,3 +64,19 @@ export function fetchProduct (parameter) {
     }
   })
 }
+
+/**
+ * page func
+ * parameter: { }
+ * @param parameter
+ * @returns {*}
+ */
+export function fetchProductTree (parameter) {
+  return axios({
+    url: '/qykh/products/tree?' + stringify(parameter),
+    method: 'get',
+    headers: {
+      'Content-Type': 'application/json;charset=UTF-8'
+    }
+  })
+}

+ 5 - 0
yarn.lock

@@ -12611,6 +12611,11 @@ vue-template-es2015-compiler@^1.6.0, vue-template-es2015-compiler@^1.9.0:
   resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
   integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
 
+vue-ueditor-wrap@^2.5.6:
+  version "2.5.6"
+  resolved "https://registry.yarnpkg.com/vue-ueditor-wrap/-/vue-ueditor-wrap-2.5.6.tgz#1dca4b1790830f228c08d1c8e07ae7d0a420f1f2"
+  integrity sha512-EJkYLyyzgOJTxGreiZ9wrmXthIMVVRSeFTzV6n0OR9w4aeqW79Prvog4jZ4G0kkmW3TTTBbZtHM9VNHEl6LJDA==
+
 vue@^2.5.3, vue@^2.6.10, vue@^2.6.11:
   version "2.6.14"
   resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.14.tgz#e51aa5250250d569a3fbad3a8a5a687d6036e235"