hyf %!s(int64=3) %!d(string=hai) anos
pai
achega
300f211fa6

+ 3 - 1
src/settings.js

@@ -38,8 +38,10 @@ module.exports = {
   */
   serverUrl: 'http://1.15.92.205:8001/', // 正式环境
   // serverUrl: 'http://114.116.19.14:8080/', // 正式环境
-  devServerUrl: 'http://1.15.92.205:8001/', // 开发环境
+  // devServerUrl: 'http://1.15.92.205:8001/', // 开发环境
   // devServerUrl: 'http://192.168.3.253:8001/', // 开发环境
+  devServerUrl: 'http://127.0.0.1:7001/', // 开发环境
+
   /**
   * websocket 地址
   * dev 开发环境

+ 0 - 0
src/views/hos/profile/hos.vue → src/views/hos/profile/components/Hos.vue


+ 1 - 1
src/views/hos/profile/index.vue

@@ -49,7 +49,7 @@
 <script>
 import Vuescroll from 'vuescroll'
 import { getHosProfile } from '@/api/hos/hosProfileApi'
-import Hos from './hos'
+import Hos from './components/Hos.vue'
 import { AMapManager } from 'vue-amap'
 const amapManager = new AMapManager()
 import comMixins from '@/mixin/commonMethodMixin'

+ 3 - 2
src/views/system/profile/userProfile.vue

@@ -14,7 +14,8 @@
 
             <div class="box-center">
               <div class="user-name text-center">
-                <i class="el-icon-user" /> {{ viewData.accountName }} [{{ viewData.accountStaffNo }}]
+                <i class="el-icon-user" /> {{ viewData.accountName }}
+                <span v-if="viewData.accountStaffNo">[{{ viewData.accountStaffNo }}]</span>
               </div>
               <div class="user-phone text-center text-muted">
                 <i class="el-icon-mobile-phone" /> {{ viewData.accountPhone }}
@@ -108,7 +109,7 @@
 </template>
 <script>
 
-import { getUserProfile, updateUserProfile } from '@/api/index'
+import { getUserProfile, updateUserProfile } from '@/api'
 import { updatePassword } from '@/api/system/userApi'
 import { mapGetters } from 'vuex'
 import vuescroll from 'vuescroll'