|
@@ -1289,16 +1289,21 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
updateYjYuAn() {
|
|
|
- let param = { eventCode: this.eventCode, reserve: this.sendGuanLianYuAn }
|
|
|
- updateYjYuAn(param).then(res => {
|
|
|
- //事件调整关联预案
|
|
|
- if (res.code == 200) {
|
|
|
- this.$message.success(`预案调整成功!`)
|
|
|
- this.refreshEventDialog(this.eventCode)
|
|
|
- this.sendGuanLianYuAn = null
|
|
|
- this.showGuanLianYuAnConfirm = false
|
|
|
- }
|
|
|
- })
|
|
|
+ if(this.eventStatusValue=='forest_event_status_1'){
|
|
|
+ this.$message.error(`未签收事件无法修改预案信息,请先签收!`)
|
|
|
+ return
|
|
|
+ }else{
|
|
|
+ let param = { eventCode: this.eventCode, reserve: this.sendGuanLianYuAn }
|
|
|
+ updateYjYuAn(param).then(res => {
|
|
|
+ //事件调整关联预案
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success(`预案调整成功!`)
|
|
|
+ this.refreshEventDialog(this.eventCode)
|
|
|
+ this.sendGuanLianYuAn = null
|
|
|
+ this.showGuanLianYuAnConfirm = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
listResourceByWz(type) {
|
|
|
if (this.resourcesListCheck.indexOf(type) > -1) {
|