import{u as H}from"./useTable-cf8e962b-1782729249161v=1.0.0.js";import{b as T,u as Z,a as U,_ as R}from"./index-b309bf9f-1782729249161v=1.0.0.js";import{r as d,y as F,m as $,al as p,z as J,I as q,J as a,R as r,u as t,k as M,B as j,O as c}from"./vendor-1e24e3ad-1782729249161v=1.0.0.js";import{b as G}from"./contestAppealApi-fdd3a65e-1782729249161v=1.0.0.js";import"./notData-926f7286-1782729249161v=1.0.0.js";import"./eleVendor-5008d1ec-1782729249161v=1.0.0.js";const Q=()=>{const l=T();d([]),(async()=>{})(),d([]),(async()=>{})(),d([]),(async()=>{})();const g=d([{prop:"dictId",label:"\u7533\u8BC9\u7C7B\u578B",isFilterEnum:!0,enum:l.getEnumListByKey("dictId"),search:{el:"select",placeholder:"\u8BF7\u9009\u62E9\u7533\u8BC9\u7C7B\u578B"}},{prop:"content",label:"\u7533\u8BC9\u5185\u5BB9",search:{el:"input",placeholder:"\u8BF7\u8F93\u5165\u7533\u8BC9\u5185\u5BB9"}},{prop:"appealFeedbackStatus",label:"\u7533\u8BC9\u72B6\u6001",isFilterEnum:!0,enum:l.getEnumListByKey("appeal_feedback_type"),search:{el:"select",placeholder:"\u8BF7\u9009\u62E9\u7533\u8BC9\u72B6\u6001"}},{prop:"appealFeedbackId",label:"\u7533\u8BC9\u7F16\u53F7",isFilterEnum:!0,enum:l.getEnumListByKey("appealFeedbackId"),search:{el:"select",placeholder:"\u8BF7\u9009\u62E9\u7533\u8BC9\u7F16\u53F7"}}]),b=d([{type:"index",label:"\u5E8F\u53F7",width:70,fixed:"left"},{label:"\u7533\u8BC9\u5185\u5BB9",prop:"content"},{label:"\u7533\u8BC9\u72B6\u6001",prop:"appealFeedbackStatus",isFilterEnum:!0,enum:l.getEnumListByKey("appeal_feedback_type")},{label:"\u7533\u8BC9\u4EBA",prop:"creatorName"},{label:"\u7533\u8BC9\u4EBA\u624B\u673A\u53F7\u7801",prop:"createPhone"},{label:"\u63D0\u4EA4\u65F6\u95F4",prop:"createTime"},{label:"\u6240\u5C5E\u8D5B\u4E8B",prop:"eventName"},{label:"\u7533\u8BC9\u7F16\u53F7",prop:"appealFeedbackId",isFilterEnum:!0,enum:l.getEnumListByKey("appealFeedbackId")},{label:"\u7533\u8BC9\u4EBA\u624B\u673A\u53F7\u7801",prop:"creatorOrganUnitId",isFilterEnum:!0,enum:l.getEnumListByKey("creatorOrganUnitId")},{label:"\u5904\u7406\u4EBA",prop:"handlerName",isFilterEnum:!0,enum:l.getEnumListByKey("handlerName")},{label:"\u7533\u8BC9\u7C7B\u578B\u4E2D\u6587",prop:"dictIdName",isFilterEnum:!0,enum:l.getEnumListByKey("dictIdName")},{label:"\u64CD\u4F5C",prop:"operation",fixed:"right",width:200}]);return{columns:g,tableColumns:b,dataCallBack:i=>(i.listData.forEach(n=>{var s,_;((s=n.evidence)==null?void 0:s.length)>0?n.evidence=JSON.parse(n.evidence||"[]"):n.evidence=[],((_=n.replyAttachments)==null?void 0:_.length)>0?n.replyAttachments=JSON.parse(n.replyAttachments||"[]"):n.replyAttachments=[]}),i),paramCallBack:i=>i}},W=Q,X={class:"dialog-footer"},Y=F({name:"contestAppealIndex"}),ee=F({...Y,setup(l){const m=Z(),f=U(),u=d(!1),g=y=>{u.value=!0},{tableColumns:b,columns:k,dataCallBack:h,paramCallBack:i}=W(),{tableData:n,pageable:s,baseParam:_,searchParam:E,totalParam:te,pageParam:ae,handleSizeChange:I,handleCurrentChange:v,getTableList:A,search:x,reset:S,loading:L}=H(G,h,i);$(async()=>{await A()});const P=()=>{m.push({name:"contestAppealAdd"})},z=y=>{m.push({name:"contestAppealDetail",query:{id:y.appealFeedbackId}})};return(y,e)=>{const N=p("HZSearchForm"),C=p("el-button"),B=p("el-link"),O=p("HZProTable"),w=p("el-pagination"),K=p("el-dialog"),V=p("HZPageLayout");return J(),q(V,{title:t(f).meta.title},{searchForm:a(()=>[r(N,{"search-param":t(E),columns:t(k),search:t(x),reset:t(S)},null,8,["search-param","columns","search","reset"])]),pagination:a(()=>[r(w,{"current-page":t(s).page,"onUpdate:currentPage":e[0]||(e[0]=o=>t(s).page=o),"page-size":t(s).size,"onUpdate:pageSize":e[1]||(e[1]=o=>t(s).size=o),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:t(s).count,onSizeChange:t(I),onCurrentChange:t(v)},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),dialog:a(()=>[r(K,{modelValue:t(u),"onUpdate:modelValue":e[3]||(e[3]=o=>M(u)?u.value=o:null),title:"\u5904\u7406\u8BE6\u60C5",width:"500px"},{footer:a(()=>[j("div",X,[r(C,{onClick:e[2]||(e[2]=o=>u.value=!1)},{default:a(()=>e[8]||(e[8]=[c("\u786E\u5B9A",-1)])),_:1,__:[8]})])]),_:1},8,["modelValue"])]),default:a(()=>[r(O,{columns:t(b),data:t(n),isFlex:!1,loading:t(L)},{tableHeader:a(()=>e[4]||(e[4]=[])),toolButton:a(()=>[r(C,{type:"primary",onClick:P},{default:a(()=>e[5]||(e[5]=[c(" \u65B0\u589E ",-1)])),_:1,__:[5]})]),operation:a(o=>[r(B,{type:"primary",onClick:D=>z(o.row)},{default:a(()=>e[6]||(e[6]=[c(" \u67E5\u770B ",-1)])),_:2,__:[6]},1032,["onClick"]),r(B,{type:"primary",onClick:D=>g(o.row)},{default:a(()=>e[7]||(e[7]=[c("\u5904\u7406",-1)])),_:2,__:[7]},1032,["onClick"])]),_:1},8,["columns","data","loading"])]),_:1},8,["title"])}}});const ue=R(ee,[["__scopeId","data-v-a16d8f7d"]]);export{ue as default};
