From 9458722430089cfd0a547f4be56773c7fa67493d Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Wed, 8 Mar 2023 08:38:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E9=AA=8C=E6=94=B6=E5=90=8E=E9=AA=8C?= =?UTF-8?q?=E6=94=B6=E4=BA=BA=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/package/troubleshooting/index.js | 3 ++- weapp/package/troubleshooting/index.json | 3 ++- weapp/package/troubleshooting/shootingForm/index.js | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/weapp/package/troubleshooting/index.js b/weapp/package/troubleshooting/index.js index 257a999..6abd359 100644 --- a/weapp/package/troubleshooting/index.js +++ b/weapp/package/troubleshooting/index.js @@ -136,7 +136,7 @@ Page({ }, onEndTimeChange (event) { const { timeSelectedUnrealFlag, startTime, endTime } = this.data - console.log('结束时间', timeSelectedUnrealFlag, event.detail, new Date().getTime()); + console.log('结束时间', timeSelectedUnrealFlag, event, new Date().getTime()); if (timeSelectedUnrealFlag && event.detail == 1640966400000) { return } @@ -148,6 +148,7 @@ Page({ startTime: startTime ? startTime : 1640966400000, endTime: event.detail, }); + return }, onDropDownClose () { diff --git a/weapp/package/troubleshooting/index.json b/weapp/package/troubleshooting/index.json index d8f06e3..af35bd8 100644 --- a/weapp/package/troubleshooting/index.json +++ b/weapp/package/troubleshooting/index.json @@ -12,6 +12,7 @@ "van-checkbox": "@vant/weapp/checkbox/index", "van-checkbox-group": "@vant/weapp/checkbox-group/index", "van-datetime-picker": "@vant/weapp/datetime-picker/index", - "timePicker": "/components/timePicker/index" + "timePicker": "/components/timePicker/index", + "t-date-time-picker": "tdesign-miniprogram/date-time-picker/date-time-picker" } } \ No newline at end of file diff --git a/weapp/package/troubleshooting/shootingForm/index.js b/weapp/package/troubleshooting/shootingForm/index.js index d884f77..c6537a8 100644 --- a/weapp/package/troubleshooting/shootingForm/index.js +++ b/weapp/package/troubleshooting/shootingForm/index.js @@ -373,7 +373,7 @@ Page({ ...confirmData, checkOpinion: checkDesc, checkImage: checkImgs, - checkPerson: { id: userInfo.id, name: userInfo.name } + // checkPerson: { id: userInfo.id, name: userInfo.name } } if (approve == 'agree') { nextState = 6