|
|
@@ -154,7 +154,8 @@ const TalentDetail: React.FC<TalentDetailProps> = () => {
|
|
|
})
|
|
|
|
|
|
// 获取薪资历史记录 - 使用企业专用薪资历史API
|
|
|
- const { data: salaryHistory, isLoading: historyLoading } = useQuery({
|
|
|
+ // TODO: 薪资历史记录暂时隐藏,保留查询以便后续恢复 - 2025-03-25
|
|
|
+ const { data: _salaryHistory, isLoading: historyLoading } = useQuery({
|
|
|
queryKey: ['salaryHistory', talentId],
|
|
|
queryFn: async () => {
|
|
|
if (!talentId) throw new Error('无效的人才ID')
|
|
|
@@ -510,10 +511,11 @@ const TalentDetail: React.FC<TalentDetailProps> = () => {
|
|
|
<Text className="text-gray-500">所属订单</Text>
|
|
|
<Text className="text-gray-800">{workInfo?.orderId ? `订单 #${workInfo.orderId}` : '无'}</Text>
|
|
|
</View>
|
|
|
- <View className="flex justify-between">
|
|
|
+ {/* TODO: 岗位类型暂时隐藏 - 2025-03-25 */}
|
|
|
+ {/* <View className="flex justify-between">
|
|
|
<Text className="text-gray-500">岗位类型</Text>
|
|
|
<Text className="text-gray-800">{workInfo?.position || '未指定'}</Text>
|
|
|
- </View>
|
|
|
+ </View> */}
|
|
|
</View>
|
|
|
</View>
|
|
|
|
|
|
@@ -612,8 +614,9 @@ const TalentDetail: React.FC<TalentDetailProps> = () => {
|
|
|
)}
|
|
|
</View>
|
|
|
|
|
|
+ {/* TODO: 薪资历史记录卡片暂时隐藏 - 2025-03-25 */}
|
|
|
{/* 薪资历史记录卡片 */}
|
|
|
- <View className="card bg-white p-4 mb-4">
|
|
|
+ {/* <View className="card bg-white p-4 mb-4">
|
|
|
<Text className="font-semibold text-gray-700 mb-3">薪资历史记录</Text>
|
|
|
{historyLoading ? (
|
|
|
<View className="space-y-2">
|
|
|
@@ -648,7 +651,7 @@ const TalentDetail: React.FC<TalentDetailProps> = () => {
|
|
|
<Text className="text-gray-400 text-sm">暂无薪资历史记录</Text>
|
|
|
</View>
|
|
|
)}
|
|
|
- </View>
|
|
|
+ </View> */}
|
|
|
|
|
|
{/* 个人征信文件区域 */}
|
|
|
<View className="card bg-white p-4">
|
|
|
@@ -753,10 +756,11 @@ const TalentDetail: React.FC<TalentDetailProps> = () => {
|
|
|
)}
|
|
|
</View>
|
|
|
|
|
|
+ {/* TODO: 联系按钮暂时隐藏 - 2025-03-25 */}
|
|
|
{/* 操作按钮 - 原型第831-839行 */}
|
|
|
- <View className="mt-4">
|
|
|
+ {/* <View className="mt-4"> */}
|
|
|
{/* 联系按钮 */}
|
|
|
- <View
|
|
|
+ {/* <View
|
|
|
className="w-full bg-blue-500 text-white py-3 rounded-lg font-medium flex items-center justify-center active:bg-blue-600"
|
|
|
onClick={() => {
|
|
|
// 联系功能:拨打电话或跳转
|
|
|
@@ -774,8 +778,8 @@ const TalentDetail: React.FC<TalentDetailProps> = () => {
|
|
|
>
|
|
|
<Text className="i-heroicons-phone-20-solid mr-2" />
|
|
|
<Text>联系</Text>
|
|
|
- </View>
|
|
|
- </View>
|
|
|
+ </View> */}
|
|
|
+ {/* </View> */}
|
|
|
|
|
|
</View>
|
|
|
</>
|