<template>
    <div class="rencaifuwu">
        <iframe
            id="fram_box"
            class="iframe"
            src="https://w102.ttkefu.com/k/linkurl/?t=6F5CCH6"
            frameborder="0"
            name="iframemy"
        ></iframe>
        <!-- 在线咨询 -->
        <div class="ijaiorenwu" @click="openDialog1('测试工程师')">
            <img class="ijaoricon" src="/assets/home/fbrwicon.png" alt="" />
            提交用人需求
        </div>
        <!-- <div class="zxzx" @click="iframeConttle">在线咨询</div> -->
        <div class="zxzx" @click="zixunClick">在线咨询</div>

        <!-- <div class="closeX" :style="{ display: flagcloseX ? 'block' : 'none' }" @click="closeX">
            x
        </div> -->
        <!-- 弹层 -->
        <div class="maskdialog" v-if="isshowDialog">
            <div class="maskbox">
                <img src="/assets/ability/XXXX.png" class="maskimg" alt="" @click="closeDialog" />
                <div class="maskcontent">请提交用人需求，商务会与您对接提供更多简历内容</div>
                <div class="maskbtn" @click="submit">去提交</div>
            </div>
        </div>
        <div class="maskdialogS" v-if="isshowSubmitDialog">
            <div class="maskdialogSClose" @click="coloeDialog('测试工程师')">×</div>
            <div class="maskdialogSTitle">快速提交用人需求</div>
            <div class="maskdialogSContent">
                <div class="rowitem">
                    <img class="sbimg" src="/assets/ability/sb1.png" alt="" />
                    <el-select v-model="quotation.service" placeholder="请选择您需要的技能服务">
                        <el-option
                            v-for="(option, key) in serviceList"
                            :label="option.label"
                            :key="key"
                            :value="option.label"
                        />
                    </el-select>
                </div>
                <div class="rowitem">
                    <img class="sbimg" src="/assets/ability/sb2.png" alt="" />
                    <el-input v-model="quotation.peopleNum" placeholder="请输入用人数量"></el-input>
                </div>
                <div class="rowitem">
                    <img class="sbimg" src="/assets/ability/sb3.png" alt="" />
                    <el-input
                        type="textarea"
                        v-model="quotation.remark"
                        placeholder="请输入备注内容"
                        resize="none"
                    ></el-input>
                </div>
                <div class="rowitembtn" @click="subobtain">提交需求</div>
            </div>
        </div>
        <img style="width: 100%; height: 450px; object-fit: cover" src="/assets/ability/banner.png" alt="" />
        <div style="width: 1200px; margin: 30px auto">
            <!-- <div class="title-logo">
                <img src="/assets/ability/fwxm.png" alt="">
                <p>IT人才派遣服务、专业团队、积极响应、快速交付</p>
            </div> -->
            <div class="titlePeo" style="margin-top: 60px; margin-bottom: 50px">
                <div class="titletopt">
                    <img src="/assets/homepage/rihhj.png" alt="" />
                    <p>服务专项</p>
                    <img src="/assets/homepage/lesftt.png" alt="" />
                </div>
                <div class="titlebot">IT人才服务、专业团队、快速响应、高效交付</div>
            </div>
            <div style="display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center">
                <div class="statictosol" @click="openDialog1('测试工程师')">
                    <img
                        style="width: 68px; height: 36px; position: absolute; top: 0; left: 0"
                        src="/assets/ability/rem.png"
                        alt=""
                    />
                    <div class="solimgbox"><img src="/assets/ability/cs.png" alt="" /></div>

                    <p class="solcontp">测试工程师</p>
                    <!-- <p style="color:#808080;font-size:16px;margin:-5px 0 30px 0">测试工程师人才派遣</p> -->
                </div>
                <div class="statictosol" @click="openDialog1('JAVA开发工程师')">
                    <img
                        style="width: 68px; height: 36px; position: absolute; top: 0; left: 0"
                        src="/assets/ability/rem.png"
                        alt=""
                    />
                    <div class="solimgbox"><img src="/assets/ability/java.png" alt="" /></div>

                    <p class="solcontp">JAVA开发工程师</p>
                    <!-- <p style="color:#808080;font-size:16px;margin:-5px 0 30px 0">JAVA开发工程师人才派遣 </p> -->
                </div>
                <div class="statictosol" @click="openDialog1('C++开发工程师')">
                    <div class="solimgbox"><img src="/assets/ability/c++.png" alt="" /></div>

                    <p class="solcontp">C++开发工程师</p>
                    <!-- <p style="color:#808080;font-size:16px;margin:-5px 0 30px 0">C++开发工程师人才派遣 </p> -->
                </div>
                <div class="statictosol" @click="openDialog1('Web前端开发工程师')">
                    <div class="solimgbox"><img src="/assets/ability/net.png" alt="" /></div>

                    <p class="solcontp">Web前端开发工程师</p>
                    <!-- <p style="color:#808080;font-size:16px;margin:-5px 0 30px 0">Web前端开发工程师人才派遣</p> -->
                </div>
                <div class="statictosol" @click="openDialog1('嵌入式工程师')">
                    <div class="solimgbox"><img src="/assets/ability/qrs.png" alt="" /></div>

                    <p class="solcontp">嵌入式工程师</p>
                    <!-- <p style="color:#808080;font-size:16px;margin:-5px 0 30px 0">嵌入式工程师人才派遣 </p> -->
                </div>
                <div class="statictosol" @click="openDialog1('PHP开发工程师')">
                    <div class="solimgbox"><img src="/assets/ability/php.png" alt="" /></div>

                    <p class="solcontp">PHP开发工程师</p>
                    <!-- <p style="color:#808080;font-size:16px;margin:-5px 0 30px 0">PHP开发工程师人才派遣</p> -->
                </div>
                <div class="statictosol" @click="openDialog1('IT运维/实施工程师')">
                    <div class="solimgbox"><img src="/assets/ability/ityw.png" alt="" /></div>

                    <p class="solcontp">IT运维/实施工程师</p>
                    <!-- <p style="color:#808080;font-size:16px;margin:-5px 0 30px 0">IT运维/实施工程师人才派遣</p> -->
                </div>
                <div class="statictosol" @click="openDialog1('Python工程师')">
                    <div class="solimgbox"><img src="/assets/ability/pyth.png" alt="" /></div>
                    <p class="solcontp">Python工程师</p>
                    <!-- <p style="color:#808080;font-size:16px;margin:-5px 0 30px 0">Python工程师人才派遣</p> -->
                </div>

                <!-- <div class="seeg"> 查看更多 </div> -->
            </div>
        </div>
        <div class="itre">
            <div style="width: 1200px; margin: 0px auto">
                <!-- <div class="title-logo" style="margin:0 auto 50px auto">
                    <img src="/assets/ability/rcit.png" alt="">
                    <p>同样做软件人才服务，为什么大家都选择与我们合作</p>
                </div> -->
                <div class="titlePeo" style="margin-bottom: 0">
                    <div class="titletopt">
                        <img src="/assets/homepage/rihhj.png" alt="" />
                        <p>关键科技更懂企业所需</p>
                        <img src="/assets/homepage/lesftt.png" alt="" />
                    </div>
                    <div class="titlebot">同样做人才服务，为什么大家都选择与我们合作</div>
                </div>
                <div style="display: flex; justify-content: space-between">
                    <div class="standard">
                        <p class="topp">准</p>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">优秀专业人才库</p>
                        </div>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">当天安排面试</p>
                        </div>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">快速到岗支持</p>
                        </div>
                    </div>
                    <div class="standard">
                        <p class="topp">优</p>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">1V1专属商务对接</p>
                        </div>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">IT人才服务经验10年+</p>
                        </div>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">全流程在线支持</p>
                        </div>
                    </div>
                    <div class="standard">
                        <p class="topp">省</p>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">按月定制服务</p>
                        </div>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">减少人才储备</p>
                        </div>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">企业综合成本下降</p>
                        </div>
                    </div>
                    <div class="standard">
                        <p class="topp">稳</p>
                        <div class="monthly">
                            <img style="margin-right: 8px" src="/assets/ability/rikj.png" alt="" />
                            <p style="color: #4d4d4d; font-size: 16px; margin: 12px 0">降低企业用工风险</p>
                        </div>
                        <!-- <div class="monthly">
                            <img style="margin-right:8px" src="/assets/ability/rikj.png" alt="">
                            <p style="color:#4D4D4D;font-size: 18px;margin:12px 0">降低企业用工风险90%</p>
                        </div> -->
                    </div>
                </div>
            </div>
        </div>
        <div style="width: 1200px; margin: 50px auto">
            <!-- <div class="title-logo">
                <img src="/assets/ability/cjyy.png" alt="">
                <p>IT人才多种场景服务派遣，满足您的需求</p>
            </div> -->
            <div class="titlePeo" style="margin-bottom: 0">
                <div class="titletopt">
                    <img src="/assets/homepage/rihhj.png" alt="" />
                    <p>多样化服务场景</p>
                    <img src="/assets/homepage/lesftt.png" alt="" />
                </div>
                <div class="titlebot">服务场景多样化，比企业先想一步</div>
            </div>
            <div
                style="
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    align-items: center;
                    margin-top: 50px;
                "
            >
                <div class="recruit" @click="openDialog">
                    <img src="/assets/ability/zhp.png" alt="" />
                    <p style="color: #1a1a1a; font-size: 21px; font-weight: bold; margin: 15px 0">招聘压力大</p>
                    <div class="linblue"></div>
                    <p style="color: #808080">HR人力无法满足企业招聘量</p>
                </div>
                <div class="recruit" @click="openDialog">
                    <img src="/assets/ability/lsyg.png" alt="" />
                    <p style="color: #1a1a1a; font-size: 21px; font-weight: bold; margin: 15px 0">临时用工需求</p>
                    <div class="linblue"></div>
                    <p style="color: #808080">临时需要增加人员过渡</p>
                </div>
                <div class="recruit" @click="openDialog">
                    <img src="/assets/ability/dqxm.png" alt="" />
                    <p style="color: #1a1a1a; font-size: 21px; font-weight: bold; margin: 15px 0">短期项目</p>
                    <div class="linblue"></div>
                    <p style="color: #808080">短期项目人员不好协调</p>
                </div>
                <div class="recruit" @click="openDialog">
                    <img src="/assets/ability/qywb.png" alt="" />
                    <p style="color: #1a1a1a; font-size: 21px; font-weight: bold; margin: 15px 0">企业无编制</p>
                    <div class="linblue"></div>
                    <p style="color: #808080">企业编制名额不够，但用工需求存在</p>
                </div>
                <div class="recruit" @click="openDialog">
                    <img src="/assets/ability/zyjn.png" alt="" />
                    <p style="color: #1a1a1a; font-size: 21px; font-weight: bold; margin: 15px 0">人才专业技能要求高</p>
                    <div class="linblue"></div>
                    <p style="color: #808080">专业技能要求高，人才市场难匹配</p>
                </div>
                <div class="recruit" @click="openDialog">
                    <img src="/assets/ability/wdxm.png" alt="" />
                    <p style="color: #1a1a1a; font-size: 21px; font-weight: bold; margin: 15px 0">异地项目</p>
                    <div class="linblue"></div>
                    <p style="color: #808080">外地项目需要人手，招聘难度大</p>
                </div>
            </div>
            <!-- <div class="title-logo">
                <img src="/assets/ability/renca.png" alt="">
                <p>标准化驻场服务流程，保证高效高质</p>
            </div> -->
            <div class="titlePeo" style="margin: 50px 0 60px 0">
                <div class="titletopt">
                    <img src="/assets/homepage/rihhj.png" alt="" />
                    <p>IT人才服务流程</p>
                    <img src="/assets/homepage/lesftt.png" alt="" />
                </div>
                <div class="titlebot">标准化驻场服务流程，保证高效高质</div>
            </div>
            <img style="margin: -5px 0 20px 0" src="/assets/ability/wblc.png" alt="" />

            <div class="titlePeo" style="margin: 30px 0 50px 0">
                <div class="titletopt">
                    <img src="/assets/homepage/rihhj.png" alt="" />
                    <p>IT软件人才库</p>
                    <img src="/assets/homepage/lesftt.png" alt="" />
                </div>
                <div class="titlebot">真实有效的软件人才库，名校毕业，计算机相关专业，快速响应业务</div>
            </div>

            <div class="jianlibox">
                <div class="jianliboxitem" v-for="it in peopleList" :key="it.url" @click="peopleClick">
                    <div class="jlboxtop">
                        <img class="jlboxtopimg" :src="it.url" alt="" />
                        <div class="jlboxtoptit">{{ it.name }}</div>
                        <div class="jlboxtopzc">{{ it.zhicheng }}</div>
                    </div>
                    <div class="jlboxbottom">
                        <div class="jlboxbottoml jlboxbottomlbor">
                            <img class="jlboxbottomlimg" src="/assets/ability/daxue.png" alt="" />
                            {{ it.school }}
                        </div>
                        <div class="jlboxbottoml">
                            <img class="jlboxbottomlimg" src="/assets/ability/zhuanye.png" alt="" />
                            {{ it.maj }}
                        </div>
                    </div>
                </div>
            </div>
            <img class="moreingtr" src="/assets/ability/touming.png" alt="" />
            <div style="position: relative; height: 40px">
                <div class="lookmore" @click="peopleClick">查看更多简历</div>
            </div>
        </div>
        <div style="background: #f7f7fa; padding: 5px 0 30px 0">
            <div style="width: 1200px; margin: -15px auto -300px auto">
                <!-- <div class="title-logo">
                    <img src="/assets/ability/fwqy.png" alt="">
                    <p>服务范围涵盖全国多个核心城市</p>
                </div> -->
                <div class="titlePeo" style="margin-top: 60px; margin-bottom: 50px">
                    <div class="titletopt">
                        <img src="/assets/homepage/rihhj.png" alt="" />
                        <p>服务区域</p>
                        <img src="/assets/homepage/lesftt.png" alt="" />
                    </div>
                    <div class="titlebot">服务范围涵盖全国多个核心城市</div>
                </div>

                <div style="height: 640px">
                    <img src="/assets/ability/city2.png" width="100%" alt="" />
                    <!-- <img src="/assets/ability/city1.png" alt="">
                    <img src="/assets/ability/city1.png" alt=""> -->
                </div>
            </div>
            <!-- <div class="seeg" style="border: 1px solid #0066EB;color:#0468EB;background: #F7F7FA;"> 立即联系 </div> -->
        </div>
        <div style="width: 1200px; margin: 30px auto">
            <!-- <div class="title-logo">
                <img src="/assets/ability/aboutw.png" alt="">
                <p>服务范围涵盖全国多个核心城市</p>
            </div> -->
            <div class="titlePeo" style="margin: 50px 0">
                <div class="titletopt">
                    <img src="/assets/homepage/rihhj.png" alt="" />
                    <p>关于我们</p>
                    <img src="/assets/homepage/lesftt.png" alt="" />
                </div>
                <div class="titlebot">一直用心服务软件质量</div>
            </div>
            <div style="display: flex">
                <img src="/assets/ability/aboutimg.png" alt="" />
                <div style="width: 603px; height: 350px; background: #f7f7fa; margin-left: -2px">
                    <div style="margin: 59px 30px">
                        <p style="color: #1a1a1a; font-size: 24px; font-weight: bold">企业介绍</p>
                        <p style="color: #666666; line-height: 25px">
                            北京关键科技股份有限公司成立于2005年，是国家级高新技术企业、双软认证企业，CNAS国家认可实验室认证,连续多年被评为北京市纳税信用A级企业单位。为院校、电力、轨道交通、金融和电信等行业提供软件工程、软件测试、信息安全、大数据、高性能计算等方面的产品、服务和技术解决方案。
                        </p>
                        <div class="seebut" @click="aboesee">查看更多</div>
                    </div>
                </div>
            </div>
            <div class="title-logo">
                <!-- <img src="/assets/ability/gszz.png" alt="">
                <p>专业IT人才服务服务商</p> -->
                <div class="titlePeo" style="margin-top: 60px">
                    <div class="titletopt">
                        <img src="/assets/homepage/rihhj.png" alt="" />
                        <p>荣誉资质</p>
                        <img src="/assets/homepage/lesftt.png" alt="" />
                    </div>
                    <div class="titlebot">企业荣誉资质</div>
                </div>
            </div>
            <div style="display: flex; justify-content: space-between; flex-wrap: wrap">
                <div class="imgcont">
                    <img src="/assets/ability/zz1.png" alt="" />
                    <div class="imgcontmask">CMMIS3证书</div>
                </div>
                <div class="imgcont">
                    <img src="/assets/ability/zz2.png" alt="" />
                    <div class="imgcontmask">北京市产品评价中心创新企业奖</div>
                </div>
                <div class="imgcont">
                    <img src="/assets/ability/zz3.png" alt="" />
                    <div class="imgcontmask">国家高新技术企业证书</div>
                </div>
                <div class="imgcont">
                    <img src="/assets/ability/zz4.png" alt="" />
                    <div class="imgcontmask">中关村高新技术企业证书</div>
                </div>
                <div class="imgcont">
                    <img src="/assets/ability/zz5.png" alt="" />
                    <div class="imgcontmask">北京市信用AA企业证书</div>
                </div>
                <div class="imgcont">
                    <img src="/assets/ability/zizhi6.png" alt="" />
                    <div class="imgcontmask">新技术新产品证书6个</div>
                </div>
                <div class="imgcont">
                    <img src="/assets/ability/zz7.png" alt="" />
                    <div class="imgcontmask">信息安全管理体系认证证书</div>
                </div>
                <div class="imgcont">
                    <img src="/assets/ability/zz8.png" alt="" />
                    <div class="imgcontmask">北京市专精特新中小企业证书</div>
                </div>
            </div>
            <div class="title-logo">
                <!-- <img src="/assets/ability/qygt.png" alt="">
                <p>为客户创造价值从而实现自己的价值</p> -->
                <div class="titlePeo" style="margin-bottom: 0">
                    <div class="titletopt">
                        <img src="/assets/homepage/rihhj.png" alt="" />
                        <p>合作伙伴</p>
                        <img src="/assets/homepage/lesftt.png" alt="" />
                    </div>
                    <div class="titlebot">拥有超14年技术积累，服务上千家企业单位</div>
                </div>
            </div>
            <div style="display: flex; justify-content: space-between">
                <img class="boxshwo" style="margin-bottom: 21px" src="/assets/ability/pater1.png" alt="" />
                <img class="boxshwo" style="margin-bottom: 21px" src="/assets/ability/pater2.png" alt="" />
                <img class="boxshwo" style="margin-bottom: 21px" src="/assets/ability/pater3.png" alt="" />
                <img class="boxshwo" style="margin-bottom: 21px" src="/assets/ability/pater4.png" alt="" />
            </div>
            <div style="display: flex; justify-content: space-between">
                <img class="boxshwo" style="margin-bottom: 21px" src="/assets/ability/pater5.png" alt="" />
                <img class="boxshwo" style="margin-bottom: 21px" src="/assets/ability/pater6.png" alt="" />
                <img class="boxshwo" style="margin-bottom: 21px" src="/assets/ability/pater7.png" alt="" />
                <img class="boxshwo" style="margin-bottom: 21px" src="/assets/ability/pater8.png" alt="" />
            </div>
            <p style="font-weight: bold; font-size: 30px; text-align: center; margin-top: 20px; margin-bottom: 50px">
                <span style="color: #f8302b">1000+</span>
                <span style="color: #000000">企业的共同选择</span>
            </p>
        </div>
    </div>
