|
@@ -285,11 +285,13 @@ export default {
|
285
|
285
|
})
|
286
|
286
|
},
|
287
|
287
|
handleModeType(val){
|
288
|
|
- // console.log("modetype",this.mode_type)
|
|
288
|
+
|
|
289
|
+ console.log("modetype",this.type,this.mode_type)
|
289
|
290
|
if(this.type == 2){
|
290
|
291
|
this.bloodType = val
|
291
|
292
|
if(this.mode_type == -1 || this.mode_type == -2){
|
292
|
293
|
this.getMonthBloodList()
|
|
294
|
+
|
293
|
295
|
return false
|
294
|
296
|
}else{
|
295
|
297
|
// console.log("chuff")
|
|
@@ -597,7 +599,11 @@ export default {
|
597
|
599
|
|
598
|
600
|
const decStart = moment().month(11).startOf('month').format("YYYY-MM-DD")
|
599
|
601
|
const decEnd = moment().month(11).endOf('month').format("YYYY-MM-DD")
|
600
|
|
-
|
|
602
|
+ for(let i=0;i<this.normdata.length;i++){
|
|
603
|
+ if(this.normdata[i].inspection_minor == this.mode_type){
|
|
604
|
+ this.range_type = this.normdata[i].range_type
|
|
605
|
+ }
|
|
606
|
+ }
|
601
|
607
|
|
602
|
608
|
const params = {
|
603
|
609
|
lapseto:this.lapseto,
|
|
@@ -629,7 +635,7 @@ export default {
|
629
|
635
|
decEnd:decEnd,
|
630
|
636
|
range_type:this.range_type,
|
631
|
637
|
}
|
632
|
|
-
|
|
638
|
+ console.log("222222",params)
|
633
|
639
|
getMonthProjectList(params).then(response=>{
|
634
|
640
|
if(response.data.state === 1){
|
635
|
641
|
var monthlist = response.data.data.monthlist
|
|
@@ -1084,7 +1090,7 @@ export default {
|
1084
|
1090
|
decEnd:decEnd,
|
1085
|
1091
|
bloodType:this.bloodType
|
1086
|
1092
|
}
|
1087
|
|
- // console.log("params",params)
|
|
1093
|
+ console.log("params",params)
|
1088
|
1094
|
getMonthBloodList(params).then(response=>{
|
1089
|
1095
|
if(response.data.state == 1){
|
1090
|
1096
|
if(this.bloodType == -1){
|