engineering/public/admin/assets/Business.6dc7ad21.js
shengchanzhe a2653dcd36 提交pc
2024-01-27 11:43:47 +08:00

2 lines
8.5 KiB
JavaScript

import{L as Z,M as A,O as G,Z as H}from"./element-plus.4ff6f47d.js";import{a as I}from"./project_follow_up.5138b4d9.js";import{a as J}from"./customer_demand.1f5762f3.js";import{a as K}from"./customer_demand_solution.509645bd.js";import{a as Q}from"./project_estimate.316c1ddc.js";import{d as R}from"./competitor.33801606.js";import{r as d,a0 as v,o as p,c as l,a as i,V as e,M as r,W as z,a8 as x,T as w,U as k}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.fc5568d8.js";import"./axios.5b893b79.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.aaca920c.js";import"./lodash.8ea2174a.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.4cbccc26.js";import"./color.033abf8c.js";import"./clone.a6258514.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7eedf28f.js";import"./ms.a9ae1d6d.js";import"./nprogress.93182424.js";import"./vue-clipboard3.6a55d49e.js";import"./clipboard.2986c82d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const X=i("div",{class:"tit"},"\u9879\u76EE\u8DDF\u8FDB",-1),Y={style:{margin:"20px 0"}},$=i("div",{class:"tit"},"\u5BA2\u6237\u9700\u6C42",-1),ee={key:0},te={key:1},ae={style:{margin:"20px 0"}},oe=i("div",{class:"tit"},"\u89E3\u51B3\u65B9\u6848",-1),ne={key:0},pe={key:1},le={style:{margin:"20px 0"}},ie=i("div",{class:"tit"},"\u9879\u76EE\u6982\u7B97",-1),re={key:0},se={key:1},de={style:{margin:"20px 0"}},ue=i("div",{class:"tit"},"\u7ADE\u4E89\u5BF9\u624B",-1),ge={key:0},_e={key:1},me={style:{margin:"20px 0"}},$e={__name:"Business",props:{project_id:Number},setup(P){const _=P,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),b=v({page_size:10,page_no:1,project_id:_.project_id}),C=v({page_size:10,page_no:1,project_id:_.project_id}),f=v({page_size:10,page_no:1,project_id:_.project_id}),m=v({page_size:10,page_no:1,project_id:_.project_id}),u=v({page_size:10,page_no:1,project_id:_.project_id}),F=()=>{I(u).then(o=>{j.value=o.lists,E.value=o.count})},M=()=>{J(u).then(o=>{S.value=o.lists,B.value=o.count})},q=()=>{K(u).then(o=>{L.value=o.lists,N.value=o.count})},O=()=>{Q(m).then(o=>{U.value=o.lists,T.value=o.count})},W=()=>{R(u).then(o=>{D.value=o.lists,V.value=o.count})};return F(),M(),W(),q(),O(),(o,n)=>{const a=Z,h=A,c=G,y=H;return p(),l(z,null,[X,i("div",null,[e(h,{data:j.value,stripe:"",style:{width:"100%"}},{default:r(()=>[e(a,{label:"\u4E3B\u9898",prop:"theme",width:"180"}),e(a,{label:"\u65E5\u671F",prop:"follow_date",width:"180"}),e(a,{label:"\u65B9\u6848\u5185\u5BB9",prop:"solution_content"}),e(a,{label:"\u7C7B\u578B",prop:"follow_type_text"}),e(a,{label:"\u6267\u884C\u4EBA",prop:"executor"}),e(a,{label:"\u9636\u6BB5",prop:"follow_stage_text"}),e(a,{label:"\u72B6\u6001",prop:"follow_status_text"}),e(a,{label:"\u9879\u76EE\u628A\u63E1\u5EA6",prop:"project_assurance_text"})]),_:1},8,["data"])]),i("div",Y,[e(c,{"current-page":b.page_no,"onUpdate:current-page":n[0]||(n[0]=t=>b.page_no=t),"page-size":b.page_size,"onUpdate:page-size":n[1]||(n[1]=t=>b.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"])]),$,i("div",null,[e(h,{data:S.value,stripe:"",style:{width:"100%"}},{default:r(()=>[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:r(({row:t})=>[t.annex&&t.annex.length>0?(p(),l("div",ee,[(p(!0),l(z,null,x(t.annex,(g,s)=>(p(),l("div",{key:s},[e(y,{href:g,target:"_blank"},{default:r(()=>[w("\u6587\u4EF6"+k(s+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),128))])):(p(),l("div",te," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1},8,["data"])]),i("div",ae,[e(c,{"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"])]),oe,i("div",null,[e(h,{data:L.value,stripe:"",style:{width:"100%"}},{default:r(()=>[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:r(({row:t})=>[t.annex&&t.annex.length>0?(p(),l("div",ne,[(p(!0),l(z,null,x(t.annex,(g,s)=>(p(),l("div",{key:s},[e(y,{href:g,target:"_blank"},{default:r(()=>[w("\u6587\u4EF6"+k(s+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),128))])):(p(),l("div",pe," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1},8,["data"])]),i("div",le,[e(c,{"current-page":f.page_no,"onUpdate:current-page":n[4]||(n[4]=t=>f.page_no=t),"page-size":f.page_size,"onUpdate:page-size":n[5]||(n[5]=t=>f.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,i("div",null,[e(h,{data:U.value,stripe:"",style:{width:"100%"}},{default:r(()=>[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:r(({row:t})=>[t.annex&&t.annex.length>0?(p(),l("div",re,[(p(!0),l(z,null,x(t.annex,(g,s)=>(p(),l("div",{key:s},[e(y,{href:g,target:"_blank"},{default:r(()=>[w("\u6587\u4EF6"+k(s+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),128))])):(p(),l("div",se," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1},8,["data"])]),i("div",de,[e(c,{"current-page":m.page_no,"onUpdate:current-page":n[6]||(n[6]=t=>m.page_no=t),"page-size":m.page_size,"onUpdate:page-size":n[7]||(n[7]=t=>m.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,i("div",null,[e(h,{data:D.value,stripe:"",style:{width:"100%"}},{default:r(()=>[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:r(({row:t})=>[t.annex&&t.annex.length>0?(p(),l("div",ge,[(p(!0),l(z,null,x(t.annex,(g,s)=>(p(),l("div",{key:s},[e(y,{href:g,target:"_blank"},{default:r(()=>[w("\u6587\u4EF6"+k(s+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),128))])):(p(),l("div",_e," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1},8,["data"])]),i("div",me,[e(c,{"current-page":u.page_no,"onUpdate:current-page":n[8]||(n[8]=t=>u.page_no=t),"page-size":u.page_size,"onUpdate:page-size":n[9]||(n[9]=t=>u.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{$e as default};