冀北 省 市 技术监督详细 页面 添加试运行问题

This commit is contained in:
GGJ
2024-07-08 15:21:38 +08:00
parent a398ca6361
commit d3b7219854
3 changed files with 14 additions and 5 deletions

View File

@@ -164,7 +164,11 @@ const Voltage: any = [
{ {
label: '用户投诉', label: '用户投诉',
value: 'user' value: 'user'
} },
{
label: '试运行问题',
value: 'trialRun'
},
] ]
const active: any = ref(Voltage[0].value) const active: any = ref(Voltage[0].value)

View File

@@ -40,7 +40,7 @@ const open = async (row: any) => {
}, },
xAxis: { xAxis: {
name: '', name: '',
data: ['技术监督计划', '用户投诉', '在线监测问题'] data: ['技术监督计划', '用户投诉', '在线监测问题','试运行问题']
}, },
yAxis: { yAxis: {
@@ -55,13 +55,13 @@ const open = async (row: any) => {
{ {
name: '问题个数', name: '问题个数',
type: 'bar', type: 'bar',
data: [res.data.survey.abnormalNum, res.data.user.abnormalNum, res.data.onLine.abnormalNum] data: [res.data.survey.abnormalNum, res.data.user.abnormalNum, res.data.onLine.abnormalNum, res.data.trialRun.abnormalNum]
}, },
{ {
name: '已处理', name: '已处理',
type: 'bar', type: 'bar',
data: [res.data.survey.processedNum, res.data.user.processedNum, res.data.onLine.processedNum] data: [res.data.survey.processedNum, res.data.user.processedNum, res.data.onLine.processedNum, res.data.trialRun.processedNum]
} }
] ]
} }

View File

@@ -344,6 +344,10 @@ const JDlist = ref([
name: '用户投诉', name: '用户投诉',
value: 0 value: 0
}, },
{
name: '试运行问题',
value: 0
},
]) ])
const harmonicList: any = ref([]) const harmonicList: any = ref([])
@@ -391,8 +395,9 @@ const info = (row: any) => {
JDlist.value[0].value = res.data?.surveyNum || 0 JDlist.value[0].value = res.data?.surveyNum || 0
JDlist.value[1].value = res.data?.onLineNum || 0 JDlist.value[1].value = res.data?.onLineNum || 0
JDlist.value[2].value = res.data?.userNum || 0 JDlist.value[2].value = res.data?.userNum || 0
JDlist.value[3].value = res.data?.trialRunNum || 0
}) })
} }
const harmonicChange = () => { const harmonicChange = () => {
getEvaluationOverview({ ...formRow.value, harmonicType: harmonicType.value }).then(res => { getEvaluationOverview({ ...formRow.value, harmonicType: harmonicType.value }).then(res => {