wupengfei
2025-11-13 29600478c3a9379e691ed065f4e29e5cea6de9e0
src/views/FlexJobManage/FlexJobManage.vue
@@ -663,6 +663,7 @@
  handleAdd: handleInternalStaffAdd,
  handleEdit: handleInternalStaffEdit,
  editForm: internalStaffEditForm,
  dialogState: internalDialogState,
} = useFormDialog({
  onConfirm: addEnterpriseEmployee,
  defaultFormParams: {
@@ -680,6 +681,7 @@
    userSignContractTime: '',
    contractTime: [] as unknown as ModelValueType,
  },
  closeAfterConfirm: false,
});
async function openInternalDialog(row: API.GetEnterpriseEmployeesQueryResultItem) {
@@ -730,7 +732,10 @@
    if (res) {
      Message.successMessage('操作成功');
      getList(paginationState.pageIndex);
      internalDialogState.dialogVisible = false;
    }
  } catch (error) {}
  } catch (error) {
    internalDialogState.dialogVisible = true;
  }
}
</script>