...
|
...
|
@@ -52,23 +52,22 @@ export default { |
|
|
let list = Vue.ref({
|
|
|
columns: [{
|
|
|
prop: 'faultNo',
|
|
|
width:90,
|
|
|
width:120,
|
|
|
label: '故障编号',
|
|
|
},{
|
|
|
prop: 'faultBody',
|
|
|
width:150,
|
|
|
width:200,
|
|
|
label: '故障主体',
|
|
|
}, {
|
|
|
prop: 'createTime',
|
|
|
width:100,
|
|
|
width:170,
|
|
|
label: '发生时间',
|
|
|
}, {
|
|
|
prop: 'duration',
|
|
|
width:80,
|
|
|
width:100,
|
|
|
label: '持续时长',
|
|
|
},{
|
|
|
prop: 'solution',
|
|
|
width:200,
|
|
|
label: '处理方案'
|
|
|
}],
|
|
|
dataList: [],
|
...
|
...
|
@@ -86,7 +85,6 @@ export default { |
|
|
let params = {
|
|
|
configId: props.itemInfo.configId,
|
|
|
}
|
|
|
|
|
|
proxy.$http.get('/api-web/fault/result/findFaultListByConfigId', params, function (res) {
|
|
|
if (res && res.success) {
|
|
|
list.value.dataList = res.data;
|
...
|
...
|
@@ -96,17 +94,10 @@ export default { |
|
|
});
|
|
|
}
|
|
|
|
|
|
|
|
|
let handleClick = (row,index) =>{
|
|
|
console.log(row,index);
|
|
|
emit('callback',row);
|
|
|
}
|
|
|
|
|
|
// // 监听编辑状态
|
|
|
// Vue.watch(() => props.itemInfo, (newValue, oldVlaue) => {
|
|
|
// getPage();
|
|
|
// });
|
|
|
|
|
|
// 挂载完
|
|
|
Vue.onMounted(() => {
|
|
|
getPage();
|
...
|
...
|
|