Commit a8ab6ed0 by wangweidong

优化修改

parent a454520f
<template> <template>
<div> <div>
<Modal v-model="showDiagramModalSampleLook" title="检定(校准)证书" width="100%" class="footer-hidden iframeSampleLookThree"> <!-- <Modal v-model="showDiagramModalSampleLook" title="检定(校准)证书" width="100%" class="footer-hidden iframeSampleLookThree">-->
<div id="iframeSampleLookThree" style="text-align:center;align-content:center;width: 100%;height: 790px"> <!-- <div id="iframeSampleLookThree" style="text-align:center;align-content:center;width: 100%;height: 790px">-->
</div> <!-- </div>-->
<div slot="footer"> <!-- <div slot="footer">-->
</div> <!-- </div>-->
</Modal> <!-- </Modal>-->
<div v-show="showDiagramModalSampleLook"> <div v-show="showDiagramModalSampleLook">
<RecordIframe ref="iframeModal"></RecordIframe> <RecordIframe ref="iframeModal"></RecordIframe>
</div> </div>
...@@ -79,12 +79,12 @@ export default { ...@@ -79,12 +79,12 @@ export default {
name !== 'only' name !== 'only'
? 'http://record.patzn.com:7000/print/v1/eln/form_meter_' + formId ? 'http://record.patzn.com:7000/print/v1/eln/form_meter_' + formId
: 'http://record.patzn.com:7000/print/v1/form/' + formId : 'http://record.patzn.com:7000/print/v1/form/' + formId
$('#iframeSampleLookThree').html( // $('#iframeSampleLookThree').html(
'<iframe style="padding: 0px;width:100%;height:100%" frameborder="0" src=' + // '<iframe style="padding: 0px;width:100%;height:100%" frameborder="0" src=' +
encodeURI(url) + // encodeURI(url) +
'></iframe>' // '></iframe>'
) // )
// this.$refs.iframeModal._createIframe(url) this.$refs.iframeModal._createIframe(url)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment