@ -17,20 +17,17 @@
< el -link :type ="subPage=='xmReport'?'primary':''" @click ="subPage='xmReport'" > < i class = "el-icon-s-data" > < / i > & nbsp ; 报表 < / e l - l i n k >
< el -divider direction = "vertical" >
< / e l - d i v i d e r >
< el -link :type ="subPage=='testRpt'?'primary':''" @click ="subPage='testRpt'" > < span > < i class = "el-icon-pie-chart" > < / i > & nbsp ; 报告 < / span > < / e l - l i n k >
< span style = "float:right;" >
< span style = "float:right;" >
< span >
< el -tag style = "margin-top:5px;" v-for ="(item,index) in formatDictsWithClass(dicts,'testPlanStatus',xmTestPlan.status)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< span style = "color:#C0C4CC;" > & nbsp ; 通过率 & nbsp ; < / span > { { calcTongGuoRate } } & nbsp ; & nbsp ; < span style = "color:#C0C4CC;" > & nbsp ; 已测 / 总用例 & nbsp ; < / span > { { calcYiCeshiCases } } & nbsp ; / & n b s p ; { { c a l c T o t a l C a s e s } } & n b s p ; & n b s p ;
< div style = "display:inline-flex" > < el -progress style = "width:100px;" :stroke-width ="22" :text-inside ="true" : status = "calcYiCeshiCases>0 && xmTestPlan.errCases<=0 ?'success':'exception'" :percentage ="calcProgress" > < / e l - p r o g r e s s >
< / div >
< / span >
< span v-if ="subPage=='testRpt'" >
< span >
< el -divider direction = "vertical" > < / e l - d i v i d e r >
< el -button @click ="calcRptData" icon = "el-icon-video-play" > 统计 < / e l - b u t t o n >
< el -button @click ="showExportToolBar" > 导出 < / el -button >
< el -button @click ="showRptConfig" icon = "el-icon-s-tools" > 配置报告 < / e l - b u t t o n >
< el -button @click ="calcRptData" icon = "el-icon-video-play" > 统计 < / e l - b u t t o n >
< / span >
< / span >
< / e l - r o w >
@ -43,7 +40,7 @@
< / e l - r o w >
< el -row v-if ="subPage=='testRpt'" >
< xm -test -plan -rpt key = "rpt" ref = "rpt" :xm-test-casedb ="xmTestCasedb" :xm-test-plan ="xmTestPlan" :xm-product ="{id:xmTestCasedb.productId,productName:xmTestCasedb.productName}" :xm-project ="{id:xmTestPlan.projectId,name:xmTestPlan.projectName}" category = "测试级" :is-rpt-show ="true" > < / x m - t e s t - p l a n - r p t >
< xm -test -plan -rpt key = "rpt" ref = "rpt" :xm-test-casedb ="xmTestCasedb" :xm-test-plan ="xmTestPlan" :xm-product ="{id:xmTestCasedb.productId,productName:xmTestCasedb.productName}" :xm-project ="{id:xmTestPlan.projectId,name:xmTestPlan.projectName}" category = "测试级" > < / x m - t e s t - p l a n - r p t >
< / e l - r o w >
< el -row v-if ="subPage=='xmReport'" >