点检、巡检、保养页面效果优化+校验

master
wws 10 months ago
parent 89b1f3f9bf
commit 5309d502f6

@ -787,6 +787,7 @@ export default {
methods: {
//
showWork(row) {
this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@ -798,6 +799,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
this.loading = false;
this.workDetail = true;
});
@ -889,6 +891,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
this.loading = true;
this.reset();
this.recordList = [];
const orderCode = row.orderCode || this.ids
@ -903,6 +906,7 @@ export default {
this.recordList.push(this.form.detailList[i].standardList[j]);
}
}
this.loading = false;
this.open = true;
this.title = "填写记录";
});

@ -1156,6 +1156,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
this.loading = true;
this.reset();
//
this.queryEquipment = [];
@ -1179,6 +1180,7 @@ export default {
}
}
this.loading = false;
this.open = true;
this.title = "修改计划";
})

@ -346,12 +346,12 @@
<span>{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column width="120" label="执行开始时间" align="center" prop="orderStart">
<el-table-column v-if="false" width="120" label="执行开始时间" align="center" prop="orderStart">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column width="120" label="执行结束时间" align="center" prop="orderEnd">
<el-table-column v-if="false" width="120" label="执行结束时间" align="center" prop="orderEnd">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}</span>
</template>
@ -672,6 +672,7 @@ export default {
},
//
showWork(row) {
this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@ -683,6 +684,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
this.loading = false;
this.workDetail = true;
});

@ -197,8 +197,8 @@
<el-table-column v-if="false" label="主键" align="center" prop="itemId"/>
<el-table-column width="60" align="center" label="序号" type="index"></el-table-column>
<el-table-column width="120" label="检查项编码" align="center" prop="itemCode"/>
<el-table-column width="120" label="检查项" align="center" prop="itemName"/>
<el-table-column width="120" label="方法/工具" align="center" prop="itemMethod"/>
<el-table-column width="200" label="检查项" align="center" prop="itemName"/>
<el-table-column width="150" label="方法/工具" align="center" prop="itemMethod"/>
<el-table-column width="120" label="维护类型编码" align="center" prop="itemType"/>
<el-table-column width="120" label="维护类型" align="center" prop="itemTypeName"/>
<el-table-column width="200" label="备注" align="center" prop="itemRemark"/>
@ -588,6 +588,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
this.loading = true;
this.reset();
this.activePage = 'check';
this.setTransfer();
@ -602,6 +603,7 @@ export default {
})
this.formStandard = response.data.formStandard;
this.loading = false;
this.open = true;
this.title = "修改检查项";
});

@ -749,6 +749,7 @@ export default {
},
//
showWork(row) {
this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@ -770,6 +771,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
this.loading = false;
this.workDetail = true;
});

@ -718,6 +718,7 @@ export default {
/** 查询按钮操作 */
handleView(row) {
this.loading = true;
this.reset();
const workId = row.workId || this.ids;
getRepairOrder(workId).then((response) => {
@ -781,6 +782,7 @@ export default {
this.detailList = standards;
//
this.loading = false;
this.openView = true;
this.title = "查看维修工单";
});

@ -1182,6 +1182,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
this.loading = true;
this.reset();
//
this.queryEquipment = [];
@ -1205,6 +1206,7 @@ export default {
}
}
this.loading = false;
this.open = true;
this.title = "修改计划";
})

@ -785,6 +785,7 @@ export default {
},
//
showWork(row) {
this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@ -796,6 +797,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
this.loading = false;
this.workDetail = true;
});
@ -889,6 +891,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
this.loading = true;
this.reset();
this.recordList = [];
const orderCode = row.orderCode || this.ids
@ -903,6 +906,7 @@ export default {
this.recordList.push(this.form.detailList[i].standardList[j]);
}
}
this.loading = false;
this.open = true;
this.title = "填写记录";
});

@ -337,12 +337,12 @@
<span>{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column width="120" label="执行开始时间" align="center" prop="orderStart">
<el-table-column v-if="false" width="120" label="执行开始时间" align="center" prop="orderStart">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column width="120" label="执行结束时间" align="center" prop="orderEnd">
<el-table-column v-if="false" width="120" label="执行结束时间" align="center" prop="orderEnd">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}</span>
</template>
@ -655,6 +655,7 @@ export default {
},
//
showWork(row) {
this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@ -666,6 +667,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
this.loading = false;
this.workDetail = true;
});

@ -1414,6 +1414,7 @@ export default {
},
//
showWork(row) {
this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@ -1435,6 +1436,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
this.loading = false;
this.workDetail = true;
});
@ -1762,6 +1764,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
this.loading = true;
this.reset();
this.recordList = [];
const orderCode = row.orderCode || this.ids
@ -1776,6 +1779,7 @@ export default {
this.recordList.push(this.form.detailList[i].standardList[j]);
}
}
this.loading = false;
this.open = true;
this.title = "填写记录";
});

@ -1530,6 +1530,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
this.loading = true;
this.reset();
//
this.queryEquipment = [];
@ -1554,6 +1555,7 @@ export default {
}
this.loading = false;
this.open = true;
this.title = "修改计划";
})

Loading…
Cancel
Save