|
|
|
@ -3,7 +3,7 @@ |
|
|
|
<div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '采图')"> |
|
|
|
<el-button type="primary" class="btnClass" @click="btnGetPic" :disabled="doctorBtnDisabled('btnGetPic')" |
|
|
|
size="small">采图</el-button> |
|
|
|
size="small" v-loading.fullscreen.lock="fullscreenLoading">采图</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '导图')"> |
|
|
|
<el-button type="primary" class="btnClass" @click="btnExpPic" :disabled="doctorBtnDisabled('btnExpPic')" |
|
|
|
@ -269,6 +269,7 @@ export default { |
|
|
|
cutPicParam: {}, |
|
|
|
pictureFileType: '1', |
|
|
|
getPicing:false, //是否采图中 |
|
|
|
fullscreenLoading:false, // 采图交互状态 |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -462,16 +463,19 @@ export default { |
|
|
|
age: (this.patient_register.age || '') + '', |
|
|
|
asbitemName: this.doctorCheck.checkRequestNo || 'temp' |
|
|
|
} |
|
|
|
// console.log('this.$peisAPI.imageAcquisition', JSON.stringify(toOutShell)) |
|
|
|
|
|
|
|
let loading = Loading.service({ |
|
|
|
lock: true, |
|
|
|
text: "正在加载中,请稍后", |
|
|
|
spinner: "el-icon-loading", |
|
|
|
background: "rgba(0, 0, 0, 0)", |
|
|
|
customClass: "boxStyle" |
|
|
|
}); |
|
|
|
// console.log('this.$peisAPI.imageAcquisition', JSON.stringify(toOutShell)) |
|
|
|
|
|
|
|
/* 存在bug ,人员登记时,偶发触发这个 |
|
|
|
// let loading = Loading.service({ |
|
|
|
// lock: true, |
|
|
|
// text: "正在加载中,请稍后", |
|
|
|
// spinner: "el-icon-loading", |
|
|
|
// background: "rgba(0, 0, 0, 0)", |
|
|
|
// customClass: "boxStyle" |
|
|
|
// }); |
|
|
|
*/ |
|
|
|
this.fullscreenLoading = true |
|
|
|
this.$peisAPI.imageAcquisition(JSON.stringify(toOutShell)) |
|
|
|
.then(async (res) => { |
|
|
|
let lres = JSON.parse(res) |
|
|
|
@ -526,7 +530,8 @@ export default { |
|
|
|
}).catch(err => { |
|
|
|
this.$message.error(err) |
|
|
|
}).finally(() => { |
|
|
|
loading.close() |
|
|
|
// loading.close() |
|
|
|
this.fullscreenLoading = false |
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
|