Commit d512c54d authored by Wallen姚文辉's avatar Wallen姚文辉

修复bug

parent eed977d4
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>yinhe_test</title><script defer="defer" src="/js/chunk-vendors.822ae491.js"></script><script defer="defer" src="/js/app.3707b63f.js"></script><link href="/css/chunk-vendors.187ae3e6.css" rel="stylesheet"><link href="/css/app.6955fc17.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but yinhe_test doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
\ No newline at end of file
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>yinhe_test</title><script defer="defer" src="/js/chunk-vendors.8f503f07.js"></script><script defer="defer" src="/js/app.5838a547.js"></script><link href="/css/chunk-vendors.187ae3e6.css" rel="stylesheet"><link href="/css/app.6955fc17.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but yinhe_test doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -84,8 +84,8 @@
</P>
<p>
<span v-for="item in story">
<span>{{ item.summary }}:</span><span :style="colorstyle(item.case?item.case.length:0)"
style="margin-right: 3px;">{{ item.case?item.case.length:0
<span>{{ item.summary }}:</span><span :style="colorstyle(item.case ? item.case.length : 0)"
style="margin-right: 3px;">{{ item.case ? item.case.length : 0
}}</span><span>个用例;</span>
</span>
</p>
......@@ -151,7 +151,7 @@
size="15" />
</template>
</Table>
<div v-if="edit" style="margin: 5px;"><Button @click="changeStoryList()">删除未选中</Button></div>
<div v-if="edit" style="margin: 5px;"><Button @click="changeStoryList()">删除未选中</Button></div>
<template v-if="plugs.includes('左移-接口测试')">
<Button shape="circle" style="margin-top: 10px;margin-bottom: 10px;" type="primary">左移-接口测试</Button>
<br>
......@@ -617,11 +617,11 @@ export default {
title: "测试报告",
edit: false,
projects: [],
views:[],
views: [],
iterations: [],
ReC: {
project: null,
view:null,
view: null,
iteration: null
},
testResult: '所有测试用例均已完成,所有bug均已修复,测试通过',
......@@ -781,9 +781,9 @@ export default {
this.$request('post', '/tool/testport/staging', res, this, () => { suback(), a() })
}
},
changeStoryList(){
this.story=this.$refs.stroy.getSelection()
},
changeStoryList() {
this.story = this.$refs.stroy.getSelection()
},
breforesend() {
if (!this.report) return this.$Message.error("请先完善报告信息")
if (this.fugailu < 100) return this.$Message.error("用例覆盖率不足100%(每个需求必须关联测试用例)")
......@@ -871,12 +871,13 @@ export default {
return result
},
getprojects() {
this.$request('get', 'tool/testport/getproject', null, this, (data) => { this.projects = data.data;this.ReC.view=null; this.ReC.iteration = null })
this.$request('get', 'tool/testport/getproject', null, this, (data) => { this.projects = data.data; this.ReC.view = null; this.ReC.iteration = null })
},
getview(project){
this.$request('get', 'tool/testport/view/'+project, null, this, (data) => { this.views = data.data; this.ReC.iteration = null })
getview(project) {
this.$request('get', 'tool/testport/view/' + project, null, this, (data) => { this.views = data.data; this.ReC.iteration = null })
},
getiterations(view) {
if (view==null) return
this.$request('get', 'tool/testport/iteration/' + view, null, this, (data) => { this.iterations = data.data })
}, getReportInfo() {
this.spinShow = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment