Parcourir la source

获取所有角色过滤

duy il y a 2 semaines
Parent
commit
745219644c
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/global/components/hc-tasks-user/user-modal.vue

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

@@ -160,14 +160,14 @@ const signUserList = ref([])
 const getAllRoleList = async () => {
     signUserLoading.value = true
     const { contractId } = getObjValue(dataInfo.value)
-    const { data } = await mainApi.queryAllRoleList({ contractId })
+    const { data } = await mainApi.queryAllRoleList({ contractId, type:1 })
     signUserList.value = getArrValue(data)
     signUserLoading.value = false
 }
 
 //角色被点击
 const roleItem = ref({})
-const roleItemClick = async(item) => {
+const roleItemClick = async (item) => {
 
     
     //roleItem.value = item
@@ -207,7 +207,7 @@ const positionSearch = () => {
 
 //岗位被点击
 const positionItem = ref({})
-const positionItemClick = async(item) => {
+const positionItemClick = async (item) => {
 
     // positionItem.value = item
     // setSignPfxUser(item.signPfxFileList)