From 0ada43986d64c6a2e0bcdaa7a4968ff6e567231e Mon Sep 17 00:00:00 2001 From: jiayu Date: Thu, 25 Jul 2024 18:29:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/projectEnd/InspectionRoute/editInspectionPlan.vue | 5 +---- pages/projectEnd/InspectionRoute/planTaskDetail.vue | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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; }