userCenterTaberListUnionPrint.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <template>
  2. <div id="print">
  3. <div style="text-align: center;color: #000;font-size: 18px;font-weight: 700;">
  4. <div>{{$i18n.locale=='zh'?'全球能源互联网联盟成员申请表':'Global energy Internet alliance membership application form'}}</div>
  5. </div>
  6. <div style="width: 100%;margin-top: 10px;" class="border">
  7. <div class="table-head">
  8. <table>
  9. <colgroup>
  10. <col style="width: 80px;" />
  11. <col />
  12. </colgroup>
  13. <thead>
  14. <tr class="linkCenter"><th>{{$t('common.Basicinformationofapplicant')}}</th></tr>
  15. </thead>
  16. </table>
  17. </div>
  18. <div class="table-body">
  19. <table>
  20. <colgroup><col style="width: 80px;" /><col /></colgroup>
  21. <tbody class="linkCenter">
  22. <tr>
  23. <td :style="$i18n.locale=='zh'?'width: 30%':'width:40%'" class="black">{{$t('common.FullChinesenameofthecompany')}}</td>
  24. <td :style="$i18n.locale=='zh'?'width: 70%':'width:60%'">{{form.unitZhName}}</td>
  25. </tr>
  26. <tr>
  27. <td :style="$i18n.locale=='zh'?'width: 30%':'width:40%'" class="black">{{$t('common.FullEnglishnameofunit')}}</td>
  28. <td :style="$i18n.locale=='zh'?'width: 70%':'width:60%'">{{form.unitEnName}}</td>
  29. </tr>
  30. <tr>
  31. <td :style="$i18n.locale=='zh'?'width: 30%':'width:40%'" class="black">{{$t('common.OfficialWebsite')}}</td>
  32. <td :style="$i18n.locale=='zh'?'width: 70%':'width:60%'">{{form.unitWebsite}}</td>
  33. </tr>
  34. <tr>
  35. <td :style="$i18n.locale=='zh'?'width: 30%':'width:40%'" class="black">{{$t('common.Unitaddress')}}</td>
  36. <td :style="$i18n.locale=='zh'?'width: 70%':'width:60%'">{{form.unitAddress}}</td>
  37. </tr>
  38. <tr>
  39. <td :style="$i18n.locale=='zh'?'width: 30%':'width:40%'" class="black">{{$t('common.PostalCode')}}</td>
  40. <td :style="$i18n.locale=='zh'?'width: 70%':'width:60%'">{{form.postalCode}}</td>
  41. </tr>
  42. <tr>
  43. <td :style="$i18n.locale=='zh'?'width: 30%':'width:40%'" class="black">{{$t('common.LegalRepresentative')}}</td>
  44. <td :style="$i18n.locale=='zh'?'width: 70%':'width:60%'" >{{form.corporateName}}</td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. </div>
  49. <div style="width:100%">
  50. <div style="font-weight: 700;color: #000; text-align: center">{{$t('common.BriefIntroductionOfApplicant')}}</div>
  51. <p style="line-height: 30px;margin:0 40px 20px 20px;min-height: 200px;white-space:normal">{{form.unitIntroduction}}</p>
  52. </div>
  53. <div class="table-head">
  54. <table cellspacing="0" cellpadding="0"width="100%" height="100%">
  55. <colgroup>
  56. <col style="width: 80px;" />
  57. <col />
  58. </colgroup>
  59. <thead>
  60. <tr class="linkCenter"><th>{{$t('common.Contactbasicinformation')}}</th></tr>
  61. </thead>
  62. </table>
  63. </div>
  64. <div class="table-body">
  65. <table width="100%" cellpadding="0" cellspacing="0">
  66. <colgroup><col style="width: 80px;" /><col /></colgroup>
  67. <tbody class="linkCenter">
  68. <tr>
  69. <td style="width: 20%;" class="black">{{$t('common.fullName')}}</td>
  70. <td style="width: 30%;">{{form2.contactsName}}</td>
  71. <td class="black" style="width: 20%;">{{$t('common.Department')}}</td>
  72. <td>{{form2.depart}}</td>
  73. </tr>
  74. <tr>
  75. </tr>
  76. <tr style="width: 100%;">
  77. <td class="black" style="width: 20%;">{{$t('common.Position')}}</td>
  78. <td style="width: 30%;">{{form2.currentDuty}}</td>
  79. <td class="black" style="width: 20%;">{{$t('common.ContactPhoneNumber')}}</td>
  80. <td>{{form2.telephoneNumber}}</td>
  81. </tr>
  82. <tr>
  83. <td class="black" style="width: 20%;">{{$t('common.Emails')}}</td>
  84. <td style="width: 30%;">{{form2.email}}</td>
  85. <td class="black" style="width: 20%;">{{$t('common.Fax')}}</td>
  86. <td>{{form2.faxNumber}}</td>
  87. </tr>
  88. </tbody>
  89. </table>
  90. </div>
  91. <div class="table-head" v-if="!form.leagueType">
  92. <table cellspacing="0" cellpadding="0"width="100%" height="100%">
  93. <colgroup>
  94. <col style="width: 80px;" />
  95. <col />
  96. </colgroup>
  97. <thead>
  98. <tr class="linkCenter"><th>{{$i18n.locale=='zh'?'全球能源互联网联盟':'Global Energy Internet '}}</th></tr>
  99. </thead>
  100. </table>
  101. </div>
  102. <div class="table-head">
  103. <table cellspacing="0" cellpadding="0"width="100%" height="100%">
  104. <colgroup>
  105. <col style="width: 80px;" />
  106. <col />
  107. </colgroup>
  108. <thead>
  109. <tr class="linkCenter"><th>{{$i18n.locale=='zh'?'选择加入的联盟':'Choose to join the Alliance'}}:</th></tr>
  110. </thead>
  111. </table>
  112. </div>
  113. <div class="table-body" v-if="form.leagueName">
  114. <table width="100%" cellpadding="0" cellspacing="0">
  115. <colgroup><col style="width: 80px;" /><col /></colgroup>
  116. <tbody class="linkCenter" >
  117. <div style="width: 100%;margin-top: 30px;margin-bottom: 30px;">
  118. <el-radio v-for="(item,index) in baseLeagueEntities" :label="form.leagueName.indexOf(item.leagueName) ==-1 ? index + 1 : index " v-model="index">{{$i18n.locale=='zh'?'全球能源互联网联盟':'Global Energy Internet '}}{{item.leagueName}}</el-radio>
  119. </div>
  120. </tbody>
  121. </table>
  122. </div>
  123. <div class="table-head">
  124. <table cellspacing="0" cellpadding="0"width="100%" height="100%">
  125. <colgroup>
  126. <col style="width: 80px;" />
  127. <col />
  128. </colgroup>
  129. <thead>
  130. <tr class="linkCenter"><span>{{$t('common.Statement')}}:</span></tr>
  131. </thead>
  132. </table>
  133. </div>
  134. <div class="table-body">
  135. <table width="100%" cellpadding="0" cellspacing="0">
  136. <div style="text-indent: 30px; line-height: 30px;">
  137. {{ $i18n.locale=='zh'?'本单位意愿加入全球能源互联网发展合作组织(GEIDCO),并遵守全球能源互联网发展合作组织章程。'
  138. :'We are willing to join the Global Energy Interconnection Development and Cooperation (geidco) and abide by the articles of association of Global Energy Interconnection Development and Cooperation'}}
  139. </div>
  140. <div>{{$t('common.herebydeclarethat')}}:</div>
  141. <div style="margin-left: 65%;line-height: 30px;">
  142. <div style="margin-left: 30px;">{{$t('common.Unitseal')}}</div>
  143. <div>
  144. <span style="margin-right: 35px;">{{$t('common.year')}}</span>
  145. <span style="margin-right: 35px;">{{$t('common.Months')}}</span>
  146. <span style="margin-right: 35px;">{{$t('common.day')}}</span>
  147. </div>
  148. </div>
  149. </table>
  150. </div>
  151. </div>
  152. </div>
  153. </template>
  154. <script>
  155. import {getBaseLeagues} from '@/api/cooperation/baseLeagueEntity'
  156. export default {
  157. name:'userCenterTaberListUnionPrint',
  158. props:['form',"form2"],
  159. data(){
  160. return{
  161. baseLeagueEntities:[],
  162. }
  163. },
  164. mounted(){
  165. this.getData();
  166. },
  167. methods:{
  168. getData(){
  169. getBaseLeagues({language:this.$i18n.locale.toUpperCase()}).then(result =>{
  170. const data = result.data
  171. this.baseLeagueEntities = data.baseLeagueInfos;
  172. });
  173. }
  174. }
  175. }
  176. </script>
  177. <style scoped>
  178. table{width: 80%;margin: 0 auto;border-collapse: collapse}
  179. #print .table-head{padding-right:17px;background-color:#e2efd9;color:#000;}
  180. #print.table-body{width:100%; }
  181. #print.table-head table,.table-body table{width:100%;}
  182. #print.table-body table tr:nth-child(2n+1){background-color:#f2f2f2;}
  183. .black {
  184. color: #000;
  185. font-weight: 700;
  186. font-size: 15px;
  187. }
  188. td {
  189. border: 1px solid #ccc;
  190. height: 40px;
  191. }
  192. .border {
  193. border: 1px solid #ccc;
  194. }
  195. @media print{
  196. table{
  197. border-collapse: collapse;
  198. border: none;
  199. width:100%;
  200. border: 1px solid #ccc;
  201. }
  202. td,th {
  203. padding:2px 4px;
  204. min-height:50px;
  205. line-height: 20px;
  206. font-size: 10px;
  207. border:1px solid #e6e6e6;
  208. }
  209. td,tr {
  210. font-size: 9px;
  211. background-color: #e5f5fb;
  212. background-color: #fbfbfb;
  213. border: 1px solid #ccc;
  214. }
  215. .none {
  216. display: none
  217. }
  218. span {
  219. margin-right:15px
  220. }
  221. .a4 {
  222. page-break-before: auto;
  223. page-break-after: always;
  224. }
  225. }
  226. .linkCenter{
  227. line-height:50px;
  228. text-align: center;
  229. }
  230. </style>