zhuhao 2 éve
szülő
commit
90b08d36d0

+ 11 - 4
RMS-FrontEnd/src/views/report/FTO/FTOPage/components/PatentFeatures.vue

@@ -692,10 +692,17 @@
       },
       // 点击完成协同按钮邮件发送完成通知
       keepSendCollaboration() {
-        // this.keep()
-        this.$api.taskFinish({id:this.taskId}).then((res) => {
-         this.$message.success("任务完成,邮件已发送成功")
-        })
+        this.$confirm('确认协同任务完成并发送邮件通知, 是否继续?', '提示', {
+              confirmButtonText: '确定',
+              cancelButtonText: '取消',
+              type: 'warning'
+            }).then(() => {
+              this.$api.taskFinish({id:this.taskId}).then((res) => {
+                this.$message.success("任务完成,邮件已发送成功")
+              })
+            }).catch(() => {
+              this.$message.info("已取消,请您继续进行协同任务")         
+        });
       },
       // 一键修改
       handleClick(row) {