Procházet zdrojové kódy

更新接口地址

csg6 před 3 týdny
rodič
revize
b7621fbccd
6 změnil soubory, kde provedl 53 přidání a 18694 odebrání
  1. 4 5
      .env.development
  2. 1 1
      .env.production
  3. 40 18683
      package-lock.json
  4. 2 1
      package.json
  5. 4 2
      src/views/login.vue
  6. 2 2
      src/views/risk/analyse.vue

+ 4 - 5
.env.development

@@ -4,11 +4,10 @@ VUE_APP_TITLE = 双重预防综合管理系统
4 4
 # 开发环境配置
5 5
 ENV = 'development'
6 6
 
7
-# 永大管理系统/开发环境 Test Git 账号 2023年10月17日16:45:55
8
-VUE_APP_BASE_API = 'http://192.168.3.200:8080'
9
-# VUE_APP_BASE_API = 'http://192.168.3.142:8082'
10
-# VUE_APP_BASE_API = 'http://192.168.3.47:8089'
11
-# VUE_APP_BASE_API = 'http://47.109.88.180:8080'
7
+# 双重防御系统开发环境后台接口地址配置
8
+VUE_APP_BASE_API = 'http://39.105.121.97:18080'
9
+# VUE_APP_BASE_API = 'http://192.168.29.184:18080'
10
+#VUE_APP_BASE_API = 'http://localhost:18080'
12 11
 
13 12
 
14 13
 # 路由懒加载

+ 1 - 1
.env.production

@@ -5,4 +5,4 @@ VUE_APP_TITLE = 双重预防综合管理系统
5 5
 ENV = 'production'
6 6
 
7 7
 # 双重预防综合管理系统/生产环境
8
-VUE_APP_BASE_API = 'http://47.109.88.180:8080'
8
+VUE_APP_BASE_API = 'http://39.105.121.97:18080'

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 40 - 18683
package-lock.json


+ 2 - 1
package.json

@@ -38,6 +38,7 @@
38 38
   "dependencies": {
39 39
     "@jiaminghi/data-view": "^2.10.0",
40 40
     "@riophae/vue-treeselect": "0.4.0",
41
+    "FileSaver": "^0.10.0",
41 42
     "amfe-flexible": "^2.2.1",
42 43
     "animate.css": "^4.1.1",
43 44
     "axios": "0.24.0",
@@ -48,7 +49,6 @@
48 49
     "element-ui": "2.15.13",
49 50
     "express": "^4.18.2",
50 51
     "file-saver": "2.0.5",
51
-    "FileSaver": "^0.10.0",
52 52
     "fuse.js": "6.4.3",
53 53
     "highlight.js": "9.18.5",
54 54
     "js-beautify": "1.13.0",
@@ -64,6 +64,7 @@
64 64
     "vue-count-to": "1.0.13",
65 65
     "vue-cropper": "0.5.5",
66 66
     "vue-meta": "2.4.0",
67
+    "vue-mini-player": "^0.2.1",
67 68
     "vue-router": "3.4.9",
68 69
     "vue-tree-color": "^2.3.2",
69 70
     "vue2-org-tree": "^1.3.6",

+ 4 - 2
src/views/login.vue

@@ -75,8 +75,10 @@ export default {
75 75
     return {
76 76
       codeUrl: "",
77 77
       loginForm: {
78
-        username: "admin",
79
-        password: "admin123",
78
+        // username: "admin",
79
+        // password: "admin123",
80
+        username: "",
81
+        password: "",
80 82
         rememberMe: false,
81 83
         code: "",
82 84
         uuid: ""

+ 2 - 2
src/views/risk/analyse.vue

@@ -81,11 +81,11 @@
81 81
         </el-table-column>
82 82
 
83 83
         <el-table-column label="操作" fixed="right" align="center" width="120"
84
-            v-if="$auth.hasPermi('doubledefense:unit:edita') || $auth.hasPermi('doubledefense:unit:remove')"
84
+            v-if="$auth.hasPermi('doubledefense:unit:edit') || $auth.hasPermi('doubledefense:unit:remove')"
85 85
         >
86 86
           <template slot-scope="scope">
87 87
             <el-button type="text" size="mini" @click="doAdd(2, scope.row)"
88
-                v-hasPermi="['doubledefense:unit:edita']"
88
+                v-hasPermi="['doubledefense:unit:edit']"
89 89
             >
90 90
               编辑
91 91
             </el-button>