1 line
62 KiB
JavaScript
1 line
62 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-343b3546"],{"081c":function(t,e,a){},"1fc4":function(t,e,a){t.exports=a.p+"static/img/hr7.46034c30.png"},"21f9":function(t,e,a){t.exports=a.p+"static/img/wo8.02b37525.png"},"2ba7":function(t,e,a){"use strict";var i,n,s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cockitDialog"},[a("el-dialog",{attrs:{width:t.width,title:t.title,"append-to-body":!0,"lock-scroll":!0,"close-on-click-modal":!1,"close-on-press-escape":!1,"custom-class":"r2Dialog",visible:t.dialogTableVisible,"before-close":t.closeDialog},on:{"update:visible":function(e){t.dialogTableVisible=e}}},[a("div",{attrs:{slot:"title"},slot:"title"},[a("span",[t._v(" "+t._s(t.title))]),t._v(" "),t.titleTooltip?a("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[a("template",{slot:"content"},[a("div",[t._v(t._s(t.titleTooltip))])]),t._v(" "),a("span",{staticClass:"el-icon-info"})],2):t._e()],1),t._v(" "),a("div",{staticClass:"todayDynamicsTable"},[a("el-table",{staticClass:"todayDynamics",attrs:{data:t.isPagination?t.tableList:t.tableList.slice((t.query.pageNumber-1)*t.query.pageSize,t.query.pageNumber*t.query.pageSize),"row-class-name":t.tableRowClassName}},[t._l(t.columns,(function(e,i){return[void 0===e.type?a("el-table-column",{key:i,attrs:{"column-key":e.columnKey,prop:e.prop,label:e.label,width:e.minWidth?"-":e.width||"auto",minWidth:e.minWidth||e.width||140,fixed:e.fixed,"render-header":e.renderHeader,sortable:e.sortable,"sort-by":e.sortBy,"sort-method":e.method,resizable:e.resizable,formatter:e.formatter,"show-overflow-tooltip":e.showOverflowTooltip,align:e.align||"center","header-align":e.headerAlign||e.align||"center","class-name":e.className,"label-class-name":e.labelClassName,selectable:e.selectable,"reserve-selection":e.reserveSelection,filters:e.filters,"filter-placement":e.filterPlacement,"filter-multiple":e.filterMultiple,"filter-method":e.filterMethod,"filtered-value":e.filteredValue},scopedSlots:t._u([{key:"default",fn:function(i){return[e.slotName?a("span",[t._v("\n "+t._s(i.$index+(t.query.pageNumber-1)*t.query.pageSize+1)+"\n ")]):e.render?a("span",[t._v("\n "+t._s(e.render(i.row))+"\n ")]):e.renderHtml?a("span",[a("my-render",{attrs:{scope:i,render:e.renderHtml}})],1):e.formatter?a("span",[t._v("\n "+t._s(e.formatter(i.row,i.column,i.row[e.prop],i.$index))+"\n ")]):e.button?a("span",[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.buttonClick(i.row)}}},[t._v("\n "+t._s(i.row[e.prop]))])],1):a("span",[t._v("\n "+t._s(i.row[e.prop])+"\n ")])]}}],null,!0)}):a("el-table-column",t._b({key:i},"el-table-column",e,!1))]}))],2)],1),t._v(" "),a("div",{staticClass:"table-ststisic-pages"},[a("el-pagination",{attrs:{"pager-count":7,"page-size":t.query.pageSize,layout:"prev, pager, next",total:t.pageTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t.showCancelBtn?a("el-button",{staticClass:"closeDialogBtn",on:{click:t.closeDialog}},[t._v("取 消")]):t._e(),t._v(" "),t.showSubmitBtn?a("el-button",{staticClass:"commitDialogBtn",on:{click:t.submit}},[t._v("确定")]):t._e()],1)])],1)},o=[],r=(a("e680"),{name:"myRender",functional:!0,props:{scope:Object,render:Function},render:function(t,e){return e.props.render?e.props.render(t,e.props.scope):""}}),l=r,c=a("829d"),u=Object(c["a"])(l,i,n,!1,null,null,null),d=u.exports,h={name:"cockitDialogTable",components:{myRender:d},props:{title:{type:String,default:""},titleTooltip:{type:String,default:""},tableList:{type:Array,default:[]},columns:{type:Array,default:[]},isPagination:{type:Boolean,default:!1},pageTotal:{type:Number,default:0},showCancelBtn:{type:Boolean,default:!0},showSubmitBtn:{type:Boolean,default:!1},width:{default:"50%"}},data:function(){return{query:{pageSize:10,pageNumber:1},layout:"prev,pager,next",listLoading:!1,dialogTableVisible:!1}},methods:{initData:function(){this.dialogTableVisible=!0},closeDialog:function(){this.query.pageNumber=1,this.dialogTableVisible=!1},submit:function(){},tableRowClassName:function(t){t.row;var e=t.rowIndex;return(e+1)%2===0?"row-even":"row-odd"},handleSizeChange:function(t){this.query.pageSize=t},handleCurrentChange:function(t){this.query.pageNumber=t},buttonClick:function(t){console.log(t,"val+++----");var e="";1==t.type?e="/personnelMerits/personnelFiles":2==t.type&&(e="/personnelMerits/leaveControl"),this.$router.push({path:e,query:{osId:t.osId}})}}},m=h,p=Object(c["a"])(m,s,o,!1,null,null,null);e["a"]=p.exports},3441:function(t,e,a){"use strict";var i=a("e99b"),n=a("3250"),s=a("8078"),o=a("0926"),r=[].sort,l=[1,2,3];i(i.P+i.F*(o((function(){l.sort(void 0)}))||!o((function(){l.sort(null)}))||!a("95b6")(r)),"Array",{sort:function(t){return void 0===t?r.call(s(this)):r.call(s(this),n(t))}})},3509:function(t,e,a){"use strict";a("fd4c")},"3f74":function(t,e,a){"use strict";a("d01a")},4811:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tabList"},[t.gotoPath?a("span",{staticClass:"title link-title",on:{click:t.toPath}},[t._v(t._s(t.title))]):a("span",{staticClass:"title"},[t._v("\n "+t._s(t.title)+"\n "),t.showToolTip?a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"",placement:"top"}},[a("template",{slot:"content"},[a("span",{domProps:{innerHTML:t._s(t.showToolTipContent)}})]),t._v(" "),a("span",{staticClass:"el-icon-info"})],2):t._e()],1),t._v(" "),a("span",{staticClass:"button",on:{click:t.changeLeft}},[a("i",{staticClass:"el-icon-caret-left"})]),t._v(" "),a("span",{staticClass:"menuList"},[a("span",{ref:t.listName,staticClass:"card-list",class:t.listName},t._l(t.menuList,(function(e,i){return a("span",{key:i,staticClass:"cardTab",class:t.getClass(e.value),style:{flexBasis:t.tabWidth+"%"},on:{click:function(a){return t.tabsChange(e)}}},[t._v(t._s(e.label))])})),0)]),t._v(" "),a("span",{staticClass:"button",on:{click:t.changeRight}},[a("i",{staticClass:"el-icon-caret-right"})])])},n=[],s=(a("e680"),{name:"tabList",data:function(){return{leftSum:0,rightSum:0,SonIndex:1,tabWidth:100/this.menuList.length}},props:{menuList:{default:!0,type:Array},title:{default:!0,type:String},listName:{default:!0,type:String},tabsIndex:{type:Number,default:1},myIndex:{type:Boolean,default:!1},gotoPath:{type:Boolean,default:!1},path:{type:String,default:""},showToolTip:{type:Boolean,default:!1},showToolTipContent:{type:String,default:""}},mounted:function(){},methods:{toPath:function(){this.$router.push(this.path)},changeLeft:function(){var t=this.$refs[this.listName];0!==t.scrollLeft&&(this.leftSum=this.rightSum-=30,t.scrollTo({left:this.leftSum,behavior:"smooth"}))},changeRight:function(){var t=this.$refs[this.listName];t.scrollLeft+t.clientWidth>=t.scrollWidth||(this.rightSum+=30,t.scrollTo({left:this.rightSum,behavior:"smooth"}))},tabsChange:function(t){this.myIndex||(this.SonIndex=t.value),this.$emit("cardTabChange",t)},getClass:function(t){return 1==this.myIndex?this.tabsIndex===t?"cardTabA":"":this.SonIndex===t?"cardTabA":""}}}),o=s,r=(a("3f74"),a("829d")),l=Object(r["a"])(o,i,n,!1,null,"253281d0",null);e["a"]=l.exports},6317:function(t,e,a){t.exports=a.p+"static/img/wo7.57cac94a.png"},"679b":function(t,e,a){},7321:function(t,e,a){"use strict";a.d(e,"r",(function(){return n})),a.d(e,"h",(function(){return s})),a.d(e,"F",(function(){return o})),a.d(e,"D",(function(){return r})),a.d(e,"b",(function(){return l})),a.d(e,"l",(function(){return c})),a.d(e,"o",(function(){return u})),a.d(e,"i",(function(){return d})),a.d(e,"s",(function(){return h})),a.d(e,"p",(function(){return m})),a.d(e,"q",(function(){return p})),a.d(e,"t",(function(){return b})),a.d(e,"w",(function(){return f})),a.d(e,"u",(function(){return g})),a.d(e,"z",(function(){return v})),a.d(e,"B",(function(){return y})),a.d(e,"v",(function(){return C})),a.d(e,"x",(function(){return L})),a.d(e,"C",(function(){return D})),a.d(e,"y",(function(){return x})),a.d(e,"f",(function(){return T})),a.d(e,"c",(function(){return k})),a.d(e,"d",(function(){return w})),a.d(e,"e",(function(){return _})),a.d(e,"G",(function(){return M})),a.d(e,"n",(function(){return O})),a.d(e,"a",(function(){return I})),a.d(e,"m",(function(){return j})),a.d(e,"k",(function(){return N})),a.d(e,"j",(function(){return S})),a.d(e,"A",(function(){return W})),a.d(e,"E",(function(){return A})),a.d(e,"g",(function(){return R}));var i=a("b775");function n(t){return Object(i["a"])({url:"/hakocompany/Candidate/pageList",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/hakocompany/Candidate/create",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/hakocompany/Candidate/update",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/hakocompany/Candidate/updateInterview",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/hakocompany/Candidate/batchObsolete",method:"post",data:t})}function c(t,e){return Object(i["a"])({url:"/hakocompany/Candidate/importExcel/".concat(e),method:"post",isReturnResponse:!0,isFile:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:t})}function u(t){return Object(i["a"])({url:"/hakocompany/supplier/listCompanyByCompanyId",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/hakocompany/Candidate/entry",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/company/member/pageListByCompany",method:"post",data:t})}function m(t,e){return Object(i["a"])({url:"/company/member/importExcel/".concat(e),method:"post",isReturnResponse:!0,isFile:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:t})}function p(t,e){return Object(i["a"])({url:"/company/member/importExcelV3/".concat(e),method:"post",isReturnResponse:!0,isFile:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:t})}function b(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/pageList",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/quitBatch",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/positiveBatch",method:"post",data:t})}function v(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/renewBatch",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/transferBatch",method:"post",data:t})}function C(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/quitApplyBatch",method:"post",data:t})}function L(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/quit",method:"post",data:t})}function D(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/updateCommunicationRecord",method:"post",data:t})}function x(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/quitRejectBatch",method:"post",data:t})}function T(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/blockBatch",method:"post",data:t})}function k(t){return Object(i["a"])({url:"/hakocompany/MemberBlacklist/create",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/hakocompany/MemberBlacklist/pageList",method:"post",data:t})}function _(t){return Object(i["a"])({url:"/hakocompany/MemberBlacklist/revoke",method:"post",data:t})}function M(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/updateRealQuitDate",method:"post",data:t})}function O(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/listByMemberId",method:"post",data:t})}function I(t){return Object(i["a"])({url:"/hakocompany/MemberChangeRecord/appointBatch",method:"post",data:t})}function j(t){return Object(i["a"])({url:"/hakocompany/DataAccidentPastMember/pageListByCompany",method:"post",data:t})}function N(t){return Object(i["a"])({url:"/hakocompany/DataAccidentPastMember/followUp",method:"post",data:t})}function S(t){return Object(i["a"])({url:"/company/member/exportMember",method:"post",responseType:"blob",data:t})}function W(t){return Object(i["a"])({url:"/company/member/roleOsList",method:"post",data:t})}function A(t){return Object(i["a"])({url:"/company/member/updateMobile",method:"post",data:t})}function R(t){return Object(i["a"])({url:"/hakocompany/CandidateFile/createBatch",method:"post",data:t})}},"84d3":function(t,e,a){t.exports=a.p+"static/img/hr9.592ad534.png"},"90ad":function(t,e,a){"use strict";a("679b")},"95b6":function(t,e,a){"use strict";var i=a("0926");t.exports=function(t,e){return!!t&&i((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},b66d:function(t,e,a){"use strict";a("081c")},bc95:function(t,e,a){"use strict";a.d(e,"c",(function(){return n})),a.d(e,"j",(function(){return s})),a.d(e,"i",(function(){return o})),a.d(e,"a",(function(){return r})),a.d(e,"g",(function(){return l})),a.d(e,"e",(function(){return c})),a.d(e,"k",(function(){return u})),a.d(e,"d",(function(){return d})),a.d(e,"f",(function(){return h})),a.d(e,"b",(function(){return m})),a.d(e,"h",(function(){return p})),a.d(e,"l",(function(){return b}));var i=a("b775");function n(t){return Object(i["a"])({url:"/hakocompany/PersonnelData/findPersonnelChangeDetailByCompany",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/company/member/hr/complianceByCompany",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/company/member/personalDetailsByCompany",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/hakocompany/LegalAffairsIssue/pageList",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/hakocompany/DataAccidentPastMember/pageListByCompany",method:"post",data:t})}function c(t){return Object(i["a"])({url:"/hakocompany/WageStatistics/findWageDetailByCompany",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/company/member/riskScoreByCompany",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/hakocompany/PersonnelData/findPersonnelChangeDetailQuery",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/hakocompany/WageStatistics/findWageDetailQuery",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/company/member/hr/complianceByCompanyV1",method:"post",data:t})}function p(t){return Object(i["a"])({url:"/hakocompany/MemberCertificate/pageListProject",method:"post",data:t})}function b(t){return Object(i["a"])({url:"/company/member/socialSecurityDetails",method:"post",data:t})}},c58c:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"histogram",staticClass:"lineCharts",attrs:{id:"histogram"}})},n=[],s=(a("a450"),a("8dee"),a("0b37")),o=(a("8975"),{name:"histogram",props:{data:{type:Array,default:function(){return[]}},xAxis:{type:Array,default:function(){return[]}},isSubX:{type:Boolean,delete:!1},unit:{type:String,default:""},isScrollCharts:{type:Boolean,delete:!1}},data:function(){return{myChart:null,scrollChartsXAxis:[],seriesData:[]}},watch:{data:{handler:function(t,e){this.initLineCharts()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.initLineCharts()}))},methods:{formatterTip:function(t){for(var e="",a=0;a<t.length;a++){var i=t[a].marker;i=i.replace("width:10px","width:5px").replace("height:10px","height:5px"),e=e+i+"".concat(t[0].name)+" : "+Object(s["f"])(t[a].value)+" ".concat(this.unit)+"<br/>"}return e},initLineCharts:function(){var t=this,e=this,a=this.$echarts.init(this.$refs.histogram);this.myChart=a,this.isScrollCharts&&(this.seriesData=this.data.slice(0,5),this.scrollChartsXAxis=this.seriesData.map((function(t){return t.name})));var i={tooltip:{trigger:"axis",axisPointer:{type:"line"},backgroundColor:"rgba(26, 35, 58, 1)",borderColor:"rgba(26, 35, 58, 1)",textStyle:{color:"#fff"},extraCssText:"box-shadow:inset 0px 0px 7px 1px rgba(82, 92, 123, 1)",formatter:function(e){return t.formatterTip(e)}},legend:{show:!1,orient:"horizontal",align:"auto",top:"2%",textStyle:{color:"#93DCFE",fontSize:this.$fontSize(12)},left:"center",itemWidth:15,itemHeight:3,itemGap:50},grid:{left:"4%",top:"10px",right:"4%",bottom:"10%",containLabel:!0},xAxis:[{type:"category",data:this.isScrollCharts?this.scrollChartsXAxis:this.xAxis,axisLine:{show:!0,boundaryGap:!1,lineStyle:{color:"rgba(255,255,255,.1)",width:1,type:"solid"}},boundaryGap:!0,axisTick:{show:!0,inside:!0,alignWithLabel:!0,lineStyleObject:{color:"#fff"}},axisLabel:{interval:0,show:!0,splitNumber:4,textStyle:{color:"rgba(255,255,255)",fontSize:this.$fontSize(12)},formatter:function(e){if(t.isSubX){var a=e.length>=4?e.substring(0,2):e;return a}return e}}}],yAxis:[{type:"value",name:"",nameTextStyle:{align:"right",color:"rgba(254, 254, 254, 0.3)",fontSize:this.$fontSize(12)},axisLabel:{show:!0,textStyle:{color:"#fff",fontSize:this.$fontSize(12)}},axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"rgba(255,255,255,.1\t)",width:1,type:"solid"}},splitLine:{lineStyle:{color:"rgba(255, 255, 255, 0.1)",type:"dashed"}},animationDuration:300,animationDurationUpdate:300}],series:[{name:"",type:"bar",barWidth:10,label:{show:!0,position:"top",color:"#fff",fontSize:this.$fontSize(12),formatter:function(t){return Object(s["f"])(t.value)}},itemStyle:{normal:{color:new e.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(170, 196, 247, 1)"},{offset:1,color:"rgba(91, 141, 238, 1)"}]),barBorderRadius:[4,4,0,0],opacity:1}},data:this.isScrollCharts?this.seriesData:this.data}],animationDuration:0,animationDurationUpdate:2e3,animationEasing:"linear",animationEasingUpdate:"linear"};a.clear(),a.setOption(i,!0),a.on("click",(function(t){e.$emit("barClick",t)})),window.addEventListener("resize",(function(){a.resize()})),this.isScrollCharts&&this.updataEchartSeries()},updataEchartSeries:function(){var t=this;window.clearInterval();var e=5,a=this.data.length;a>5&&setInterval((function(){++e,e<a?(t.seriesData.pop(),t.seriesData.unshift(t.data[e]),t.scrollChartsXAxis=t.seriesData.map((function(t){return t.name})),t.myChart.setOption({series:[{type:"bar",data:t.seriesData}],xAxis:[{data:t.scrollChartsXAxis}]})):e=-1}),3e3)}}}),r=o,l=(a("90ad"),a("829d")),c=Object(l["a"])(r,i,n,!1,null,"0e531531",null);e["a"]=c.exports},ca6d3:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"flowlayout"},[i("el-row",{attrs:{gutter:24}},[i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("人资安全指数")]),i("el-tooltip",{attrs:{placement:"top"}},[i("div",{attrs:{slot:"content"},slot:"content"},[i("p",[t._v("\n 人资安全指数=100−[50×(合同未签署数量+保险未购买数量+合同过期)+3×(超龄人员数量)+1×(合同快到期数量+快超龄人员数量+人员信息不完整)]。若指数计算为负,则显示零。\n ")])]),t._v(" "),i("span",[i("i",{staticClass:"el-icon-question itemcursor"})])])],1),t._v(" "),i("div",{staticClass:"chargeAmountCharts personnel-waring"},[i("div",{staticClass:"personnel-waring-left",on:{click:t.updataWaring}},[i("liquidfillCharts",{attrs:{value:t.getPeopleIndex}})],1),t._v(" "),t.peopleObj&&Object.keys(t.peopleObj).length>0?i("div",{staticClass:"personnel-waring-right"},t._l(t.peopleObj,(function(e,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:e.length>0,expression:"item.length > 0"}],key:a,staticClass:"hang",on:{click:function(i){return t.checkNotesDetailes(e,a)}}},[i("div",{staticClass:"icon"},[i("img",{attrs:{src:t.getWarningIcon(a),alt:""}})]),t._v(" "),i("p",[i("span",[t._v(t._s(t.getPeopleObjType(e,a)))]),i("b",[t._v(t._s(e.length||0))]),t._v(" 人\n ")])])})),0):i("div",{staticClass:"personnel-waring-right nodataNotes"},[t._v("\n 暂无预警信息\n ")])])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":t.cardBodyStyle,footerStyle:t.cardFooterStyle}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("保险覆盖率")])]),t._v(" "),t.insuranceCoverRate.coverRate?i("div",{staticClass:"chargeAmountCharts relative insurance-coverage-wrapper"},[i("gauge",{attrs:{"offset-right":10,title:"保险覆盖率",type:5,showValue:t.insuranceCoverRate.coverRate}}),t._v(" "),i("div",{staticClass:"charts-item-r insurance-list"},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.insuranceCoverRate.medicalMembers>0,expression:"insuranceCoverRate.medicalMembers > 0"}],staticClass:"hang",on:{click:function(e){return t.insuranceCoverRateClick("medicalMembersList")}}},[i("div",{staticClass:"icon"},[i("img",{attrs:{src:a("e562"),alt:""}})]),t._v(" "),i("p",[i("span",[t._v("社保")]),i("b",[t._v(t._s(t.insuranceCoverRate.medicalMembers))]),t._v(" 人\n ")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.insuranceCoverRate.specificWorkInjuryMembers>0,expression:"insuranceCoverRate.specificWorkInjuryMembers > 0"}],staticClass:"hang",on:{click:function(e){return t.insuranceCoverRateClick("specificWorkInjuryMembersList")}}},[i("div",{staticClass:"icon"},[i("img",{attrs:{src:a("1fc4"),alt:""}})]),t._v(" "),i("p",[i("span",[t._v("特定工伤")]),i("b",[t._v(t._s(t.insuranceCoverRate.specificWorkInjuryMembers))]),t._v(" 人\n ")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.insuranceCoverRate.employerLiabilityMembers>0,expression:"insuranceCoverRate.employerLiabilityMembers > 0"}],staticClass:"hang",on:{click:function(e){return t.insuranceCoverRateClick("employerLiabilityMembersList")}}},[i("div",{staticClass:"icon"},[i("img",{attrs:{src:a("cd0c"),alt:""}})]),t._v(" "),i("p",[i("span",[t._v("雇主责任险")]),i("b",[t._v(t._s(t.insuranceCoverRate.employerLiabilityMembers))]),t._v(" 人\n ")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.insuranceCoverRate.medicalMembersAndEmployerLiabilityMembers>0,expression:"\n insuranceCoverRate.medicalMembersAndEmployerLiabilityMembers >\n 0\n "}],staticClass:"hang",on:{click:function(e){return t.insuranceCoverRateClick("medicalMembersAndEmployerLiabilityMembersList")}}},[i("div",{staticClass:"icon"},[i("img",{attrs:{src:a("84d3"),alt:""}})]),t._v(" "),i("p",[i("span",[t._v("社保+雇主责任险")]),i("b",[t._v(t._s(t.insuranceCoverRate.medicalMembersAndEmployerLiabilityMembers))]),t._v("\n 人\n ")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.insuranceCoverRate.specificWorkInjuryMembersAndEmployerLiabilityMembers>0,expression:"\n insuranceCoverRate.specificWorkInjuryMembersAndEmployerLiabilityMembers >\n 0\n "}],staticClass:"hang",on:{click:function(e){return t.insuranceCoverRateClick("specificWorkInjuryMembersAndEmployerLiabilityMembersList")}}},[i("div",{staticClass:"icon"},[i("img",{attrs:{src:a("84d3"),alt:""}})]),t._v(" "),i("p",[i("span",[t._v("特定工伤+雇主责任险")]),i("b",[t._v(t._s(t.insuranceCoverRate.specificWorkInjuryMembersAndEmployerLiabilityMembers))]),t._v("\n 人\n ")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.insuranceCoverRate.riskMembers>0,expression:"insuranceCoverRate.riskMembers > 0"}],staticClass:"hang",on:{click:function(e){return t.insuranceCoverRateClick("riskMembersList")}}},[i("div",{staticClass:"icon"},[i("img",{attrs:{src:a("d2d7"),alt:""}})]),t._v(" "),i("p",[i("span",[t._v("无保险人员")]),i("b",[t._v(t._s(t.insuranceCoverRate.riskMembers))]),t._v(" 人\n ")])])])],1):i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无保险覆盖率信息\n ")])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":t.cardBodyStyle,footerStyle:t.cardFooterStyle}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("年龄合格率")])]),t._v(" "),t.ageData[0].value?i("div",{staticClass:"chargeAmountCharts relative"},[i("gauge",{attrs:{pieData:t.ageData,title:"年龄合格率",type:1}}),t._v(" "),i("div",{staticClass:"charts-item-l"},[i("p",{staticClass:"charts-item-l-text"},[t._v("总人数:"+t._s(t.ageData[0].value)+"人")]),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.ageData[1].value>0,expression:"ageData[1].value > 0"}],staticClass:"charts-item-l-text"},[t._v("\n 未超龄人员:"+t._s(t.ageData[1].value)+"人\n ")]),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.ageData[2].value>0,expression:"ageData[2].value > 0"}],staticClass:"charts-item-l-text link-title",on:{click:t.overageShow}},[t._v("\n 超龄人员:"+t._s(t.ageData[2].value)+"人\n ")])])],1):i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无年龄合格率信息\n ")])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("编制率")])]),t._v(" "),i("div",{staticClass:"chargeAmountCharts relative"},[i("gauge",{attrs:{pieData:t.manningQuotas,title:"编制率",type:0},on:{titleClick:t.establishmentClick}}),t._v(" "),i("div",{staticClass:"charts-item-l"},[i("p",{staticClass:"charts-item-l-text"},[t._v("\n 总人数:"+t._s(t.manningQuotas[0].value)+"人\n ")]),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.manningQuotas[1].value>0,expression:"manningQuotas[1].value > 0"}],staticClass:"charts-item-l-text"},[t._v("\n 计划编制人数:"+t._s(t.manningQuotas[1].value)+"人\n ")])])],1)])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("流失率")])]),t._v(" "),0!==t.drainData[1].value?i("div",{staticClass:"chargeAmountCharts relative"},[i("gauge",{attrs:{pieData:t.drainData,title:"流失率",type:0}}),t._v(" "),i("div",{staticClass:"charts-item-l"},[i("p",{staticClass:"charts-item-l-text"},[t._v("\n 总人数:"+t._s(t.drainData[1].value)+"人\n ")]),t._v(" "),i("p",{staticClass:"charts-item-l-text"},[t._v("\n 本年离职人数:"+t._s(t.drainData[0].value)+"人\n ")])])],1):i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无流失率信息\n ")])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("div",{staticClass:"header-btn"},[i("span",[t._v("工资实发人数")])])]),t._v(" "),i("div",{staticClass:"chargeAmountCharts relative"},[0==t.spendingDataList.length?i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无工资实发人数信息\n ")]):i("div",{staticClass:"chargeAmountCharts2"},[i("lineCharts",{attrs:{data:t.spendingDataList,xAxis:t.spendingDataListxData,title:"",unit:"个",xTimeUnit:"",unShowLegend:!0,showInteger:!0},on:{chartClick:function(e){return t.lineChartsClick5(e,1)}}})],1)])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("div",{staticClass:"header-btn"},[i("span",[t._v("实发金额")])])]),t._v(" "),i("div",{staticClass:"chargeAmountCharts relative"},[0==t.spendingDataList2.length?i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无实发金额信息\n ")]):i("div",{staticClass:"chargeAmountCharts2"},[i("lineCharts",{attrs:{data:t.spendingDataList2,xAxis:t.spendingDataListxData,title:"",unit:"元",xTimeUnit:"",unShowLegend:!0},on:{chartClick:function(e){return t.lineChartsClick5(e,2)}}})],1)])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("年龄分布")])]),t._v(" "),t.ageList.length>0?i("div",{staticClass:"chargeAmountCharts"},[i("bar",{attrs:{data:t.ageList,xAxis:t.ageXAxis,unit:"人"}})],1):i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无年龄分布信息\n ")])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("合同类型")])]),t._v(" "),t.contractTypeData.length?i("div",{staticClass:"chargeAmountCharts"},[i("pie",{attrs:{pieData:t.contractTypeData,title:"合同类型",unit:"份",center:["80%","50%"]}})],1):i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无合同类型信息\n ")])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("div",{staticClass:"header-btn"},[i("span",[t._v("入职")]),t._v(" "),i("span",{staticClass:"planTypeRight"},t._l(t.tabsList,(function(e,a){return i("span",{key:a,staticClass:"cardTab",class:t.tabsIndex==e.value?"cardTabA":"",on:{click:function(a){return t.tabsChange(e,1)}}},[t._v(t._s(e.label))])})),0)])]),t._v(" "),i("div",{staticClass:"chargeAmountCharts relative"},[2==t.tabsIndex&0==t.entryList[0].data.length?i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无入职信息\n ")]):t._e(),t._v(" "),1==t.tabsIndex&0==t.entryList[0].data.length?i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无入职信息\n ")]):i("div",{staticClass:"chargeAmountCharts2"},[i("lineCharts",{attrs:{data:t.entryList,xAxis:t.entryListXData,title:"入职",unit:"人",showX:!0,showY:!0,colors:t.chartsCurveColor,xaxisLabelI:t.xaxisLabelI,owe:!0,weekList:t.entryWeekList,weekStart:t.entryWeekStart,monthList:t.entryMonthList,showInteger:!0},on:{chartClick:t.lineChartsClick2}})],1)])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("div",{staticClass:"header-btn"},[i("span",[t._v("离职")]),t._v(" "),i("span",{staticClass:"planTypeRight"},t._l(t.tabsList,(function(e,a){return i("span",{key:a,staticClass:"cardTab",class:t.tabsIndex3==e.value?"cardTabA":"",on:{click:function(a){return t.tabsChange(e,3)}}},[t._v(t._s(e.label))])})),0)])]),t._v(" "),i("div",{staticClass:"chargeAmountCharts relative"},[2==t.tabsIndex3&0==t.leaveList[0].data.length?i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无离职信息\n ")]):t._e(),t._v(" "),1==t.tabsIndex3&0==t.leaveList[0].data.length?i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无离职信息\n ")]):i("div",{staticClass:"chargeAmountCharts2"},[i("lineCharts",{attrs:{data:t.leaveList,xAxis:t.leaveListXData,title:"离职",unit:"人",showX:!0,showY:!0,colors:t.chartsCurveColor,xaxisLabelI:t.xaxisLabelI,owe:!0,weekList:t.leaveWeekList,weekStart:t.leaveWeekStart,monthList:t.leaveMonthList,showInteger:!0},on:{chartClick:t.lineChartsClick4}})],1)])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("div",{staticClass:"header-btn"},[i("span",[t._v("待离职")]),t._v(" "),i("span",{staticClass:"planTypeRight"},t._l(t.tabsList,(function(e,a){return i("span",{key:a,staticClass:"cardTab",class:t.tabsIndex2==e.value?"cardTabA":"",on:{click:function(a){return t.tabsChange(e,2)}}},[t._v(t._s(e.label))])})),0)])]),t._v(" "),i("div",{staticClass:"chargeAmountCharts relative"},[2==t.tabsIndex2&0==t.stayDimissionList[0].data.length?i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无待离职信息\n ")]):t._e(),t._v(" "),1==t.tabsIndex2&0==t.stayDimissionList[0].data.length?i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无待离职信息\n ")]):i("div",{staticClass:"chargeAmountCharts2"},[i("lineCharts",{attrs:{data:t.stayDimissionList,xAxis:t.stayDimissionXData,title:"待离职",unit:"人",showX:!0,showY:!0,colors:t.chartsCurveColor,xaxisLabelI:t.xaxisLabelI,owe:!0,weekList:t.stayDimissionWeekList,weekStart:t.stayDimissionWeekStart,monthList:t.stayDimissionMonthList,showInteger:!0},on:{chartClick:t.lineChartsClick3}})],1)])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252"},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("学历")])]),t._v(" "),t.educationSumList.length>0?i("div",{staticClass:"chargeAmountCharts"},[i("bar",{attrs:{data:t.educationSumList,xAxis:t.educationXAxisList,unit:"人"}})],1):i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无学历信息\n ")])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("性别分布")])]),t._v(" "),0!==t.staffGender[0].value&&0!==t.staffGender[1]?i("div",{staticClass:"chargeAmountCharts"},[i("pie",{attrs:{pieData:t.staffGender,title:"性别分布",unit:"人"}})],1):i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:无性别分布信息\n ")])])],1),t._v(" "),i("el-col",{attrs:{xs:24,sm:24,md:7,lg:6,xl:6}},[i("card",{staticClass:"mb24 h252",attrs:{"body-style":{paddingTop:"0px"}}},[i("div",{attrs:{slot:"header"},slot:"header"},[i("span",[t._v("合同主体")])]),t._v(" "),t.staffOenerShip.length>0?i("div",{staticClass:"chargeAmountCharts"},[i("pie",{attrs:{pieData:t.staffOenerShip,center:["80%","50%"],title:"合同主体",unit:"人"}})],1):i("div",{staticClass:"chargeAmountCharts nodataNotes box-container-nodata redText"},[t._v("\n 提示:暂无数据\n ")])])],1)],1),t._v(" "),i("cockitDialogTable",{ref:"cockitDialogTable",attrs:{width:"80%",title:t.title1,titleTooltip:t.titleTooltip,tableList:t.dailogTableList,columns:t.columns,pageTotal:t.waringPageTotal,isPagination:!1}}),t._v(" "),i("cockitDialogTable",{ref:"cockitDialogTable2",attrs:{title:"入职列表",tableList:t.dailogTableList2,columns:t.columns2,pageTotal:t.waringPageTotal2,isPagination:!1}}),t._v(" "),i("cockitDialogTable",{ref:"cockitDialogTable3",attrs:{title:"待离职列表",tableList:t.dailogTableList3,columns:t.columns3,pageTotal:t.waringPageTotal3,isPagination:!1}}),t._v(" "),i("cockitDialogTable",{ref:"cockitDialogTable4",attrs:{title:"入职列表",tableList:t.dailogTableList4,columns:t.columns4,pageTotal:t.waringPageTotal4,isPagination:!1}}),t._v(" "),i("cockitDialogTable",{ref:"cockitDialogTable5",attrs:{title:"工资人数列表",tableList:t.dailogTableList5,columns:t.columns5,pageTotal:t.waringPageTotal5,isPagination:!1}}),t._v(" "),i("cockitDialogTable",{ref:"cockitDialogTable6",attrs:{title:"计划编制列表",tableList:t.dailogTableList6,columns:t.columns6,pageTotal:t.waringPageTotal6,isPagination:!1}}),t._v(" "),i("cockitDialogTable",{ref:"cockitDialogTable7",attrs:{title:t.cockitDialogTableTitle7,tableList:t.dailogTableList7,columns:t.columns7,pageTotal:t.waringPageTotal7,isPagination:!1}})],1)},n=[],s=(a("aa18"),a("982e"),a("3441"),a("32ea"),a("d0f2"),a("fc02"),a("e5b4"),a("1bc7"),a("a450"),a("b5aa"),a("3ef1")),o=a("5821"),r=a("dd26"),l=a.n(r),c=a("e058"),u=a("4811"),d=a("c6d9"),h=a("c847"),m=a("93fb"),p=a("c58c"),b=a("2ba7"),f=a("bc95"),g=a("052a"),v=a("7321"),y=a("0b37"),C=a("dce5"),L=a("73e10"),D={name:"personnelHome",components:{card:c["a"],liquidfillCharts:d["a"],gauge:h["a"],pie:m["a"],bar:p["a"],cockitDialogTable:b["a"],lineCharts:L["a"],tabList:u["a"]},data:function(){var t;return t={insuranceLabel:C["O"],tabsIndex1:1,educationList:C["D"],educationSumList:[],educationXAxisList:[],cardFooterStyle:{textAlign:"right",paddingRight:"10px"},cardBodyStyle:{paddingTop:"0px"},companyId:"",staffOenerShip:[],staffGender:[{value:0,name:"男"},{value:0,name:"女"}],drainData:[{value:0,name:"本年离职人数"},{value:0,name:"在职人数"}],contractData:[{value:0,name:"实签合同"},{value:0,name:"应签合同"}],socialSecurity:[{value:0,name:"实参保人数"},{value:0,name:"应参保人数"}],socialSecurity2:[{value:0,name:"实保人数"},{value:0,name:"应保人数"}],manningQuotas:[{value:0,name:"总人数"},{value:0,name:"计划编制人数"}],ageData:[{value:0,name:"在职人员"},{value:0,name:"未超龄人员"},{value:0,name:"超龄人员"}],ageDataList:[],tabsList:[{value:1,label:"周"},{value:2,label:"月"}],tabsIndex:1,tabsIndex2:1,tabsIndex3:1,tabsIndex5:1,entryList:[{data:[],dataName:"按周"}],stayDimissionList:[{data:[],dataName:"按周"}],leaveList:[{data:[],dataName:"按周"}],projectAllList:[],personnelWeekInfo:"",personnelMethonInfo:"",xaxisLabelI:0,entryListXData:[],stayDimissionXData:[],leaveListXData:[],incomeCurveXData:[],chartsCurveColor:["#FBD437","#67c23a","#116CFD"],entryWeekList:[],entryWeekStart:[],entryMonthList:[],stayDimissionWeekList:[],stayDimissionWeekStart:[],stayDimissionMonthList:[],leaveWeekList:[],leaveWeekStart:[],leaveMonthList:[],weekList:[],weekStart:[],monthList:[],ageList:[],WeiXinPublicInfo:{},WeiXinPublicLastInfo:{},lastMonth:"上年度",month:"本年度",ageXAxis:[],pageTotal:0,query:{pageSize:10,pageNumber:1},layout:"prev,pager,next",efficiencyList:[],efficiencyXAxis:[],dailogTableList:[],dailogTableList2:[],dailogTableList3:[],dailogTableList4:[],dailogTableList5:[],dailogTableList6:[],dailogTableList7:[],titleTooltip:"",title1:"",columns:[],columns2:[{prop:"serialNum",label:"#",slotName:!0,minWidth:50},{prop:"projectName",label:"项目",minWidth:120,showOverflowTooltip:!0,button:!0},{prop:"entryNumber",label:"入职人数",minWidth:120,showOverflowTooltip:!0}],columns3:[{prop:"serialNum",label:"#",slotName:!0,minWidth:50},{prop:"projectName",label:"项目",minWidth:120,showOverflowTooltip:!0,button:!0},{prop:"waitDimissionNumber",label:"待离职人数",minWidth:120,showOverflowTooltip:!0}],columns4:[{prop:"serialNum",label:"#",slotName:!0,minWidth:50},{prop:"projectName",label:"项目",minWidth:120,showOverflowTooltip:!0,button:!0},{prop:"dimissionNumber",label:"离职人数",minWidth:120,showOverflowTooltip:!0}],columns5:[{prop:"serialNum",label:"#",slotName:!0,minWidth:50},{prop:"projectName",label:"项目",minWidth:120,showOverflowTooltip:!0},{prop:"number",label:"实发工资人数",minWidth:120,showOverflowTooltip:!0}],columns6:[{prop:"serialNum",label:"#",slotName:!0,minWidth:50},{prop:"projectName",label:"项目",minWidth:120,showOverflowTooltip:!0},{prop:"number",label:"计划编制人数",minWidth:120,showOverflowTooltip:!0},{prop:"peopleNumber",label:"在职员工人数",minWidth:120,showOverflowTooltip:!0}],columns7:[{prop:"serialNum",label:"#",slotName:!0,minWidth:50},{prop:"osName",label:"项目",minWidth:120,showOverflowTooltip:!0},{prop:"name",label:"名字",minWidth:120,showOverflowTooltip:!0},{prop:"age",label:"年龄",minWidth:120,showOverflowTooltip:!0},{prop:"onJobCreatorName",label:"入职操作人",minWidth:120,showOverflowTooltip:!0},{prop:"onJobCreatorDate",label:"入职时间",minWidth:120,showOverflowTooltip:!0}],waringPageTotal:0,waringPageTotal2:0,waringPageTotal3:0,waringPageTotal4:0,waringPageTotal5:0,waringPageTotal6:0,waringPageTotal7:0,animationFlag:!1,animationPlay:"running",animationPlayState:"running",timer:""},Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(t,"tabsIndex2",1),"changeLeftSum",0),"changeRightSum",0),"changeLeftSum2",0),"changeRightSum2",0),"contractTypeData",[{index:1,value:0,name:"固定期限劳动合同"},{index:2,value:0,name:"无固定期限劳动合同"},{index:7,value:0,name:"实习协议"},{index:8,value:0,name:"劳务合同"},{index:9,value:0,name:"返聘协议"},{index:10,value:0,name:"劳务派遣合同"},{index:11,value:0,name:"借调合同"},{index:3,value:0,name:"以完成一定工作任务为期限的劳动合同"}]),"spendingDataList",[]),"spendingDataListxData",[]),"spendingDataList2",[]),"insuranceInfo",""),Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(t,"lawWorksSum",null),"injuredPersonnelSum",null),"qualificationsList",[]),"qualificationsObj",[{totalPeople:0,value:0},{certificate:0,value:0}]),"onJobList",[]),"insuranceCoverRate",{employerLiabilityMembers:0,medicalMembers:0,specificWorkInjuryMembers:0,riskMembers:0,coverRate:0,medicalMembersAndEmployerLiabilityMembers:0,specificWorkInjuryMembersAndEmployerLiabilityMembers:0,riskMembersList:[],specificWorkInjuryMembersList:[],employerLiabilityMembersList:[],medicalMembersList:[],specificWorkInjuryMembersAndEmployerLiabilityMembersList:[],medicalMembersAndEmployerLiabilityMembersList:[]}),"cockitDialogTableTitle7","未参保人员提示列表"),"peopleObj",""),"peopleEnum",[{label:"人员信息不完整",value:"missingInformationList"},{label:"即将超龄",value:"approachingOverageList"},{label:"超龄",value:"overageList"},{label:"合同未签署",value:"contractNotSignedList"},{label:"合同快到期",value:"approachingExpireList"},{label:"合同过期",value:"contractExpireList"},{label:"保险未购买",value:"insuranceNotPurchasedList"}])},computed:{getPeopleIndex:function(){var t=this.peopleObj&&this.peopleObj.contractNotSignedList&&this.peopleObj.contractNotSignedList.length||0,e=this.peopleObj&&this.peopleObj.overageList&&this.peopleObj.overageList.length||0,a=this.peopleObj&&this.peopleObj.approachingExpireList&&this.peopleObj.approachingExpireList.length||0,i=this.peopleObj&&this.peopleObj.approachingOverageList&&this.peopleObj.approachingOverageList.length||0,n=this.peopleObj&&this.peopleObj.missingInformationList&&this.peopleObj.missingInformationList.length||0,s=this.peopleObj&&this.peopleObj.insuranceNotPurchasedList&&this.peopleObj.insuranceNotPurchasedList.length||0,o=this.peopleObj&&this.peopleObj.contractExpireList&&this.peopleObj.contractExpireList.length||0,r=50*(t+s+o)+3*e+1*(a+i+n),l=100-r,c=Math.max(l,0);return parseFloat(c.toFixed(2))}},mounted:function(){this.companyId=JSON.parse(window.localStorage.getItem("companyInfo")).osId,this.initPageData()},methods:{initPageData:function(){this.getPersonnel(),this.getPersonnelCompliance(),this.getLawWorks(),this.getInjuredPersonnel(),this.getSalary(),this.getPersonnelWarning(),this.getAuthorized(),this.getMemberCertificate(),this.getInsuranceCoverRate()},insuranceCoverRateClick:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.dailogTableList7=[],this.waringPageTotal7=0,0!=this.insuranceCoverRate[e].length){t.next=1;break}return this.$message.error("暂无数据"),t.abrupt("return");case 1:return t.next=2,Object(v["s"])({pageSize:-1,pageNumber:-1,companyId:this.companyId,distinct:1,onJobStateList:[0,1],memberIds:this.insuranceCoverRate[e]});case 2:a=t.sent,a.data.records.forEach((function(t){null==t.age&&(t.age="-"),null==t.onJobCreatorName&&(t.onJobCreatorName="-"),null==t.onJobCreatorDate&&(t.onJobCreatorDate="-")})),this.insuranceCoverRate[e]=a.data.records,this.dailogTableList7=this.insuranceCoverRate[e],this.waringPageTotal7=this.dailogTableList7.length,this.$refs.cockitDialogTable7.initData(),"riskMembersList"==e?this.cockitDialogTableTitle7="无保险人员提示列表":"employerLiabilityMembersList"==e?this.cockitDialogTableTitle7="雇主责任险人员参保列表":"medicalMembersList"==e?this.cockitDialogTableTitle7="社保人员参保列表":"specificWorkInjuryMembersList"==e?this.cockitDialogTableTitle7="特定工伤险人员参保列表":"medicalMembersAndEmployerLiabilityMembersList"==e?this.cockitDialogTableTitle7="社保+雇主责任险人员参保列表":"specificWorkInjuryMembersAndEmployerLiabilityMembersList"==e&&(this.cockitDialogTableTitle7="特定工伤+雇主责任险人员参保列表");case 3:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getPeopleObjType:function(t,e){return this.peopleEnum.find((function(t){return t.value==e})).label},getWarningIcon:function(t){var e={missingInformationList:a("6317"),approachingOverageList:a("21f9"),overageList:a("21f9"),contractNotSignedList:a("6317"),approachingExpireList:a("6317"),contractExpireList:a("21f9"),insuranceNotPurchasedList:a("6317")};return e[t]||a("6317")},getInsuranceCoverRate:function(){var t=this;Object(f["l"])({id:this.companyId}).then((function(e){0==e.code&&e.data&&(t.insuranceCoverRate.coverRate=e.data.purchaseProportion||0,t.insuranceCoverRate.medicalMembers=e.data.type1List.length||0,t.insuranceCoverRate.specificWorkInjuryMembers=e.data.type2List.length||0,t.insuranceCoverRate.employerLiabilityMembers=e.data.type3List.length||0,t.insuranceCoverRate.medicalMembersAndEmployerLiabilityMembers=e.data.type4List.length||0,t.insuranceCoverRate.specificWorkInjuryMembersAndEmployerLiabilityMembers=e.data.type5List.length||0,t.insuranceCoverRate.riskMembers=e.data.type6List.length||0,t.insuranceCoverRate.medicalMembersList=e.data.type1List||[],t.insuranceCoverRate.specificWorkInjuryMembersList=e.data.type2List||[],t.insuranceCoverRate.employerLiabilityMembersList=e.data.type3List||[],t.insuranceCoverRate.medicalMembersAndEmployerLiabilityMembersList=e.data.type4List||[],t.insuranceCoverRate.specificWorkInjuryMembersAndEmployerLiabilityMembersList=e.data.type5List||[],t.insuranceCoverRate.riskMembersList=e.data.type6List||[])}))},overageShow:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){var e,a=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(0!=this.ageDataList.length){t.next=1;break}return this.$message.error("暂无数据"),t.abrupt("return");case 1:return t.next=2,Object(v["s"])({pageSize:-1,pageNumber:-1,companyId:this.companyId,distinct:1,onJobStateList:[0,1],memberIds:this.ageDataList});case 2:e=t.sent,e.data.records.forEach((function(t){null==t.age&&(t.age="-")})),this.dailogTableList=e.data.records,this.waringPageTotal=e.data.records.length,this.columns=[{prop:"serialNum",label:"#",slotName:!0,minWidth:50},{prop:"osName",label:"项目名称",minWidth:120,showOverflowTooltip:!0},{prop:"name",label:"名字",minWidth:80,showOverflowTooltip:!0},{prop:"age",label:"年龄",minWidth:60,showOverflowTooltip:!0}],this.$nextTick((function(){a.dailogTableList.length>0&&a.$refs.cockitDialogTable.initData()}));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getMemberCertificate:function(){var t=this;Object(f["h"])({companyId:this.companyId,pageNumber:-1,pageSize:-1,isDelete:0,statusList:[1,2]}).then((function(e){0==e.code&&e.data.records.length>0&&(e.data.records.forEach((function(e,a){t.qualificationsList.push({value:a+1,label:e.name,id:e.id,sum:e.relMemberNum})})),t.qualificationsObj[1].value=e.data.records[0].relMemberNum)}))},tabsChange3:function(t){this.qualificationsObj[1].value=t.sum},establishmentClick:function(){var t=[];for(var e in this.projectAllList)t.push({projectName:e,number:this.projectAllList[e],peopleNumber:this.onJobList[e]?this.onJobList[e].length:0});this.dailogTableList6=t,this.waringPageTotal6=this.dailogTableList6.length,this.$refs.cockitDialogTable6.initData()},lineChartsClick2:function(t){var e=this,a={startTime:"",endTime:"",companyId:this.companyId};if(1==this.tabsIndex){var i=this.entryWeekList[t.dataIndex],n=this.entryWeekList[t.dataIndex].match(/\((.*)\)/)[1].split("~"),s=l()(n[1],"MM/DD"),o=s.add(i-1,"weeks");a.endTime=o.format("YYYY-MM-DD")+" 23:59:59",a.startTime=this.entryWeekStart[t.dataIndex]+" 00:00:00"}else a.startTime=l()(this.entryMonthList[t.dataIndex]).startOf("month").format("YYYY-MM-DD")+" 00:00:00",a.endTime=l()(this.entryMonthList[t.dataIndex]).endOf("month").format("YYYY-MM-DD")+" 23:59:59";Object(f["d"])(a).then((function(t){if(0==t.code){var a=t.data.filter((function(t){return 0!==t.entryNumber&&null!==t.entryNumber}));a.forEach((function(t){t.type=1})),e.dailogTableList2=a,e.waringPageTotal2=a.length,e.$refs.cockitDialogTable2.initData()}}))},lineChartsClick3:function(t){var e=this,a={startTime:"",endTime:"",companyId:this.companyId};if(1==this.tabsIndex2){var i=this.stayDimissionWeekList[t.dataIndex],n=this.stayDimissionWeekList[t.dataIndex].match(/\((.*)\)/)[1].split("~"),s=l()(n[1],"MM/DD"),o=s.add(i-1,"weeks");a.endTime=o.format("YYYY-MM-DD")+" 23:59:59",a.startTime=this.stayDimissionWeekStart[t.dataIndex]+" 00:00:00"}else a.startTime=l()(this.stayDimissionMonthList[t.dataIndex]).startOf("month").format("YYYY-MM-DD")+" 00:00:00",a.endTime=l()(this.stayDimissionMonthList[t.dataIndex]).endOf("month").format("YYYY-MM-DD")+" 23:59:59";Object(f["d"])(a).then((function(t){if(0==t.code){var a=t.data.filter((function(t){return 0!==t.waitDimissionNumber&&null!==t.waitDimissionNumber}));a.forEach((function(t){t.type=2})),e.dailogTableList3=a,e.waringPageTotal3=a.length,e.$refs.cockitDialogTable3.initData()}}))},lineChartsClick4:function(t){var e=this,a={startTime:"",endTime:"",companyId:this.companyId};if(1==this.tabsIndex3){var i=this.leaveWeekList[t.dataIndex],n=this.leaveWeekList[t.dataIndex].match(/\((.*)\)/)[1].split("~"),s=l()(n[1],"MM/DD"),o=s.add(i-1,"weeks");a.endTime=o.format("YYYY-MM-DD")+" 23:59:59",a.startTime=this.leaveWeekStart[t.dataIndex]+" 00:00:00"}else a.startTime=l()(this.leaveMonthList[t.dataIndex]).startOf("month").format("YYYY-MM-DD")+" 00:00:00",a.endTime=l()(this.leaveMonthList[t.dataIndex]).endOf("month").format("YYYY-MM-DD")+" 23:59:59";Object(f["d"])(a).then((function(t){if(0==t.code){var a=t.data.filter((function(t){return 0!==t.dimissionNumber&&null!==t.dimissionNumber}));a.forEach((function(t){t.type=2})),e.dailogTableList4=a,e.waringPageTotal4=a.length,e.$refs.cockitDialogTable4.initData()}}))},lineChartsClick5:function(t,e){var a=this;1==e?(this.columns5[2].prop="number",this.columns5[2].label="实发工资人数"):(this.columns5[2].prop="wageAmount",this.columns5[2].label="实发工资金额");var i={startTime:"",endTime:"",companyId:this.companyId};i.startTime=l()(t.data.name).startOf("month").format("YYYY-MM-DD")+" 00:00:00",i.endTime=l()(t.data.name).endOf("month").format("YYYY-MM-DD")+" 23:59:59",Object(f["f"])(i).then((function(t){0==t.code&&t.data.length&&(a.dailogTableList5=t.data,a.waringPageTotal5=t.data.length,a.$refs.cockitDialogTable5.initData())}))},getLawWorks:function(){var t=this,e=l()().startOf("year").format("YYYY-MM-DD 00:00:00"),a=l()().endOf("year").format("YYYY-MM-DD 23:59:59");Object(f["a"])({pageNumber:-1,pageSize:-1,startTime:e,endTime:a,companyId:this.companyId}).then((function(e){0==e.code&&e.data.records.length?t.lawWorksSum=e.data.records.length:t.lawWorksSum=null}))},getInjuredPersonnel:function(){var t=this,e=l()().startOf("year").format("YYYY-MM-DD 00:00:00"),a=l()().endOf("year").format("YYYY-MM-DD 23:59:59");Object(f["g"])({startTime:e,endTime:a,pageNumber:-1,pageSize:-1,orderStatusList:[],companyId:this.companyId}).then((function(e){0==e.code&&e.data.records.length?t.injuredPersonnelSum=e.data.records.length:t.injuredPersonnelSum=null}))},filterDateReturnYM:function(t){var e=l()(t.split("~")[0],"YYYY-MM-DD"),a=l()(t.split("~")[1],"YYYY-MM-DD"),i=e.isoWeekYear(),n=e.isoWeek(),s=i+" 年 第"+n+"周 ("+e.format("MM/DD")+"~"+a.format("MM/DD")+")";return{format:s,startTime:e,week:n}},getPersonnel:function(){var t=this;Object(f["c"])({companyId:this.companyId,queryType:1}).then((function(e){0==e.code&&(t.personnelWeekInfo=e.data,t.getPersonnelDetail(),t.waitingToLeave(),t.leave())})),Object(f["c"])({companyId:this.companyId,queryType:2}).then((function(e){0==e.code&&(t.personnelMethonInfo=e.data)}))},getSalary:function(){var t=this,e=[],a=[],i=[];Object(f["e"])({companyId:this.companyId,pageSize:-1,pageNumber:-1}).then((function(n){0==n.code&&n.data.length&&(n.data.map((function(t){e.push({value:t.number||0,name:t.month}),a.push(t.month),i.push({value:t.wageAmount||0,name:t.month})})),t.spendingDataList=[{name:"实发人数",data:e}],t.spendingDataList[0].data.every((function(t){return 0==t.value}))&&(t.spendingDataList=[]),t.spendingDataListxData=a,t.spendingDataList2=[{name:"实发金额",data:i}],t.spendingDataList2[0].data.every((function(t){return 0==t.value}))&&(t.spendingDataList2=[]),t.spendingDataListxData.forEach((function(e,a){0==a||6==a||a==t.spendingDataListxData.length-1?t.spendingDataListxData[a]=e:t.spendingDataListxData[a]=""})))}))},getPersonnelDetail:function(){var t=this;1==this.tabsIndex?this.entryList[0].dataName="按周":this.entryList[0].dataName="按月",this.entryMonthList=[],this.entryWeekList=[],this.entryWeekStart=[],this.entryListXData=[],this.entryList[0].data=1==this.tabsIndex?this.personnelWeekInfo.map((function(t){return t.entryNumber})):this.personnelMethonInfo.map((function(t){return t.entryNumber})),this.entryList[0].data.every((function(t){return 0==t}))&&(this.entryList[0].data=[]),1==this.tabsIndex?(this.personnelWeekInfo.forEach((function(e){t.entryWeekList.push(e.start+"~"+e.end),t.entryWeekStart.push(e.start)})),this.entryWeekList.forEach((function(e,a){t.entryWeekList[a]=t.filterDateReturnYM(e).format,t.entryListXData.push(t.filterDateReturnYM(e).week)})),this.entryListXData.forEach((function(e,a){0==a||8==a||16==a||a==t.entryListXData.length-1?t.entryListXData[a]="第".concat(e,"周"):t.entryListXData[a]=""}))):(this.entryMonthList=this.personnelMethonInfo.map((function(t){return t.month})),this.entryListXData=this.personnelMethonInfo.map((function(t){return t.month})),this.entryListXData.forEach((function(e,a){0==a||5==a||11==a||a==t.entryListXData.length-1||(t.entryListXData[a]="")})))},waitingToLeave:function(){var t=this;1==this.tabsIndex2?this.stayDimissionList[0].dataName="按周":this.stayDimissionList[0].dataName="按月",this.stayDimissionList[0].data=1==this.tabsIndex2?this.personnelWeekInfo.map((function(t){return t.waitDimissionNumber})):this.personnelMethonInfo.map((function(t){return t.waitDimissionNumber})),this.stayDimissionList[0].data.every((function(t){return 0==t}))&&(this.stayDimissionList[0].data=[]),this.stayDimissionMonthList=[],this.stayDimissionWeekList=[],this.stayDimissionWeekStart=[],this.stayDimissionXData=[],1==this.tabsIndex2?(this.personnelWeekInfo.forEach((function(e){t.stayDimissionWeekList.push(e.start+"~"+e.end),t.stayDimissionWeekStart.push(e.start)})),this.stayDimissionWeekList.forEach((function(e,a){t.stayDimissionWeekList[a]=t.filterDateReturnYM(e).format,t.stayDimissionXData.push(t.filterDateReturnYM(e).week)})),this.stayDimissionXData.forEach((function(e,a){0==a||8==a||16==a||a==t.stayDimissionXData.length-1?t.stayDimissionXData[a]="第".concat(e,"周"):t.stayDimissionXData[a]=""}))):(this.stayDimissionMonthList=this.personnelMethonInfo.map((function(t){return t.month})),this.stayDimissionXData=this.personnelMethonInfo.map((function(t){return t.month})),this.stayDimissionXData.forEach((function(e,a){0==a||5==a||11==a||a==t.stayDimissionXData.length-1||(t.stayDimissionXData[a]="")})))},leave:function(){var t=this;1==this.tabsIndex3?this.leaveList[0].dataName="按周":this.leaveList[0].dataName="按月",this.leaveList[0].data=1==this.tabsIndex3?this.personnelWeekInfo.map((function(t){return t.dimissionNumber})):this.personnelMethonInfo.map((function(t){return t.dimissionNumber})),this.leaveList[0].data.every((function(t){return 0==t}))&&(this.leaveList[0].data=[]),this.leaveMonthList=[],this.leaveWeekList=[],this.leaveWeekStart=[],this.leaveListXData=[],1==this.tabsIndex3?(this.personnelWeekInfo.forEach((function(e){t.leaveWeekList.push(e.start+"~"+e.end),t.leaveWeekStart.push(e.start)})),this.leaveWeekList.forEach((function(e,a){t.leaveWeekList[a]=t.filterDateReturnYM(e).format,t.leaveListXData.push(t.filterDateReturnYM(e).week)})),this.leaveListXData.forEach((function(e,a){0==a||8==a||16==a||a==t.leaveListXData.length-1?t.leaveListXData[a]="第".concat(e,"周"):t.leaveListXData[a]=""}))):(this.leaveMonthList=this.personnelMethonInfo.map((function(t){return t.month})),this.leaveListXData=this.personnelMethonInfo.map((function(t){return t.month})),this.leaveListXData.forEach((function(e,a){0==a||5==a||11==a||a==t.leaveListXData.length-1||(t.leaveListXData[a]="")})))},changeLeft:function(t,e,a){if(0!=this[e]){this[t]=this[e]-=50;var i=document.querySelector("."+a);i.scrollTo({left:this[t],behavior:"smooth"})}},changeRight:function(t,e,a){if(!(this[e]>=550)){this[e]+=50;var i=document.querySelector("."+a);i.scrollTo({left:this[e],behavior:"smooth"})}},startAnimation:function(){var t=this;this.timer=setInterval((function(){t.animationFlag=!t.animationFlag}),3500)},animationMouseenter:function(){clearInterval(this.timer)},animationMouseleave:function(){this.startAnimation()},tabsChange:function(t,e){switch(e){case 1:this.tabsIndex=t.value,this.getPersonnelDetail();break;case 2:this.tabsIndex2=t.value,this.waitingToLeave();break;case 3:this.tabsIndex3=t.value,this.leave();break}},tabsChange2:function(t,e){this.tabsIndex6=t.value,this.insuranceInfo[t.name]},getAuthorized:function(){var t=this;parseInt(JSON.parse(window.localStorage.getItem("roleId")));Object(f["b"])({companyId:this.companyId}).then((function(e){if(0==e.code){if(t.$set(t.manningQuotas[0],"value",e.data.workingNum),t.$set(t.manningQuotas[1],"value",e.data.planNum?e.data.planNum:0),t.projectAllList=e.data.allList,t.onJobList=e.data.onJobList,e.data.contractMainBodyMap)for(var a in e.data.contractMainBodyMap)t.staffOenerShip.push({value:e.data.contractMainBodyMap[a],name:a});if(e.data.ageMap){var i=Object.keys(e.data.ageMap);i.sort((function(t,e){var a=function(t){return t.includes("岁以下")||t.includes("岁以上")?parseInt(t.split("岁")[0]):parseInt(t.split("-")[0])};return a(t)-a(e)})),t.ageXAxis=[],t.ageList=[];for(var n=0,s=i;n<s.length;n++){var o=s[n];t.ageXAxis.push(o),t.ageList.push(e.data.ageMap[o])}console.log(t.ageXAxis,"this.ageXAxis"),console.log(t.ageList,"this.ageList")}if(t.staffGender[0].value=e.data.maleNum?e.data.maleNum:0,t.staffGender[1].value=e.data.femaleNum?e.data.femaleNum:0,t.educationList.forEach((function(a){t.educationSumList.push(e.data.educationMap[a.value]||0),t.educationXAxisList.push(a.label)})),t.ageData[0].value=e.data.workingNum,t.ageData[1].value=e.data.notOverageIds.length||0,t.ageData[2].value=e.data.overageIds.length||0,t.ageDataList=e.data.overageIds||[],t.drainData[0].value=e.data.yearQuitNum?e.data.yearQuitNum:0,t.drainData[1].value=e.data.workingNum?e.data.workingNum:0,e.data.contractTypeMap){var r=function(a){t.contractTypeData.forEach((function(t){t.index==a&&(t.value=e.data.contractTypeMap[a])}))};for(var l in e.data.contractTypeMap)r(l)}t.contractTypeData=t.contractTypeData.filter((function(t){return 0!==t.value}))}}))},getPersonnelCompliance:function(){var t=this;Object(f["j"])({companyId:this.companyId}).then((function(e){0===e.code&&(t.compliance=e.data,t.$set(t.contractData[0],"value",e.data.contractNum?e.data.contractNum:0),t.$set(t.contractData[1],"value",e.data.workingNum))}))},getPersonnelWarning:function(){var t=this;Object(g["t"])({id:this.companyId}).then((function(e){0==e.code&&e.data&&(t.peopleObj=e.data)}))},getProductivity:function(){var t=this;hrProductivity({code:this.companyId}).then((function(e){if(0===e.code){var a=e.data,i=[],n=[];a.length>0?(a.map((function(t){i.push(t.hrPostName),n.push(t.capitaArea)})),t.efficiencyList=n,t.efficiencyXAxis=i):(t.efficiencyList=[],t.efficiencyXAxis=[])}}))},updataWaring:function(){this.getPersonnelWarning()},checkNotesDetailes:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e,a){var i,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.title1=this.peopleEnum.find((function(t){return t.value==a})).label,this.dailogTableList=[],this.waringPageTotal=0,this.columns=[{prop:"serialNum",label:"#",slotName:!0,minWidth:50},{prop:"osName",label:"项目名称",minWidth:90,showOverflowTooltip:!0},{prop:"name",label:"姓名",minWidth:80,showOverflowTooltip:!0},{prop:"idNumber",label:"身份证号",minWidth:60,showOverflowTooltip:!0},{prop:"phoneNumber",label:"手机号",minWidth:120,showOverflowTooltip:!0}],this.titleTooltip="missingInformationList"==a?"提示信息:人员信息不完整,请查看以下必填字段是否完整:性别,联系方式,社保缴纳情况,特定人员工伤保险缴纳情况,雇主责任险缴纳情况,公积金缴纳情况,证件类型,证件号,学历,合同类型,合同主体,合同开始时间,合同结束时间,出生日期":"",t.next=1,Object(v["s"])({pageSize:-1,pageNumber:-1,companyId:this.companyId,distinct:1,onJobStateList:[0,1],memberIds:e});case 1:i=t.sent,i.data.records.forEach((function(t){null==t.entryDate&&(t.entryDate="-"),null==t.contractBegDate&&(t.contractBegDate="-"),null==t.contractEndDate&&(t.contractEndDate="-"),null==t.age&&(t.age="-")})),"overageList"==a||"approachingOverageList"==a?this.columns.push({prop:"age",label:"年龄",minWidth:50}):"contractNotSignedList"==a?(this.title1="合同未签署",this.columns.push({prop:"entryDate",label:"入职时间",minWidth:120})):this.columns.push({prop:"entryDate",label:"入职时间",minWidth:120,showOverflowTooltip:!0},{prop:"contractBegDate",label:"合同开始",minWidth:120,showOverflowTooltip:!0},{prop:"contractEndDate",label:"合同结束",minWidth:120,showOverflowTooltip:!0}),this.dailogTableList=i.data.records,this.waringPageTotal=i.data.records.length,this.$nextTick((function(){n.$refs.cockitDialogTable.initData()}));case 2:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),getThisTotal:function(t,e){return 0===e?Object(y["a"])(t.completedNum,t.unCompletedNum):Object(y["a"])(t.completedNum_2,t.unCompletedNum_2)},handleSizeChange:function(t){this.query.pageSize=t},handleCurrentChange:function(t){this.query.pageNumber=t}}},x=D,T=(a("3509"),a("b66d"),a("829d")),k=Object(T["a"])(x,i,n,!1,null,"240af50b",null);e["default"]=k.exports},cd0c:function(t,e,a){t.exports=a.p+"static/img/hr8.8838f8e3.png"},d01a:function(t,e,a){},d2d7:function(t,e,a){t.exports=a.p+"static/img/hr10.dcf8618b.png"},e562:function(t,e,a){t.exports=a.p+"static/img/hr6.84f98d9c.png"},fd4c:function(t,e,a){}}]); |