|
@@ -1742,44 +1742,6 @@ export default function ExecutorDashboard() {
|
|
|
</div>
|
|
</div>
|
|
|
</Card>
|
|
</Card>
|
|
|
|
|
|
|
|
- {/* 快捷操作 */}
|
|
|
|
|
- <Card className="border border-gray-200 shadow-sm">
|
|
|
|
|
- <div className="flex items-center gap-2 mb-4">
|
|
|
|
|
- <Rocket className="w-5 h-5 text-gray-600" />
|
|
|
|
|
- <h3 className="text-lg font-semibold text-gray-900">{t('cockpit.quickActions')}</h3>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div className="flex gap-4">
|
|
|
|
|
- <button
|
|
|
|
|
- className="flex-1 bg-white border border-gray-200 rounded-lg p-4 hover:bg-gray-50 hover:border-gray-300 transition-all flex flex-col items-center justify-center gap-2"
|
|
|
|
|
- onClick={() => navigate('/my-task')}
|
|
|
|
|
- >
|
|
|
|
|
- <CheckCircle className="w-6 h-6 text-gray-600" />
|
|
|
|
|
- <span className="text-sm font-medium text-gray-700">{t('cockpit.submitTaskComplete')}</span>
|
|
|
|
|
- </button>
|
|
|
|
|
- <button
|
|
|
|
|
- className="flex-1 bg-white border border-gray-200 rounded-lg p-4 hover:bg-gray-50 hover:border-gray-300 transition-all flex flex-col items-center justify-center gap-2"
|
|
|
|
|
- onClick={() => navigate('/my-task')}
|
|
|
|
|
- >
|
|
|
|
|
- <Eye className="w-6 h-6 text-gray-600" />
|
|
|
|
|
- <span className="text-sm font-medium text-gray-700">{t('cockpit.viewMyJobs')}</span>
|
|
|
|
|
- </button>
|
|
|
|
|
- <button
|
|
|
|
|
- className="flex-1 bg-white border border-gray-200 rounded-lg p-4 hover:bg-gray-50 hover:border-gray-300 transition-all flex flex-col items-center justify-center gap-2"
|
|
|
|
|
- onClick={() => message.info(t('cockpit.featureDeveloping'))}
|
|
|
|
|
- >
|
|
|
|
|
- <ShoppingCart className="w-6 h-6 text-gray-600" />
|
|
|
|
|
- <span className="text-sm font-medium text-gray-700">{t('cockpit.claimJobMaterial')}</span>
|
|
|
|
|
- </button>
|
|
|
|
|
- <button
|
|
|
|
|
- className="flex-1 bg-white border border-gray-200 rounded-lg p-4 hover:bg-gray-50 hover:border-gray-300 transition-all flex flex-col items-center justify-center gap-2"
|
|
|
|
|
- onClick={() => message.info(t('cockpit.featureDeveloping'))}
|
|
|
|
|
- >
|
|
|
|
|
- <HelpCircle className="w-6 h-6 text-gray-600" />
|
|
|
|
|
- <span className="text-sm font-medium text-gray-700">{t('cockpit.feedback')}</span>
|
|
|
|
|
- </button>
|
|
|
|
|
- </div>
|
|
|
|
|
- </Card>
|
|
|
|
|
-
|
|
|
|
|
{/* 任务详情弹框 */}
|
|
{/* 任务详情弹框 */}
|
|
|
<Modal
|
|
<Modal
|
|
|
title={null}
|
|
title={null}
|