Parcourir la source

没有ids数据时,不发起请求(回滚2)

洪海涛 il y a 4 ans
Parent
commit
87f61d86dc
1 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. 7 7
      src/views/dataBigManage/components/drawerModal/index.vue

+ 7 - 7
src/views/dataBigManage/components/drawerModal/index.vue

@@ -501,7 +501,7 @@ export default {
       }
       if (this.headerTitle === '效率') {
         if (this.title === '需求周期') {
-          if (this.ids.length) {
+          if (this.sourceData[0].IdList.length) {
             this.loading = true
             this.setRequireAvgData()
           }
@@ -509,37 +509,37 @@ export default {
         if (this.title === '任务周期') {
           this.loading = true
           this.setTaskData()
-          if (this.ids.length) {
+          if (this.sourceData[0].IdList.length) {
             this.loading = true
             this.setTaskData()
           }
         }
         if (this.title === '需求人力') {
-          if (this.ids.length) {
+          if (this.sourceData[0].IdList.length) {
             this.loading = true
             this.setRequirePeopleData()
           }
         }
         if (this.title === '缺陷修复时长') {
-          if (this.ids.length) {
+          if (this.sourceData[0].IdList.length) {
             this.loading = true
             this.setbugRepair2Data()
           }
         }
         if (this.title === '缺陷24小时修复率') {
-          if (this.ids.length) {
+          if (this.sourceData[0].IdList.length) {
             this.loading = true
             this.setbugRepairData()
           }
         }
         if (this.title === '延期提测率') {
-          if (this.ids.length) {
+          if (this.drawerData.idList.length) {
             this.loading = true
             this.setDelayLaunchData()
           }
         }
         if (this.title === '延期准出率') {
-          if (this.ids.length) {
+          if (this.drawerData.idList.length) {
             this.loading = true
             this.setDelayReleaseData()
           }