客户服务
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
FLL
2025-07-23 20:50:49 +08:00
parent 447ad7f004
commit 9d75dd2168
10 changed files with 266 additions and 88 deletions

View File

@@ -52,16 +52,19 @@ async function fetchWorkOrderCount() {
const satisfactionLevel = ref<EchartsUIType>();
const { renderEcharts: renderSatisfactionLevel } = useEcharts(satisfactionLevel);
async function fetchSatisfactionLevel() {
seriesData.value = board.value.satisfactionRateList.map(item => {
return `${item.value}`;
})
renderSatisfactionLevel({
title: {text: '满意度指数',left: '18px'},
tooltip: { trigger: 'item'},
radar: {
indicator: [
{name: '1星', max: 1000},
{name: '2星', max: 1000},
{name: '3星', max: 1000},
{name: '4星', max: 1000},
{name: '5星', max: 1000},
{name: '1星'},
{name: '2星'},
{name: '3星'},
{name: '4星'},
{name: '5星'},
]
},
series: [
@@ -70,7 +73,7 @@ async function fetchSatisfactionLevel() {
name: '满意度指数',
data: [
{
value: [500, 400, 800, 600, 400],
value: seriesData.value,
}
]
}
@@ -157,8 +160,12 @@ async function fetchOrderTyper() {
})
}
const goToProperty = () => {
router.push('/property')
const goOrderPool = () => {
router.push('/property/business/workOrders')
}
const goToDo = () => {
router.push('/property/business/workOrderPending')
}
onMounted(async () => {
@@ -180,7 +187,7 @@ onMounted(async () => {
<div>
<div>工单总数</div>
<div>{{ board.workOrdersTotal }}</div>
<div style="color: #1890FF" @click="goToProperty()">点击前往工单池</div>
<div style="color: #1890FF;cursor: pointer" @click="goOrderPool()">点击前往工单池</div>
</div>
<div class="icon-edit"><EditOutlined /></div>
</div>
@@ -188,7 +195,7 @@ onMounted(async () => {
<div>
<div>待派工单数</div>
<div>{{ board.notWorkOrdersTotal }}</div>
<div style="color: #1890FF">点击前往工单待办</div>
<div style="color: #1890FF;cursor: pointer" @click="goToDo()">点击前往工单待办</div>
</div>
<div class="icon-edit"><EditOutlined /></div>
</div>
@@ -226,8 +233,8 @@ onMounted(async () => {
<div style="margin-left: 20px;line-height: 30px">
<div>累计处理工单数</div>
<div>12</div>
<div>累计回复数</div>
<div>2</div>
<!-- <div>累计回复数</div>-->
<!-- <div>2</div>-->
</div>
</div>
<EchartsUI