编辑行业配置 — {data?.name || ''}}
+ open={open}
+ onCancel={() => { onClose(); form.resetFields() }}
+ onOk={() => form.submit()}
+ confirmLoading={updateMutation.isPending}
+ width={720}
+ destroyOnClose
+ >
+ {isLoading ? (
+
+ ) : data ? (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 来源: {sourceLabels[data.source]}
+ {' '}状态: {statusLabels[data.status]}
+
+
+
+ ) : (
+
+ )}
+
+ )
+}
+
+// === 新建行业弹窗 ===
+
+function IndustryCreateModal({ open, onClose }: {
+ open: boolean
+ onClose: () => void
+}) {
+ const queryClient = useQueryClient()
+ const [form] = Form.useForm()
+
+ const createMutation = useMutation({
+ mutationFn: (data: Parameters