bfd372e4b38636d27cd93fabec9a1536e71e4e43.svn-base 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <template>
  2. <div id="dxstianbaoId">
  3. <el-container>
  4. <div class="minHeight" style="display: flex;justify-content: center;margin-top: 20px;">
  5. <div>
  6. <!-- <p style="font-size:25px;padding-bottom:10px;color: #409EFF;">批量简历关联指导视频</p>
  7. <div style="margin-bottom:20px;width:1025px;">
  8. <video-player class="video-player vjs-custom-skin"
  9. ref="videoPlayer"
  10. :playsinline="true"
  11. :options="playerOptions"
  12. ></video-player>
  13. </div> -->
  14. <el-steps direction="vertical" :active="1">
  15. <el-step title="方法/步骤 1" description="第一步:准备简历文件,将所有的简历文件pdf命名为:姓名+身份证号。"></el-step>
  16. <el-step title="方法/步骤 2"
  17. description="第二步:选中所有的简历文件,单击鼠标右键,点击【添加到压缩文件】,注意:是将简历文件压缩,而不是将放置简历的文件夹压缩。"></el-step>
  18. <div style="margin-bottom:20px">
  19. <img :src="jianli_img1_src" style="width:1025px">
  20. </div>
  21. <el-step title="方法/步骤 3" description="第三步:输入文件名(随便填),格式选择ZIP,点击确定。"></el-step>
  22. <div style="margin-bottom:20px">
  23. <img :src="jianli_img2_src" style="width:1025px">
  24. </div>
  25. <el-step title="方法/步骤 4" description="第四步:打开人员管理-人员信息页面。点击【批量关联简历】,然后在弹出页面中点击添加"></el-step>
  26. <div style="margin-bottom:20px">
  27. <img :src="jianli_img3_src" style="width:1025px">
  28. </div>
  29. <el-step title="方法/步骤 5" description="第五步:依次点击选择文件,点击【打开】,点击【确定】"></el-step>
  30. <div style="margin-bottom:20px">
  31. <img :src="jianli_img4_src" style="width:1025px">
  32. </div>
  33. <el-step title="方法/步骤 6"
  34. description="第六步:人员信息表查找到相应人员,点击【编辑】,找到最后一行简历,查看简历是否已经关联到人员上。"></el-step>
  35. <div style="margin-bottom:20px">
  36. <img :src="jianli_img5_src" style="width:1025px">
  37. </div>
  38. </el-steps>
  39. </div>
  40. </div>
  41. </el-container>
  42. </div>
  43. </template>
  44. <script>
  45. import request from "../../utils/gw_ajax_request.js";
  46. import 'video.js/dist/video-js.css';
  47. import {videoPlayer} from 'vue-video-player';
  48. // Similarly, you can also introduce the plugin resource pack you want to use within the component
  49. // import 'some-videojs-plugin'
  50. export default {
  51. components: {},
  52. data() {
  53. return {
  54. playerOptions: {
  55. playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度
  56. autoplay: false, //如果true,浏览器准备好时开始回放。
  57. muted: false, // 默认情况下将会消除任何音频。
  58. loop: false, // 导致视频一结束就重新开始。
  59. preload: 'auto', // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
  60. language: 'zh-CN',
  61. aspectRatio: '16:9', // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
  62. fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
  63. sources: [{
  64. type: 'video/mp4', // 类型
  65. src: "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" // 路径
  66. },
  67. {
  68. src: '//path/to/video.webm',
  69. type: 'video/webm'
  70. }],
  71. // poster: "/static/images/author.jpg",
  72. poster: "../../static/images/test.jpg", //你的封面地址
  73. // width: document.documentElement.clientWidth,
  74. notSupportedMessage: '此视频暂无法播放,请稍后再试', //允许覆盖Video.js无法播放媒体源时显示的默认信息。
  75. controlBar: {
  76. timeDivider: true,
  77. durationDisplay: true,
  78. remainingTimeDisplay: false,
  79. fullscreenToggle: true //全屏按钮
  80. }
  81. },
  82. jianli_img1_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img1.png'),
  83. jianli_img2_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img2.png'),
  84. jianli_img3_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img3.png'),
  85. jianli_img4_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img4.png'),
  86. jianli_img5_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img5.png'),
  87. }
  88. },
  89. mounted() {
  90. console.log('this is current player instance object', this.player)
  91. },
  92. computed: {
  93. player() {
  94. return this.$refs.videoPlayer.player
  95. },
  96. persId() {
  97. return localStorage.getItem("userid")
  98. ? localStorage.getItem("userid")
  99. : "1098101939614724096";
  100. },
  101. recPersName() {
  102. return localStorage.getItem("account") ? localStorage.getItem("account") : ''
  103. }
  104. },
  105. methods: {
  106. // listen event
  107. onPlayerPlay(player) {
  108. // console.log('player play!', player)
  109. },
  110. onPlayerPause(player) {
  111. // console.log('player pause!', player)
  112. },
  113. // ...player event
  114. // or listen state event
  115. playerStateChanged(playerCurrentState) {
  116. // console.log('player current update state', playerCurrentState)
  117. },
  118. onPlayerEnded(playerCurrentState) {
  119. console.log('player current update state', playerCurrentState)
  120. },
  121. // player is ready
  122. playerReadied(player) {
  123. console.log('the player is readied', player)
  124. // you can use it to do something...
  125. // player.[methods]
  126. }
  127. }
  128. }
  129. </script>
  130. <style lang="scss" scoped>
  131. #dxstianbaoId {
  132. background-color: #E4FDFF;
  133. height: 100%;
  134. overflow: auto;
  135. padding: 0 20px;
  136. .minHeight {
  137. width: 100%;
  138. }
  139. }
  140. </style>
  141. <style lang="scss">
  142. .minHeight .el-step.is-vertical .el-step__title,
  143. .el-step__title.is-process,
  144. .el-step__title.is-wait {
  145. font-size: 25px;
  146. padding-bottom: 10px;
  147. padding-top: 10px;
  148. color: #409EFF;
  149. font-weight: 700;
  150. }
  151. .minHeight .el-step__icon.is-text {
  152. border-color: #409EFF;
  153. }
  154. .minHeight .el-step__icon-inner {
  155. color: #409EFF;
  156. }
  157. .minHeight .el-step__description.is-finish,
  158. .el-step__description.is-process,
  159. .el-step__description.is-wait {
  160. font-size: 20px;
  161. padding: 10px 0px;
  162. color: #409EFF;
  163. }
  164. .video-js .vjs-big-play-button {
  165. top: 265px;
  166. left: 468px;
  167. }
  168. </style>