diff --git a/pages/projectEnd/InspectionRoute/editInspectionPlan.vue b/pages/projectEnd/InspectionRoute/editInspectionPlan.vue index d76ddb7c..3d6a2b6a 100644 --- a/pages/projectEnd/InspectionRoute/editInspectionPlan.vue +++ b/pages/projectEnd/InspectionRoute/editInspectionPlan.vue @@ -348,10 +348,7 @@ import deepClone from "../../../uview-ui/libs/function/deepClone"; params.createUserId = this.userInfo.userId; params.createUserName = this.userInfo.account; let newDyForm = this.deepClone(this.dyFormData); - newDyForm.forEach(item => { - item.isRequired = item.isRequired == "1" ? true : false - }) - params.template = JSON.stringify(newDyForm); + params.routeToPointList = newDyForm; let apiUrl = 'xmgl/xzCheckingRoute/add'; let msg = "添加成功" diff --git a/pages/projectEnd/InspectionRoute/planTaskDetail.vue b/pages/projectEnd/InspectionRoute/planTaskDetail.vue index 9aa1bd6d..5e6ea0ce 100644 --- a/pages/projectEnd/InspectionRoute/planTaskDetail.vue +++ b/pages/projectEnd/InspectionRoute/planTaskDetail.vue @@ -342,7 +342,7 @@ import uPopup from '@/components/u-popup/u-popup.vue' font-size: 26rpx; text-align: left; font-family: SourceHanSansSC-regular; - white-space: nowrap; + // white-space: nowrap; &.wrap { white-space: pre-wrap; }