|  | @@ -3,7 +3,7 @@
 | 
	
		
			
				|  |  |      <!-- <h1>牧场</h1> -->
 | 
	
		
			
				|  |  |      <div class="search">
 | 
	
		
			
				|  |  |        <el-date-picker v-model="table.getdataListParm.parammaps.inputDatetime" :clearable="false" class="inputDatetime filter-item" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" style="width: 250px;" :picker-options="pickerOptions" @change="change_date"/>
 | 
	
		
			
				|  |  | -      
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        <el-button class="el-icon-arrow-left elIconArrowLeft" :disabled="Beforedisabled" @click="handleBefore" />
 | 
	
		
			
				|  |  |        <el-button class="el-icon-arrow-right elIconArrowRight" :disabled="Nextdisabled" @click="handleNext" />
 | 
	
		
			
				|  |  |        <el-select v-model="table.getdataListParm.parammaps.lpplantype" placeholder="计划类型" class="filter-item" style="width: 120px;" clearable>
 | 
	
	
		
			
				|  | @@ -16,7 +16,7 @@
 | 
	
		
			
				|  |  |         <el-select v-model="table.getdataListParm.parammaps.error" placeholder="误差筛选范围" class="filter-item" style="width: 220px;" clearable>
 | 
	
		
			
				|  |  |          <el-option v-for="item in errorList" :key="item.value" :label="item.label" :value="item.value" />
 | 
	
		
			
				|  |  |        </el-select>
 | 
	
		
			
				|  |  | -      
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        <!-- <el-input v-model="table.getdataListParm.parammaps.tmrtname" placeholder="TMR名称" style="width: 180px;" class="filter-item" clearable /> -->
 | 
	
		
			
				|  |  |        <el-select v-model="table.getdataListParm.parammaps.iscompleted" placeholder="工作状态" class="filter-item" style="width: 120px;" clearable>
 | 
	
		
			
				|  |  |          <el-option v-for="item in workingConditionList" :key="item.id" :label="item.name" :value="item.id" />
 | 
	
	
		
			
				|  | @@ -644,31 +644,28 @@ export default {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        TMRList:[],
 | 
	
		
			
				|  |  |        errorList:[{ value: '有误差', label: '有误差' }, { value: '无误差', label: '无误差' }],
 | 
	
		
			
				|  |  | -     
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        downTMR: { name: 'getDownloadedplanTmrName', offset: 0, pagecount: 0,
 | 
	
		
			
				|  |  |         parammaps: {
 | 
	
		
			
				|  |  |              pastureid: Cookies.get('pastureid'),
 | 
	
		
			
				|  |  | -            startdate: parseTime(new Date(), '{y}-{m}-{d}'),
 | 
	
		
			
				|  |  | -            enddate: parseTime(new Date(), '{y}-{m}-{d}'),
 | 
	
		
			
				|  |  | -          } 
 | 
	
		
			
				|  |  | +            startdate: '',
 | 
	
		
			
				|  |  | +            enddate: '',
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    created() {
 | 
	
		
			
				|  |  | -    this.getDownList()
 | 
	
		
			
				|  |  |      this.getList()
 | 
	
		
			
				|  |  | -    
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      change_date(e){
 | 
	
		
			
				|  |  |        console.log(e)
 | 
	
		
			
				|  |  |        this.getDownList()
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      getDownList() {
 | 
	
		
			
				|  |  | -      this.downTMR.parammaps.startdate = this.table.getdataListParm.parammaps.startTime
 | 
	
		
			
				|  |  | -      this.downTMR.parammaps.enddate = this.table.getdataListParm.parammaps.stopTime
 | 
	
		
			
				|  |  | +      this.downTMR.parammaps.startdate = parseTime(this.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
 | 
	
		
			
				|  |  | +      this.downTMR.parammaps.enddate = parseTime(this.table.getdataListParm.parammaps.inputDatetime[1], '{y}-{m}-{d}')
 | 
	
		
			
				|  |  |        GetDataByName(this.downTMR).then(response => {
 | 
	
		
			
				|  |  |          console.log(response.data.list)
 | 
	
		
			
				|  |  |           this.TMRList = response.data.list
 | 
	
	
		
			
				|  | @@ -799,7 +796,8 @@ export default {
 | 
	
		
			
				|  |  |            this.table3.listLoading = false
 | 
	
		
			
				|  |  |            this.table4.listLoading = false
 | 
	
		
			
				|  |  |            this.chart1.listLoading = false
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        this.getDownList()
 | 
	
		
			
				|  |  |          setTimeout(() => {
 | 
	
		
			
				|  |  |            this.table.listLoading = false
 | 
	
		
			
				|  |  |          }, 100)
 |