import{al as m,a$ as f,_,d as E,w as F,n as B,r as p,o as g,G as x,C as w,j as b,l as r}from"./index.js";import{s as n}from"./_options.b485149d.js";import{i as A,j as C}from"./index.3c9dc929.js";import{u as P}from"./use-page-search.f7bc460e.js";const y=[{prop:"projectNo",label:"\u9879\u76EE\u5355\u53F7",fixed:"left",width:"170px"},{prop:"project_name",label:"\u9879\u76EE\u540D\u79F0","min-width":"120px"},{prop:"low_rate",label:"\u9879\u76EE\u6BDB\u5229\u7387",_slot_:"low_rate",width:"85px"},{prop:"status",label:"\u72B6\u6001",width:"130px",cellRenderer({row:o}){return m(f,null,{default:()=>{var e;return((e=n.find(t=>Number(t.value)===Number(o.status)))==null?void 0:e.label)||"--"}})}},{prop:"khNo",label:"\u5BA2\u6237\u516C\u53F8\u7F16\u7801",width:"125px"},{prop:"khName",label:"\u5BA2\u6237\u516C\u53F8\u540D\u79F0","min-width":"158px"},{prop:"platform_name",label:"\u5E73\u53F0\u540D\u79F0",width:"100px"},{prop:"budget_total",label:"\u9879\u76EE\u603B\u9884\u7B97",width:"130px"},{prop:"company",label:"\u4E1A\u52A1\u516C\u53F8","min-width":"130px"},{prop:"company_name",label:"\u7533\u8BF7\u4EBA\u90E8\u95E8",minWidth:"150px"},{prop:"creater",label:"\u7533\u8BF7\u4EBA",width:"60px"},{prop:"addtime",label:"\u521B\u5EFA\u65F6\u95F4",width:"140px"},{prop:"",label:"\u64CD\u4F5C",fixed:"right",width:"50px",slot:"operation"}],v={title:"\u9879\u76EE\u7BA1\u7406",columns:y,apis:{httpList:A,httpAdd:!0,httpStatus:C,httpUpdate:!0}},l={formItems:[{field:"status",type:"select",options:n,placeholder:"\u9879\u76EE\u72B6\u6001"},{field:"create_timer",type:"date_picker",label:"\u521B\u5EFA\u65F6\u95F4",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7ED3\u675F\u65F6\u95F4"}},{type:"range",field:"gold",otherOptions:{startProp:"low",endProp:"up",startPlaceholder:"\u603B\u9884\u7B97\u4E0B\u9650",endPlaceholder:"\u603B\u9884\u7B97\u4E0A\u9650"}},{type:"customer-query",field:"khNo",placeholder:"\u4F01\u4E1A\u5BA2\u6237",otherOptions:{prop:"companyNo"}},{type:"input",field:"project_name",placeholder:"\u9879\u76EE\u540D\u79F0"},{type:"input",field:"company_name",placeholder:"\u7533\u8BF7\u4EBA\u90E8\u95E8"}]},j=E({__name:"index",setup(o){const e="project",t=F(null),s={pageSearchHook:()=>P(void 0,void 0,l)},a=B(),i={content:{create:()=>a.push("/sellOut/projectDetail"),preview:({projectNo:u})=>a.push(`/sellOut/projectDetail?id=${u}`),update:u=>{}}};return(u,D)=>{const c=p("PageContainer"),d=p("PageAuth");return g(),x(d,{pageName:e},{default:w(()=>[b(c,{hooks:s,events:i,contentConfig:r(v),"search-config":r(l),"get-content-ref":h=>t.value=h},null,8,["contentConfig","search-config","get-content-ref"])]),_:1})}}});var R=_(j,[["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/sellOut/project/index.vue"]]);export{R as default};
