Browse Source

forest日历

qinhouyu 1 năm trước cách đây
mục cha
commit
763aa5e1ec
4 tập tin đã thay đổi với 645 bổ sung588 xóa
  1. 23 9
      src/api/forest.js
  2. 600 576
      src/views/date.vue
  3. 16 0
      src/views/forest.vue
  4. 6 3
      vue.config.js

+ 23 - 9
src/api/forest.js

@@ -1,6 +1,20 @@
 import request from '@/utils/request'
 
-// 获取消防左侧菜单列表
+export function selectByMenuId(data) {
+  return request({
+    url: '/system/menuEventType/selectByMenuId',
+    method: 'post',
+    data: data
+  })
+}
+// 获取日历颜色状态
+export function getEventByCalendar(param) {
+  return request({
+    url: '/center-event/eventview/selectEventByCalendar',
+    method: 'post',
+    data: param
+  })
+}
 export function fireControlViewList(type) {
   return request({
     url: '/sooka-middleware/visual/getResourceList?type='+type,
@@ -114,14 +128,14 @@ export function getEventDetail(param) {
     data: param
   })
 }
-// 获取日历颜色状态
-export function getEventByCalendar(param) {
-  return request({
-    url: '/center-emergency/VisuEmergencyCloudMapController/getEventByCalendar',
-    method: 'post',
-    data: param
-  })
-}
+// // 获取日历颜色状态
+// export function getEventByCalendar(param) {
+//   return request({
+//     url: '/center-emergency/VisuEmergencyCloudMapController/getEventByCalendar',
+//     method: 'post',
+//     data: param
+//   })
+// }
 // 获取事件分类
 export function getEventByEventType(param,loading) {
   return request({

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 600 - 576
src/views/date.vue


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 16 - 0
src/views/forest.vue


+ 6 - 3
vue.config.js

@@ -48,12 +48,15 @@ module.exports = {
      * 寻找附件-有缘人@阿弥陀佛
      * @param attach_ids
      */
+
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        // target: `http://192.168.31.235:3031/`,
-        // target: `http://192.168.31.134:3031`,
-         target: `http://121.36.228.66:3031`,
+        // target: `http://127.0.0.1:3031`,
+        // target: `https://2961rt3561.oicp.vip`,
+        // target: `https://29613561xe.eicp.vip`,
+        // target: `http://121.36.228.66:3031`,
+        target: `http://192.168.31.235:3031`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''