wupengfei
5 天以前 94e941341c4e2ac704f70c5ae61be2d6a61fcef4
src/views/ServiceChargeManage/ServiceChargeManage.vue
@@ -169,12 +169,6 @@
const router = useRouter();
const eventContext = useGlobalEventContext();
eventContext.addEvent('serviceChargeSettle', () => {
  getList(paginationState.pageIndex);
});
const BaseState = {
  loading: true,
};
@@ -251,7 +245,7 @@
  handleEdit: handleSettleEdit,
  editForm: settleEditForm,
} = useFormDialog({
  onConfirm: goSettle,
  onConfirm: handleSettle,
  defaultFormParams: {
    id: '',
    name: '',
@@ -259,20 +253,13 @@
  },
});
async function handleSettle() {}
function openSettleDialog(row?) {
  handleSettleEdit({
    id: row.id,
    name: row.name,
    count: row.count,
  });
}
async function goSettle() {
  router.push({
    name: 'ServiceChargeSettle',
    params: {
      id: settleEditForm.id,
    },
  });
}