|
@@ -31,11 +31,11 @@
|
|
v-show="timeShow"
|
|
v-show="timeShow"
|
|
v-model="timeInterval"
|
|
v-model="timeInterval"
|
|
size="medium"
|
|
size="medium"
|
|
- type="daterange"
|
|
|
|
|
|
+ type="datetimerange"
|
|
range-separator="至"
|
|
range-separator="至"
|
|
- start-placeholder="开始日期"
|
|
|
|
- end-placeholder="结束日期"
|
|
|
|
- value-format="timestamp"
|
|
|
|
|
|
+ start-placeholder="创建开始时间"
|
|
|
|
+ end-placeholder="创建结束时间"
|
|
|
|
+ clearable
|
|
/>
|
|
/>
|
|
<div class="set-locate">
|
|
<div class="set-locate">
|
|
<el-table
|
|
<el-table
|
|
@@ -183,7 +183,10 @@
|
|
align="center"
|
|
align="center"
|
|
/>
|
|
/>
|
|
</el-table>
|
|
</el-table>
|
|
- <p class="titleDescription">标题说明<i class="el-icon-question" /> </p>
|
|
|
|
|
|
+ <el-tooltip effect="dark" placement="bottom">
|
|
|
|
+ <div slot="content"><div>总数: 这个任务下的所有有效缺陷,不包含无效bug</div> <div style="margin:5px 0">已解决: 状态为已完成的缺陷</div><div style="margin:5px 0">遗留bug: 状态不是已完成状态的bug</div><div style="margin:5px 0">reopen率: reopen次数/bug总数</div><div style="margin:5px 0">过夜: 创建时间-修复时间 >24h/bug总数</div><div style="margin:5px 0">修复时长: 创建时间-修复时间,不包含节假日</div><div style="margin:5px 0">其他: 除p0,p1级之外的bug</div><div>无效bug: 修复结果为无效 或者重复的bug</div></div>
|
|
|
|
+ <span class="titleDescription">统计规则说明<i class="el-icon-question" /> </span>
|
|
|
|
+ </el-tooltip>
|
|
</div>
|
|
</div>
|
|
<el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[5, 10, 20]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
|
|
<el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[5, 10, 20]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
|
|
</div>
|
|
</div>
|
|
@@ -490,9 +493,17 @@ export default {
|
|
this.indexPage.bizId = this.bizJson
|
|
this.indexPage.bizId = this.bizJson
|
|
this.indexPage.pageSize = this.pageSize
|
|
this.indexPage.pageSize = this.pageSize
|
|
this.indexPage.curIndex = this.curIndex
|
|
this.indexPage.curIndex = this.curIndex
|
|
|
|
+ if (this.timeShow) {
|
|
|
|
+ this.indexPage.gmtCreateBegin = this.timeInterval[0]
|
|
|
|
+ this.indexPage.gmtCreateEnd = this.timeInterval[1]
|
|
|
|
+ } else {
|
|
|
|
+ this.indexPage.gmtCreateBegin = ''
|
|
|
|
+ this.indexPage.gmtCreateEnd = ''
|
|
|
|
+ }
|
|
bugList(this.indexPage).then(res => {
|
|
bugList(this.indexPage).then(res => {
|
|
this.tableData = res.data
|
|
this.tableData = res.data
|
|
this.total = res.total
|
|
this.total = res.total
|
|
|
|
+ this.statistics = res.query
|
|
})
|
|
})
|
|
},
|
|
},
|
|
dataQueryInSearch(e) {
|
|
dataQueryInSearch(e) {
|
|
@@ -672,4 +683,5 @@ export default {
|
|
font-size 12px
|
|
font-size 12px
|
|
color rgba(244,121,121,1)
|
|
color rgba(244,121,121,1)
|
|
margin 30px 0px
|
|
margin 30px 0px
|
|
|
|
+ display inline-block
|
|
</style>
|
|
</style>
|