Browse Source

更新接口地址

csg6 1 month ago
parent
commit
b7621fbccd
6 changed files with 53 additions and 18694 deletions
  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
 ENV = 'development'
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
 ENV = 'production'
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'

File diff suppressed because it is too large
+ 40 - 18683
package-lock.json


+ 2 - 1
package.json

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

+ 4 - 2
src/views/login.vue

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

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

@@ -81,11 +81,11 @@
81
         </el-table-column>
81
         </el-table-column>
82
 
82
 
83
         <el-table-column label="操作" fixed="right" align="center" width="120"
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
           <template slot-scope="scope">
86
           <template slot-scope="scope">
87
             <el-button type="text" size="mini" @click="doAdd(2, scope.row)"
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
             </el-button>
91
             </el-button>