performanceProfileViews-legacy.a0483e8f.js 9.4 KB

1
  1. System.register(["./index-legacy.a130dba2.js","./LJWWData-legacy.844c3ebc.js","./LJPagiNation-legacy.9bb85dfb.js"],(function(e,t){"use strict";var a,l,n,i,r,o,s,c,d=document.createElement("style");return d.textContent='@charset "UTF-8";.contwnt[data-v-5046e88c]{padding:40px 40px 0}.title_name[data-v-5046e88c]{display:flex;align-items:center;margin:20px 0;padding-left:40px;transform:translate(-40px);width:calc(100% + 40px);height:40px;background:linear-gradient(to right,#3f8afb,#ffffff);color:#fff}.title_name .state[data-v-5046e88c]{font-size:12px;padding:5px 10px;height:28px;margin-left:20px;border-radius:5px;background-color:#4083f4;color:#fff;font-weight:400}.title[data-v-5046e88c]{display:flex;align-items:center;margin:20px 0}.tabel[data-v-5046e88c]{margin:40px 0}.listBtn[data-v-5046e88c]{display:flex;justify-content:flex-end;margin-bottom:20px}.listBtn .btn[data-v-5046e88c]{margin-left:10px}.cycle[data-v-5046e88c]{margin-top:20px;position:relative;padding-left:10px}.cycle[data-v-5046e88c]:before{content:"";position:absolute;top:3px;left:0;width:5px;height:90%;background-color:#1651ee;border-radius:3px}.resalut[data-v-5046e88c]{margin-top:60px;font-size:14px;margin-bottom:100px}.resalut .title[data-v-5046e88c]{display:flex;align-items:center;border:1px solid #DCDCDC;padding:15px 30px;margin:0;font-size:14px}.resalut .title span[data-v-5046e88c]{width:4px;height:14px;background-color:#409eff;margin-right:5px}.resalut .examine[data-v-5046e88c]{margin:0 0 15px 10px}[data-v-5046e88c] .el-drawer.rtl{width:60%!important}.title_examine[data-v-5046e88c]{display:flex;align-items:center;margin:20px 0;position:relative;padding-left:10px;font-size:16px}.title_examine[data-v-5046e88c]:before{content:"";position:absolute;top:3px;left:0;width:5px;height:90%;background-color:#1651ee;border-radius:3px}[data-v-5046e88c] .el-drawer.rtl{border-radius:20px 0 0 20px}[data-v-5046e88c] .el-table__body tr:hover>td{background-color:#f6faff!important}.close[data-v-5046e88c]{position:absolute;right:40px;top:15px}.performance-profile-views[data-v-fbc69c0c]{background-color:#fff;padding:15px;border-radius:8px}[data-v-fbc69c0c] .el-table__body tr:hover>td{background-color:#f6faff!important}.search[data-v-fbc69c0c]{margin-bottom:10px}.guide[data-v-fbc69c0c]{width:100%;display:flex;flex-direction:column;align-items:center;margin:115px auto 0;height:calc(100vh - 355px)}\n',document.head.appendChild(d),{setters:[function(e){a=e.n,l=e.r,n=e.f,i=e.b,r=e.$,o=e.o},function(e){s=e.L},function(e){c=e.L}],execute:function(){var t={__name:"judgmentDialog",props:{name:String},setup:function(e,t){var a=t.expose,i=e,r=l(!1),o=l(!1),c=l(80),d=l({}),p=l([]),u=n({level:"",score:"",ratio:""});function f(e){d.value=JSON.parse(JSON.stringify(e));for(var t={},a=0;a<d.value.indicators.length;a++){var l=d.value.indicators[a];t[l.dimension_id]||(t[l.dimension_id]=l.indicator_count,d.value.indicators[a].cols_num=l.indicator_count)}u.level=d.value.level,u.score=d.value.score,u.ratio=d.value.ratio,p.value=d.value.indicators,o.value=!0}return a({init:f}),{__sfc:!0,transferdialogVisible:r,drawer:o,totalScore:c,props:i,rowObj:d,tableData:p,result:u,init:f,arraySpanMethod:function(e){var t=e.row,a=(e.column,e.rowIndex);if(0===e.columnIndex)return t.cols_num?{rowspan:a+t.cols_num,colspan:1}:{rowspan:0,colspan:0}},cancel:function(){o.value=!1},LJWWData:s}}},d=function(){var e=this,t=e._self._c,a=e._self._setupProxy;return t("div",{staticClass:"content"},[t("el-drawer",{attrs:{title:"合同订单编号:202401902134","with-header":!1,"append-to-body":!0,visible:a.drawer,direction:"rtl"},on:{"update:visible":function(e){a.drawer=e}}},[t("div",{staticClass:"contwnt"},[t("el-button",{staticClass:"close",staticStyle:{"font-size":"18px",color:"#000",float:"right"},attrs:{icon:"el-icon-close",type:"text"},on:{click:a.cancel}}),t("div",{staticClass:"title_name"},[t("span",{staticStyle:{display:"flex"}},[a.rowObj.assessed?t("div",[t(a.LJWWData,{attrs:{type:2,openid:a.rowObj.assessed.name}})],1):e._e()]),t("div",{staticClass:"state"},[e._v("正式")])]),t("div",{staticClass:"cycle"},[e._v("考核周期: 2024-01")]),t("div",{staticClass:"tabel"},[t("el-table",{staticStyle:{width:"100%","border-radius":"10px"},attrs:{data:a.tableData,"span-method":a.arraySpanMethod,"header-cell-style":{background:"#f6faff"}}},[t("el-table-column",{attrs:{prop:"dimension_name",align:"center",label:"考核维度"}}),t("el-table-column",{attrs:{prop:"name",align:"center",label:"指标名称"}}),t("el-table-column",{attrs:{prop:"type",align:"center",label:"指标类型"},scopedSlots:e._u([{key:"default",fn:function(a){return[0==a.row.type?t("div",[e._v("非量化")]):t("div",[e._v("量化")])]}}])}),t("el-table-column",{attrs:{prop:"standard",align:"center",label:"考核标准"}}),t("el-table-column",{attrs:{prop:"final_score",align:"center",label:"最终分值(100)"}})],1)],1),t("div",{staticClass:"resalut"},[t("div",{staticClass:"title_examine"},[t("span",{staticClass:"solid"}),e._v("考核结果")]),t("div",{staticClass:"title",staticStyle:{"border-radius":"4px 4px 0 0","border-bottom":"none"}},[e._v("考核总分:"+e._s(a.result.score))]),t("div",{staticClass:"title",staticStyle:{"border-bottom":"none"}},[e._v("考核等级:"),t("div",{staticStyle:{color:"#4284F4"}},[e._v(e._s(a.result.level))])]),t("div",{staticClass:"title",staticStyle:{"border-radius":"0 0 4px 4px"}},[e._v("绩效系数:"+e._s(a.result.ratio))])])],1)])],1)},p=[];d._withStripped=!0;var u=a(t,d,p,!1,null,"5046e88c",null,null);u.options.__file="E:/十二科技/项目/九号同事/salary-management-web/src/views/personnelRoot/performances/components/judgmentDialog.vue";var f=u.exports,m={__name:"performanceProfileViews",setup:function(e){var t=n({offset:0,limit:10}),a=l(1),d=l(0),p=l([]),u=l(),m=i((function(){return r.getters.appMainHeight-32-80-44-107})),v=l([]);function g(){HTTP.get("get_performance_file",t).then((function(e){0==e.code&&(p.value=e.data.results,d.value=e.data.count)}))}function b(){HTTP.post("get_member_url_permission",{url:"/api/get_performance_file/"}).then((function(e){0==e.code&&(1==e.data.permission?(v.value=[{name:"我的绩效",id:0}],t.search_type=0):(v.value=[{name:"我的绩效",id:0},{name:"团队绩效",id:1}],t.search_type=0))}))}return o((function(){b(),setTimeout((function(){g()}),800)})),{__sfc:!0,filter:t,currentPage:a,total:d,tableData:p,judgment:u,tabelHeigth:m,typeList:v,getList:g,getPer:b,soring:function(e){u.value.init(e)},handleSizeChange:function(e){t.limit=e,g()},handleCurrentChange:function(e){a.value=e,t.offset=(e-1)*t.limit,g()},getFilterBtn:function(e){t.search_type=e,g()},judgmentDialog:f,LJPagiNation:c,LJWWData:s}}},v=function(){var e=this,t=e._self._c,a=e._self._setupProxy;return t("div",{staticClass:"performance-profile-views"},[t("div",{staticClass:"search"},[t("el-select",{attrs:{placeholder:"请选择"},on:{change:a.getFilterBtn},model:{value:a.filter.search_type,callback:function(t){e.$set(a.filter,"search_type",t)},expression:"filter.search_type"}},e._l(a.typeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),a.tableData.length>0?t("div",[t("el-table",{staticStyle:{width:"100%"},attrs:{data:a.tableData,height:"".concat(a.tabelHeigth,"px"),"header-cell-style":{background:"#f6faff"}}},[t("el-table-column",{attrs:{prop:"date",label:"工号"}}),t("el-table-column",{attrs:{prop:"assessed.name",label:"员工姓名"},scopedSlots:e._u([{key:"default",fn:function(l){return[l.row.assessed?t("div",[t(a.LJWWData,{attrs:{type:2,openid:l.row.assessed.name}})],1):e._e()]}}],null,!1,1151460125)}),t("el-table-column",{attrs:{prop:"assessed.dept_name",label:"部门"},scopedSlots:e._u([{key:"default",fn:function(l){return[l.row.assessed?t("div",[t(a.LJWWData,{attrs:{type:1,openid:l.row.assessed.dept_name}})],1):e._e()]}}],null,!1,2038837348)}),t("el-table-column",{attrs:{prop:"address",label:"岗位"}}),t("el-table-column",{attrs:{label:"考核周期类型"},scopedSlots:e._u([{key:"default",fn:function(a){return[0==a.row.examine_cycly?t("div",[e._v("周度")]):1==a.row.examine_cycly?t("div",[e._v("月度")]):2==a.row.examine_cycly?t("div",[e._v("季度")]):3==a.row.examine_cycly?t("div",[e._v("半年度")]):t("div",[e._v("年度")])]}}],null,!1,2265955571)}),t("el-table-column",{attrs:{label:"考核周期",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.start_time)+" ~ "+e._s(t.row.end_time)+" ")]}}],null,!1,593497057)}),t("el-table-column",{attrs:{prop:"score",label:"总分"}}),t("el-table-column",{attrs:{prop:"level",label:"等级"}}),t("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(l){return[t("el-button",{directives:[{name:"permission",rawName:"v-permission",value:53202,expression:"53202"}],attrs:{type:"text",size:"small"},on:{click:function(e){return a.soring(l.row)}}},[e._v("查看")])]}}],null,!1,205014916)})],1)],1):t("div",{staticClass:"guide"},[t("img",{attrs:{src:"/assets/img_jix.535b0a68.png",alt:""}}),t("div",{staticStyle:{"margin-top":"15px","font-size":"16px",color:"#919398"}},[e._v("绩效考核的标准都在这里,让公司考核更加简单")])]),a.tableData.length>0?t(a.LJPagiNation,{attrs:{"current-page":a.currentPage,"page-size":a.filter.limit,total:a.total},on:{"size-change":a.handleSizeChange,"current-change":a.handleCurrentChange}}):e._e(),t(a.judgmentDialog,{ref:"judgment"})],1)},g=[];v._withStripped=!0;var b=a(m,v,g,!1,null,"fbc69c0c",null,null);b.options.__file="E:/十二科技/项目/九号同事/salary-management-web/src/views/personnelRoot/performances/performanceProfileViews.vue",e("default",b.exports)}}}));