- {/* 连线 */}
= 3 ? '100%' : (currentDetail?.orderStatus === 2 ? '66%' : '33%'), height: '100%', background: '#00B42A' }}>
-
{[
{ label: '已创建', step: 1, active: currentDetail?.orderStatus >= 1 },
{ label: '已派发', step: 2, active: currentDetail?.orderStatus >= 2 },
@@ -688,25 +592,19 @@ const WorkOrderPage = () => {
- } block onClick={openEditModal} style={{ borderRadius: 8, height: 36, fontWeight: 600 }}>转派
- } danger ghost block style={{ borderRadius: 8, height: 36, fontWeight: 600 }}>挂起
+ } block onClick={openEditModal} style={{ borderRadius: 8, height: 36, fontWeight: 600 }}>修改
+ } danger ghost block style={{ borderRadius: 8, height: 36, fontWeight: 600 }}>挂起
}
style={{ background: '#00B42A', color: '#fff', border: 'none', borderRadius: 8, height: 36, fontWeight: 600 }}
block
onClick={openCompleteModal}
- >
- 完成工单
-
+ >完成
-
AI 建议与关联信息}
- style={{ ...cardStyle, marginTop: 16 }}
- bodyStyle={{ padding: '16px' }}
- >
+ AI 建议与关联信息}
+ style={{ ...cardStyle, marginTop: 16 }} bodyStyle={{ padding: '16px' }}>
@@ -750,14 +648,7 @@ const WorkOrderPage = () => {
showGrid={true}
smooth
dot
- series={[
- {
- key: 'value',
- name: '告警数量',
- color: '#165DFF',
- strokeWidth: 2,
- },
- ]}
+ series={[{ key: 'value', name: '告警数量', color: '#165DFF', strokeWidth: 2 }]}
/>
@@ -784,98 +675,45 @@ const WorkOrderPage = () => {
- {/* 修改工单弹窗 */}
{/* 修改工单弹窗 */}
setEditModalVisible(false)} footer={null} width={520}>
-
{/* 派发工单弹窗 */}
setDispatchModalVisible(false)} footer={null} width={550}>
{/* 完成工单弹窗 */}
- setCompleteModalVisible(false)}
- footer={null}
- width={500}
- >
+ setCompleteModalVisible(false)} footer={null} width={500}>
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
+
-
+