ソースを参照

修改/删除传参

zhouna 4 年 前
コミット
fdef1da395
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/components/qualityControl/QCTypeMang.vue

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

@@ -260,7 +260,7 @@
         }).catch(() => {});
       },
       ifUnbindDialog(data,type){
-        api.ifNeedUnbind({id:data.id,hospitalId:data.hospitalId,cancel:null}).then((res)=>{
+        api.ifNeedUnbind({id:data.id,hospitalId:data.hospitalId,cancel:null,oper:type==='modify'?'0':'1'}).then((res)=>{
         const {code,msg} = res.data;
           if(code==='00000005'){
             this.showConfirmDialog(msg,()=>{