| | |
| | | <template> |
| | | <div class="content-main"> |
| | | <div class="top-bar"> |
| | | <el-form ref="form" :inline="true" :rules="rules" :model="searchData" label-position="top"> |
| | | <el-form ref="form" :inline="true" :rules="rules" :model="searchData" label-position="left"> |
| | | <el-form-item label="检测日期:" class="sermargin" prop="date"> |
| | | <el-date-picker v-model="searchData.date" type="daterange" range-separator="至" start-placeholder="开始日期" |
| | | end-placeholder="结束日期"> |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <div class="rightBtn"> |
| | | <el-form-item> |
| | | <el-button type="primary" plain size="mini">清空</el-button> |
| | | <el-button type="primary" @click="clear" plain size="mini">清空</el-button> |
| | | <el-button type="primary" @click="search" size="mini">查询</el-button> |
| | | </el-form-item> |
| | | </div> |
| | | </el-form> |
| | | </div> |
| | | <div class="top-bar-copy"></div> |
| | |
| | | for (let index = 0; index < 100; index++) { |
| | | console.log("主线程"+index); |
| | | } |
| | | }, |
| | | clear(){ |
| | | this.searchData.date=[] |
| | | this.searchData.type=null |
| | | this.searchData.supplier=null |
| | | this.searchData.code=null |
| | | }, |
| | | async search() { |
| | | this.testSampleStatistics = null |
| | |
| | | |
| | | .top-bar-copy { |
| | | width: 100%; |
| | | height: 12vh; |
| | | height: 7vh; |
| | | } |
| | | |
| | | .chart-content { |