浏览代码

获取所有角色过滤

duy 2 周之前
父节点
当前提交
745219644c
共有 1 个文件被更改,包括 3 次插入3 次删除
  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)