浏览代码

质控类型绑定bug

zhouna 4 年之前
父节点
当前提交
17d7fc7670
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/qualityControl/QCTypeMang.vue

+ 1 - 1
src/components/qualityControl/QCTypeMang.vue

@@ -279,7 +279,7 @@
       },
       unbindQcType(data,type){
         api.ifNeedUnbind({id:data.id,hospitalId:data.hospitalId,cancel:1}).then((res)=>{
-          if(res.data.code=='00000005'){
+          if(res.data.code=='0'){
             this.warning(res.data.msg||'解绑成功','success');
             if(type==='modify'){
               this.toEditField(data,type);     //编辑