修改 编辑按钮显示禁用

This commit is contained in:
GGJ
2024-06-24 17:41:54 +08:00
parent 1487f5ceea
commit fac32cd2e0
18 changed files with 63 additions and 67 deletions

View File

@@ -194,29 +194,29 @@
<el-col :span="11" class="col pt10">
<div>
<span>异常问题总数</span>
<span style="color: #2dcd28">0</span>
<span style="color: #2dcd28">{{ technology?.abnormalNum }}</span>
</div>
<div>
<span style="width: 120px">已关联工单数</span>
<span style="color: #81b337">0</span>
<span style="color: #81b337">{{ technology?.associatedNum }}</span>
</div>
<div>
<span style="width: 120px"> 工单转换率</span>
<span style="color: #338dff">0%</span>
<span style="color: #338dff">{{ technology?.conversionNum }}%</span>
</div>
</el-col>
<el-col :span="11" class="col pt10" :offset="0.5">
<div>
<span>工单总是</span>
<span style="color: #2dcd28">0</span>
<span style="color: #2dcd28">{{ technology?.workNum }}</span>
</div>
<div>
<span style="width: 120px">已处理工单数</span>
<span style="color: #81b337">0</span>
<span style="color: #81b337">{{ technology?.processedNum }}</span>
</div>
<div>
<span style="width: 120px"> 工单处置率</span>
<span style="color: #338dff">0%</span>
<span style="color: #338dff">{{ technology?.disposalNum }}%</span>
</div>
</el-col>
</el-row>
@@ -257,7 +257,12 @@ import Evaluate from './details/evaluate.vue'
import steadyState from './details/steadyState.vue'
import temporaryState from './details/temporaryState.vue'
import technique from './details/technique.vue'
import { getAssessOverview, getEvaluationOverview, getEventLevelEvaluation } from '@/api/device-boot/panorama'
import {
getAssessOverview,
getEvaluationOverview,
getEventLevelEvaluation,
getSupervisionData
} from '@/api/device-boot/panorama'
const dictData = useDictData()
const show = ref(false)
const height = mainHeight(30)
@@ -295,6 +300,7 @@ const options = ref([
value: '5'
}
])
const technology: any = ref({})
const harmonicType = ref('0')
const transientNum = ref([0, 0])
const options1: any = dictData.getBasicData('Event_Statis').filter(item => {
@@ -338,10 +344,7 @@ const JDlist = ref([
name: '用户投诉',
value: 0
},
{
name: '谐波普测',
value: 0
}
])
const harmonicList: any = ref([])
const harmonicLineRatio: any = ref(0)
@@ -382,6 +385,14 @@ const info = (row: any) => {
assessList.value = res.data
})
}, 300)
// 技术监督查询
getSupervisionData(form).then(res => {
technology.value = res.data
JDlist.value[0].value = res.data?.surveyNum || 0
JDlist.value[1].value = res.data?.onLineNum || 0
JDlist.value[2].value = res.data?.userNum || 0
})
}
const harmonicChange = () => {
getEvaluationOverview({ ...formRow.value, harmonicType: harmonicType.value }).then(res => {