From b2325f84f367eb78b2a5ca82f76fdb4a51204c4e Mon Sep 17 00:00:00 2001 From: haha Date: Wed, 8 May 2024 00:24:24 +0800 Subject: [PATCH] update code --- src/pages/components/MonitAndWarning.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() {