|
@@ -111,7 +111,7 @@
|
|
<span>总体诊断分析</span>
|
|
<span>总体诊断分析</span>
|
|
</div>
|
|
</div>
|
|
<p class="p2" style="margin-top: 43px;">{{ reportData?.overall?.diagResult }}</p>
|
|
<p class="p2" style="margin-top: 43px;">{{ reportData?.overall?.diagResult }}</p>
|
|
- <div ref="zttdznRef" style="width: 100%; height: 350px;margin-top: 20px;"></div>
|
|
|
|
|
|
+ <div class="pdfEchart" id="zttdznRef" ref="zttdznRef" style="width: 100%; height: 350px;margin-top: 20px;"></div>
|
|
<div class="bp" style="margin-top: 40px;">诊断结果</div>
|
|
<div class="bp" style="margin-top: 40px;">诊断结果</div>
|
|
<p style="margin-top: 10px;">{{ reportData?.overall?.overall_analysis }}</p>
|
|
<p style="margin-top: 10px;">{{ reportData?.overall?.overall_analysis }}</p>
|
|
</div>
|
|
</div>
|
|
@@ -278,7 +278,7 @@
|
|
<span>{{ rd?.performanceRatings?.title }}</span>
|
|
<span>{{ rd?.performanceRatings?.title }}</span>
|
|
</div>
|
|
</div>
|
|
<div class="bp" style="margin-top: 24px;">评分总体分布</div>
|
|
<div class="bp" style="margin-top: 24px;">评分总体分布</div>
|
|
- <div :id="'pfztfbRef'+ridx" style="width: 100%; height: 200px;"></div>
|
|
|
|
|
|
+ <div :id="'pfztfbRef'+ridx" style="width: 100%; height: 200px;" class="pdfEchart"></div>
|
|
<div class="bp" style="margin-top: 7px;">均分及差异分析</div>
|
|
<div class="bp" style="margin-top: 7px;">均分及差异分析</div>
|
|
<div class="cyfx_boxs">
|
|
<div class="cyfx_boxs">
|
|
<div class="cyfxb_box" style="border-left: none;">
|
|
<div class="cyfxb_box" style="border-left: none;">
|
|
@@ -778,8 +778,10 @@
|
|
const pjgxRef = ref(null);
|
|
const pjgxRef = ref(null);
|
|
const pageNum = ref('');
|
|
const pageNum = ref('');
|
|
const membersPageCount = ref(0);
|
|
const membersPageCount = ref(0);
|
|
|
|
+ const optionsMap = new Map();
|
|
const datetime = proxy.parseTime(new Date(), '{yy}-{mm}-{dd} {hh}:{ii}');
|
|
const datetime = proxy.parseTime(new Date(), '{yy}-{mm}-{dd} {hh}:{ii}');
|
|
const { UserCategory} = proxy.useDict("UserCategory");
|
|
const { UserCategory} = proxy.useDict("UserCategory");
|
|
|
|
+ const emits = defineEmits(['optionsMaps']);
|
|
|
|
|
|
const initZttdznChart = () => {
|
|
const initZttdznChart = () => {
|
|
let myChart = echarts.init(zttdznRef.value);
|
|
let myChart = echarts.init(zttdznRef.value);
|
|
@@ -819,10 +821,11 @@
|
|
}
|
|
}
|
|
]
|
|
]
|
|
};
|
|
};
|
|
|
|
+ optionsMap.set("zttdznRef_copy", option);
|
|
myChart.setOption(option)
|
|
myChart.setOption(option)
|
|
}
|
|
}
|
|
|
|
|
|
- const initPfztfbChart = (dom,report) => {
|
|
|
|
|
|
+ const initPfztfbChart = (dom,report,id) => {
|
|
let myChart = echarts.init(dom);
|
|
let myChart = echarts.init(dom);
|
|
let option = {
|
|
let option = {
|
|
tooltip: {
|
|
tooltip: {
|
|
@@ -861,6 +864,7 @@
|
|
}
|
|
}
|
|
]
|
|
]
|
|
};
|
|
};
|
|
|
|
+ optionsMap.set(id+'_copy', option);
|
|
myChart.setOption(option)
|
|
myChart.setOption(option)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -881,7 +885,10 @@
|
|
nextTick(()=>{
|
|
nextTick(()=>{
|
|
reportData.value?.dimensionAnalysis?.forEach((item,index)=>{
|
|
reportData.value?.dimensionAnalysis?.forEach((item,index)=>{
|
|
let dom = document.getElementById(`pfztfbRef${index}`)
|
|
let dom = document.getElementById(`pfztfbRef${index}`)
|
|
- initPfztfbChart(dom,item)
|
|
|
|
|
|
+ initPfztfbChart(dom,item,`pfztfbRef${index}`);
|
|
|
|
+ if(index===reportData.value?.dimensionAnalysis?.length-1){
|
|
|
|
+ emits('optionsMaps', optionsMap);
|
|
|
|
+ }
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}
|
|
}
|