|
@@ -191,7 +191,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
</View>
|
|
</View>
|
|
|
|
|
|
|
|
{/* 残疾类型分布 */}
|
|
{/* 残疾类型分布 */}
|
|
|
- <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm">
|
|
|
|
|
|
|
+ <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
|
|
|
<Text className="font-semibold text-gray-700 mb-3">残疾类型分布</Text>
|
|
<Text className="font-semibold text-gray-700 mb-3">残疾类型分布</Text>
|
|
|
{isLoadingDisability ? (
|
|
{isLoadingDisability ? (
|
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
@@ -233,7 +233,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
</View>
|
|
</View>
|
|
|
|
|
|
|
|
{/* 性别分布 */}
|
|
{/* 性别分布 */}
|
|
|
- <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm">
|
|
|
|
|
|
|
+ <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
|
|
|
<Text className="font-semibold text-gray-700 mb-3">性别分布</Text>
|
|
<Text className="font-semibold text-gray-700 mb-3">性别分布</Text>
|
|
|
{isLoadingGender ? (
|
|
{isLoadingGender ? (
|
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
@@ -266,7 +266,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
</View>
|
|
</View>
|
|
|
|
|
|
|
|
{/* 年龄分布 */}
|
|
{/* 年龄分布 */}
|
|
|
- <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm">
|
|
|
|
|
|
|
+ <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
|
|
|
<Text className="font-semibold text-gray-700 mb-3">年龄分布</Text>
|
|
<Text className="font-semibold text-gray-700 mb-3">年龄分布</Text>
|
|
|
{isLoadingAge ? (
|
|
{isLoadingAge ? (
|
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
@@ -315,7 +315,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
</View>
|
|
</View>
|
|
|
|
|
|
|
|
{/* 户籍省份分布 */}
|
|
{/* 户籍省份分布 */}
|
|
|
- <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm">
|
|
|
|
|
|
|
+ <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
|
|
|
<Text className="font-semibold text-gray-700 mb-3">户籍省份分布</Text>
|
|
<Text className="font-semibold text-gray-700 mb-3">户籍省份分布</Text>
|
|
|
{isLoadingHousehold ? (
|
|
{isLoadingHousehold ? (
|
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
@@ -353,7 +353,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
</View>
|
|
</View>
|
|
|
|
|
|
|
|
{/* 在职状态统计 */}
|
|
{/* 在职状态统计 */}
|
|
|
- <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm">
|
|
|
|
|
|
|
+ <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
|
|
|
<Text className="font-semibold text-gray-700 mb-3">在职状态统计</Text>
|
|
<Text className="font-semibold text-gray-700 mb-3">在职状态统计</Text>
|
|
|
{isLoadingJobStatus ? (
|
|
{isLoadingJobStatus ? (
|
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
@@ -390,7 +390,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
</View>
|
|
</View>
|
|
|
|
|
|
|
|
{/* 薪资分布 */}
|
|
{/* 薪资分布 */}
|
|
|
- <View className="card bg-white p-4 rounded-lg shadow-sm">
|
|
|
|
|
|
|
+ <View className="card bg-white p-4 rounded-lg shadow-sm flex flex-col">
|
|
|
<Text className="font-semibold text-gray-700 mb-3">薪资分布</Text>
|
|
<Text className="font-semibold text-gray-700 mb-3">薪资分布</Text>
|
|
|
{isLoadingSalary ? (
|
|
{isLoadingSalary ? (
|
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|
|
<Text className="text-gray-500 text-center py-4">加载中...</Text>
|