|
|
@ -78,6 +78,8 @@
|
|
|
|
<el-table-column label="缺陷等级" align="left" prop="defectLevel" width="90"/>
|
|
|
|
<el-table-column label="缺陷等级" align="left" prop="defectLevel" width="90"/>
|
|
|
|
<el-table-column label="检验方式" align="left" prop="checkMode" width="90" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="检验方式" align="left" prop="checkMode" width="90" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="检验工具" align="left" prop="checkTool" width="90"/>
|
|
|
|
<el-table-column label="检验工具" align="left" prop="checkTool" width="90"/>
|
|
|
|
|
|
|
|
<el-table-column label="检测项分类" align="center" prop="itemType" width="100" :formatter="itemTypeFormat" />
|
|
|
|
|
|
|
|
<el-table-column label="合格判定比例" align="center" prop="judgeRate" width="150"/>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
<pagination
|
|
|
|
<pagination
|
|
|
|
v-show="total>0"
|
|
|
|
v-show="total>0"
|
|
|
@ -146,6 +148,16 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
//检测项类型格式化
|
|
|
|
|
|
|
|
itemTypeFormat(row, column, cellValue) {
|
|
|
|
|
|
|
|
if (cellValue != null) {
|
|
|
|
|
|
|
|
if(cellValue=='1'){
|
|
|
|
|
|
|
|
return '包装';
|
|
|
|
|
|
|
|
}else if(cellValue=='0'){
|
|
|
|
|
|
|
|
return '内容物';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
//获取方案下拉数据
|
|
|
|
//获取方案下拉数据
|
|
|
|
getProjectList() {
|
|
|
|
getProjectList() {
|
|
|
|
getProjectOptions(this.queryParams).then(response => {
|
|
|
|
getProjectOptions(this.queryParams).then(response => {
|
|
|
|