|
|
@ -87,8 +87,8 @@
|
|
|
|
<el-table v-loading="loading" :data="electricalInspectionList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table v-loading="loading" :data="electricalInspectionList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table-column type="selection" width="55" align="center"/>
|
|
|
|
<el-table-column type="selection" width="55" align="center"/>
|
|
|
|
<el-table-column label="唯一标识" align="center" prop="uuid" v-if="columns[0].visible"/>
|
|
|
|
<el-table-column label="唯一标识" align="center" prop="uuid" v-if="columns[0].visible"/>
|
|
|
|
<el-table-column label="测试总结果" align="center" prop="result" v-if="columns[1].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="产品条码" align="center" prop="barcode" v-if="columns[2].visible"/>
|
|
|
|
<el-table-column label="产品条码" align="center" prop="barcode" v-if="columns[2].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="测试总结果" align="center" prop="result" v-if="columns[1].visible"/>
|
|
|
|
<el-table-column label="测试时间" align="center" prop="testTime" v-if="columns[3].visible"/>
|
|
|
|
<el-table-column label="测试时间" align="center" prop="testTime" v-if="columns[3].visible"/>
|
|
|
|
<el-table-column label="测试数据" align="center" prop="testData" v-if="columns[4].visible"/>
|
|
|
|
<el-table-column label="测试数据" align="center" prop="testData" v-if="columns[4].visible"/>
|
|
|
|
<el-table-column label="记录时间" align="center" prop="recordTime" width="180" v-if="columns[5].visible">
|
|
|
|
<el-table-column label="记录时间" align="center" prop="recordTime" width="180" v-if="columns[5].visible">
|
|
|
@ -265,12 +265,12 @@ export default {
|
|
|
|
// 表单校验
|
|
|
|
// 表单校验
|
|
|
|
rules: {},
|
|
|
|
rules: {},
|
|
|
|
columns: [
|
|
|
|
columns: [
|
|
|
|
{ key: 0, label: `唯一标识`, visible: true },
|
|
|
|
{ key: 0, label: `唯一标识`, visible: false },
|
|
|
|
{ key: 1, label: `测试总结果`, visible: true },
|
|
|
|
{ key: 1, label: `测试总结果`, visible: true },
|
|
|
|
{ key: 2, label: `产品条码`, visible: true },
|
|
|
|
{ key: 2, label: `产品条码`, visible: true },
|
|
|
|
{ key: 3, label: `测试时间`, visible: true },
|
|
|
|
{ key: 3, label: `测试时间`, visible: true },
|
|
|
|
{ key: 4, label: `测试数据`, visible: true },
|
|
|
|
{ key: 4, label: `测试数据`, visible: false },
|
|
|
|
{ key: 5, label: `记录时间`, visible: true }
|
|
|
|
{ key: 5, label: `记录时间`, visible: false }
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|