From 2b599ef0c8a603033eadeb2a02fb4be996714ffc Mon Sep 17 00:00:00 2001 From: zhihao <18915542763@163.com> Date: Fri, 26 Jun 2026 17:15:33 +0800 Subject: [PATCH] =?UTF-8?q?czh-20260626-=E6=9B=BF=E6=8D=A2=E6=8A=84?= =?UTF-8?q?=E9=80=81=E9=80=89=E4=BA=BA=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../myHandleTask/content/MyHandleContent.vue | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/src/views/super/bpm/process/personalOffice/myHandleTask/content/MyHandleContent.vue b/src/views/super/bpm/process/personalOffice/myHandleTask/content/MyHandleContent.vue index 3280ca6..2428898 100644 --- a/src/views/super/bpm/process/personalOffice/myHandleTask/content/MyHandleContent.vue +++ b/src/views/super/bpm/process/personalOffice/myHandleTask/content/MyHandleContent.vue @@ -83,7 +83,13 @@ 抄送给: - + @@ -117,6 +123,7 @@ import { AuditOutlined } from '@ant-design/icons-vue'; import { JUpload } from '/@/components/Form/src/jeecg/components/JUpload'; import BpmSelectUser from '/@/views/super/bpm/process/components/bpmSelectUser/index.vue'; + import SzDeptUserModal from '/@/components/semri/deptUserComponent/SzDeptUserModal.vue'; import AddSignTaskModal from '/@/views/super/bpm/process/personalOffice/myHandleTask/modal/AddSignTaskModal.vue'; import UserSelectModal from '/@/components/Form/src/jeecg/components/userSelect/UserSelectModal.vue'; import { useUserStore } from '/@/store/modules/user'; @@ -138,6 +145,7 @@ JUpload, AuditOutlined, BpmSelectUser, + SzDeptUserModal, }, props: { historyList: { @@ -286,10 +294,14 @@ // 选择抄送人 const checkedCc = ref(false); - const ccPersonList = ref([]); + const ccUserIds = ref(''); function handleCheckedCc(e) { checkedCc.value = e.target.checked; - ccPersonList.value = []; + if (!checkedCc.value) { + ccUserIds.value = ''; + model.ccUserIds = ''; + model.ccUserRealNames = ''; + } } watch( @@ -300,6 +312,7 @@ checkedCc.value = true; const usernames = list.map((u) => u.username); const realnames = list.map((u) => u.realname); + ccUserIds.value = usernames.join(','); model.ccUserIds = usernames.join(','); model.ccUserRealNames = realnames.join(','); }, @@ -478,10 +491,9 @@ model.nextUserName = realnames.join(','); } - function handleSelectCcUser(arr) { - let { usernames, realnames } = getInfo(arr); - model.ccUserIds = usernames.join(','); - model.ccUserRealNames = realnames.join(','); + function handleSelectCcUser(userIds, realnames) { + model.ccUserIds = userIds || ''; + model.ccUserRealNames = realnames || ''; } function getInfo(arr) { @@ -512,7 +524,7 @@ handleCheckedNext, checkedCc, - ccPersonList, + ccUserIds, handleCheckedCc, loading,