Răsfoiți Sursa

Merge branch 'Qz_daily_0.1.1' of git.xiaojukeji.com:pu_qa_tool/thoth-frontend into Qz_daily_0.1.1

qinzhipeng_v@didiglobal.com 4 ani în urmă
părinte
comite
54d284290c
1 a modificat fișierele cu 5 adăugiri și 2 ștergeri
  1. 5 2
      src/views/reportManagement/testPresentation.vue

+ 5 - 2
src/views/reportManagement/testPresentation.vue

@@ -309,8 +309,11 @@ export default {
     },
 
     async passOrBackSend() { // 提测打回
+      if (this.report_from.statusString === '打回' && !this.report_from.reason) {
+        this.$message({ message: '请填写打回原因', type: 'warning' })
+        return
+      }
       this.dialog_testData = false
-
       if (this.report_from.statusString === '通过' || this.report_from.statusString === '打回') {
         const data = {
           id: this.report_data.id,
@@ -383,7 +386,7 @@ export default {
           break
         case 2:
           this.dialog_testData = true
-          this.report_from.titName = '提测确认'
+          this.report_from.titName = '提测打回确认'
           this.report_from.statusString = '打回'
           break
         case 3: