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

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

View File

@@ -32,7 +32,7 @@
</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>
</template>
@@ -55,6 +55,7 @@ interface Props {
timeoutWorkOrders?: TimeoutWorkOrders
alertDetails?: AlertItem[]
sourceIndex?: number
linkUrl?: string
}
// 默认值