</template>
<script>
import { mapGetters } from 'vuex'
import { addlabor } from '@/api/crowdsource/crowdsource'
export default {
    data() {
        return {
            externalScript1: null,
            externalScript2: null,
            flagcloseX: false,
            isShowIframe: false,
            isshowSubmitDialog: false,
            isshowDialog: false,
            peopleList: [
                {
                    url: '/assets/ability/people1.png',
                    name: '杨**',
                    zhicheng: 'JAVA后端研发工程师',
                    school: '河南科技大学',
                    maj: '软件工程专业',
                },
                {
                    url: '/assets/ability/people2.png',
                    name: '赵**',
                    zhicheng: 'Web全栈开发工程师',
                    school: '西安科技大学',
                    maj: '软件工程专业',
                },
                {
                    url: '/assets/ability/people3.png',
                    name: '杨**',
                    zhicheng: 'JAVA研发工程师',
                    school: '阜阳师范大学',
                    maj: '软件工程专业',
                },
                {
                    url: '/assets/ability/people4.png',
                    name: '王**',
                    zhicheng: '嵌入式工程师',
                    school: '西安科技大学',
                    maj: '软件工程专业',
                },
            ],
            quotation: {
                company: '',
                service: '',
                peopleNum: '',
                phone: '',
                remark: '',
            },
            current: 0,
            serviceList: [
                { value: '0', label: '测试工程师' },
                { value: '1', label: 'JAVA开发工程师' },
                { value: '2', label: 'C++开发工程师' },
                { value: '3', label: '嵌入式工程师' },
                { value: '4', label: 'PHP开发工程师' },
                { value: '5', label: 'Web前端开发工程师' },
                { value: '6', label: 'IT运维/实施工程师' },
                { value: '7', label: 'Python工程师' },
                { value: '8', label: 'golang开发工程师' },
                { value: '9', label: '其他' },
            ],
            peopleNumList: [
                { value: '0', label: '1-5人' },
                { value: '1', label: '5-10人' },
                { value: '2', label: '10-20人' },
                { value: '3', label: '20-40人' },
                { value: '4', label: '40-80人' },
                { value: '5', label: '100人以上' },
            ],
            timer: null,
        }
    },
    mounted() {
        this.quotation.phone = this.userinform.phonenumber

    },
    beforeDestroy() {
        // console.log('销毁了')
        // if (this.externalScript1) {
        //     this.externalScript1.remove()
        // }
    },
    computed: {
        ...mapGetters(['userinform', 'token']),
    },
    methods: {
        iframeConttle() {
            this.isShowIframe = !this.isShowIframe
            const iframe = document.querySelector('#fram_box')
            if (this.isShowIframe) {
                iframe.style.bottom = '30px'
                iframe.style.right = '30px'
            } else {
                iframe.style.bottom = '-99999999999999px'
                iframe.style.right = '-99999999999999px'
            }
            
        },
        peopleClick() {
            this.isshowDialog = true
        },
        closeDialog() {
            this.isshowDialog = false
        },
        submit() {
            // window.scrollTo(0, document.documentElement.scrollHeight)
            this.isshowSubmitDialog = true
            this.closeDialog()
        },
        switchpro(type) {
            this.current = parseInt(type)
        },
        aboesee() {
            this.$router.push('/about')
        },
        // 立即获取
        subobtain() {
            if (!this.token) {
                this.$message.warning('请您先登录')
            } else {
                if (!this.quotation.service) {
                    this.$message.warning('请选择您需要的技能服务')
                    return
                }
                if (!this.quotation.peopleNum) {
                    this.$message.warning('请选择您的需求人数')
                    return
                }
                //    if(!/^[1-9]\d*$/.test(this.quotation.peopleNum)){
                //         this.$message.warning('需要的人数需填写正整数')
                // 		return;
                // 	}
                // 	if(this.quotation.peopleNum>50){
                //         this.$message.warning('需求人数最多为50人')
                // 		return;
                // 	}
                let data = {
                    userId: this.userinform.userId,
                    // name:this.wxUserInfo.userName,
                    // phone:this.wxUserInfo.phonenumber,
                    // company:this.sourcobj.company,
                    service: this.quotation.service,
                    peopleNum: this.quotation.peopleNum,
                    remark: this.quotation.remark,
                }
                // return;
                addlabor(data).then((res) => {
                    if (res.code == 200) {
                        this.$message({
                            message: '提交成功，请留意电话会有商务人员与您联系',
                            type: 'success',
                            duration: 5000,
                        })
                        this.coloeDialog()
                    }
                })
            }
        },
        // 打开弹层
        openDialog() {
            this.isshowSubmitDialog = true
        },
        openDialog1(val) {
            this.quotation.service = val
            this.isshowSubmitDialog = true
        },
        // 关闭提交弹层
        coloeDialog() {
            this.isshowSubmitDialog = false
            this.quotation = {}
        },
        // iframe测试
        zixunClick() {
            const bigbox = document.querySelector('#minidialog')
            const x = document.querySelector('.closeX')
            x.style.display = 'block'
            bigbox.style.width = '300px'
            bigbox.style.height = 'auto'
            bigbox.style.display = 'block'
            bigbox.style.bottom = '0'
            bigbox.style.right = '0'
        },
        closeX() {
            const bigbox = document.querySelector('#minidialog')
            bigbox.style.display = 'none'
            bigbox.style.bottom = '-99999px'
            bigbox.style.right = '-99999px'
            const x = document.querySelector('.closeX')
            x.style.display = 'none'
        },
    },
}
</script>

