XMLWAN 4 vuotta sitten
vanhempi
commit
46a0b7650d

+ 27 - 17
src/xt_pages/qcd/basicInformationAnalysis.vue Näytä tiedosto

18
             >{{ item.label }}</li>
18
             >{{ item.label }}</li>
19
           </ul>
19
           </ul>
20
         </div>
20
         </div>
21
+        <label class="title">
22
+             <span class="name">日期查询</span> :
23
+        </label>
21
         <el-date-picker
24
         <el-date-picker
22
           v-model="listQuery.start_time"
25
           v-model="listQuery.start_time"
23
           prefix-icon="el-icon-date"
26
           prefix-icon="el-icon-date"
299
         { value: 0, label: "本月", state: 0 },
302
         { value: 0, label: "本月", state: 0 },
300
         { value: 1, label: "近三个月", state: 1 },
303
         { value: 1, label: "近三个月", state: 1 },
301
         { value: 2, label: "近半年", state: 2 },
304
         { value: 2, label: "近半年", state: 2 },
302
-        { value: 3, label: "近一年", state: 3 },
303
-        { value:4,label:"自定义",state:4}
305
+        { value: 3, label: "近一年", state: 3 }
306
+        // { value:4,label:"自定义",state:4}
304
       ],
307
       ],
305
       modetype:[],
308
       modetype:[],
306
       total:0,
309
       total:0,
340
          //统计透析总量
343
          //统计透析总量
341
         this.getDialysisModeType(val,this.listQuery.end_time)
344
         this.getDialysisModeType(val,this.listQuery.end_time)
342
         //统计转归状态
345
         //统计转归状态
343
-        this.getTotalLapseCount(timeStar,timeEnd)
346
+        this.getTotalLapseCount(this.listQuery.start_time,this.listQuery.end_time)
344
         //统计男女比例
347
         //统计男女比例
345
         this.getTotalSexCount(timeStar,timeEnd)
348
         this.getTotalSexCount(timeStar,timeEnd)
346
         //统计传染病
349
         //统计传染病
347
-        this.getTotalInfectiousCount(timeStar,timeEnd)
350
+        this.getTotalInfectiousCount(this.listQuery.start_time,this.listQuery.end_time)
348
         //统计年龄
351
         //统计年龄
349
         this.getTotalAgeCount(timeStar,timeEnd)
352
         this.getTotalAgeCount(timeStar,timeEnd)
350
         //统计透析年龄
353
         //统计透析年龄
364
           //统计透析总量
367
           //统计透析总量
365
         this.getDialysisModeType(this.listQuery.start_time,val)
368
         this.getDialysisModeType(this.listQuery.start_time,val)
366
         //统计转归状态
369
         //统计转归状态
367
-        this.getTotalLapseCount(timeStar,timeEnd)
370
+        this.getTotalLapseCount(this.listQuery.start_time,this.listQuery.end_time)
368
         //统计男女比例
371
         //统计男女比例
369
         this.getTotalSexCount(timeStar,timeEnd)
372
         this.getTotalSexCount(timeStar,timeEnd)
370
         //统计传染病
373
         //统计传染病
371
-        this.getTotalInfectiousCount(timeStar,timeEnd)
374
+        this.getTotalInfectiousCount(this.listQuery.start_time,this.listQuery.end_time)
372
         //统计年龄
375
         //统计年龄
373
         this.getTotalAgeCount(timeStar,timeEnd)
376
         this.getTotalAgeCount(timeStar,timeEnd)
374
         //统计透析年龄
377
         //统计透析年龄
380
       this.listQuery.state = state;
383
       this.listQuery.state = state;
381
       //获取本月当前机构的透析模式
384
       //获取本月当前机构的透析模式
382
       const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
385
       const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
383
-      console.log("开始时间",startDate)
386
+      // console.log("开始时间",startDate)
384
       const endDate = moment(new Date()).format('YYYY-MM-DD')
387
       const endDate = moment(new Date()).format('YYYY-MM-DD')
385
-      console.log("结束时间",endDate)
388
+      // console.log("结束时间",endDate)
386
       var now = new Date()
389
       var now = new Date()
387
       var nowMonth = now.getMonth(); //当前月
390
       var nowMonth = now.getMonth(); //当前月
388
       var nowYear = now.getFullYear(); //当前年
391
       var nowYear = now.getFullYear(); //当前年
411
       }
414
       }
412
       //近三月
415
       //近三月
