Procházet zdrojové kódy

调整环境参数

Hwf před 1 týdnem
rodič
revize
ea36cc4a88
3 změnil soubory, kde provedl 23 přidání a 15 odebrání
  1. 1 1
      .env.production
  2. 14 14
      src/store/modules/permission.ts
  3. 8 0
      src/types/components.d.ts

+ 1 - 1
.env.production

@@ -35,4 +35,4 @@ VITE_APP_CLIENT_ID = 'e5cd7e4891bf95d1d19206ce24a7b32e'
 
 # websocket 开关
 VITE_APP_WEBSOCKET = true
-VITE_APP_BASE_WEBSOCKET= 'ws://10.181.7.236:9988'
+VITE_APP_BASE_WEBSOCKET= 'wss://yjzp.mmsyjj.cn:8086'

+ 14 - 14
src/store/modules/permission.ts

@@ -27,22 +27,22 @@ export const usePermissionStore = defineStore('permission', () => {
       { label: '一图作战', path: '/index', path2: '/index2', type: '1', checked: false },
       {
         label: '总体态势',
-        path: 'http://19.155.220.218/#/considerable-web/overallSituation?type=insert',
-        path2: 'http://19.155.220.218/#/considerable-web/overallSituation?type=insert',
+        path: 'https://19.155.220.218/#/considerable-web/overallSituation?type=insert',
+        path2: 'https://19.155.220.218/#/considerable-web/overallSituation?type=insert',
         type: '2',
         checked: false
       },
       {
         label: '非煤矿山',
-        path: 'http://19.155.220.218/#/considerable-web/noCoalMine?type=insert',
-        path2: 'http://19.155.220.218/#/considerable-web/noCoalMine?type=insert',
+        path: 'https://19.155.220.218/#/considerable-web/noCoalMine?type=insert',
+        path2: 'https://19.155.220.218/#/considerable-web/noCoalMine?type=insert',
         type: '2',
         checked: false
       },
       {
         label: '粉尘防爆',
-        path: 'http://19.155.220.218/#/considerable-web/dustIgnitionPproof?type=insert',
-        path2: 'http://19.155.220.218/#/considerable-web/dustIgnitionPproof?type=insert',
+        path: 'https://19.155.220.218/#/considerable-web/dustIgnitionPproof?type=insert',
+        path2: 'https://19.155.220.218/#/considerable-web/dustIgnitionPproof?type=insert',
         type: '2',
         checked: false
       }
@@ -50,29 +50,29 @@ export const usePermissionStore = defineStore('permission', () => {
     rightMenu: [
       {
         label: '地质灾害',
-        path: 'http://19.155.220.218/#/considerable-web/geologicalDisaster?type=insert',
-        path2: 'http://19.155.220.218/#/considerable-web/geologicalDisaster?type=insert',
+        path: 'https://19.155.220.218/#/considerable-web/geologicalDisaster?type=insert',
+        path2: 'https://19.155.220.218/#/considerable-web/geologicalDisaster?type=insert',
         type: '2',
         checked: false
       },
       {
         label: '森林防火',
-        path: 'http://19.155.220.218/#/considerable-web/forestFireproof?type=insert',
-        path2: 'http://19.155.220.218/#/considerable-web/forestFireproof?type=insert',
+        path: 'https://19.155.220.218/#/considerable-web/forestFireproof?type=insert',
+        path2: 'https://19.155.220.218/#/considerable-web/forestFireproof?type=insert',
         type: '2',
         checked: false
       },
       {
         label: '三防',
-        path: 'http://19.155.220.218/#/considerable-web/threeProofings?type=insert',
-        path2: 'http://19.155.220.218/#/considerable-web/threeProofings?type=insert',
+        path: 'https://19.155.220.218/#/considerable-web/threeProofings?type=insert',
+        path2: 'https://19.155.220.218/#/considerable-web/threeProofings?type=insert',
         type: '2',
         checked: false
       },
       {
         label: '危化品',
-        path: 'http://19.155.220.218/#/considerable-web/hazardousChemicals?type=insert',
-        path2: 'http://19.155.220.218/#/considerable-web/hazardousChemicals?type=insert',
+        path: 'https://19.155.220.218/#/considerable-web/hazardousChemicals?type=insert',
+        path2: 'https://19.155.220.218/#/considerable-web/hazardousChemicals?type=insert',
         type: '2',
         checked: false
       }

+ 8 - 0
src/types/components.d.ts

@@ -25,12 +25,20 @@ declare module 'vue' {
     ElIcon: typeof import('element-plus/es')['ElIcon']
     ElImage: typeof import('element-plus/es')['ElImage']
     ElInput: typeof import('element-plus/es')['ElInput']
+    ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
     ElOption: typeof import('element-plus/es')['ElOption']
     ElPagination: typeof import('element-plus/es')['ElPagination']
     ElRow: typeof import('element-plus/es')['ElRow']
     ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
     ElSelect: typeof import('element-plus/es')['ElSelect']
+    ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
+    ElSkeletonItem: typeof import('element-plus/es')['ElSkeletonItem']
     ElSlider: typeof import('element-plus/es')['ElSlider']
+    ElStep: typeof import('element-plus/es')['ElStep']
+    ElSteps: typeof import('element-plus/es')['ElSteps']
+    ElSwitch: typeof import('element-plus/es')['ElSwitch']
+    ElTabPane: typeof import('element-plus/es')['ElTabPane']
+    ElTabs: typeof import('element-plus/es')['ElTabs']
     ElText: typeof import('element-plus/es')['ElText']
     ElTimeline: typeof import('element-plus/es')['ElTimeline']
     ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem']