<template>
  <!-- <div :style="{width:screenWidth,height:screenHeight}"> -->
  <div style="height:90vh;width:80vw">
    <div
      v-if="!isShow"
      style="width:80%"
    >
      <businessForm :form-config="formConfig" />
      <businessButton :btn-config="btnConfig" />
    </div>
    <div
      v-else
      style="height: 90vh"
    >
      <iframe
        id="printTemplate"
        ref="printTemplate"
        :src="`/iframe/PrintTemplate/AddTemplate.html#id=${id}`"
        frameborder="0"
        class="height100"
        style="width: 100%"
      />
    </div>
  </div>
</template>

<script>
  import printTemplate from '@yunque/js/modal/storageCentent/printTemplate.js';

  export default printTemplate;
</script>

<style >
.height100 {
  height: 100%;
}
</style>
