diff --git a/src/pages/components/MonitAndWarning.vue b/src/pages/components/MonitAndWarning.vue index 76d3102..d16b9d8 100644 --- a/src/pages/components/MonitAndWarning.vue +++ b/src/pages/components/MonitAndWarning.vue @@ -119,7 +119,11 @@ export default { methods: { doShowDetail(item){ if(item.name == '劳资预警'){ - this.$refs.flowLabourDlg.showDialog(this.prjInfo); + if(this.type=="detail"){ + this.$refs.flowLabourDlg.showDialog(this.prjInfo); + }else{ + this.$refs.flowLabourDlg.showDialog({id:0}); + } } }, initMe() {