| | |
| | | :showArrow="false" |
| | | :enterpriseName="enterpriseDetail?.enterpriseName ?? ''" |
| | | :taskCount="enterpriseDetail?.taskCount ?? 0" |
| | | :isReal="enterpriseDetail?.isReal ?? false" |
| | | :supplierEnterpriseName="enterpriseDetail?.supplierEnterpriseName ?? ''" |
| | | ></CompanyDesc> |
| | | </ContentView> |
| | | <div style="flex: 1; min-height: 0"> |
| | |
| | | <CompanyTaskList :enterpriseId="enterpriseId" /> |
| | | </ProTabPane> |
| | | <ProTabPane :title="`企业信息`" pane-key="2"> |
| | | <CompanyInfo :enterpriseId="enterpriseId" /> |
| | | <CompanyInfo |
| | | :enterpriseId="enterpriseId" |
| | | :supplierEnterpriseId="supplierEnterpriseId" |
| | | /> |
| | | </ProTabPane> |
| | | </ProTabs> |
| | | </div> |
| | |
| | | |
| | | const router = Taro.useRouter(); |
| | | const enterpriseId = router.params?.id ?? ''; |
| | | const supplierEnterpriseId = router.params?.supplierEnterpriseId ?? ''; |
| | | |
| | | const tab = ref('1'); |
| | | |
| | | const { isLoading, isError, enterpriseDetail, refetch } = useEnterpriseDetail({ id: enterpriseId }); |
| | | const { isLoading, isError, enterpriseDetail, refetch } = useEnterpriseDetail({ |
| | | id: enterpriseId, |
| | | supplierEnterpriseId: supplierEnterpriseId, |
| | | }); |
| | | </script> |