zhouwx
2025-03-17 e59f909c6b3d45d49fde4716d6380f52a865dc4f
src/views/signProject/components/circulation.vue
@@ -25,7 +25,7 @@
              filterable
              remote
              reserve-keyword
              placeholder="请输入签署人名称(可多选)"
              placeholder="请输入签署人名称"
              remote-show-suffix
              :remote-method="(val)=>getUserList(val,state.form.signDeptId)"
              style="width: 100%"
@@ -95,7 +95,6 @@
const getDept = () => {
  listDept().then(response => {
    state.options = proxy.handleTree(response.data, "deptId",'parentId','children');
    console.log('response',state.options)
  });
}
@@ -148,12 +147,13 @@
}
const getUserList = async (val,deptId)=>{
  if(deptId == '' || deptId == null){
    ElMessage.warning("请选择部门!")
    // ElMessage.warning("请选择部门!")
    return;
  }
  if(val != ""){
    const queryParams = {
      name: val,
      deptId: deptId,
      nickName: val,
    }
    const res = await listUser(queryParams)
    if (res.code == 200) {