| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <template>
- <div id="dxstianbaoId">
- <el-container>
- <div class="minHeight" style="display: flex;justify-content: center;margin-top: 20px;">
- <div>
- <!-- <p style="font-size:25px;padding-bottom:10px;color: #409EFF;">批量简历关联指导视频</p>
- <div style="margin-bottom:20px;width:1025px;">
- <video-player class="video-player vjs-custom-skin"
- ref="videoPlayer"
- :playsinline="true"
- :options="playerOptions"
- ></video-player>
- </div> -->
- <el-steps direction="vertical" :active="1">
- <el-step title="方法/步骤 1" description="第一步:准备简历文件,将所有的简历文件pdf命名为:姓名+身份证号。"></el-step>
- <el-step title="方法/步骤 2"
- description="第二步:选中所有的简历文件,单击鼠标右键,点击【添加到压缩文件】,注意:是将简历文件压缩,而不是将放置简历的文件夹压缩。"></el-step>
- <div style="margin-bottom:20px">
- <img :src="jianli_img1_src" style="width:1025px">
- </div>
- <el-step title="方法/步骤 3" description="第三步:输入文件名(随便填),格式选择ZIP,点击确定。"></el-step>
- <div style="margin-bottom:20px">
- <img :src="jianli_img2_src" style="width:1025px">
- </div>
- <el-step title="方法/步骤 4" description="第四步:打开人员管理-人员信息页面。点击【批量关联简历】,然后在弹出页面中点击添加"></el-step>
- <div style="margin-bottom:20px">
- <img :src="jianli_img3_src" style="width:1025px">
- </div>
- <el-step title="方法/步骤 5" description="第五步:依次点击选择文件,点击【打开】,点击【确定】"></el-step>
- <div style="margin-bottom:20px">
- <img :src="jianli_img4_src" style="width:1025px">
- </div>
- <el-step title="方法/步骤 6"
- description="第六步:人员信息表查找到相应人员,点击【编辑】,找到最后一行简历,查看简历是否已经关联到人员上。"></el-step>
- <div style="margin-bottom:20px">
- <img :src="jianli_img5_src" style="width:1025px">
- </div>
- </el-steps>
- </div>
- </div>
- </el-container>
- </div>
- </template>
- <script>
- import request from "../../utils/gw_ajax_request.js";
- import 'video.js/dist/video-js.css';
- import {videoPlayer} from 'vue-video-player';
- // Similarly, you can also introduce the plugin resource pack you want to use within the component
- // import 'some-videojs-plugin'
- export default {
- components: {},
- data() {
- return {
- playerOptions: {
- playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度
- autoplay: false, //如果true,浏览器准备好时开始回放。
- muted: false, // 默认情况下将会消除任何音频。
- loop: false, // 导致视频一结束就重新开始。
- preload: 'auto', // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
- language: 'zh-CN',
- aspectRatio: '16:9', // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
- fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
- sources: [{
- type: 'video/mp4', // 类型
- src: "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" // 路径
- },
- {
- src: '//path/to/video.webm',
- type: 'video/webm'
- }],
- // poster: "/static/images/author.jpg",
- poster: "../../static/images/test.jpg", //你的封面地址
- // width: document.documentElement.clientWidth,
- notSupportedMessage: '此视频暂无法播放,请稍后再试', //允许覆盖Video.js无法播放媒体源时显示的默认信息。
- controlBar: {
- timeDivider: true,
- durationDisplay: true,
- remainingTimeDisplay: false,
- fullscreenToggle: true //全屏按钮
- }
- },
- jianli_img1_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img1.png'),
- jianli_img2_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img2.png'),
- jianli_img3_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img3.png'),
- jianli_img4_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img4.png'),
- jianli_img5_src: require('../../assets/images_helpLink/jiChaJianLiGuanLian/jianli_img5.png'),
- }
- },
- mounted() {
- console.log('this is current player instance object', this.player)
- },
- computed: {
- player() {
- return this.$refs.videoPlayer.player
- },
- persId() {
- return localStorage.getItem("userid")
- ? localStorage.getItem("userid")
- : "1098101939614724096";
- },
- recPersName() {
- return localStorage.getItem("account") ? localStorage.getItem("account") : ''
- }
- },
- methods: {
- // listen event
- onPlayerPlay(player) {
- // console.log('player play!', player)
- },
- onPlayerPause(player) {
- // console.log('player pause!', player)
- },
- // ...player event
- // or listen state event
- playerStateChanged(playerCurrentState) {
- // console.log('player current update state', playerCurrentState)
- },
- onPlayerEnded(playerCurrentState) {
- console.log('player current update state', playerCurrentState)
- },
- // player is ready
- playerReadied(player) {
- console.log('the player is readied', player)
- // you can use it to do something...
- // player.[methods]
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- #dxstianbaoId {
- background-color: #E4FDFF;
- height: 100%;
- overflow: auto;
- padding: 0 20px;
- .minHeight {
- width: 100%;
- }
- }
- </style>
- <style lang="scss">
- .minHeight .el-step.is-vertical .el-step__title,
- .el-step__title.is-process,
- .el-step__title.is-wait {
- font-size: 25px;
- padding-bottom: 10px;
- padding-top: 10px;
- color: #409EFF;
- font-weight: 700;
- }
- .minHeight .el-step__icon.is-text {
- border-color: #409EFF;
- }
- .minHeight .el-step__icon-inner {
- color: #409EFF;
- }
- .minHeight .el-step__description.is-finish,
- .el-step__description.is-process,
- .el-step__description.is-wait {
- font-size: 20px;
- padding: 10px 0px;
- color: #409EFF;
- }
- .video-js .vjs-big-play-button {
- top: 265px;
- left: 468px;
- }
- </style>
|