|  | @@ -802,6 +802,18 @@ export default {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      changeAll() {
 |  |      changeAll() {
 | 
											
												
													
														|  |        console.log(this.radioAll)
 |  |        console.log(this.radioAll)
 | 
											
												
													
														|  | 
 |  | +       // 对于多选的牧场,根据数组的名称来转换 pastureArr =》 pastureId TODO:
 | 
											
												
													
														|  | 
 |  | +      if (this.getdataListParm.parammaps.pastureArr && this.getdataListParm.parammaps.pastureArr.length > 0) {
 | 
											
												
													
														|  | 
 |  | +        const arr = this.findAllPasture.filter((item) => {
 | 
											
												
													
														|  | 
 |  | +          if (this.getdataListParm.parammaps.pastureArr.includes(item.name)) {
 | 
											
												
													
														|  | 
 |  | +            return item
 | 
											
												
													
														|  | 
 |  | +          }
 | 
											
												
													
														|  | 
 |  | +        })
 | 
											
												
													
														|  | 
 |  | +        const ids = arr.map((child) => { return child.id })
 | 
											
												
													
														|  | 
 |  | +        console.log(arr,ids,'999999')
 | 
											
												
													
														|  | 
 |  | +        this.getdataListParm.parammaps.pastureId = ids.toString();
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +      console.log(this.getdataListParm.parammaps,'this.getdataListParm.parammaps')
 | 
											
												
													
														|  |        if (this.radioAll === '全部') {
 |  |        if (this.radioAll === '全部') {
 | 
											
												
													
														|  |          this.getdataListParm.name = 'getBigpartapplyList'
 |  |          this.getdataListParm.name = 'getBigpartapplyList'
 | 
											
												
													
														|  |          this.getdataListParm.offset = 1
 |  |          this.getdataListParm.offset = 1
 | 
											
										
											
												
													
														|  | @@ -810,7 +822,9 @@ export default {
 | 
											
												
													
														|  |            applyCode: '', applyType: '', statue: '', departmentId: '', inputDatetime: '', startTime: '', stopTime: '', menu: 'Receive',
 |  |            applyCode: '', applyType: '', statue: '', departmentId: '', inputDatetime: '', startTime: '', stopTime: '', menu: 'Receive',
 | 
											
												
													
														|  |            loginId: Cookies.get('employeid'),
 |  |            loginId: Cookies.get('employeid'),
 | 
											
												
													
														|  |            logindeptId: Cookies.get('departmentid'),
 |  |            logindeptId: Cookies.get('departmentid'),
 | 
											
												
													
														|  | -          loginpastureId: Cookies.get('pastureid')
 |  | 
 | 
											
												
													
														|  | 
 |  | +          loginpastureId: Cookies.get('pastureid'),
 | 
											
												
													
														|  | 
 |  | +          pastureId: this.getdataListParm.parammaps.pastureId || Cookies.get('pastureid'),
 | 
											
												
													
														|  | 
 |  | +          pastureArr :this.getdataListParm.parammaps.pastureArr,
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          this.get_table_data()
 |  |          this.get_table_data()
 | 
											
												
													
														|  |        } else if (this.radioAll === '待处理') {
 |  |        } else if (this.radioAll === '待处理') {
 | 
											
										
											
												
													
														|  | @@ -818,6 +832,7 @@ export default {
 | 
											
												
													
														|  |          this.getdataListParm.offset = 1
 |  |          this.getdataListParm.offset = 1
 | 
											
												
													
														|  |          this.getdataListParm.parammaps = {
 |  |          this.getdataListParm.parammaps = {
 | 
											
												
													
														|  |            pastureName: this.getdataListParm.parammaps.pastureName,
 |  |            pastureName: this.getdataListParm.parammaps.pastureName,
 | 
											
												
													
														|  | 
 |  | +          pastureArr :this.getdataListParm.parammaps.pastureArr,
 | 
											
												
													
														|  |            applyCode: this.getdataListParm.parammaps.applyCode,
 |  |            applyCode: this.getdataListParm.parammaps.applyCode,
 | 
											
												
													
														|  |            applyType: this.getdataListParm.parammaps.applyType,
 |  |            applyType: this.getdataListParm.parammaps.applyType,
 | 
											
												
													
														|  |            statue: this.getdataListParm.parammaps.statue,
 |  |            statue: this.getdataListParm.parammaps.statue,
 | 
											
										
											
												
													
														|  | @@ -830,7 +845,7 @@ export default {
 | 
											
												
													
														|  |            logindeptId: Cookies.get('departmentid'),
 |  |            logindeptId: Cookies.get('departmentid'),
 | 
											
												
													
														|  |            loginpastureId: Cookies.get('pastureid'),
 |  |            loginpastureId: Cookies.get('pastureid'),
 | 
											
												
													
														|  |            empId: Cookies.get('employeid'),
 |  |            empId: Cookies.get('employeid'),
 | 
											
												
													
														|  | -          pastureId: Cookies.get('pastureid'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +          pastureId:this.getdataListParm.parammaps.pastureId ||  Cookies.get('pastureid'),
 | 
											
												
													
														|  |            deptId: Cookies.get('departmentid')
 |  |            deptId: Cookies.get('departmentid')
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          this.get_table_data()
 |  |          this.get_table_data()
 | 
											
										
											
												
													
														|  | @@ -839,6 +854,7 @@ export default {
 | 
											
												
													
														|  |          this.getdataListParm.offset = 1
 |  |          this.getdataListParm.offset = 1
 | 
											
												
													
														|  |          this.getdataListParm.parammaps = {
 |  |          this.getdataListParm.parammaps = {
 | 
											
												
													
														|  |            pastureName: this.getdataListParm.parammaps.pastureName,
 |  |            pastureName: this.getdataListParm.parammaps.pastureName,
 | 
											
												
													
														|  | 
 |  | +          pastureArr :this.getdataListParm.parammaps.pastureArr,
 | 
											
												
													
														|  |            applyCode: this.getdataListParm.parammaps.applyCode,
 |  |            applyCode: this.getdataListParm.parammaps.applyCode,
 | 
											
												
													
														|  |            applyType: this.getdataListParm.parammaps.applyType,
 |  |            applyType: this.getdataListParm.parammaps.applyType,
 | 
											
												
													
														|  |            statue: this.getdataListParm.parammaps.statue,
 |  |            statue: this.getdataListParm.parammaps.statue,
 | 
											
										
											
												
													
														|  | @@ -851,7 +867,7 @@ export default {
 | 
											
												
													
														|  |            logindeptId: Cookies.get('departmentid'),
 |  |            logindeptId: Cookies.get('departmentid'),
 | 
											
												
													
														|  |            loginpastureId: Cookies.get('pastureid'),
 |  |            loginpastureId: Cookies.get('pastureid'),
 | 
											
												
													
														|  |            empId: Cookies.get('employeid'),
 |  |            empId: Cookies.get('employeid'),
 | 
											
												
													
														|  | -          pastureId: Cookies.get('pastureid'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +          pastureId:this.getdataListParm.parammaps.pastureId ||  Cookies.get('pastureid'),
 | 
											
												
													
														|  |            deptId: Cookies.get('departmentid')
 |  |            deptId: Cookies.get('departmentid')
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          this.get_table_data()
 |  |          this.get_table_data()
 |