From 2c65b098334671a6150164f5a4fad1c392659469 Mon Sep 17 00:00:00 2001 From: yaoyn Date: Wed, 4 Dec 2024 17:06:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=AE=A1=E6=89=B9=E4=BA=BA?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SecondDev/OpinionDialog.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/SecondDev/OpinionDialog.vue b/src/components/SecondDev/OpinionDialog.vue index e5c50a1..bf72c35 100644 --- a/src/components/SecondDev/OpinionDialog.vue +++ b/src/components/SecondDev/OpinionDialog.vue @@ -11,7 +11,10 @@ @@ -97,7 +100,8 @@ } return { value: item['F_UserId'], - label: item['F_RealName'] + label: item['F_RealName'], + item:item }; }); nNode.assignees = selected; @@ -114,6 +118,10 @@ } } + function search(inputValue, option){ + return inputValue?(option.item.F_Account.indexOf(inputValue)>-1||option.item.F_RealName.indexOf(inputValue)>-1):true; + } + async function loadRejectNodeList() { let res = await getRejectNodeList(_processId, _taskId); if (res && Array.isArray(res) && res.length > 0) {