|
@@ -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,()=>{
|