使用username字段

main
jinna 2 years ago
parent 796da7873d
commit ffbdeda632
  1. 2
      pages/roadTransport/transportData/form.vue

@ -645,7 +645,7 @@ import { calcMom, calcYoy, checkNotEmpty, getDateStr, lastYearDate } from '../..
// this.$request(getApp().globalData.baseUrl + '/api/user/getByDeptId/' + this.unitId,{},"GET").then(res =>{ // this.$request(getApp().globalData.baseUrl + '/api/user/getByDeptId/' + this.unitId,{},"GET").then(res =>{
console.log('人员列表 ===>',res) console.log('人员列表 ===>',res)
res.data.map(item =>{ res.data.map(item =>{
this.peopleList.push({id:item.id,people:item.nickname + ',' + item.mobile}) this.peopleList.push({id:item.id,people:item.username + ',' + item.mobile})
}) })
if(this.pageType == 'edit'){ if(this.pageType == 'edit'){
console.log('deptNameList ===>',this.peopleList) console.log('deptNameList ===>',this.peopleList)

Loading…
Cancel
Save