forked from xxhjsb/hbt-prevention-ui
feat:修复风险等级无法正确显示的问题
parent
9d10f80ddf
commit
dce066bfa7
|
@ -8,15 +8,15 @@ VUE_APP_PALYER_URL="192.168.1.66:8080"
|
||||||
VUE_APP_GATEWAY_URL="/dev-api"
|
VUE_APP_GATEWAY_URL="/dev-api"
|
||||||
# 服务地址
|
# 服务地址
|
||||||
# VUE_APP_BASE_API_URL="http://192.168.2.187:8081"
|
# 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_SERVICE_PREFIX= '{"system":"/system","file":"/file","prevention":"/prevention","bpm":"/bpm"}'
|
||||||
# 是否显示全部菜单
|
# 是否显示全部菜单
|
||||||
VUE_APP_ALL_MENU = false
|
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_EXPOSES_URL="http://192.168.1.20:8090"
|
||||||
# VUE_APP_REMOTES_URL=""
|
# VUE_APP_REMOTES_URL=""
|
||||||
# 当前应用部署地址
|
# 当前应用部署地址
|
||||||
VUE_APP_EXPOSES_URL="http://192.168.1.66/dev/prevention/"
|
VUE_APP_EXPOSES_URL=""
|
|
@ -56,17 +56,17 @@ export default class BlankComponent extends Vue {
|
||||||
this.systemService.getDictData("prevention_registration_status"),
|
this.systemService.getDictData("prevention_registration_status"),
|
||||||
this.systemService.getDictData("prevention_safety_label"),
|
this.systemService.getDictData("prevention_safety_label"),
|
||||||
]).then(((results: any) => {
|
]).then(((results: any) => {
|
||||||
|
|
||||||
this.$store.commit("setDeptTreeList", results[0].data);
|
this.$store.commit("setDeptTreeList", results[0].data);
|
||||||
this.$store.commit("setUserList", results[2].data.datas.map((item) => {
|
this.$store.commit("setUserList", results[2].data.datas.map((item) => {
|
||||||
return {
|
return {
|
||||||
name: item.nickName,
|
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 {
|
return {
|
||||||
name: item.postName,
|
name: item.postName,
|
||||||
value: item.postId
|
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 => {
|
this.$store.commit("set_prevention_risk_source", results[30].data.map(item => {
|
||||||
return {
|
return {
|
||||||
name: item.dictLabel,
|
name: item.dictLabel,
|
||||||
|
|
Loading…
Reference in New Issue