Browse Source

选择任务人修改

duy 4 tháng trước cách đây
mục cha
commit
43c41b7cd9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/global/components/hc-tasks-user/user-modal.vue

+ 1 - 1
src/global/components/hc-tasks-user/user-modal.vue

@@ -147,7 +147,7 @@ const signPfxFileListLoading = ref(false)
 const getsignPfxFileList = async () => {
     signPfxFileListLoading.value = true
     const { contractId } = getObjValue(dataInfo.value)
-    const { data } = await mainApi.findAllUserAndRoleList({ contractId, roleId:'' })
+    const { data } = await mainApi.findAllUserAndRoleList({ contractId, roleId:roleItem.value?.roleId})
     let arr = getObjValue(data)
     setSignPfxUser(arr['userList'])
     signPfxFileListLoading.value = false