| | |
| | | <ProFormCol> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="任务名称:" prop="name"> |
| | | <ProFormText v-model.trim="detail?.name" /> |
| | | <ProFormText v-model.trim="detail.name" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | |
| | | const id = route.params?.id as string; |
| | | |
| | | const { data: detail, isLoading } = useQuery({ |
| | | // queryKey: ['customerServices/getParkCustomerManageBaseDetail', id], |
| | | // queryFn: async () => { |
| | | // return await customerServices.getParkCustomerManageBaseDetail({ id: id }); |
| | | // }, |
| | | placeholderData: () => ({}), |
| | | // enabled: !!id, |
| | | queryKey: ['customerServices/getParkCustomerManageBaseDetail', id], |
| | | queryFn: async () => { |
| | | return await customerServices.getParkCustomerManageBaseDetail({ id: id }); |
| | | }, |
| | | placeholderData: () => ({} as API.GetUserClientForBackOutput), |
| | | enabled: !!id, |
| | | }); |
| | | </script> |
| | | |