<style scoped>
/* 在线客服样式
/* .closeX {
    background: #6bc1fa;
    position: fixed;
    bottom: 372px;
    right: 6px;
    padding: 0 8px;
    box-sizing: border-box;
    color: #ffffff;
    z-index: 2147483641;
    font-size: 20px;
    cursor: pointer;
    display: none;
} */
.iframe {
    width: 410px;
    height: 546px;
    position: fixed;
    bottom: -99999999999999px;
    right: -99999999999999px;
    z-index: 9999999999999999999999999;
}

.zxzx {
    z-index: 2147483639;
    width: 180px;
    height: 68px;
    position: fixed;
    right: 16px;
    top: 600px;
    font-weight: 500;
    font-size: 17px;
    color: #ffffff;
    background: url('/assets/ability/zixun.gif');
    background-size: 100% 100%;
    line-height: 68px;
    text-indent: 2em;
    cursor: pointer;
}
.maskdialogS {
    z-index: 2000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1199px;
    height: 428px;
    background: #ffffff;
    box-shadow: 0px 4px 21px 4px rgba(19, 106, 189, 0.15);
}
.maskdialogSClose {
    position: absolute;
    top: 15px;
    right: 30px;
    font-weight: 400;
    font-size: 25px;
    color: #858994;
    cursor: pointer;
}
.maskdialogSTitle {
    height: 59px;
    font-weight: bold;
    font-size: 22px;
    color: #1a1a1a;
    line-height: 59px;
    text-align: center;
    background: #f3f5fb;
}
.maskdialogSContent {
    height: calc(100% - 59px);
    box-sizing: border-box;
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.rowitem {
    display: flex;
    justify-content: center;
    align-items: center;
}
.rowitem >>> .el-input {
    width: 653px;
}
.rowitem >>> .el-textarea {
    width: 653px;
}
.rowitem >>> .el-textarea__inner {
    height: 120px;
}
.rowitem >>> .el-select {
    width: 653px;
}
.sbimg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}
.rowitembtn {
    width: 370px;
    height: 44px;
    background: #2084f9;
    box-shadow: 0px 1px 20px 1px rgba(13, 92, 187, 0.3);
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    line-height: 44px;
    cursor: pointer;
}
.maskdialog {
    z-index: 1999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 7, 0.41);
    display: flex;
    align-items: center;
    justify-content: center;
}
.maskbox {
    width: 500px;
    height: 240px;
    background: linear-gradient(0deg, #ffffff, #eff3fe);
    box-shadow: 0px 4px 21px 4px rgba(22, 27, 33, 0.1);
    border-radius: 6px;
    border: 1px solid #999999;
    margin-top: -50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.maskimg {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.maskcontent {
    font-weight: 500;
    font-size: 16px;
    color: #1a1a1a;
}
.maskbtn {
    width: 180px;
    height: 40px;
    background: #0066eb;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
    line-height: 40px;
    text-align: center;
    margin-top: 30px;
    cursor: pointer;
}

.imgcont {
    margin-bottom: 20px;
    position: relative;
}
.imgcont:hover .imgcontmask {
    opacity: 1;
}

.imgcontmask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 196px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    opacity: 0;
}

.title-logo {
    text-align: center;
    margin: 50px 0px;
}
.title-logo p {
    color: #999999;
    font-size: 18px;
}
.statictosol {
    position: relative;
    width: 280px;
    height: 240px;
    background: #ffffff;
    box-shadow: 0px 4px 34px 6px rgba(14, 97, 205, 0.1);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 24px;
    transition: all 0.2s linear;
    cursor: pointer;
}
.statictosol:hover {
    transform: translateY(-15px);
}

.solimgbox {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.solcontp {
    width: 100%;
    height: 87px;
    border-top: 1px solid #f0f0f0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: unset !important;
    font-size: 18px;
    color: #1a1a1a;
}
.statictosol img {
    width: 90px;
    height: 90px;
}
.seeg {
    width: 500px;
    height: 54px;
    margin: 50px auto;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 18px;
    color: #1a1a1a;
    line-height: 54px;
    text-align: center;
}
.itre {
    height: 570px;
    /* height:562px;
        width:100%; */
    background-image: url('/assets/ability/rlwb.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 50px 0;
    box-sizing: border-box;
}
.standard {
    width: 280px;
    height: 300px;
    background-image: url('/assets/ability/backi.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    padding: 34px 0 0 0;
    /* transition: all .1s linear; */
}

.standard:hover {
    width: 308px;
    height: 330px;
    background-image: url('/assets/ability/backe.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 10px 0 0 0;
}

.topp {
    color: #1a1a1a;
    font-size: 46px;
    text-align: center;
    margin: 0 0 33px 0;
}
.monthly {
    display: flex;
    align-items: center;
    margin-left: 46px;
}
.standard:hover .topp {
    color: #ffffff;
    margin: 0 0 53px 0;
}
.standard:hover .monthly {
    margin-left: 36px;
}
.recruit {
    width: 380px;
    height: 274px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    /* box-shadow: 0px 1px 10px 3px rgba(41, 46, 52, 0.13); */
    box-shadow: 0px 4px 34px 6px rgba(14, 97, 205, 0.1);
    /* opacity: 0.73; */
    border-radius: 6px;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 25px;
    cursor: pointer;
}
.linblue {
    width: 46px;
    height: 5px;
    background: #1578ed;
    border-radius: 3px;
    margin: 0 auto;
}
.seebut {
    width: 124px;
    height: 40px;
    background: #1270ec;
    border-radius: 6px;
    line-height: 40px;
    text-align: center;
    color: #ffffff;
    margin-top: 20px;
    cursor: pointer;
}
.seebut:hover {
    background: #2a83f7 !important;
}
.el-input {
    width: 530px;
}
.el-select {
    width: 530px;
}
.el-textarea {
    width: 530px;
}
.rmalek >>> .el-textarea__inner {
    height: 120px;
}
.el-input__inner:hover {
    border-color: #c0c4cc !important;
}
.ljhq {
    width: 500px;
    height: 54px;
    background: #2c87fc;
    border-radius: 4px;
    line-height: 54px;
    text-align: center;
    color: #ffffff;
    margin: 20px auto;
    cursor: pointer;
}
.problem {
    background: #ffffff;
    height: 50px;
    line-height: 50px;
    border-radius: 6px 0px 0px 0px;
    margin-bottom: 20px;
    cursor: pointer;
}
.boxshwo {
    /* box-shadow: 0px 1px 10px 3px rgba(41, 46, 52, 0.13); */
    box-shadow: 0px 4px 34px 6px rgba(14, 97, 205, 0.1);
}
.titlePeo p {
    font-weight: bold !important;
    font-size: 32px !important;
    color: #1a1a1a;
    margin: 0 15px;
}
.titletopt {
    display: flex;
    justify-content: center;
    align-items: center;
}
.titlebot {
    text-align: center;
    font-weight: 500;
    font-size: 16px !important;
    color: #595959 !important;
    margin: 25px 0;
}
.jianlibox {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.jianliboxitem {
    width: 280px;
    height: 250px;
    background: #ffffff;
    box-shadow: 0px 4px 34px 6px rgba(14, 97, 205, 0.1);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.1s linear;
}
.jianliboxitem:hover {
    transform: translateY(-15px);
}
.jlboxtop {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.jlboxtopimg {
    width: 88px;
    height: 88px;
    border-radius: 50%;
}
.jlboxtoptit {
    font-weight: bold;
    font-size: 20px;
    color: #000000;
    margin: 15px 0;
}
.jlboxtopzc {
    font-weight: 500;
    font-size: 16px;
    color: #333333;
}
.jlboxbottom {
    width: 100%;
    height: 57px;
    border-top: 1px solid #ebebeb;
    display: flex;
    align-items: center;
}
.jlboxbottoml {
    height: 16px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    color: #737373;
}
.jlboxbottomlbor {
    box-sizing: border-box;
    border-right: 1px solid #e6e6e6;
}
.jlboxbottomlimg {
    width: 15px;
    height: 15px;
    margin-right: 5px;
}
.moreingtr {
    width: 105.5%;
    transform: translateX(-33px);
}
.lookmore {
    width: 180px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #0066eb;
    font-weight: 500;
    font-size: 14px;
    color: #0066eb;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}
.ijaiorenwu {
    position: fixed;
    z-index: 2147483639;
    right: 25px;
    top: 490px;
    width: 110px;
    height: 90px;
    background: #2084f9;
    box-shadow: 0px 1px 20px 1px rgba(13, 92, 187, 0.3);
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.ijaoricon {
    width: 31px;
    height: 31px;
    margin-bottom: 7px;
}
</style>