|
@@ -231,7 +231,7 @@ export default {
|
|
|
console.log(slotProp)
|
|
|
},
|
|
|
init() {
|
|
|
- console.log(this.drawerData, 210)
|
|
|
+ // console.log(this.drawerData, 210)
|
|
|
this.headerTitle = this.drawerData.headerTitle
|
|
|
this.title = this.headerTitle.search(/质量|效率/) > -1 ? this.drawerData.label || '' : this.drawerData.activeLabel
|
|
|
console.log(this.headerTitle, this.title)
|
|
@@ -260,7 +260,7 @@ export default {
|
|
|
const paging = _.cloneDeep(this.paging)
|
|
|
paging.pageSize = Number.parseInt(pageSize)
|
|
|
this.paging = _.cloneDeep(paging)
|
|
|
- console.log(this.paging, 250)
|
|
|
+ // console.log(this.paging, 250)
|
|
|
},
|
|
|
// 设置标题
|
|
|
setTitle() {
|
|
@@ -590,7 +590,7 @@ export default {
|
|
|
}
|
|
|
if (index === 2) {
|
|
|
if (this.title === '改进项') {
|
|
|
- console.log(593, value)
|
|
|
+ // console.log(593, value)
|
|
|
this.timelineData.secondActive = value
|
|
|
} else {
|
|
|
this.timelineData.secondActive = value || 0
|
|
@@ -619,11 +619,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
if (this.title.search(/改进项/) > -1) {
|
|
|
- if (this.ids.length) {
|
|
|
- this.loading = true
|
|
|
- console.log(624)
|
|
|
- this.dataMarketQualityGetImproveListFn()
|
|
|
- }
|
|
|
+ this.loading = true
|
|
|
+ // console.log(624)
|
|
|
+ this.dataMarketQualityGetImproveListFn()
|
|
|
}
|
|
|
if (this.title.search(/提测报告|准出记录/) > -1) {
|
|
|
if (this.ids.length) {
|
|
@@ -713,7 +711,11 @@ export default {
|
|
|
// 线上问题-改进项半浮层
|
|
|
async dataMarketQualityGetImproveListFn() {
|
|
|
const paging = { ...this.paging }
|
|
|
- const { firstActive, first, secondActive, second } = this.timelineData
|
|
|
+ const { firstActive,
|
|
|
+ // first,
|
|
|
+ secondActive
|
|
|
+ // second
|
|
|
+ } = this.timelineData
|
|
|
const params = {
|
|
|
...paging,
|
|
|
isOverDue: 1,
|
|
@@ -722,7 +724,7 @@ export default {
|
|
|
if (firstActive) {
|
|
|
params.status = timelineList.ImprovementsOverRate[firstActive]
|
|
|
}
|
|
|
- console.log(722, secondActive)
|
|
|
+ // console.log(722, secondActive)
|
|
|
if (secondActive === 2) {
|
|
|
params.priority = '高优'
|
|
|
}
|
|
@@ -928,7 +930,7 @@ export default {
|
|
|
paging.pageTotal = this.tableListOld.length
|
|
|
paging.pageTotal = this.sourceData[0].IdList.length
|
|
|
this.paging = { ...paging }
|
|
|
- console.log(847, this.paging)
|
|
|
+ // console.log(847, this.paging)
|
|
|
this.loading = false
|
|
|
}
|
|
|
},
|
|
@@ -1134,7 +1136,7 @@ export default {
|
|
|
if (this.drawerData.moduleName && this.drawerData.moduleName === '回滚次数') {
|
|
|
return true
|
|
|
}
|
|
|
- console.log(1049, this.title, this.headerTitle)
|
|
|
+ // console.log(1049, this.title, this.headerTitle)
|
|
|
if (this.headerTitle.search(/效率/) > -1 && this.title.search(/需求周期|任务周期|需求人力|任务人力/) > -1) {
|
|
|
return false
|
|
|
}
|