pengjun 1 year ago
parent
commit
77a9b31c9f
  1. 2
      public/sysConfig.json
  2. 25
      src/components/doctorCheck/CheckPicture.vue

2
public/sysConfig.json

@ -2,5 +2,5 @@
"apiurl": "http://192.168.2.67:9529",
"softName": "神豚体检管理系统",
"pacsApi":"http://192.168.2.74:9529",
"dcmServe":"http://192.168.2.67:5081"
"dcmViewers":"http://192.168.2.74:5081"
}

25
src/components/doctorCheck/CheckPicture.vue

@ -64,11 +64,22 @@
</div>
</div>
</div>
<el-dialog title="图片上传" :visible.sync="dialogCheckPictureUpload" :close-on-click-modal="false" width="800px"
@close="getCheckPictures(doctorCheck.RegisterCheckId)">
<CheckPictureUpload :registerCheckId="doctorCheck.RegisterCheckId" :uploadSeq="uploadSeq"
:closePicUpload="closePicUpload" />
</el-dialog>
<el-dialog title="Dcm查看" :visible.sync="dialogDcm" :close-on-click-modal="false" fullscreen>
<div style="display: flex;">
<div>
<iframe :src="iframeSrc" height="600" width="800"></iframe>
</div>
<div></div>
</div>
</el-dialog>
</div>
</template>
<script>
@ -92,6 +103,8 @@ export default {
routeUrlorPageName: 'doctorCheck', //
privs: [] //
},
dialogDcm: false,
iframeSrc: '',
checkPictures: [
// {
// id: "1",
@ -288,6 +301,14 @@ export default {
},
// Dcm
btnBrowseDcm() {
this.iframeSrc = `${this.sysConfig.dcmViewers}/?mrn=24071610696`
this.dialogDcm = true
},
// Dcm
btnBrowseDcmBak() {
if (!this.doctorCheck.RegisterCheckId) {
@ -299,7 +320,7 @@ export default {
let a = document.createElement('a');
// href URL
a.href = `${this.sysConfig.dcmServe}/?mrn=0000002`;
a.href = `${this.sysConfig.dcmViewers}/?mrn=24071610696`;
// target
a.target = '_blank';
@ -319,7 +340,7 @@ export default {
// document.body.removeChild(a);
},
btnBrowseDcm() {
btnBrowseDcmBak2() {
let userName = "peis", key = "peis@123"
// let encodedAuthstring = btoa(this.stringToAscIIBytes(`${userName}:${key}`));
let encodedAuthstring = this.toBase64FromUtf8(`${userName}:${key}`);

Loading…
Cancel
Save