import{G as q,H as G,I as H,J,K as Q,L as Z,M as z,N as W,O as X,C as ee,w as oe,D as te}from"./element-plus.2acb577d.js";import{_ as le}from"./index.vue_vue_type_script_setup_true_lang.a280d02d.js";import{b as ae}from"./index.81df6f20.js";import{u as ne}from"./usePaging.23706826.js";import{_ as ue,a as g,b as se}from"./edit.vue_vue_type_script_setup_true_name_manageProjectEdit_lang.809e5a38.js";import{u as ie}from"./useDictOptions.4fbfb4d7.js";import re from"./detail.94ab6cc7.js";import{d as P,s as pe,r as B,Z as me,o as m,c as h,U as e,L as t,T as de,a9 as _e,u,K as C,R as d,M as fe,a as V,i as ce,Q as $,n as x}from"./@vue.821a47ec.js";import"./lodash-es.df44a280.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.81e2759c.js";import"./@element-plus.dabbc398.js";import"./dayjs.d2a77ee0.js";import"./axios.9e996410.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.6bfd3540.js";import"./vue-router.4c04f9b6.js";import"./pinia.fefed778.js";import"./css-color-function.8ff67959.js";import"./color.bfa08e9a.js";import"./clone.660f80c4.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.dcb32030.js";import"./vue-clipboard3.e681583f.js";import"./clipboard.3ad9b20b.js";import"./echarts.42bea269.js";import"./tslib.60310f1a.js";import"./zrender.2cb48b70.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8864a4be.js";import"./index.vue_vue_type_style_index_0_lang.9e5f7fb0.js";import"./dialogTableConfig.dc7bff5e.js";import"./oa_flow_type.b60fa00e.js";import"./oa_examine_temp_item.f1738798.js";import"./oaSelfExamine.ed02ba3a.js";import"./index.f292cd50.js";const ve={class:"mt-4"},we={class:"flex mt-4 justify-end"},Ee=P({name:"manageProjectLists"}),io=P({...Ee,setup(Ce){const f=pe(),c=B(!1),b=B(null),v=B(!1),{dictData:F}=ie("jxgl_check_type"),r=me({examine_type:"",examine_month:""}),{pager:_,getLists:w,resetParams:R,resetPage:A}=ne({fetchFun:se,params:r}),L=async()=>{var n;c.value=!0,await x(),(n=f.value)==null||n.open("add")},N=async n=>{var s,i;let o=await g({id:n.id});c.value=!0,await x(),(s=f.value)==null||s.open("edit"),(i=f.value)==null||i.setFormData(o)},S=async n=>{await feedback.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await apiOaSelfExamineDelete({id:n}),w()},T=async n=>{var s,i;let o=await g({id:n});v.value=!0,await x(),(s=b.value)==null||s.open(),(i=b.value)==null||i.setFormData(o)};return w(),(n,o)=>{const s=q,i=G,k=ee,y=H,j=J,p=oe,M=Q,U=te,D=Z,Y=ae,a=z,I=W,O=le,K=X;return m(),h("div",null,[e(D,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[e(U,{class:"mb-[-16px]",model:r,"label-width":"80px"},{default:t(()=>[e(M,null,{default:t(()=>[e(y,{span:6},{default:t(()=>[e(k,{label:"\u8003\u6838\u7C7B\u522B"},{default:t(()=>[e(i,{class:"flex-1",modelValue:r.examine_type,"onUpdate:modelValue":o[0]||(o[0]=l=>r.examine_type=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u8003\u6838\u7C7B\u522B"},{default:t(()=>[(m(!0),h(de,null,_e(u(F).jxgl_check_type,(l,E)=>(m(),C(s,{key:E,label:l.name,value:parseInt(l.value)},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(y,{span:6},{default:t(()=>[e(k,{label:"\u8003\u6838\u6708\u4EFD"},{default:t(()=>[e(j,{modelValue:r.examine_month,"onUpdate:modelValue":o[1]||(o[1]=l=>r.examine_month=l),type:"month","value-format":"YYYY-MM",placeholder:"\u8BF7\u9009\u62E9\u8003\u6838\u6708\u4EFD"},null,8,["modelValue"])]),_:1})]),_:1}),e(y,{span:6},{default:t(()=>[e(k,null,{default:t(()=>[e(p,{type:"primary",onClick:u(A)},{default:t(()=>o[6]||(o[6]=[d("\u67E5\u8BE2")])),_:1},8,["onClick"]),e(p,{onClick:u(R)},{default:t(()=>o[7]||(o[7]=[d("\u91CD\u7F6E")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),fe((m(),C(D,{class:"!border-none",shadow:"never"},{default:t(()=>[e(p,{type:"primary",onClick:L},{icon:t(()=>[e(Y,{name:"el-icon-Plus"})]),default:t(()=>[o[8]||(o[8]=d(" \u65B0\u589E "))]),_:1}),V("div",ve,[e(I,{border:"",data:u(_).lists},{default:t(()=>[e(a,{label:"\u8003\u6838\u4EBA",prop:"kh_user_name","show-overflow-tooltip":""}),e(a,{label:"\u88AB\u8003\u6838\u4EBA",prop:"bkh_user_name","show-overflow-tooltip":""}),e(a,{label:"\u8003\u6838\u7C7B\u578B",prop:"examine_type_text","show-overflow-tooltip":""}),e(a,{label:"\u8003\u6838\u6708\u4EFD",prop:"examine_month","show-overflow-tooltip":""}),e(a,{label:"\u8003\u6838\u603B\u5206",prop:"total_score","show-overflow-tooltip":""}),e(a,{label:"\u6700\u7EC8\u5F97\u5206",prop:"final_score","show-overflow-tooltip":""}),e(a,{label:"\u81EA\u8BC4\u5F97\u5206",prop:"total_self_score","show-overflow-tooltip":""}),e(a,{label:"\u4E0A\u8BC4\u5F97\u5206",prop:"total_superior_score","show-overflow-tooltip":""}),e(a,{label:"\u8003\u6838\u8BC4\u8BED",prop:"content","show-overflow-tooltip":""}),e(a,{label:"\u8003\u6838\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),e(a,{label:"\u64CD\u4F5C",width:"170",fixed:"right"},{default:t(({row:l})=>[e(p,{type:"primary",link:"",onClick:E=>N(l)},{default:t(()=>o[9]||(o[9]=[d(" \u7F16\u8F91 ")])),_:2},1032,["onClick"]),e(p,{type:"danger",link:"",onClick:E=>S(l.id)},{default:t(()=>o[10]||(o[10]=[d(" \u5220\u9664 ")])),_:2},1032,["onClick"]),e(p,{type:"primary",link:"",onClick:E=>T(l.id)},{default:t(()=>o[11]||(o[11]=[d(" \u8BE6\u60C5 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),V("div",we,[e(O,{modelValue:u(_),"onUpdate:modelValue":o[2]||(o[2]=l=>ce(_)?_.value=l:null),onChange:u(w)},null,8,["modelValue","onChange"])])]),_:1})),[[K,u(_).loading]]),c.value?(m(),C(ue,{key:0,ref_key:"editRef",ref:f,"dict-data":u(F),onSuccess:u(w),onClose:o[3]||(o[3]=l=>c.value=!1)},null,8,["dict-data","onSuccess"])):$("",!0),v.value?(m(),C(re,{key:1,ref_key:"detailRef",ref:b,onSuccess:o[4]||(o[4]=l=>v.value=!1),onClose:o[5]||(o[5]=l=>v.value=!1)},null,512)):$("",!0)])}}});export{io as default};