pdfZyb.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. <template>
  2. <view class="page-wrappe">
  3. <view id="pdfContainer" class="pdf-container" :style="{'transform':'scale('+scale+')', 'height': containerScaledHeight + 'px'}">
  4. <!-- 封面 -->
  5. <view class="cd_box fm2 adffc" style="margin-top: 20px;height: 868px;">
  6. <img class="fm2-logo" src="https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/fm_logo.png">
  7. <img class="fm2-perill" src="https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/fm_perill.png">
  8. <view class="fm2-line"></view>
  9. <view class="fm2-p">团队发展动态评估报告(专业版)</view>
  10. <div class="fm2-texts adf" style="margin-top: 5px;">
  11. <div class="fm2-texts-pre" style="margin-top: 10px;"><span style="letter-spacing: 2.5px;">报告撰写人:</span>{{ 'Willlian' }}</div>
  12. <div class="fm2-texts-pre" style="margin-top: 10px;"><span style="letter-spacing: 6px;">客户名称:</span>{{ '甜梦(中国)巧克力有限公司' }}</div>
  13. <div class="fm2-texts-pre" style="margin-top: 10px;"><span style="letter-spacing: 6px;">团队人数:</span>{{ 12 }}</div>
  14. <div class="fm2-texts-pre" style="margin-top: 10px;"><span style="letter-spacing: 6px;">报告时间:</span>{{ '2025-11-25' }}</div>
  15. <div class="fm2-texts-pre" style="margin-top: 10px;"><span>团队结构类型:</span>{{ '团队结构类型:' }}</div>
  16. <div class="fm2-texts-pre" style="margin-top: 10px;"><span>团队职能类型:</span>{{ '团队职能类型:' }}</div>
  17. </div>
  18. </view>
  19. <!-- 介绍 -->
  20. <view class="cd_box">
  21. <view class="v2-top adfacjb" :style="{'background-image':'url(https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/intro_title_bg.png)'}">
  22. <view class="vt-left">介绍<span>PERILL模型简介</span></view>
  23. <view class="vt-right">团队发展动态评估报告(专业版)</view>
  24. </view>
  25. <view class="v2-box">
  26. <img class="vb-img1" :src="'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+'intro'+'_box_img1.png'">
  27. <img class="vb-img2" :src="'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+'intro'+'_box_img2.png'">
  28. <view class="v2-p">PERILL团队发展动态评估源于团队教练辅导领域的先驱、管理思维与团队绩效领域的权威、全球顶尖团队教练David Clutterbuck教授及其团队通过深入研究,提炼出影响团队绩效的140多个基于实证的因素,整合而成的团队诊断和提升工具-PERILL模型。</view>
  29. <view class="v2-p" style="margin-top: 8px;">创衡国际基于10多年来在全球与200多家具有前瞻性的国际公司以及国内具有行业代表性公司的合作经验,结合CCMI的PERILL测评工具,在中国推出的团队发展动态评估系统,旨在帮助团队更全面、更有效地从六个维度评估团队的发展现状,为支持团队成为高价值团队提供全景式的客观诊断。</view>
  30. <view class="v2-p" style="margin-top: 8px;">PERILL团队发展动态评估的主体内容由<span>36</span>个关于团队的描述组成。</view>
  31. </view>
  32. <view class="v2-six">
  33. <view class="vsix-title">PERILL六大纬度</view>
  34. <view class="vsix-p">PERILL诊断提供了一个复杂的团队系统概览,它并非针对孤立的问题,也不是简单的优缺点,而是着眼于团队系统的复杂性。它 通过6个影响因素(如下所述)提出问题,以揭示团队系统各要素之间的联系,以及这些联系如何影响团队的高效运作能力。</view>
  35. <view class="vsix-boxs">
  36. <view class="vsb adfac" v-for="(item,index) in sixWd" :key="index">
  37. <img class="vsb-img" :src="item.image"/>
  38. <view class="vsb-right">
  39. <view class="vsbr-top adfac">
  40. <view class="vsbrt-type" :style="{'background':item.color}">{{ item.type }}</view>
  41. <view class="vsbrt-title" :style="{'color':item.color}">{{ item.title }}</view>
  42. </view>
  43. <view class="vsbr-desc">{{ item.desc }}</view>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. <!-- 总体诊断分析 -->
  50. <view class="cd_box adffc">
  51. <view class="v2-top adfacjb" :style="{'background-image':'url(https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+'intro'+'_top_title_bg2.png)'}">
  52. <view class="vt-left">总体诊断分析</view>
  53. <view class="vt-right">团队发展动态评估报告(专业版)</view>
  54. </view>
  55. <view class="v2-box" @click="downloadZtzdfxImg">
  56. <img class="vb-img1" :src="'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+'intro'+'_box_img1.png'">
  57. <img class="vb-img2" :src="'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+'intro'+'_box_img2.png'">
  58. <view class="v2-p2">报告的核心是PERILL诊断分析下的整体团队表现。这包括团队在PERILL模型每个关键要素上的综合得分,通过结合得分和置信指数,我们能够展示出高功能领域和低功能域。</view>
  59. <div class="v2-p2" style="margin-top: 16px;">下面图中的位置标记显示了团队按主题划分的总分。</div>
  60. <div class="vb-category">
  61. <div class="vbc-pre adfac">
  62. <div class="vbcp-yuan y1"></div>
  63. <div class="vbcp-text">团队Leader</div>
  64. </div>
  65. <div class="vbc-pre adfac">
  66. <div class="vbcp-yuan y2"></div>
  67. <div class="vbcp-text">团队Member</div>
  68. </div>
  69. <div class="vbc-pre adfac">
  70. <div class="vbcp-yuan y3"></div>
  71. <div class="vbcp-text">利益相关方Stakeholder</div>
  72. </div>
  73. <div class="vbc-pre adfac">
  74. <div class="vbcp-yuan y4"></div>
  75. <div class="vbcp-text">赞助人Sponsor</div>
  76. </div>
  77. </div>
  78. <view style="width:100%;height:360px;margin: 0 auto;" class="pdfEchart">
  79. <l-echart ref="ztzdfxRef" :canvas2d="true" @finished="initZtzdfxChart" style="width: 100%;height: 100%;"></l-echart>
  80. </view>
  81. </view>
  82. <view class="v2-data">
  83. <view class="vd-title" :style="{'background-image':'url(https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+'intro'+'_title_bg1.png)'}">诊断结果</view>
  84. <view class="v2-p" v-html="'后端返回数据后端返回数据 后端返回数据 '"></view>
  85. </view>
  86. <view class="v2-data" style="flex: 1;margin-top: 20px;">
  87. <view class="vd-title vt2" :style="{'background-image':'url(https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+'intro'+'_title_bg2.png)'}">团队提升&教练建议</view>
  88. <view class="v2-p" v-html="'后端返回数据后端返回数据 后端返回数据 '"></view>
  89. </view>
  90. </view>
  91. <!-- 多维度 -->
  92. <template v-if="reportData&&reportData.dimensionAnalysis&&reportData.dimensionAnalysis.length">
  93. <div class="cd_box adffc" style="border: none;" v-for="(item,index) in reportData.dimensionAnalysis" :key="index">
  94. <div class="v2-top adfacjb" :style="{'background-image':'url('+'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+typeDict[item.title]+'_title_bg.png)'}">
  95. <div class="vt-left" :class="{'black':item.title==='目的与动机'}">{{ item.title }}</div>
  96. <div class="vt-right">团队发展动态评估报告(专业版)</div>
  97. </div>
  98. <div class="v2-box" :style="{'border':'1px solid '+item.bcolor}">
  99. <img class="vb-img1" :src="'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+typeDict[item.title]+'_box_img1.png'">
  100. <img class="vb-img2" :src="'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+typeDict[item.title]+'_box_img2.png'">
  101. <div class="v2-p2">{{ item.desc }}</div>
  102. <div class="v2-p2" style="margin-top: 16px;">评分总体分布</div>
  103. <div class="vb-table" :style="{'border':'1px solid '+item.bcolor,'margin-top':'22px'}">
  104. <div class="vbt-th adfac" :class="{'black':item.title==='目的与动机'}" :style="{'background':item.thcolor}">
  105. <div class="vbtt-w1">主题</div>
  106. <div class="vbtt-w2">最低分</div>
  107. <div class="vbtt-w2">平均分</div>
  108. <div class="vbtt-w2">最高分</div>
  109. <div class="vbtt-w3">问卷陈述</div>
  110. </div>
  111. <div class="vbt-pre adfac" v-for="i in 5" :key="item">
  112. <div class="vbtp-left vbtt-w1 adfacjc" :class="{'black':item.title==='目的与动机'}" :style="{'background':item.titlecolor,'padding':'0 16px'}">{{ '宗旨共融同心共识' }}</div>
  113. <div class="vbtp-num vbtt-w2" :style="{'border-bottom':'1px solid '+item.bcolor}">{{ 3 }}</div>
  114. <div class="vbtp-num vbtt-w2 green" :style="{'border-bottom':'1px solid '+item.bcolor}">{{ 8 }}</div>
  115. <div class="vbtp-num vbtt-w2" :style="{'border-bottom':'1px solid '+item.bcolor}">{{ 1 }}</div>
  116. <div class="vbtp-desc" :style="{'border-bottom':'1px solid '+item.bcolor}">
  117. <div class="vbtpd-title">{{ '团队成员能够共同阐述其共享目的,并且在团队使命上保持高度一致。' }}</div>
  118. <div class="xr_tb adfac">
  119. <div class="xt_pre p1"></div>
  120. <div class="xt_pre p2"></div>
  121. <div class="xt_pre p3"></div>
  122. <div class="xt_score adfac" :style="{'left':(4*2)+'%','width':((25-4)*2)+'%'}">
  123. <div class="xts_num red">{{ 4 }}</div>
  124. <div class="xts_box"></div>
  125. <div class="xts_num green">{{ 25 }}</div>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="v2-data" :style="{'border':'1px solid '+item.bcolor}">
  133. <div class="vd-title vt3" :class="{'black':item.title==='目的与动机'}" :style="{'background-image':'url(https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+typeDict[item.title]+'_title_bg1.png)'}">诊断结果</div>
  134. <div class="v2-p3">纬度得分</div>
  135. <div class="vd-wd adfac" :style="{'background':item.wddf}">
  136. <div class="vdwd-pre">维度加权总分:<span>{{ 34 }}</span></div>
  137. <div class="vdwd-pre vp">维度同意度总分(未加权):<span>{{ 34 }}</span></div>
  138. <div class="vdwd-pre">维度权重:<span>{{ 34 }}</span></div>
  139. </div>
  140. <div class="v2-p3" style="margin-top: 16px;">团队维度诊断结果</div>
  141. <div class="v2-p" style="margin-top: 8px;" v-html="'后端返回数据 后端返回数据 后端返回数据 后端返回数据 后端返回数据 后端返回数据 '"></div>
  142. </div>
  143. <div class="v2-data" :style="{'border':'1px solid '+item.bcolor}" style="flex: 1;margin-top: 15px;">
  144. <div class="vd-title vt3" :class="{'black':item.title==='目的与动机'}" :style="{'background-image':'url(https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/'+typeDict[item.title]+'_title_bg1.png)'}">诊断建议</div>
  145. <div class="v2-p" v-html="'后端返回数据 后端返回数据 后端返回数据 后端返回数据 后端返回数据 后端返回数据 '"></div>
  146. </div>
  147. </div>
  148. </template>
  149. </view>
  150. </view>
  151. </template>
  152. <script name="">
  153. import { BaseApi } from '@/http/baseApi.js';
  154. import * as echarts from '@/pagesHome/components/lime-echart/static/echarts.min.js'
  155. import lEchart from '@/pagesHome/components/lime-echart/components/l-echart/l-echart.vue'
  156. export default {
  157. name: 'ZtzdfxChart',
  158. // props: {
  159. // reportData: {
  160. // type: Object,
  161. // default: null
  162. // }
  163. // },
  164. components:{ lEchart },
  165. data() {
  166. return {
  167. reportData: null,
  168. isChartReady: false,
  169. scale:1,
  170. originalContainerHeight: 0,
  171. containerScaledHeight: 'auto',
  172. typeDict: {
  173. '目的与动机': 'zzdj',
  174. '外部流程及系统与架构': 'wbjg',
  175. '人际关系': 'rjgx',
  176. '内部流程及系统与架构': 'nbjg',
  177. '学习': 'xx',
  178. '领导力': 'ldl'
  179. },
  180. sixWd: [
  181. {
  182. image: 'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/intro_img_p.png',
  183. type: 'P',
  184. title: '宗旨与动机',
  185. desc: '指团队共享的目的和存在的意义, 包含对共同的愿景,目标和优先级的清晰度。',
  186. color: '#833479'
  187. },
  188. {
  189. image: 'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/intro_img_e.png',
  190. type: 'E',
  191. title: '外部流程、系统与结构',
  192. desc: '指团队与其外部利益相关者 - 客户,供应商,股东,组织内的其他团队等的互动关联。',
  193. color: '#199C9C'
  194. },
  195. {
  196. image: 'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/intro_img_r.png',
  197. type: 'R',
  198. title: '人际关系',
  199. desc: '指团队成员如何共同工作–他们是否相互尊重对方的能力,足够心理安全以能够坦诚相对,真正关心彼此的幸福感。',
  200. color: '#FEDA60'
  201. },
  202. {
  203. image: 'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/intro_img_i.png',
  204. type: 'I',
  205. title: '内部流程、系统与结构',
  206. desc: '指团队如何管理工作流程,互相支持和高质量的沟通和决策(包括工作任务和团队感情)。',
  207. color: '#7AABED'
  208. },
  209. {
  210. image: 'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/intro_img_l.png',
  211. type: 'L',
  212. title: '学习',
  213. desc: '指团队应对多变的环境和保持持续的进步和成长的能力。团队如何提高绩效(如何完成今天的任务)、能力(如何提高技能和资源以处理明天的任务)和容量(长期的愿景, 如何用更少的资源做更多的事情)',
  214. color: '#8093A3'
  215. },
  216. {
  217. image: 'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/versionTwo/intro_img_l2.png',
  218. type: 'L',
  219. title: '领导力',
  220. desc: '指团队认为需要怎样的领导行为能够让他们,作为个人或者团队做到最好。团队可以和他们的领导者讨论他们的责任,以帮助领导者成为他们需要的领导者。',
  221. color: '#0096D8'
  222. }
  223. ],
  224. };
  225. },
  226. mounted() {
  227. // reportData.value = props.reportData;
  228. this.reportData = {
  229. dimensionAnalysis:[
  230. {title:'目的与动机',bcolor:'#FFE796',thcolor:'#FFD750',titlecolor:'#FFE796',wddf:'linear-gradient( 90deg, rgba(255,215,80,0.34) 0%, rgba(251,225,130,0.09) 100%)',
  231. desc:`「宗旨与动机」维度,我们旨在探究是否存在一个清晰的存在理由和明确的方向,能够激发团队成员的动力并吸引他们的想象力,以及个人与集体的身份认同是否围绕共同的目标,并达成一致。`},
  232. {title:'外部流程及系统与架构',bcolor:'#E4D2E1',thcolor:'#833478',titlecolor:'#BA8EB4',wddf:'linear-gradient( 90deg, #F5EFF5 0%, #FAF2F9 100%)',
  233. desc:`「外部流程、系统与结构」维度,我们旨在探究团队如何与各种利益相关者互动,他们与团队的利益相关方各自如何寻求了解对方,以及现有系统和流程的有效性,以帮助管理不同的期望和需求。`},
  234. {title:'人际关系',bcolor:'#B3DEDE',thcolor:'#199C9C',titlecolor:'#66BDBD',wddf:'linear-gradient( 90deg, #E8F5F5 0%, #F0F8F8 100%)',
  235. desc:`「人际关系」维度,我们旨在探究团队成员如何相互交流、信任程度、尊重和关心的程度,以及团队成员之间的关系如何促进(或破坏)协作。`},
  236. {title:'内部流程及系统与架构',bcolor:'#C7DCF8',thcolor:'#7AACED',titlecolor:'#95BDF1',wddf:'linear-gradient( 90deg, #E3ECF8 0%, #F2F5F9 100%)',
  237. desc:`「内部流程、系统与结构」维度,我们旨在探究团队如何在平衡责任与自主权方面进行协作。我们关注团队的敏捷程度、沟通方式以及决策过程的有效性。`},
  238. {title:'学习',bcolor:'#E6EAED',thcolor:'#4D697E',titlecolor:'#8093A3',wddf:'linear-gradient( 90deg, #EDF0F2 0%, #F2F4F6 100%)',
  239. desc:`「学习」维度,我们旨在探究团队如何提高其绩效、技能和资源以应对当前和未来的任务。我们还希望了解团队如何管理能力和提高效率。`},
  240. {title:'领导力',bcolor:'#D4EDF8',thcolor:'#0599D8',titlecolor:'#3BB6D9',wddf:'linear-gradient( 90deg, #E6F5FB 0%, #F3FCFB 100%)',
  241. desc:`「领导力」维度,我们旨在探究领导素质和行为如何对团队功能和其他因素产生调节影响,以及这是积极的还是消极的。`}
  242. ]
  243. };
  244. this.calculateScaleAndPosition();
  245. uni.onWindowResize(() => {
  246. this.calculateScaleAndPosition();
  247. });
  248. },
  249. methods: {
  250. calculateScaleAndPosition() {
  251. uni.getSystemInfo({
  252. success: (res) => {
  253. const screenWidth = res.windowWidth; // 手机屏幕的宽度
  254. const pcContentWidth = 630; // PC端内容的原始宽度
  255. this.scale = screenWidth / pcContentWidth;
  256. this.$nextTick(() => {
  257. if (this.$refs.ztzdfxRef) {
  258. this.initZtzdfxChart();
  259. }
  260. });
  261. }
  262. });
  263. },
  264. calculatePdfContainerHeight() {
  265. uni.createSelectorQuery().in(this).select('#pdfContainer').boundingClientRect(rect => {
  266. if (rect) {
  267. this.originalContainerHeight = rect.height;
  268. this.containerScaledHeight = this.originalContainerHeight * this.scale;
  269. // console.log('原始高度:', this.originalContainerHeight, '缩放比例:', this.scale, '缩放后高度:', this.containerScaledHeight);
  270. }
  271. }).exec();
  272. },
  273. downloadZtzdfxImg(){
  274. if (!this.isChartReady) return console.log('图表尚未准备好');
  275. const chartRef = this.$refs.ztzdfxRef;
  276. if (!chartRef) return console.log('无法找到图表组件');
  277. chartRef.canvasToTempFilePath({
  278. success: async (res) => {
  279. const imgUrl = await this.uploadFilePromise(res.tempFilePath);
  280. console.log(imgUrl,'imgUrl');
  281. },
  282. fail: (err) => {
  283. console.log('生成图片失败:', err);
  284. }
  285. });
  286. },
  287. uploadFilePromise(url) {
  288. return new Promise((resolve, reject) => {
  289. let a = uni.uploadFile({
  290. url: BaseApi+'/uploadFile',
  291. filePath: url,
  292. name: 'file',
  293. success: (res) => {
  294. setTimeout(() => {
  295. let data = JSON.parse(res.data)
  296. if(data&&data.code===0){
  297. resolve(data.data);
  298. }else this.$showToast(data?.msg)
  299. }, 1000);
  300. },
  301. fail: err =>{
  302. resolve('');
  303. }
  304. });
  305. });
  306. },
  307. async initZtzdfxChart() {
  308. const chart = await this.$refs.ztzdfxRef.init(echarts);
  309. let option = {
  310. graphic: [
  311. {
  312. type: 'image',
  313. id: 'radar-bg',
  314. z: -1,
  315. bounding: 'raw',
  316. left: 'center',
  317. top: 'center',
  318. style: {
  319. image:'https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/six_chart_bg.png',
  320. width: 360*this.scale-20,
  321. height: 360*this.scale-20,
  322. opacity: 1
  323. }
  324. }
  325. ],
  326. radar: {
  327. // shape: 'circle',
  328. indicator: new Array(36).fill(''),
  329. axisName: {
  330. show: false
  331. },
  332. splitArea:{
  333. show:false
  334. },
  335. splitLine: {
  336. show: false
  337. },
  338. axisLine: {
  339. show: false
  340. },
  341. startAngle: 95
  342. },
  343. series: [
  344. {
  345. type: 'radar',
  346. data: [
  347. {
  348. value: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],
  349. itemStyle: {
  350. color: '#FFD650'
  351. },
  352. lineStyle: {
  353. color: '#FFD650',
  354. width:2
  355. },
  356. areaStyle: {
  357. color: 'rgba(255, 255, 255, 0.4)'
  358. },
  359. symbolSize: 4
  360. },
  361. {
  362. value: [31,32,33,34,6,7,8,9,18,19,20,21,22,28,29,35,36,23,24,25,10,11,12,13,14,15,16,17,26,27,1,2,3,4,5,30],
  363. itemStyle: {
  364. color: '#751E6A'
  365. },
  366. lineStyle: {
  367. color: '#751E6A',
  368. width:2
  369. },
  370. areaStyle: {
  371. color: 'rgba(255, 255, 255, 0.4)'
  372. },
  373. symbolSize: 4
  374. },
  375. {
  376. value: [21,22,28,29,35,36,23,31,32,33,34,6,7,8,9,18,19,20,24,25,10,11,27,1,2,3,4,5,30,12,13,14,15,16,17,26],
  377. itemStyle: {
  378. color: '#012846'
  379. },
  380. lineStyle: {
  381. color: '#012846',
  382. width:2
  383. },
  384. areaStyle: {
  385. color: 'rgba(255, 255, 255, 0.4)'
  386. },
  387. symbolSize: 4
  388. },
  389. {
  390. value: [28,29,35,36,23,24,27,18,19,20,21,22,11,25,10,31,32,33,34,6,7,8,9,18,19,20,21,22,11,12,13,14,15,16,17,26],
  391. itemStyle: {
  392. color: '#AFCDF5'
  393. },
  394. lineStyle: {
  395. color: '#AFCDF5',
  396. width:2
  397. },
  398. areaStyle: {
  399. color: 'rgba(255, 255, 255, 0.4)'
  400. },
  401. symbolSize: 4
  402. }
  403. ]
  404. }
  405. ]
  406. };
  407. chart.setOption(option);
  408. this.isChartReady = true;
  409. this.$nextTick(() => {
  410. this.calculatePdfContainerHeight();
  411. });
  412. },
  413. }
  414. };
  415. </script>
  416. <style scoped lang="scss">
  417. .page-wrappe{
  418. width: 100%;
  419. background: #FFFFFF;
  420. overflow-x: hidden;
  421. overflow-y: auto;
  422. .pdf-container{
  423. width: 630px;
  424. padding: 0 20rpx;
  425. box-sizing: border-box;
  426. transform-origin: top left;
  427. }
  428. }
  429. @import '../static/pdf.scss';
  430. </style>