소스 검색

Merge branch 'master' of http://110.41.163.243:9980/kd-aiot/kd-aiot-frontend-wt

liujt 2 달 전
부모
커밋
9f616699f3
1개의 변경된 파일5개의 추가작업 그리고 7개의 파일을 삭제
  1. 5 7
      src/views/bpm/tickets/components/RepairDetailsDialog.vue

+ 5 - 7
src/views/bpm/tickets/components/RepairDetailsDialog.vue

@@ -514,11 +514,9 @@
           workOrderId: this.row.id
           workOrderId: this.row.id
         };
         };
         acceptance(params).then((res) => {
         acceptance(params).then((res) => {
-          if (res.success) {
-            this.$message.success('验收成功!');
-            this.$emit('refesh');
-            this.equipmentdialog = false;
-          }
+          this.$message.success('验收成功!');
+          this.$emit('refesh');
+          this.equipmentdialog = false;
         });
         });
       },
       },
       //驳回按钮事件
       //驳回按钮事件
@@ -547,14 +545,14 @@
           workOrderId: this.row.id
           workOrderId: this.row.id
         };
         };
         acceptance(params).then((res) => {
         acceptance(params).then((res) => {
-          if (res.code == 0) {
+          // if (res.code == 0) {
             this.$message.success(
             this.$message.success(
               orderStatus == 4 ? '审核通过!' : '驳回成功!'
               orderStatus == 4 ? '审核通过!' : '驳回成功!'
             );
             );
             this.$emit('refesh');
             this.$emit('refesh');
             this.btnLoading = false;
             this.btnLoading = false;
             this.equipmentdialog = false;
             this.equipmentdialog = false;
-          }
+          // }
         });
         });
       }
       }
     },
     },