import{L as A,M as G,O as H,_ as I}from"./element-plus.517d4382.js";import{a as J}from"./project_follow_up.9e000742.js";import{a as K}from"./customer_demand.ccb61d2f.js";import{a as Q}from"./customer_demand_solution.7b6f5501.js";import{a as R}from"./project_estimate.b878230f.js";import{d as X}from"./competitor.4d4b3ebe.js";import"./edit.vue_vue_type_script_setup_true_name_projectFollowUpEdit_lang.fde0c8f3.js";import{u as Y}from"./useDictOptions.b5854a9e.js";import{r as d,a0 as f,o as p,c as l,a as r,V as e,M as i,W as b,U as g,a8 as y,T as k}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"./index.8b1962e9.js";import"./lodash.1d82ee7c.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.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";import"./index.vue_vue_type_script_setup_true_lang.ed719f67.js";import"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import"./usePaging.f6660143.js";import"./project.a81dff6c.js";import"./index.b17dae19.js";import"./index.e6dda1f5.js";const Z=r("div",{class:"tit"},"\u9879\u76EE\u8DDF\u8FDB",-1),$={style:{margin:"20px 0"}},ee=r("div",{class:"tit"},"\u5BA2\u6237\u9700\u6C42",-1),te={key:0},ae={key:1},oe={style:{margin:"20px 0"}},ne=r("div",{class:"tit"},"\u89E3\u51B3\u65B9\u6848",-1),pe={key:0},le={key:1},re={style:{margin:"20px 0"}},ie=r("div",{class:"tit"},"\u9879\u76EE\u6982\u7B97",-1),se={key:0},de={key:1},_e={style:{margin:"20px 0"}},ue=r("div",{class:"tit"},"\u7ADE\u4E89\u5BF9\u624B",-1),ge={key:0},me={key:1},ce={style:{margin:"20px 0"}},it={__name:"Business",props:{project_id:Number,formData:Object},setup(P){const m=P;Y("project_assurance,follow_status,follow_type,follow_stage"),d(!1);const j=d([]),S=d([]),L=d([]),U=d([]),D=d([]),E=d(0),B=d(0),N=d(0),T=d(0),V=d(0),z=f({page_size:10,page_no:1,project_id:m.project_id}),C=f({page_size:10,page_no:1,project_id:m.project_id}),w=f({page_size:10,page_no:1,project_id:m.project_id}),c=f({page_size:10,page_no:1,project_id:m.project_id}),_=f({page_size:10,page_no:1,project_id:m.project_id}),F=()=>{J(_).then(o=>{j.value=o.lists,E.value=o.count})},M=()=>{K(_).then(o=>{S.value=o.lists,B.value=o.count})},O=()=>{Q(_).then(o=>{L.value=o.lists,N.value=o.count})},q=()=>{R(c).then(o=>{U.value=o.lists,T.value=o.count})},W=()=>{X(_).then(o=>{D.value=o.lists,V.value=o.count})};return F(),M(),W(),O(),q(),(o,n)=>{const a=A,h=G,v=H,x=I;return p(),l(b,null,[Z,r("div",null,[e(h,{data:j.value,stripe:"",style:{width:"100%"}},{default:i(()=>[e(a,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),e(a,{label:"\u5BA2\u6237\u540D\u79F0",prop:"custom_name","show-overflow-tooltip":""}),e(a,{label:"\u6267\u884C\u4EBA",prop:"executor","show-overflow-tooltip":""}),e(a,{label:"\u65E5\u671F",prop:"follow_date"},{default:i(({row:t})=>[r("span",null,g(t.follow_date?t.follow_date:""),1)]),_:1}),e(a,{label:"\u7C7B\u578B",prop:"follow_type_text"}),e(a,{label:"\u4E3B\u9898",prop:"theme","show-overflow-tooltip":""}),e(a,{label:"\u9879\u76EE\u628A\u63E1\u5EA6",prop:"project_assurance_text"}),e(a,{label:"\u72B6\u6001",prop:"follow_status_text"}),e(a,{label:"\u9636\u6BB5",prop:"follow_stage_text"}),e(a,{label:"\u4E0B\u6B21\u56DE\u8BBF\u65E5\u671F",prop:"next_follow_up_date"},{default:i(({row:t})=>[r("span",null,g(t.next_follow_up_date?t.next_follow_up_date:""),1)]),_:1})]),_:1},8,["data"])]),r("div",$,[e(v,{"current-page":z.page_no,"onUpdate:current-page":n[0]||(n[0]=t=>z.page_no=t),"page-size":z.page_size,"onUpdate:page-size":n[1]||(n[1]=t=>z.page_size=t),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:E.value,onCurrentChange:o.handleCurrentChange1},null,8,["current-page","page-size","total","onCurrentChange"])]),ee,r("div",null,[e(h,{data:S.value,stripe:"",style:{width:"100%"}},{default:i(()=>[e(a,{label:"\u9700\u6C42\u4E3B\u9898",prop:"theme",width:"180"}),e(a,{label:"\u91CD\u8981\u7A0B\u5EA6",prop:"importance_text",width:"180"}),e(a,{label:"\u8BB0\u5F55\u65F6\u95F4",prop:"recording_time"}),e(a,{label:"\u9700\u6C42\u5185\u5BB9",prop:"demand_content"}),e(a,{label:"\u9644\u4EF6",prop:"annex","show-overflow-tooltip":""},{default:i(({row:t})=>[t.annex&&t.annex.length>0?(p(),l("div",te,[(p(!0),l(b,null,y(t.annex,(u,s)=>(p(),l("div",{key:s},[e(x,{href:u,target:"_blank"},{default:i(()=>[k("\u6587\u4EF6"+g(s+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),128))])):(p(),l("div",ae," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1},8,["data"])]),r("div",oe,[e(v,{"current-page":C.page_no,"onUpdate:current-page":n[2]||(n[2]=t=>C.page_no=t),"page-size":C.page_size,"onUpdate:page-size":n[3]||(n[3]=t=>C.page_size=t),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:B.value,onSizeChange:o.handleSizeChange2,onCurrentChange:o.handleCurrentChange2},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),ne,r("div",null,[e(h,{data:L.value,stripe:"",style:{width:"100%"}},{default:i(()=>[e(a,{label:"\u89E3\u51B3\u65B9\u6848\u4E3B\u9898",prop:"customer_demand_name",width:"180"}),e(a,{label:"\u63D0\u4EA4\u65F6\u95F4",prop:"submission_time",width:"180"}),e(a,{label:"\u65B9\u6848\u5185\u5BB9",prop:"solution_content"}),e(a,{label:"\u5BA2\u6237\u53CD\u9988",prop:"customer_feedback"}),e(a,{label:"\u9644\u4EF6",prop:"annex","show-overflow-tooltip":""},{default:i(({row:t})=>[t.annex&&t.annex.length>0?(p(),l("div",pe,[(p(!0),l(b,null,y(t.annex,(u,s)=>(p(),l("div",{key:s},[e(x,{href:u,target:"_blank"},{default:i(()=>[k("\u6587\u4EF6"+g(s+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),128))])):(p(),l("div",le," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1},8,["data"])]),r("div",re,[e(v,{"current-page":w.page_no,"onUpdate:current-page":n[4]||(n[4]=t=>w.page_no=t),"page-size":w.page_size,"onUpdate:page-size":n[5]||(n[5]=t=>w.page_size=t),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:N.value,onSizeChange:o.handleSizeChange3,onCurrentChange:o.handleCurrentChange3},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),ie,r("div",null,[e(h,{data:U.value,stripe:"",style:{width:"100%"}},{default:i(()=>[e(a,{label:"\u6982\u7B97\u6765\u6E90",prop:"estimate_source_text",width:"180"}),e(a,{label:"\u5236\u5355\u4EBA",prop:"create_user",width:"180"}),e(a,{label:"\u62A5\u4EF7\u65E5\u671F",prop:"quotation_date"}),e(a,{label:"\u6280\u672F\u4EBA\u5458",prop:"technician_name",width:"180"}),e(a,{label:"\u6982\u7B97\u91D1\u989D(\u4E07\u5143)",prop:"estimate_amount",width:"180"}),e(a,{label:"\u8981\u6C42",prop:"ask"}),e(a,{label:"\u9644\u4EF6",prop:"annex","show-overflow-tooltip":""},{default:i(({row:t})=>[t.annex&&t.annex.length>0?(p(),l("div",se,[(p(!0),l(b,null,y(t.annex,(u,s)=>(p(),l("div",{key:s},[e(x,{href:u,target:"_blank"},{default:i(()=>[k("\u6587\u4EF6"+g(s+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),128))])):(p(),l("div",de," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1},8,["data"])]),r("div",_e,[e(v,{"current-page":c.page_no,"onUpdate:current-page":n[6]||(n[6]=t=>c.page_no=t),"page-size":c.page_size,"onUpdate:page-size":n[7]||(n[7]=t=>c.page_size=t),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:T.value,onSizeChange:o.handleSizeChange4,onCurrentChange:o.handleCurrentChange4},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),ue,r("div",null,[e(h,{data:D.value,stripe:"",style:{width:"100%"}},{default:i(()=>[e(a,{label:"\u7ADE\u4E89\u5BF9\u624B\u540D\u79F0",prop:"competitor_name",width:"180"}),e(a,{label:"\u7ADE\u4E89\u5BF9\u624B\u8054\u7CFB\u4EBA",prop:"competitor_contacts",width:"180"}),e(a,{label:"\u8054\u7CFB\u4EBA\u7535\u8BDD",prop:"competitor_contacts_phone"}),e(a,{label:"\u7ADE\u4E89\u80FD\u529B",prop:"competitive_power"}),e(a,{label:"\u7ADE\u4E89\u5BF9\u624B\u4F18\u52BF",prop:"competitor_advantages"}),e(a,{label:"\u7ADE\u4E89\u5BF9\u624B\u52A3\u52BF",prop:"competitor_disadvantages"}),e(a,{label:"\u5907\u6CE8",prop:"remark"}),e(a,{label:"\u9644\u4EF6",prop:"annex","show-overflow-tooltip":""},{default:i(({row:t})=>[t.annex&&t.annex.length>0?(p(),l("div",ge,[(p(!0),l(b,null,y(t.annex,(u,s)=>(p(),l("div",{key:s},[e(x,{href:u,target:"_blank"},{default:i(()=>[k("\u6587\u4EF6"+g(s+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),128))])):(p(),l("div",me," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1},8,["data"])]),r("div",ce,[e(v,{"current-page":_.page_no,"onUpdate:current-page":n[8]||(n[8]=t=>_.page_no=t),"page-size":_.page_size,"onUpdate:page-size":n[9]||(n[9]=t=>_.page_size=t),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:V.value,onSizeChange:o.handleSizeChange5,onCurrentChange:o.handleCurrentChange5},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])])],64)}}};export{it as default};