Sfoglia il codice sorgente

选择任务人修改

duy 6 mesi fa
parent
commit
53f56c267b

+ 2 - 0
src/components/hc-report/modules/user-modal.vue

@@ -155,6 +155,7 @@ const getAllRoleList = async () => {
 //角色被点击
 const roleItem = ref({})
 const roleItemClick = async (item) => {
+  
     if (roleItem.value.roleId === item.roleId) {
         // 如果点击的是已选中的角色,则清空选择
         roleItem.value = {}
@@ -168,6 +169,7 @@ const roleItemClick = async (item) => {
 
     const arr = getArrValue(item.childRoleList)
     positionList.value = deepClone(arr)
+    setSignPfxUser(item.signPfxFileList)
 }
 
 //岗位搜索

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

@@ -273,6 +273,7 @@ const roleItemClick = async (item) => {
     roleItem.value = item
     const arr = getArrValue(item.childRoleList)
     positionList.value = deepClone(arr)
+    setSignPfxUser(item.signPfxFileList)
 }
 
 //岗位搜索