wupengfei
4 天以前 f1582014efff0eb7997d3fa79226319d1fe4ba52
src/views/FlexJobManage/FlexJobManage.vue
@@ -139,6 +139,7 @@
import SignDialog from './components/SignDialog.vue';
import * as enterpriseEmployeeServices from '@/services/api/enterpriseEmployee';
import { ModelValueType } from 'element-plus';
import _ from 'lodash';
defineOptions({
  name: 'FlexJobManageList',
@@ -513,7 +514,8 @@
  }
}
function handleEnterpriseBatchSign() {
const handleEnterpriseBatchSign = _.debounce(
  () => {
  const selectionRows = getSelectionRows();
  if (selectionRows) {
    const hasSigned = selectionRows?.some(
@@ -530,7 +532,10 @@
    const ids = selectionRows.map((x) => x.id);
    handleBatchEnterpriseSign(ids);
  }
}
  },
  1000,
  { leading: true, trailing: false }
);
async function handleBatchEnterpriseSign(ids: string[]) {
  try {