|
@@ -52,12 +52,12 @@
|
|
return {
|
|
return {
|
|
formData:{
|
|
formData:{
|
|
'hdangerId': undefined,
|
|
'hdangerId': undefined,
|
|
- 'formCode': 'submit',
|
|
|
|
|
|
+ 'formCode': 'rectify',
|
|
'hdangerTitle': '', // 预警标题
|
|
'hdangerTitle': '', // 预警标题
|
|
'dangerCatId': undefined, // 预警类别ID
|
|
'dangerCatId': undefined, // 预警类别ID
|
|
'hdangerLevel': 1, // 预警等级
|
|
'hdangerLevel': 1, // 预警等级
|
|
'rectifyRemark': '', // 描述
|
|
'rectifyRemark': '', // 描述
|
|
- 'submitTime': parseTime(new Date()),
|
|
|
|
|
|
+ 'rectifyTime': parseTime(new Date()),
|
|
'dangerDeadline': '', // 截止时间
|
|
'dangerDeadline': '', // 截止时间
|
|
'goafId': undefined,
|
|
'goafId': undefined,
|
|
'checklistId': '',
|
|
'checklistId': '',
|
|
@@ -162,7 +162,7 @@
|
|
if (flow.curActivityCode === 'accept') {
|
|
if (flow.curActivityCode === 'accept') {
|
|
this.formData.status = 3
|
|
this.formData.status = 3
|
|
}
|
|
}
|
|
- this.formData.submitTime=parseTime(this.formData.submitTime)
|
|
|
|
|
|
+ this.formData.rectifyTime=parseTime(this.formData.rectifyTime)
|
|
this.formData.dangerDeadline=parseTime(this.formData.dangerDeadline)
|
|
this.formData.dangerDeadline=parseTime(this.formData.dangerDeadline)
|
|
updateDanger(this.formData).then((resp) => {
|
|
updateDanger(this.formData).then((resp) => {
|
|
uni.switchTab({
|
|
uni.switchTab({
|