413
       if(state == 1){
416
       if(state == 1){
417
+        this.listQuery.start_time = ""
418
+        this.listQuery.end_time = ""
414
         const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
419
         const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
415
         // console.log("三月前",startDate)
420
         // console.log("三月前",startDate)
416
         var startunitx = Date.parse(startDate)/1000
421
         var startunitx = Date.parse(startDate)/1000
435
 
440
 
436
      //近半年
441
      //近半年
437
      if(state == 2){
442
      if(state == 2){
443
+        this.listQuery.start_time = ""
444
+        this.listQuery.end_time = ""
438
         const startDate = moment().subtract('month', 6).format('YYYY-MM-DD')
445
         const startDate = moment().subtract('month', 6).format('YYYY-MM-DD')
439
         // console.log("6月前",startDate)
446
         // console.log("6月前",startDate)
440
         var startunitx = Date.parse(startDate)/1000
447
         var startunitx = Date.parse(startDate)/1000
459
 
466
 
460
      //近一年
467
      //近一年
461
      if(state == 3){
468
      if(state == 3){
469
+        this.listQuery.start_time = ""
470
+        this.listQuery.end_time = ""
462
         const startDate = moment().subtract('month', 12).format('YYYY-MM-DD')
471
         const startDate = moment().subtract('month', 12).format('YYYY-MM-DD')
463
         // console.log("6月前",startDate)
472
         // console.log("6月前",startDate)
464
         var startunitx = Date.parse(startDate)/1000
473
         var startunitx = Date.parse(startDate)/1000
502
       getTotalLapseCount(startDate,endDate).then(response=>{
511
       getTotalLapseCount(startDate,endDate).then(response=>{
503
          if(response.data.state == 1){
512
          if(response.data.state == 1){
504
           var patients =  response.data.data.patients
513
           var patients =  response.data.data.patients
514
+          console.log('patients',patients)
505
           this.rollOutTotal = patients.length
515
           this.rollOutTotal = patients.length
506
-          // console.log("留治病人长度",patients.length)
516
+          console.log("留治病人长度",patients.length)
507
           var patienttwo = response.data.data.patienttwo
517
           var patienttwo = response.data.data.patienttwo
508
           this.outTotal = patienttwo.length
518
           this.outTotal = patienttwo.length
509
-            // console.log("转出长度", this.outTotal)
519
+          console.log("转出长度", this.outTotal)
510
           var count = response.data.data.count
520
           var count = response.data.data.count
511
           this.patientCount = count
521
           this.patientCount = count
512
          }
522
          }
534
              this.InfectiousTotal = response.data.data.total
544
              this.InfectiousTotal = response.data.data.total
535
             //  console.log("===",this.InfectiousTotal)
545
             //  console.log("===",this.InfectiousTotal)
536
              var infectious = response.data.data.count
546
              var infectious = response.data.data.count
537
-            //  console.log("infectious",infectious)
547
+          //  console.log("infectious",infectious)
538
              var otherTotal = response.data.data.otherTotal
548
              var otherTotal = response.data.data.otherTotal
539
             //  console.log("otherTotal",otherTotal)
549
             //  console.log("otherTotal",otherTotal)
540
              this.otherTotal = otherTotal
550
              this.otherTotal = otherTotal
595
       getTotalDialysisCount(timeStar,timeEnd).then(response=>{
605
       getTotalDialysisCount(timeStar,timeEnd).then(response=>{
596
          if(response.data.state == 1){
606
          if(response.data.state == 1){
597
            var dataage =  response.data.data.dataage
607
            var dataage =  response.data.data.dataage
598
-           console.log("dataage",dataage)
608
+          //  console.log("dataage",dataage)
599
            this.dialysisAge = dataage
609
            this.dialysisAge = dataage
600
 
610
 
601
          }
611
          }
605
   created() {
615
   created() {
606
         //获取本月当前机构的透析模式
616
         //获取本月当前机构的透析模式
607
       const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
617
       const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
608
-      // console.log("开始时间",startDate)
618
+       console.log("开始时间",startDate)
609
       const endDate = moment(new Date()).format('YYYY-MM-DD')
619
       const endDate = moment(new Date()).format('YYYY-MM-DD')
610
-     // console.log("结束时间",endDate)
620
+     console.log("结束时间",endDate)
611
       var now = new Date()
621
       var now = new Date()
612
       var nowMonth = now.getMonth(); //当前月
622
       var nowMonth = now.getMonth(); //当前月
613
       var nowYear = now.getFullYear(); //当前年
623
       var nowYear = now.getFullYear(); //当前年
614
       //本月的开始时间
624
       //本月的开始时间
615
       var monthStartDate = new Date(nowYear, nowMonth, 1);
625
       var monthStartDate = new Date(nowYear, nowMonth, 1);
616
       var timeStar=Date.parse(monthStartDate)/1000;//s
626
       var timeStar=Date.parse(monthStartDate)/1000;//s
617
-     // console.log("本月第一天",timeStar)
627
+      console.log("本月第一天",timeStar)
618
       //本月的结束时间
628
       //本月的结束时间
619
       var monthEndDate = new Date(nowYear, nowMonth+1, 0);
629
       var monthEndDate = new Date(nowYear, nowMonth+1, 0);
620
       var timeEnd=Date.parse(monthEndDate)/1000-1;//s
630
       var timeEnd=Date.parse(monthEndDate)/1000-1;//s
621
-     // console.log("本月最后一天",timeEnd)
631
+      console.log("本月最后一天",timeEnd)
622
       //统计透析总量
632
       //统计透析总量
623
       this.getDialysisModeType(startDate,endDate)
633
       this.getDialysisModeType(startDate,endDate)
624
       //统计转归状态
634
       //统计转归状态
625
-      this.getTotalLapseCount(timeStar,timeEnd)
635
+      this.getTotalLapseCount(startDate,endDate)
626
       //统计男女比例
636
       //统计男女比例
627
       this.getTotalSexCount(timeStar,timeEnd)
637
       this.getTotalSexCount(timeStar,timeEnd)
628
       //统计传染病
638
       //统计传染病

+ 6 - 5
src/xt_pages/qcd/officesControlAnalysis/project.vue Näytä tiedosto

277
         //第四季度
277
         //第四季度
278
          const four_qurter_start = moment().month(9).startOf('month').format("YYYY-MM-DD")
278
          const four_qurter_start = moment().month(9).startOf('month').format("YYYY-MM-DD")
279
          const four_qurter_end = moment().month(11).endOf('month').format("YYYY-MM-DD")
279
          const four_qurter_end = moment().month(11).endOf('month').format("YYYY-MM-DD")
280
-         console.log("this.modetype",this.mode_type)
280
+        //  console.log("this.modetype",this.mode_type)
281
          for(let i=0;i<this.normdata.length;i++){
281
          for(let i=0;i<this.normdata.length;i++){
282
             if(this.normdata[i].inspection_minor == this.mode_type){
282
             if(this.normdata[i].inspection_minor == this.mode_type){
283
                this.range_type = this.normdata[i].range_type
283
                this.range_type = this.normdata[i].range_type
302
       getProjectList(params).then(response=>{
302
       getProjectList(params).then(response=>{
303
         if(response.data.state === 1){
303
         if(response.data.state === 1){
304
           var list = response.data.data.list
304
           var list = response.data.data.list
305
-          console.log("list",list)
305
+           console.log("list",list)
306
           var standList =  response.data.data.standList
306
           var standList =  response.data.data.standList
307
-          console.log("standlist",standList)
307
+           console.log("standlist",standList)
308
           var newArr = [
308
           var newArr = [
309
             {Total:"第一季度",Count:1,NoCount: 0},
309
             {Total:"第一季度",Count:1,NoCount: 0},
310
             {Total:"第二季度",Count:1,NoCount: 0},
310
             {Total:"第二季度",Count:1,NoCount: 0},
373
              }
373
              }
374
           }
374
           }
375
         
375
         
376
-      
376
+         console.log("arrfive",arrFive)
377
         
377
         
378
         for(const key in arrFive){
378
         for(const key in arrFive){
379
             this.modesData.xAxis.push(arrFive[key].Total);
379
             this.modesData.xAxis.push(arrFive[key].Total);
383
 
383
 
384
           this.chart.series[0].data = this.modesData.series
384
           this.chart.series[0].data = this.modesData.series
385
           this.chart.xAxis.data = this.modesData.xAxis
385
           this.chart.xAxis.data = this.modesData.xAxis
386
+          console.log("表格",this.modesData)
386
        
387
        
387
         }
388
         }
388
       })
389
       })
569
        getMonthProjectList(params).then(response=>{
570
        getMonthProjectList(params).then(response=>{
570
         if(response.data.state === 1){
571
         if(response.data.state === 1){
571
             var monthlist = response.data.data.monthlist
572
             var monthlist = response.data.data.monthlist
572
-            console.log("monthlist",monthlist)
573
+            // console.log("monthlist",monthlist)
573
             var newArr = [
574
             var newArr = [
574
               {Total:"一月",Count:1,NoCount: 0},
575
               {Total:"一月",Count:1,NoCount: 0},
575
               {Total:"二月",Count:1,NoCount: 0},
576
               {Total:"二月",Count:1,NoCount: 0},

+ 5 - 5
src/xt_pages/qcd/officesControlAnalysis/time.vue Näytä tiedosto

478
       getNormData().then(response=>{
478
       getNormData().then(response=>{
479
          if(response.data.state === 1){
479
          if(response.data.state === 1){
480
            var normdata = response.data.data.normdata
480
            var normdata = response.data.data.normdata
481
-           console.log("指标正常范围",normdata)
481
+          //  console.log("指标正常范围",normdata)
482
            this.normData = normdata
482
            this.normData = normdata
483
            this.getlist()
483
            this.getlist()
484
          }
484
          }
591
       getFirstQuarter(params).then(response=>{
591
       getFirstQuarter(params).then(response=>{
592
          if(response.data.state === 1){
592
          if(response.data.state === 1){
593
             var count =  response.data.data.count
593
             var count =  response.data.data.count
594
-           console.log("count",count) 
594
+          //  console.log("count",count) 
595
             var countwo = response.data.data.countwo 
595
             var countwo = response.data.data.countwo 
596
-           console.log("countwo",countwo)
596
+          //  console.log("countwo",countwo)
597
             countwo.map(item=>{
597
             countwo.map(item=>{
598
               count.push(item)
598
               count.push(item)
599
             })
599
             })
607
                 }
607
                 }
608
               }
608
               }
609
             }
609
             }
610
-           console.log("arr",arr )
610
+          //  console.log("arr",arr )
611
            
611
            
612
             var arrtwo =  this.arrayDate(count,this.normData)
612
             var arrtwo =  this.arrayDate(count,this.normData)
613
             for(let i=0;i<arrtwo.length;i++){
613
             for(let i=0;i<arrtwo.length;i++){
619
             arrtwo.map(item => {
619
             arrtwo.map(item => {
620
               arr.push(item)
620
               arr.push(item)
621
             })
621
             })
622
-            console.log("arr",arr)
622
+            // console.log("arr",arr)
623
              arr.sort(this.compare('sort'))  
623
              arr.sort(this.compare('sort'))  
624
             // arr.sort((a,b)=>{
624
             // arr.sort((a,b)=>{
625
             //     return projectArr.indexOf(a.ProjectName)-projectArr.indexOf(b.ProjectName);
625
             //     return projectArr.indexOf(a.ProjectName)-projectArr.indexOf(b.ProjectName);

+ 9 - 2
src/xt_pages/qcd/patientComplianceDetails.vue Näytä tiedosto

233
     chooseMonth(month) {
233
     chooseMonth(month) {
234
       //一月
234
       //一月
235
       if(month == 0){
235
       if(month == 0){
236
-         this.monthActive = 0
236
+        this.listQuery.start_time = ""
237
+        this.listQuery.end_time =""
238
+        this.monthActive = 0
237
         const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
239
         const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
238
         const endDate = moment(new Date()).format('YYYY-MM-DD')
240
         const endDate = moment(new Date()).format('YYYY-MM-DD')
239
         var now = new Date()
241
         var now = new Date()
251
 
253
 
252
       //近三月
254
       //近三月
253
       if(month == 1){
255
       if(month == 1){
256
+         this.listQuery.start_time = ""
257
+         this.listQuery.end_time =""
254
          this.monthActive = 1
258
          this.monthActive = 1
255
         const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
259
         const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
256
     
260
     
266
 
270
 
267
        //近半年
271
        //近半年
268
       if(month == 2){
272
       if(month == 2){
273
+        this.listQuery.start_time = ""
274
+        this.listQuery.end_time =""
269
         this.monthActive = 2
275
         this.monthActive = 2
270
         const startDate = moment().subtract('month', 6).format('YYYY-MM-DD')
276
         const startDate = moment().subtract('month', 6).format('YYYY-MM-DD')
271
         
277
         
277
 
283
 
278
       //近一年
284
       //近一年
279
       if(month == 3){
285
       if(month == 3){
286
+        this.listQuery.start_time = ""
287
+        this.listQuery.end_time =""
280
         this.monthActive = 3
288
         this.monthActive = 3
281
         const startDate = moment().subtract('month', 12).format('YYYY-MM-DD')
289
         const startDate = moment().subtract('month', 12).format('YYYY-MM-DD')
282
         this.startime = Date.parse(startDate)/1000
290
         this.startime = Date.parse(startDate)/1000
356
       })
364
       })
357
     },
365
     },
358
     getlist(){
366
     getlist(){
359
-        console.log("进来没有")
360
         this.modesData.series = []
367
         this.modesData.series = []
361
         this.modesData.xAxis = []
368
         this.modesData.xAxis = []
362
         const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
369
         const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'

+ 10 - 12
src/xt_pages/qcd/patientControlAnalysis.vue Näytä tiedosto

365
        getPatientContorlAnalysis(params).then(response=>{
365
        getPatientContorlAnalysis(params).then(response=>{
366
            if(response.data.state == 1){
366
            if(response.data.state == 1){
367
               var control = response.data.data.patientcontorDetail
367
               var control = response.data.data.patientcontorDetail
368
-             console.log("control",control)
368
+            //  console.log("control",control)
369
               let dataInfo = {}
369
               let dataInfo = {}
370
               control.forEach((item, index) => {
370
               control.forEach((item, index) => {
371
                 let { inspect_date } = item
371
                 let { inspect_date } = item
381
                 }
381
                 }
382
               })
382
               })
383
               let list = Object.values(dataInfo)
383
               let list = Object.values(dataInfo)
384
-              console.log("list",list)
384
+              // console.log("list",list)
385
               list.map(item => {
385
               list.map(item => {
386
                 for (let i = 0; i < control.length; i++) {
386
                 for (let i = 0; i < control.length; i++) {
387
                   if (item.inspect_date == control[i].inspect_date && item.patient_id == control[i].patient_id) {
387
                   if (item.inspect_date == control[i].inspect_date && item.patient_id == control[i].patient_id) {
436
                   }
436
                   }
437
                   this.tableData.push({ name: key, data: dd[key]})
437
                   this.tableData.push({ name: key, data: dd[key]})
438
                 }
438
                 }
439
-                console.log("表哥===========",this.tableData)
440
               let dataInfotwo = {}
439
               let dataInfotwo = {}
441
               control.forEach((item, index) => {
440
               control.forEach((item, index) => {
442
                 let { inspect_date } = item
441
                 let { inspect_date } = item
487
       getPatientsControl(this.lapstor,this.listQuery.start_time,this.listQuery.end_time,this.listQuery.page,this.listQuery.limit).then(response=>{
486
       getPatientsControl(this.lapstor,this.listQuery.start_time,this.listQuery.end_time,this.listQuery.page,this.listQuery.limit).then(response=>{
488
          if(response.data.state == 1){
487
          if(response.data.state == 1){
489
            var patients = response.data.data.patients
488
            var patients = response.data.data.patients
490
-            // console.log("patients",patients)
489
+     
491
             this.tablePatients = patients
490
             this.tablePatients = patients
492
             var total = response.data.data.total
491
             var total = response.data.data.total
493
             this.total = total
492
             this.total = total
494
             var control = response.data.data.control
493
             var control = response.data.data.control
495
            var infectiousControl =  response.data.data.infectiousControl
494
            var infectiousControl =  response.data.data.infectiousControl
496
-          //  console.log("infectiousContrl",infectiousControl)
495
+        
497
            infectiousControl.map(item=>{
496
            infectiousControl.map(item=>{
498
              control.push(item)
497
              control.push(item)
499
            })
498
            })
500
-            // console.log("control",control)
499
+       
501
             var newArr = []
500
             var newArr = []
502
             // 分页
501
             // 分页
503
             for (let i = 0; i < control.length; i++) {
502
             for (let i = 0; i < control.length; i++) {
507
                 }
506
                 }
508
               }
507
               }
509
             }
508
             }
510
-          // console.log("newArr",newArr)
509
+       
511
           let dataInfo = {}
510
           let dataInfo = {}
512
           newArr.forEach((item, index) => {
511
           newArr.forEach((item, index) => {
513
             let { inspect_date } = item
512
             let { inspect_date } = item
531
               }
530
               }
532
             }
531
             }
533
           })
532
           })
534
-        //  console.log("list",list)
533
+ 
535
          var newarrtwo = []
534
          var newarrtwo = []
536
           list.map(item => {
535
           list.map(item => {
537
             item.child.map(it => {
536
             item.child.map(it => {
538
               newarrtwo.push(it)
537
               newarrtwo.push(it)
539
             })
538
             })
540
           })
539
           })
541
-        //  console.log("newarrtwo",newarrtwo)
540
+ 
542
           // 配置的才显示
541
           // 配置的才显示
543
          var arrthree = []
542
          var arrthree = []
544
           for (let i = 0; i < newarrtwo.length; i++) {
543
           for (let i = 0; i < newarrtwo.length; i++) {
554
             item.item_name = ''
553
             item.item_name = ''
555
             arrthree.push(item)
554
             arrthree.push(item)
556
           })
555
           })
557
-          // console.log('arrthree', arrthree)
556
+   
558
           var dd = {}
557
           var dd = {}
559
            for (const index in arrthree) {
558
            for (const index in arrthree) {
560
              if (!(arrthree[index].inspect_date in dd)) {
559
              if (!(arrthree[index].inspect_date in dd)) {
580
             }
579
             }
581
           })
580
           })
582
         let listtwo = Object.values(dataInfotwo)
581
         let listtwo = Object.values(dataInfotwo)
583
-        // console.log("listtwo",listtwo)
582
+       
584
           for (const key in dd) {
583
           for (const key in dd) {
585
             for (const mkey in this.ObjectData) {
584
             for (const mkey in this.ObjectData) {
586
               if (!(this.ObjectData[mkey].item_name in dd[key])) {
585
               if (!(this.ObjectData[mkey].item_name in dd[key])) {
612
                }
611
                }
613
              }
612
              }
614
           }
613
           }
615
-        //  console.log("表哥123",this.tableData)
616
          }
614
          }
617
       })
615
       })
618
     },
616
     },

+ 5 - 5
src/xt_pages/qcd/statisticalConfiguration.vue Näytä tiedosto

256
       getConfigurationDetail(id).then(response=>{
256
       getConfigurationDetail(id).then(response=>{
257
          if(response.data.state == 1){
257
          if(response.data.state == 1){
258
            var configurationdetail = response.data.data.configurationdetail
258
            var configurationdetail = response.data.data.configurationdetail
259
-           console.log("详情",configurationdetail)
259
+          //  console.log("详情",configurationdetail)
260
            this.editform.id = configurationdetail.id
260
            this.editform.id = configurationdetail.id
261
            this.editform.inspectionMajor = configurationdetail.inspection_major
261
            this.editform.inspectionMajor = configurationdetail.inspection_major
262
            this.editform.inspectionMinor = configurationdetail.inspection_minor
262
            this.editform.inspectionMinor = configurationdetail.inspection_minor
290
       getInspectionMajor().then(response=>{
290
       getInspectionMajor().then(response=>{
291
         if(response.data.state == 1){
291
         if(response.data.state == 1){
292
           var inspection =  response.data.data.inspection
292
           var inspection =  response.data.data.inspection
293
-          console.log("大项是什么",inspection)
293
+          // console.log("大项是什么",inspection)
294
           this.InspectionMajor = inspection
294
           this.InspectionMajor = inspection
295
          
295
          
296
         }
296
         }
302
       getInspectionMinor(id).then(response=>{
302
       getInspectionMinor(id).then(response=>{
303
         if(response.data.state == 1){
303
         if(response.data.state == 1){
304
          var inspection =  response.data.data.inspection
304
          var inspection =  response.data.data.inspection
305
-         console.log("小项",inspection)
305
+        //  console.log("小项",inspection)
306
          this.InspectionMinor = inspection
306
          this.InspectionMinor = inspection
307
         }
307
         }
308
       })
308
       })
323
        getInspectionRange(id).then(response=>{
323
        getInspectionRange(id).then(response=>{
324
          if(response.data.state == 1){
324
          if(response.data.state == 1){
325
            var inspectionRange =  response.data.data.inspectionRange
325
            var inspectionRange =  response.data.data.inspectionRange
326
-           console.log("inspectionRange",inspectionRange)
326
+          //  console.log("inspectionRange",inspectionRange)
327
            if(inspectionRange.range_type == 1){
327
            if(inspectionRange.range_type == 1){
328
              this.showOne = true
328
              this.showOne = true
329
              this.showTwo = false
329
              this.showTwo = false
387
               configurationlist[i].sort = ""
387
               configurationlist[i].sort = ""
388
             }
388
             }
389
           }
389
           }
390
-          console.log("列表",configurationlist)
390
+          // console.log("列表",configurationlist)
391
           this.configuraData = configurationlist
391
           this.configuraData = configurationlist
392
           var total = response.data.data.total
392
           var total = response.data.data.total
393
          // console.log("total",total)
393
          // console.log("total",total)