duy 4 місяців тому
батько
коміт
43c41b7cd9
1 змінених файлів з 1 додано та 1 видалено
  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