Commit efa3b9de by 王志慧

Merge branch 'SAAS+V4.42' of http://192.168.3.233:8090/saas_plus/dj-car-life-system into SAAS+V4.42

2 parents e33ee3e0 3931fdd2
<!-- 关联活动订单弹窗 -->
<template>
<d2-dialog
title="质检详情"
title="查看结果"
:is-visible="isQualityVisible"
class="qualityDailog"
width="80%"
......@@ -24,7 +24,7 @@
v-bind="$attrs"
/>
</el-tab-pane>
<el-tab-pane label="质检分析" name="analyse">
<el-tab-pane label="质检详情" name="analyse">
<quality-analyse
v-if="activeName == 'analyse'"
v-bind="$attrs"
......
......@@ -117,8 +117,15 @@ export default {
},
mounted() {
// 获取对练报告详情
console.log(this.detailObj, '===')
getSparringReportDetail({ id: this.detailObj?.id }).then(res => {
let activeNameArr = ['saleSkills', 'fluency', 'phonetic', 'proficiency', 'serviceAttitude']
let itemTypeArr = [1, 2, 3, 4, 5]
for (let i = 0; i < itemTypeArr.length; i++) {
if (res.reportItem.findIndex(item => item.itemType == itemTypeArr[i]) > -1) {
this.activeName = activeNameArr[i];
break
}
}
this.detailInfo = res || {}
this.showPage = true
this.initChart(res)
......
......@@ -302,6 +302,7 @@ export default {
</script>
<style lang="scss" scoped>
.analyse {
padding: 16px;
.statistics {
display: flex;
align-items: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!