From e65e30a7d79ca7e66f463f311549373ccd99f0a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Fri, 17 May 2024 10:57:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E6=A0=BC=E6=8F=90=E4=BA=A4=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/safetyinspection/safetyinspection.js | 3 +++ .../pages/safetyinspection/safetyinspection.wxml | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/subpages/safetyinspection/pages/safetyinspection/safetyinspection.js b/subpages/safetyinspection/pages/safetyinspection/safetyinspection.js index 8bd8fa4..a612a8a 100644 --- a/subpages/safetyinspection/pages/safetyinspection/safetyinspection.js +++ b/subpages/safetyinspection/pages/safetyinspection/safetyinspection.js @@ -303,6 +303,9 @@ handelClickSave(){ remark:this.data.remark, address:"" } + if (!this.data.reviewTime) { + form.reviewTime=null + } console.log(this.data.checkboxOptions.concat(this.data.addHiddenDangeList)) addRecord(form).then(res => { if(res.code == 0){ diff --git a/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml b/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml index f2f9bb3..ac32554 100644 --- a/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml +++ b/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml @@ -27,8 +27,7 @@ {{index + checkboxOptionsnumber -}}. {{item.hazardDesc}} + wx:for-item="item"> {{item.hazardDesc}}