|  |  | 
 |  |  | } from '@12333/constants'; | 
 |  |  | import * as enterpriseEmployeeServices from '@12333/services/apiV2/enterpriseEmployee'; | 
 |  |  | import Taro from '@tarojs/taro'; | 
 |  |  | import { Message, setOSSLink } from '@12333/utils'; | 
 |  |  | import { Message, openDocument, setOSSLink } from '@12333/utils'; | 
 |  |  |  | 
 |  |  | defineOptions({ | 
 |  |  |   name: 'InnerPage', | 
 |  |  | 
 |  |  | ); | 
 |  |  |  | 
 |  |  | function checkContract(item: API.GetEnterpriseEmployeesQueryResultItem) { | 
 |  |  |   const encodedUrl = encodeURIComponent(setOSSLink(item.contractUrl)); | 
 |  |  |   Taro.navigateTo({ | 
 |  |  |     url: `${RouterPath.flexJobManageExtraPage}?url=${encodedUrl}`, | 
 |  |  |   }); | 
 |  |  |   if (!item.contractUrl) { | 
 |  |  |     Message.warning('协议无法查看,请稍后再试'); | 
 |  |  |     return; | 
 |  |  |   } | 
 |  |  |   openDocument(setOSSLink(item.contractUrl)); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | function goDetail(item: API.GetEnterpriseEmployeesQueryResultItem) { |