performanceProfileViews-legacy-acce75ef.js 9.3 KB

1
  1. System.register(["./vendor-legacy-8856a2a6.js","./LJWWData-legacy-70848b40.js","./index-legacy-240e7575.js","./LJPagiNation-legacy-fd28db65.js","./LJWWData.vue_vue_type_style_index_0_scoped_1870765c_lang-legacy-38258497.js","./LJPagiNation.vue_vue_type_style_index_0_scoped_6913d797_lang-legacy-137b9b7c.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-b1b03c85]{padding:40px 40px 0}.title_name[data-v-b1b03c85]{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-b1b03c85]{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-b1b03c85]{display:flex;align-items:center;margin:20px 0}.tabel[data-v-b1b03c85]{margin:40px 0}.listBtn[data-v-b1b03c85]{display:flex;justify-content:flex-end;margin-bottom:20px}.listBtn .btn[data-v-b1b03c85]{margin-left:10px}.cycle[data-v-b1b03c85]{margin-top:20px;position:relative;padding-left:10px}.cycle[data-v-b1b03c85]:before{content:"";position:absolute;top:3px;left:0;width:5px;height:90%;background-color:#1651ee;border-radius:3px}.resalut[data-v-b1b03c85]{margin-top:60px;font-size:14px;margin-bottom:100px}.resalut .title[data-v-b1b03c85]{display:flex;align-items:center;border:1px solid #DCDCDC;padding:15px 30px;margin:0;font-size:14px}.resalut .title span[data-v-b1b03c85]{width:4px;height:14px;background-color:#409eff;margin-right:5px}.resalut .examine[data-v-b1b03c85]{margin:0 0 15px 10px}[data-v-b1b03c85] .el-drawer.rtl{width:60%!important}.title_examine[data-v-b1b03c85]{display:flex;align-items:center;margin:20px 0;position:relative;padding-left:10px;font-size:16px}.title_examine[data-v-b1b03c85]:before{content:"";position:absolute;top:3px;left:0;width:5px;height:90%;background-color:#1651ee;border-radius:3px}[data-v-b1b03c85] .el-drawer.rtl{border-radius:20px 0 0 20px}[data-v-b1b03c85] .el-table__body tr:hover>td{background-color:#f6faff!important}.close[data-v-b1b03c85]{position:absolute;right:40px;top:15px}.performance-profile-views[data-v-ee867681]{background-color:#fff;padding:15px;border-radius:8px}[data-v-ee867681] .el-table__body tr:hover>td{background-color:#f6faff!important}.search[data-v-ee867681]{margin-bottom:10px}.guide[data-v-ee867681]{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.r,l=e.i,n=e.h,i=e.o},function(e){r=e.L},function(e){o=e.n,s=e.$},function(e){c=e.L},function(){},function(){}],execute:function(){var t=o({__name:"judgmentDialog",props:{name:String},setup:function(e,t){var n=t.expose,i=e,o=a(!1),s=a(!1),c=a(80),d=a({}),p=a([]),u=l({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,s.value=!0}return n({init:f}),{__sfc:!0,transferdialogVisible:o,drawer:s,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(){s.value=!1},LJWWData:r}}},(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)}),[],!1,null,"b1b03c85",null,null).exports;e("default",o({__name:"performanceProfileViews",setup:function(e){var o=l({offset:0,limit:10}),d=a(1),p=a(0),u=a([]),f=a(),b=n((function(){return s.getters.appMainHeight-32-80-44-107})),v=a([]);function g(){HTTP.get("get_performance_file",o).then((function(e){0==e.code&&(u.value=e.data.results,p.value=e.data.count)}))}function m(){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}],o.search_type=0):(v.value=[{name:"我的绩效",id:0},{name:"团队绩效",id:1}],o.search_type=0))}))}return i((function(){m(),setTimeout((function(){g()}),800)})),{__sfc:!0,filter:o,currentPage:d,total:p,tableData:u,judgment:f,tabelHeigth:b,typeList:v,getList:g,getPer:m,soring:function(e){f.value.init(e)},handleSizeChange:function(e){o.limit=e,g()},handleCurrentChange:function(e){d.value=e,o.offset=(e-1)*o.limit,g()},getFilterBtn:function(e){o.search_type=e,g()},judgmentDialog:t,LJPagiNation:c,LJWWData:r}}},(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:"/png/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)}),[],!1,null,"ee867681",null,null).exports)}}}));