fix some bugs
This commit is contained in:
@@ -353,7 +353,7 @@ export default {
|
||||
queryData.createTime = this.queryParams.createTime;
|
||||
}
|
||||
this.$router.push({
|
||||
path: '/equipment/base/maintain/record',
|
||||
path: '/safety-environmental/special-equipment/equipment-maintain/maintain-record',
|
||||
query: queryData,
|
||||
});
|
||||
// this.$router.push({ path: '/equipment/base/maintain/record', query: { orderNo: row.orderNo }})
|
||||
|
||||
@@ -556,6 +556,19 @@ export default {
|
||||
this.form.relatePlan = tempRow.nextMaintainTime ? 1 : 2;
|
||||
this.form.startTime = tempRow.nextMaintainTime;
|
||||
this.form.maintainPlanId = tempRow.id;
|
||||
// await (() => {
|
||||
// return new Promise((acpt, rejt) => {
|
||||
// this.form.relatePlan =
|
||||
// this.$route.query.relatePlan ||
|
||||
// (tempRow.nextMaintainTime ? 1 : 2);
|
||||
// this.form.startTime = tempRow.nextMaintainTime;
|
||||
// acpt();
|
||||
// });
|
||||
// })();
|
||||
// this.$nextTick(() => {
|
||||
// this.form.maintainPlanId = tempRow.id;
|
||||
// this.form.equipmentId = tempRow.equipmentId;
|
||||
// });
|
||||
}
|
||||
if (this.$route.query.isAdd) {
|
||||
// 赋值
|
||||
|
||||
Reference in New Issue
Block a user