|
@@ -187,7 +187,7 @@ export default {
|
|
|
|
|
|
watch: {
|
|
|
drawerData() {
|
|
|
- this.init()
|
|
|
+ this.init()
|
|
|
},
|
|
|
openDrawer(value) {
|
|
|
this.drawer = value
|
|
@@ -208,7 +208,7 @@ export default {
|
|
|
},
|
|
|
init() {
|
|
|
this.headerTitle = this.drawerData.headerTitle
|
|
|
- this.title = this.headerTitle.search(/质量|效率/) > -1 ? this.drawerData.label || '' : this.drawerData.activeLabel
|
|
|
+ this.title = this.headerTitle.search(/质量|效率/) > -1 ? this.drawerData.label || '' : this.drawerData.activeLabel
|
|
|
if (this.headerTitle && this.title) {
|
|
|
console.log(this.drawerData)
|
|
|
this.pagingInit()
|
|
@@ -228,7 +228,6 @@ export default {
|
|
|
},
|
|
|
// 设置标题
|
|
|
setTitle() {
|
|
|
-
|
|
|
if (this.headerTitle === '质量') {
|
|
|
if (this.drawerData.label === '提测打回率') {
|
|
|
this.title = '提测报告'
|