From 75fe6f23fff9d37ee9ddbf203f6d83fa35fa3450 Mon Sep 17 00:00:00 2001 From: zhangqun <179111901@qq.com> Date: Thu, 28 Sep 2023 13:22:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=93=E8=B7=AF=E8=BF=90=E8=BE=93=E8=B4=9F?= =?UTF-8?q?=E8=B4=A3=E4=BA=BA=E6=8E=A5=E5=8F=A3=E9=87=8D=E6=96=B0=E8=81=94?= =?UTF-8?q?=E8=B0=83=EF=BC=8C=E8=BF=94=E5=9B=9E=E6=95=B0=E6=8D=AE=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/roadTransport/transportData/form.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/roadTransport/transportData/form.vue b/pages/roadTransport/transportData/form.vue index e09f0ac..1252011 100644 --- a/pages/roadTransport/transportData/form.vue +++ b/pages/roadTransport/transportData/form.vue @@ -650,8 +650,8 @@ import { calcMom, calcYoy, checkNotEmpty, getDateStr, lastYearDate } from '../.. this.$request(getApp().globalData.baseUrl + '/api/user/getByDeptName/' + this.unitName,{},"GET").then(res =>{ // this.$request(getApp().globalData.baseUrl + '/api/user/getByDeptId/' + this.unitId,{},"GET").then(res =>{ console.log('人员列表 ===>',res) - res.data.map(item =>{ - this.peopleList.push({id:item.id,people:item.username + ',' + item.mobile}) + res.data.list.map(item =>{ + this.peopleList.push({id:item.id,people:item.username + (item.mobile ? ',' + item.mobile : '')}) }) if(this.pageType == 'edit'){ console.log('deptNameList ===>',this.peopleList)