| | |
| | | placeholder="请输入箱体编码" |
| | | @keyup.enter.native="handleQuery"/> |
| | | </el-form-item> |
| | | <el-form-item label-width="120" label="工位号:" prop="locationCode"> |
| | | <el-input clearable |
| | | v-model="queryParams.locationCode" |
| | | placeholder="请输入工位号" |
| | | @keyup.enter.native="handleQuery"/> |
| | | </el-form-item> |
| | | <el-form-item label-width="130" label="保存日期" prop="dateConditions"> |
| | | <el-date-picker |
| | | v-model="queryParams.dateConditions" |
| | | type="datetimerange" |
| | | :picker-options="pickerOptions" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | align="right"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <!-- <el-form-item label-width="120" label="工位号:" prop="locationCode">--> |
| | | <!-- <el-input clearable--> |
| | | <!-- v-model="queryParams.locationCode"--> |
| | | <!-- placeholder="请输入工位号"--> |
| | | <!-- @keyup.enter.native="handleQuery"/>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-form-item label-width="130" label="保存日期" prop="dateConditions">--> |
| | | <!-- <el-date-picker--> |
| | | <!-- v-model="queryParams.dateConditions"--> |
| | | <!-- type="datetimerange"--> |
| | | <!-- :picker-options="pickerOptions"--> |
| | | <!-- value-format="yyyy-MM-dd HH:mm:ss"--> |
| | | <!-- range-separator="至"--> |
| | | <!-- start-placeholder="开始日期"--> |
| | | <!-- end-placeholder="结束日期"--> |
| | | <!-- align="right">--> |
| | | <!-- </el-date-picker>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item style="float: right"> |
| | | <el-button type="primary" icon="el-icon-refresh" @click="handleQuery">查询</el-button> |
| | | <el-button type="" icon="el-icon-refresh" @click="resetQuery">重置</el-button> |
| | |
| | | <el-table-column label="工位" align="center" prop="locationCode"></el-table-column> |
| | | <el-table-column label="参数编码" align="center" prop="paramCode"></el-table-column> |
| | | <el-table-column label="参数名称" align="center" prop="paramName"></el-table-column> |
| | | <el-table-column label="参数值" align="center" prop="paramValue"></el-table-column> |
| | | <el-table-column label="结果" align="center" prop="paramValue"></el-table-column> |
| | | <el-table-column label="采集时间" align="center" prop="collectionTime" width="180"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.collectionTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="状态" align="center" prop="state"></el-table-column> |
| | | <el-table-column label="单位" align="center" prop="unit"></el-table-column> |
| | | <!-- <el-table-column label="状态" align="center" prop="state"></el-table-column>--> |
| | | <!-- <el-table-column label="单位" align="center" prop="unit"></el-table-column>--> |
| | | </el-table> |
| | | <el-empty v-else> |
| | | <span slot="description">暂无数据</span> |
| | |
| | | state: null, |
| | | paramName: null, |
| | | unit: null, |
| | | type: '相机检测', |
| | | type: '视觉数据', |
| | | startDate: null, |
| | | endDate: null, |
| | | dateConditions: [], |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | // this.getList(); |
| | | }, |
| | | methods: { |
| | | reset() { |
| | |
| | | state: null, |
| | | paramName: null, |
| | | unit: null, |
| | | type: '相机检测', |
| | | type: '视觉数据', |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | |
| | | getList() { |
| | | this.loading = true; |
| | | listParamCollection(this.queryParams).then(response => { |
| | | this.tightenReportList = response.rows; |
| | | this.cameraReportList = response.rows; |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | }); |