import{L as k,M as y,C as A,N as V}from"./element-plus.258bf9e7.js";import{_ as L}from"./index.vue_vue_type_script_setup_true_lang.60e89e82.js";import{u as S}from"./usePaging.f6660143.js";import{u as N}from"./useDictOptions.c644f395.js";import{b as P}from"./build_report_detail.0e1639b5.js";import"./lodash.1d82ee7c.js";import"./index.ec401e3b.js";import{d as w,a0 as m,r as j,a5 as d,o as p,c as R,O as $,u as r,L as n,M as c,S as _,a as f,V as o,k as M}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const T={class:"mt-4"},q={class:"flex justify-end mt-4"},x=w({name:"projectLists"}),Ao=w({...x,setup(z){m([]);const v=m({deliver_time:"",start_time:"",declare_time:""}),h=j([]),E=a=>{h.value=a.map(({id:t})=>t)},{dictData:u}=N(""),{pager:l,getLists:i,resetParams:O,resetPage:U}=S({fetchFun:P,params:v});return i(),(a,t)=>{const e=k,b=y,C=L,D=A,g=d("edit-popup"),F=d("detail-popup"),B=V;return p(),R("div",null,[$((p(),n(D,{class:"!border-none",shadow:"never"},{default:c(()=>[f("div",T,[o(b,{data:r(l).lists,onSelectionChange:E},{default:c(()=>[o(e,{type:"index",label:"\u5E8F\u53F7",width:"55"}),o(e,{label:"\u65BD\u5DE5\u6C47\u62A5\u5355\u53F7",prop:"report_code","show-overflow-tooltip":""}),o(e,{label:"\u4F5C\u4E1A\u7F16\u7801",prop:"zy_code","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),o(e,{label:"\u5206\u9879\u5DE5\u7A0B",prop:"subentry_engineering","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u5E8F\u6B65\u9AA4",prop:"process_step","show-overflow-tooltip":""}),o(e,{label:"\u59D3\u540D",prop:"user_name","show-overflow-tooltip":""}),o(e,{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"user_idcard","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u79CD",prop:"user_work_type","show-overflow-tooltip":""}),o(e,{label:"\u4ECA\u65E5\u5B8C\u5DE5\u91CF",prop:"work_num","show-overflow-tooltip":""}),o(e,{label:"\u5355\u4EF7",prop:"price","show-overflow-tooltip":""}),o(e,{label:"\u91D1\u989D",prop:"amount","show-overflow-tooltip":""}),o(e,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:1},8,["data"])]),f("div",q,[o(C,{modelValue:r(l),"onUpdate:modelValue":t[0]||(t[0]=s=>M(l)?l.value=s:null),onChange:r(i)},null,8,["modelValue","onChange"])])]),_:1})),[[B,r(l).loading]]),a.showEdit?(p(),n(g,{key:0,ref:"editRef","dict-data":r(u),onSuccess:r(i),onClose:t[1]||(t[1]=s=>a.showEdit=!1)},null,8,["dict-data","onSuccess"])):_("",!0),a.showDtail?(p(),n(F,{key:1,ref:"detailRef","dict-data":r(u),onClose:t[2]||(t[2]=s=>a.showDtail=!1)},null,8,["dict-data"])):_("",!0)])}}});export{Ao as default};