| | |
| | | |
| | | <el-table v-loading="loading" border :data="paramCollectionList" @selection-change="handleSelectionChange" v-if="paramCollectionList.length > 0"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="主键id" align="center" prop="id" /> |
| | | <el-table-column label="工单编号" align="center" prop="workOrderNo"></el-table-column> |
| | | <el-table-column label="总成序列号" align="center" width="100" prop="sfcCode"></el-table-column> |
| | | <el-table-column label="总成序列号" align="center" width="140" prop="sfcCode" ></el-table-column> |
| | | <el-table-column label="产品编号" align="center" prop="productCode"></el-table-column> |
| | | <el-table-column label="产线编号" align="center" prop="productionLine"></el-table-column> |
| | | <el-table-column label="工位编号" align="center" prop="locationCode"></el-table-column> |
| | |
| | | <el-table-column label="参数值" align="center" prop="paramValue"></el-table-column> |
| | | <el-table-column label="参数上限" align="center" prop="paramUpper"></el-table-column> |
| | | <el-table-column label="参数下限" align="center" prop="paramLower"></el-table-column> |
| | | <el-table-column label="标准值" align="center" prop="paramStandard"></el-table-column> |
| | | <el-table-column label="采集时间" align="center" prop="collectionTime" width="180"> |
| | | <el-table-column label="采集时间" align="center" prop="collectionTime" width="160"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.collectionTime, '{y}-{m}-{d}') }}</span> |
| | | <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="paramName"></el-table-column> |
| | | <el-table-column label="参数名称" align="center" prop="paramName" width="150" ></el-table-column> |
| | | <el-table-column label="单位" align="center" prop="unit"></el-table-column> |
| | | <el-table-column label="类型" align="center" prop="type"></el-table-column> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" > |
| | | <el-table-column fixed="right" width="200" label="操作" align="center" class-name="small-padding fixed-width" > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | type="success" |
| | | plain |
| | | style="width: 72px" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['main:paramCollection:edit']" |
| | | >修改</el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | type="danger" |
| | | plain |
| | | style="width: 72px" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['main:paramCollection:remove']" |
| | |
| | | </el-form-item> |
| | | <el-form-item label="标准值" prop="paramStandard"> |
| | | <el-input v-model="form.paramStandard" type="textarea" placeholder="请输入内容" /> |
| | | </el-form-item> |
| | | <el-form-item label="采集时间" prop="collectionTime"> |
| | | <el-date-picker clearable |
| | | v-model="form.collectionTime" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="请选择采集时间"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="state"> |
| | | <el-input v-model="form.state" placeholder="请输入状态" /> |