|  |  |  | 
|---|
|  |  |  | </ProFormItemV2> | 
|---|
|  |  |  | <ProFormItemV2 label="签约状态:" prop="signStatus" required> | 
|---|
|  |  |  | <span>{{ EnumEnterpriseWalletSignStatusText[form.signStatus] }}</span> | 
|---|
|  |  |  | <el-button | 
|---|
|  |  |  | style="margin-left: 10px" | 
|---|
|  |  |  | type="primary" | 
|---|
|  |  |  | link | 
|---|
|  |  |  | @click="refetch({ type: 'inactive' })" | 
|---|
|  |  |  | <el-button style="margin-left: 10px" type="primary" link @click="handleCheck" | 
|---|
|  |  |  | >校验</el-button | 
|---|
|  |  |  | > | 
|---|
|  |  |  | </ProFormItemV2> | 
|---|
|  |  |  | 
|---|
|  |  |  | <span>{{ | 
|---|
|  |  |  | EnumEnterpriseWalletExpandindirectOrderStatusText[form.expandindirectOrderStatus] | 
|---|
|  |  |  | }}</span> | 
|---|
|  |  |  | <el-button | 
|---|
|  |  |  | style="margin-left: 10px" | 
|---|
|  |  |  | type="primary" | 
|---|
|  |  |  | link | 
|---|
|  |  |  | @click="refetch({ type: 'inactive' })" | 
|---|
|  |  |  | <el-button style="margin-left: 10px" type="primary" link @click="handleCheck" | 
|---|
|  |  |  | >校验</el-button | 
|---|
|  |  |  | > | 
|---|
|  |  |  | </ProFormItemV2> | 
|---|
|  |  |  | 
|---|
|  |  |  | sceneQualificationFiles: [] as UploadUserFile[], | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const { isLoading, refetch } = useQuery({ | 
|---|
|  |  |  | const { | 
|---|
|  |  |  | isLoading, | 
|---|
|  |  |  | refetch, | 
|---|
|  |  |  | data: detail, | 
|---|
|  |  |  | } = useQuery({ | 
|---|
|  |  |  | queryKey: [ | 
|---|
|  |  |  | 'enterpriseWalletServices/getEnterpriseWallet', | 
|---|
|  |  |  | props.id, | 
|---|
|  |  |  | 
|---|
|  |  |  | } catch (error) {} | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | async function handleCheck() { | 
|---|
|  |  |  | let res = await enterpriseWalletServices.getEnterpriseWallet({ | 
|---|
|  |  |  | enterpriseId: props.id, | 
|---|
|  |  |  | access: EnumEnterpriseWalletAccess.Alipay, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | if (res) { | 
|---|
|  |  |  | form.signStatus = res.signStatus; | 
|---|
|  |  |  | form.expandindirectOrderStatus = res.expandindirectOrderStatus; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | defineExpose({ | 
|---|
|  |  |  | onConfirm: enterpriseWalletExpandindirectCreate, | 
|---|
|  |  |  | }); | 
|---|