Browse Source

fix 验收后验收人改变

master
巴林闲侠 2 years ago
parent
commit
9458722430
  1. 3
      weapp/package/troubleshooting/index.js
  2. 3
      weapp/package/troubleshooting/index.json
  3. 2
      weapp/package/troubleshooting/shootingForm/index.js

3
weapp/package/troubleshooting/index.js

@ -136,7 +136,7 @@ Page({
}, },
onEndTimeChange (event) { onEndTimeChange (event) {
const { timeSelectedUnrealFlag, startTime, endTime } = this.data 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) { if (timeSelectedUnrealFlag && event.detail == 1640966400000) {
return return
} }
@ -148,6 +148,7 @@ Page({
startTime: startTime ? startTime : 1640966400000, startTime: startTime ? startTime : 1640966400000,
endTime: event.detail, endTime: event.detail,
}); });
return
}, },
onDropDownClose () { onDropDownClose () {

3
weapp/package/troubleshooting/index.json

@ -12,6 +12,7 @@
"van-checkbox": "@vant/weapp/checkbox/index", "van-checkbox": "@vant/weapp/checkbox/index",
"van-checkbox-group": "@vant/weapp/checkbox-group/index", "van-checkbox-group": "@vant/weapp/checkbox-group/index",
"van-datetime-picker": "@vant/weapp/datetime-picker/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"
} }
} }

2
weapp/package/troubleshooting/shootingForm/index.js

@ -373,7 +373,7 @@ Page({
...confirmData, ...confirmData,
checkOpinion: checkDesc, checkOpinion: checkDesc,
checkImage: checkImgs, checkImage: checkImgs,
checkPerson: { id: userInfo.id, name: userInfo.name } // checkPerson: { id: userInfo.id, name: userInfo.name }
} }
if (approve == 'agree') { if (approve == 'agree') {
nextState = 6 nextState = 6

Loading…
Cancel
Save