工单详情添加跳转和优化饼图显示

This commit is contained in:
chenlin
2025-12-30 09:55:30 +08:00
parent 7534a20556
commit 53a99ec8dd
2 changed files with 4 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ const progressChartOption = ref<any>({
tooltip: { tooltip: {
show: true, show: true,
trigger: 'item', trigger: 'item',
formatter: '{a} <br/>{b}: {c}% ({d}%)' formatter: '{b}: {c}%'
}, },
series: [ series: [
{ {
@@ -248,7 +248,7 @@ const refreshProcessCharts = (process): void => {
tooltip: { tooltip: {
show: true, show: true,
trigger: 'item', trigger: 'item',
formatter: '{a} <br/>{b}: {c}% ({d}%)' formatter: '{b}: {c}%'
}, },
series: [ series: [
{ {

View File

@@ -32,7 +32,7 @@
</div> </div>
</div> </div>
</div> --> </div> -->
<AlertList style="margin-right: 1vw;" title="工单详情" :list-data="alertDetails" ></AlertList> <AlertList :linkUrl="linkUrl" style="margin-right: 1vw;" title="工单详情" :list-data="alertDetails" ></AlertList>
</div> </div>
</template> </template>
@@ -55,6 +55,7 @@ interface Props {
timeoutWorkOrders?: TimeoutWorkOrders timeoutWorkOrders?: TimeoutWorkOrders
alertDetails?: AlertItem[] alertDetails?: AlertItem[]
sourceIndex?: number sourceIndex?: number
linkUrl?: string
} }
// 默认值 // 默认值