zhulu преди 2 години
родител
ревизия
087421b16b
променени са 3 файла, в които са добавени 10 реда и са изтрити 3 реда
  1. 3 2
      .env.development
  2. 1 0
      .env.production
  3. 6 1
      src/views/system/dept/index.vue

+ 3 - 2
.env.development

@@ -10,10 +10,11 @@ ENV = 'development'
 #罗俊
 #VUE_APP_BASE_API = 'http://10.87.10.49:8080'
 #罗伟
- VUE_APP_BASE_API = 'http://10.87.10.47:8080'
+#VUE_APP_BASE_API = 'http://10.87.10.47:8080'
 #高雄
 #VUE_APP_BASE_API = 'http://10.87.11.94:8080'
-VUE_APP_BASE_API = 'http://localhost:8080'
+VUE_APP_BASE_API = 'http://10.87.10.84:8080'
+#VUE_APP_BASE_API = 'http://localhost:8080'
 # 路由懒加载
 VUE_CLI_BABEL_TRANSPILE_MODULES = true
 

+ 1 - 0
.env.production

@@ -5,4 +5,5 @@ VUE_APP_TITLE = 移动安全保卫管理平台项目
 ENV = 'production'
 
 # 生产环境
+#VUE_APP_BASE_API = 'http://192.111.33.28:8080/'
 VUE_APP_BASE_API = '/'

+ 6 - 1
src/views/system/dept/index.vue

@@ -152,10 +152,15 @@
             </template>
           </el-table-column>
           <el-table-column
-            prop="shortName"
+            prop="name"
             label="机构名称"
             min-width="200"
           ></el-table-column>
+          <el-table-column
+            prop="shortName"
+            label="机构简称"
+            min-width="200"
+          ></el-table-column>
           <el-table-column align="center" prop="type" width="150" label="机构类型">
             <template v-slot="scope">
               <dict-tag