diff --git a/.env.development b/.env.development index 9bd9d04..524f7d1 100644 --- a/.env.development +++ b/.env.development @@ -8,15 +8,15 @@ VUE_APP_PALYER_URL="192.168.1.66:8080" VUE_APP_GATEWAY_URL="/dev-api" # 服务地址 # VUE_APP_BASE_API_URL="http://192.168.2.187:8081" -VUE_APP_BASE_API_URL="http://119.45.186.133/prod-api" +VUE_APP_BASE_API_URL="http://192.168.1.121:8081" # 服务前-- 请严格遵守格式 不允许换行 VUE_APP_SERVICE_PREFIX= '{"system":"/system","file":"/file","prevention":"/prevention","bpm":"/bpm"}' # 是否显示全部菜单 VUE_APP_ALL_MENU = false # # 微前端地址 -VUE_APP_REMOTES_URL="http://192.168.2.14:8090" +VUE_APP_REMOTES_URL="http://192.168.2.11:8090" # # 当前应用部署地址 # VUE_APP_EXPOSES_URL="http://192.168.1.20:8090" # VUE_APP_REMOTES_URL="" # 当前应用部署地址 -VUE_APP_EXPOSES_URL="http://192.168.1.66/dev/prevention/" \ No newline at end of file +VUE_APP_EXPOSES_URL="" \ No newline at end of file diff --git a/src/views/blank.component.vue b/src/views/blank.component.vue index cdf2e9b..666113a 100644 --- a/src/views/blank.component.vue +++ b/src/views/blank.component.vue @@ -56,17 +56,17 @@ export default class BlankComponent extends Vue { this.systemService.getDictData("prevention_registration_status"), this.systemService.getDictData("prevention_safety_label"), ]).then(((results: any) => { - + this.$store.commit("setDeptTreeList", results[0].data); this.$store.commit("setUserList", results[2].data.datas.map((item) => { return { name: item.nickName, - value:item.userId + value: item.userId } })) - this.$store.commit("setPostList", results[3].rows.map((item) => { + this.$store.commit("setPostList", results[3].data.datas.map((item) => { return { name: item.postName, value: item.postId @@ -249,7 +249,7 @@ export default class BlankComponent extends Vue { } })) - + this.$store.commit("set_prevention_risk_source", results[30].data.map(item => { return { name: item.dictLabel,