|
@@ -70,7 +70,7 @@ export default {
|
|
this.requireList = { toType: '缺陷', xaxis: this.bugPriority, title: '新增缺陷', yaxis: yaxis, dataIndex: index }
|
|
this.requireList = { toType: '缺陷', xaxis: this.bugPriority, title: '新增缺陷', yaxis: yaxis, dataIndex: index }
|
|
} else if (index === 3) {
|
|
} else if (index === 3) {
|
|
const yaxis = this.setList(data, index)
|
|
const yaxis = this.setList(data, index)
|
|
- this.requireList = { toType: '缺陷', xaxis: this.bugPrioritys, title: '缺陷修复时长', yaxis: yaxis, dataIndex: 0 }
|
|
|
|
|
|
+ this.requireList = { toType: '缺陷', xaxis: this.bugPrioritys, title: '缺陷修复时长', yaxis: yaxis, dataIndex: 1 }
|
|
} else if (index === 5) {
|
|
} else if (index === 5) {
|
|
const yaxis = data.reportBugs.map(item => { return item.id })
|
|
const yaxis = data.reportBugs.map(item => { return item.id })
|
|
this.requireList = { toType: '缺陷', title: '累计reopen', yaxis: yaxis, idList: yaxis }
|
|
this.requireList = { toType: '缺陷', title: '累计reopen', yaxis: yaxis, idList: yaxis }
|
|
@@ -79,7 +79,7 @@ export default {
|
|
const [a, s, d, f, g, h, j, k, l] = [[], [], [], [], [], [], [], [], []]
|
|
const [a, s, d, f, g, h, j, k, l] = [[], [], [], [], [], [], [], [], []]
|
|
if (data.reportBugs[0]) {
|
|
if (data.reportBugs[0]) {
|
|
data.reportBugs.map(item => {
|
|
data.reportBugs.map(item => {
|
|
- if (item.isRepaired && item.repairTime < 24) { // 24小时内修复
|
|
|
|
|
|
+ if (item.isRepaired && Number(item.repairTime) < 24) { // 24小时内修复
|
|
f.push(item.id) // 全部
|
|
f.push(item.id) // 全部
|
|
if (item.priority < 2) { g.push(item.id) } // P0&P1
|
|
if (item.priority < 2) { g.push(item.id) } // P0&P1
|
|
if (item.priority > 1) { h.push(item.id) } // P1以上
|
|
if (item.priority > 1) { h.push(item.id) } // P1以上
|