|
@@ -263,7 +263,7 @@ export default {
|
|
|
if (res.code !== 0) {
|
|
|
return this.$message.error(res.msg)
|
|
|
}
|
|
|
- console.log(res)
|
|
|
+ // console.log(res)
|
|
|
this.$store.state.user.name = res.userInfo.displayName
|
|
|
this.$store.state.user.organizations = res.userInfo.organizations[0].organizationName
|
|
|
if (res.userInfo.extendField && res.userInfo.extendField.regionCode) {
|
|
@@ -285,7 +285,10 @@ export default {
|
|
|
if (!this.areaCode) {
|
|
|
return
|
|
|
}
|
|
|
+ // 生产环境
|
|
|
this.$http.get('http://10.110.34.19:30600/sysbase/area/admin/getCityAreaByCode?areaCode=' + this.areaCode).then(({ data: res }) => {
|
|
|
+ // 测试环境
|
|
|
+ // this.$http.get('http://10.110.37.15:30600/sysbase/area/admin/getCityAreaByCode?areaCode=' + this.areaCode).then(({ data: res }) => {
|
|
|
if (res.code !== '0') {
|
|
|
return this.$message.error(res.msg)
|
|
|
}
|