import{aT as F,ac as _,al as a,bN as g,a$ as r,_ as E,d as f,w as b,n as A,r as n,o as B,G as w,C as v,j as x,l}from"./index.js";import{s as i,f as C}from"./_options.e9511092.js";import{u as y}from"./use-page-search.f7bc460e.js";import"./validator.92b8f4b2.js";const p={formItems:[{field:"status",type:"select",options:i,placeholder:"\u72B6\u6001"},{type:"customer-query",field:"khNo",placeholder:"\u4F01\u4E1A\u5BA2\u6237",otherOptions:{prop:"companyNo"}},{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"}},{field:"group",type_field:"group_type",type:"input_group",otherOptions:{inputGroupOptions:[{value:"zxNo",label:"\u7ADE\u4EF7\u5355\u7F16\u53F7"},{value:"cpName",label:"\u5546\u54C1\u540D\u79F0"},{value:"salesman",label:"\u7533\u8BF7\u4EBA"},{value:"company_name",label:"\u7533\u8BF7\u4EBA\u90E8\u95E8"}]}}]},{VITE_PROXY_DOMAIN_REAL:V,VITE_PROXY_USER_REAL:D}=_(),O=D+"/admin/",N=e=>F.request("post",`${O}consultlists`,{data:e}),P=[{prop:"infoNo",label:"\u7ADE\u4EF7\u7F16\u53F7",width:"160"},{prop:"bargain_num",label:"\u7ADE\u4EF7\u6B21\u6570",width:"70"},{prop:"good_img",label:"\u56FE\u7247",width:"50",cellRenderer({row:e}){return e.good_img?a(g,{previewSrcList:[e.good_img],src:e.good_img,previewTeleported:!0,style:{width:"20px",height:"20px"}}):null}},{prop:"good_name",label:"\u5546\u54C1\u540D\u79F0","min-width":"120"},{prop:"status",label:"\u72B6\u6001",width:"120px",cellRenderer({row:e}){return a(r,null,{default:()=>{var u;return((u=i.find(t=>Number(t.value)===Number(e.status)))==null?void 0:u.label)||"--"}})}},{prop:"is_project",label:"\u7ADE\u4EF7\u5355\u7C7B\u578B",width:"110px",cellRenderer({row:e}){return a(r,null,{default:()=>{var u;return((u=C.find(t=>Number(t.value)===Number(e.is_project)))==null?void 0:u.label)||"--"}})}},{prop:"khNo",label:"\u5BA2\u6237\u7F16\u53F7",width:"160"},{prop:"khname",label:"\u5BA2\u6237\u540D\u79F0","min-width":"135"},{prop:"companyNo",label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u53F7",width:"160"},{prop:"companyName",label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0","min-width":"135"},{prop:"budget_price",label:"\u9884\u7B97\u5355\u4EF7",width:110},{prop:"num",label:"\u7ADE\u4EF7\u6570\u91CF",width:110},{prop:"company_name",label:"\u7533\u8BF7\u4EBA\u90E8\u95E8",minWidth:"150px"},{prop:"creater",label:"\u7533\u8BF7\u4EBA",width:"60"},{prop:"addtime",label:"\u6DFB\u52A0\u65F6\u95F4",width:142},{prop:"",label:"\u64CD\u4F5C",fixed:"right",width:"80px",slot:"operation"}],k={title:"\u7ADE\u4EF7\u5355\u7BA1\u7406",columns:P,apis:{httpList:N,httpAdd:!0}},R=f({__name:"index",setup(e){const u="zixunOrder",t=b(null),s={pageSearchHook:()=>y(void 0,void 0,p)},o=A(),d={content:{create:()=>o.push("/sellOut/zixunOrderDetail"),update:()=>o.push("/sellOut/zixunOrderDetail?id=&type=update"),preview:()=>o.push("/sellOut/zixunOrderDetail?id=&type=preview")}};return(z,T)=>{const c=n("PageContainer"),m=n("PageAuth");return B(),w(m,{pageName:u},{default:v(()=>[x(c,{hooks:s,events:d,contentConfig:l(k),"search-config":l(p),"get-content-ref":h=>t.value=h},null,8,["contentConfig","search-config","get-content-ref"])]),_:1})}}});var q=E(R,[["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/sellOut/zixunOrder/index.vue"]]);export{q as default};
