fix: 统一预约取消的工作流状态判断
This commit is contained in:
1 parent
549b488d51
commit
c00e188392
6 files changed
+17
-30
No files matched your search
@@ -23,8 +23,7 @@ export function OverviewPage() {
|
||||
const retry = () => results.forEach((result) => void result.refetch());
|
||||
const brand = results[0].data;
|
||||
const workspace = results[1].data as
|
||||
| { inquiryForm?: { isEnabled?: boolean }; modules?: Array<{ isEnabled?: boolean }> }
|
||||
| undefined;
|
||||
{ inquiryForm?: { isEnabled?: boolean }; modules?: Array<{ isEnabled?: boolean }> } | undefined;
|
||||
const trust = results[2].data;
|
||||
const offerings = results[3].data as Array<{ isEnabled?: boolean }> | undefined;
|
||||
const submissions = results[4].data;
|
||||
|
||||
@@ -324,11 +324,11 @@ export function ServicesPage() {
|
||||
onOk={() => form.submit()}
|
||||
confirmLoading={save.isPending}
|
||||
>
|
||||
<Form
|
||||
form={form}
|
||||
layout="vertical"
|
||||
onFinish={(values) => save.mutate(values as Record<string, unknown>)}
|
||||
>
|
||||
<Form
|
||||
form={form}
|
||||
layout="vertical"
|
||||
onFinish={(values) => save.mutate(values as Record<string, unknown>)}
|
||||
>
|
||||
<Form.Item name="name" label="服务名称" rules={[{ required: true }]}>
|
||||
<Input />
|
||||
</Form.Item>
|
||||
|
||||
Reference in new issue
Block a user