From b19361005fd190d3c5dffa2e2bdaac600e635b30 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Mon, 18 Jul 2022 18:24:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E9=83=A8=E9=97=A8=E8=81=94=E7=B3=BB?= =?UTF-8?q?=E4=BA=BA=E5=92=8C=E7=94=B5=E8=AF=9D=E7=BB=99=E6=88=91=E5=B8=A6?= =?UTF-8?q?=E5=87=BA=E6=9D=A5=EF=BC=81=EF=BC=81=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PutOnTheShelf.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 6a85dd20..d7a45ddb 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -488,6 +488,20 @@ }) } }) + } else if (item.name === '部门联系人') { + if (!item.note1) { + getUserInfo().then(({ data: res1 }) => { + console.log(res1.data) + item.note1 = res1.data.realName || '' + }) + } + } else if (item.name === '部门联系人电话') { + if (!item.note1) { + getUserInfo().then(({ data: res1 }) => { + console.log(res1.data) + item.note1 = res1.data.mobile || '' + }) + } } else { data.value.list.push(item) }