2 lines
10 KiB
JavaScript
2 lines
10 KiB
JavaScript
import{I as q,y as G,G as H,H as W,w as z,D as J,C as K,L as Q,M as X,N as Y}from"./element-plus.b3353ca6.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.f8e9523f.js";import{u as ee}from"./usePaging.f6660143.js";import{u as oe}from"./useDictOptions.c47985a3.js";import{a as te,b as le}from"./project.31b61d2e.js";import"./lodash.1d82ee7c.js";import{g as ue}from"./projecttype.87f07315.js";import"./index.892155dd.js";import ae from"./detail.cf80daca.js";import{d as A,a0 as j,s as k,r as h,ai as re,o as a,c,V as e,M as l,O as x,u as s,L as m,S as ie,W as E,a8 as v,a as U,k as ne,T as D,n as pe}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.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";import"./index.771e5a41.js";import"./custom.735a8774.js";import"./Overview.bb02aa22.js";import"./Business.f8b7b698.js";import"./project_follow_up.ba7300ba.js";import"./customer_demand.590eabec.js";import"./customer_demand_solution.acb4b347.js";import"./project_estimate.e7b54040.js";import"./competitor.c6473b70.js";import"./myTable.08d8b5c9.js";import"./index.vue_vue_type_style_index_0_lang.55eb6c89.js";import"./tender.700fccdd.js";import"./bid_bidding_decision.e09e2193.js";import"./bid_document_examination.7f253df5.js";import"./bid_result.0287c36f.js";import"./bidbbond.d6186ebd.js";import"./refundbidDeposit.5d890c89.js";import"./contract.35c36188.js";import"./contract.f3f9485a.js";import"./contract_negotiation.e3ff279b.js";import"./budget.cdd73827.js";import"./project_cost_budget_detail.eb1773d6.js";import"./project_material_budget_detail.2969b9dd.js";import"./project_subpackage_budget_detail.d721fc2e.js";import"./project_equipment_budget_detail.a69a2df0.js";import"./project_labor_budget_detail.6719f00b.js";import"./procurement.9efb64ee.js";import"./procurement_contract.403020ae.js";import"./subcontract.88b6f9d3.js";import"./subcontracting_contract.82d60ffc.js";import"./subcontractor.fdeb6c12.js";import"./manpower.18e3fda7.js";import"./project_personnel.552853ff.js";import"./project_labor_contract.d336eb13.js";import"./project_insurance_management.c59a9a81.js";import"./project_attendance_record.d67f7bfd.js";import"./project_attendance_detail.9c7ab73b.js";import"./project_salary_detail.40ef91f0.js";import"./Collection.63ff5727.js";import"./InvoicingRequests.62d68dae.js";import"./remittance.96c4b9e8.js";import"./recordsPayment.e08e65dd.js";import"./refund.a33828e7.js";import"./payment.d3a8d046.js";import"./receiptrecord.7f70cc23.js";import"./paymentplan.b9780dd5.js";import"./paymentrequest.01756056.js";import"./refundrecord.ceb381cb.js";import"./documentation.86723a9f.js";import"./project_document.143520b0.js";import"./Statistics.5a5c3c2c.js";const se=D("\u67E5\u8BE2"),me=D("\u91CD\u7F6E"),de={class:"mt-4"},ce=D(" \u8BE6\u60C5 "),_e={class:"flex justify-end mt-4"},fe=A({name:"projectLists"}),ot=A({...fe,setup(be){const w=j([]),g=k();k(),h(!1);const V=h(!1),u=j({custom_name:"",project_type:"",project_code:"",name:"",project_address:"",estimated_construction:"",bidding_method:"",person:"",relationship:"",strategic_significance:"",industry:"",unit_nature:"",status:"",project_content:"",information_sources:""}),P=h([]),L=f=>{P.value=f.map(({id:t})=>t)},{dictData:_}=oe("project_type,project_content,bidding_method,relationship,information_sources,construction_funds_sources,construction_financial_status,construction_recognition,my_construction_recognition,strategic_significance,industry,unit_nature"),{pager:F,getLists:y,resetParams:T,resetPage:N}=ee({fetchFun:te,params:u}),R=async f=>{var d,i;let t=await le({id:f.id});V.value=!0,await pe(),(d=g.value)==null||d.open(),(i=g.value)==null||i.setFormData(t)};return(()=>{ue().then(f=>{w.splice(0,w.length,...f)})})(),y(),(f,t)=>{const d=q,i=G,n=H,b=W,B=z,S=J,C=K,r=Q,I=X,$=Z,M=re("perms"),O=Y;return a(),c("div",null,[e(C,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(S,{class:"mb-[-16px]",model:u,inline:"","label-width":"auto"},{default:l(()=>[e(i,{label:"\u5BA2\u6237\u540D\u79F0",prop:"custom_name"},{default:l(()=>[e(d,{class:"w-[280px]",modelValue:u.custom_name,"onUpdate:modelValue":t[0]||(t[0]=o=>u.custom_name=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5BA2\u6237\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u9879\u76EE\u7F16\u7801",prop:"project_code"},{default:l(()=>[e(d,{class:"w-[280px]",modelValue:u.project_code,"onUpdate:modelValue":t[1]||(t[1]=o=>u.project_code=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u7F16\u7801"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u9879\u76EE\u540D\u79F0",prop:"name"},{default:l(()=>[e(d,{class:"w-[280px]",modelValue:u.name,"onUpdate:modelValue":t[2]||(t[2]=o=>u.name=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u8D1F\u8D23\u4EBA",prop:"person"},{default:l(()=>[e(d,{class:"w-[280px]",modelValue:u.person,"onUpdate:modelValue":t[3]||(t[3]=o=>u.person=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8D1F\u8D23\u4EBA"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u6218\u7565\u610F\u4E49",prop:"strategic_significance"},{default:l(()=>[e(b,{class:"w-[280px]",modelValue:u.strategic_significance,"onUpdate:modelValue":t[4]||(t[4]=o=>u.strategic_significance=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u6218\u7565\u610F\u4E49"},{default:l(()=>[e(n,{label:"\u5168\u90E8",value:""}),(a(!0),c(E,null,v(s(_).strategic_significance,(o,p)=>(a(),m(n,{key:p,label:o.name,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(i,{label:"\u6240\u5C5E\u884C\u4E1A",prop:"industry"},{default:l(()=>[e(b,{class:"w-[280px]",modelValue:u.industry,"onUpdate:modelValue":t[5]||(t[5]=o=>u.industry=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u6240\u5C5E\u884C\u4E1A"},{default:l(()=>[e(n,{label:"\u5168\u90E8",value:""}),(a(!0),c(E,null,v(s(_).industry,(o,p)=>(a(),m(n,{key:p,label:o.name,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(i,{label:"\u5355\u4F4D\u6027\u8D28",prop:"unit_nature"},{default:l(()=>[e(b,{class:"w-[280px]",modelValue:u.unit_nature,"onUpdate:modelValue":t[6]||(t[6]=o=>u.unit_nature=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u5355\u4F4D\u6027\u8D28"},{default:l(()=>[e(n,{label:"\u5168\u90E8",value:""}),(a(!0),c(E,null,v(s(_).unit_nature,(o,p)=>(a(),m(n,{key:p,label:o.name,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(i,{label:"\u62DB\u6807\u65B9\u5F0F",prop:"bidding_method"},{default:l(()=>[e(b,{class:"w-[280px]",modelValue:u.bidding_method,"onUpdate:modelValue":t[7]||(t[7]=o=>u.bidding_method=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u62DB\u6807\u65B9\u5F0F"},{default:l(()=>[e(n,{label:"\u5168\u90E8",value:""}),(a(!0),c(E,null,v(s(_).bidding_method,(o,p)=>(a(),m(n,{key:p,label:o.name,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(i,{label:"\u4FE1\u606F\u6765\u6E90",prop:"information_sources"},{default:l(()=>[e(b,{class:"w-[280px]",modelValue:u.information_sources,"onUpdate:modelValue":t[8]||(t[8]=o=>u.information_sources=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u4FE1\u606F\u6765\u6E90"},{default:l(()=>[e(n,{label:"\u5168\u90E8",value:""}),(a(!0),c(E,null,v(s(_).information_sources,(o,p)=>(a(),m(n,{key:p,label:o.name,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(i,{label:"\u9879\u76EE\u7C7B\u578B",prop:"project_type"},{default:l(()=>[e(b,{class:"w-[280px]",modelValue:u.project_type,"onUpdate:modelValue":t[9]||(t[9]=o=>u.project_type=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B"},{default:l(()=>[e(n,{label:"\u5168\u90E8",value:""}),(a(!0),c(E,null,v(w,(o,p)=>(a(),m(n,{key:p,label:o.name,value:o.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(i,null,{default:l(()=>[e(B,{type:"primary",onClick:s(N)},{default:l(()=>[se]),_:1},8,["onClick"]),e(B,{onClick:s(T)},{default:l(()=>[me]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),x((a(),m(C,{class:"!border-none",shadow:"never"},{default:l(()=>[U("div",de,[e(I,{data:s(F).lists,onSelectionChange:L},{default:l(()=>[e(r,{type:"selection",width:"55"}),e(r,{label:"\u5E8F\u53F7",type:"index",width:"55"}),e(r,{label:"\u5BA2\u6237",prop:"custom_name","show-overflow-tooltip":""}),e(r,{label:"\u9879\u76EE\u7F16\u7801",prop:"project_code","show-overflow-tooltip":""}),e(r,{label:"\u9879\u76EE\u540D\u79F0",prop:"name","show-overflow-tooltip":""}),e(r,{label:"\u9879\u76EE\u72B6\u6001",prop:"status","show-overflow-tooltip":""}),e(r,{label:"\u9879\u76EE\u6240\u5728\u5730",prop:"project_address","show-overflow-tooltip":""}),e(r,{label:"\u9879\u76EE\u7C7B\u578B",prop:"project_type","show-overflow-tooltip":""}),e(r,{label:"\u6218\u7565\u610F\u4E49",prop:"strategic_significance","show-overflow-tooltip":""}),e(r,{label:"\u6240\u5C5E\u884C\u4E1A",prop:"industry","show-overflow-tooltip":""}),e(r,{label:"\u5355\u4F4D\u6027\u8D28",prop:"unit_nature","show-overflow-tooltip":""}),e(r,{label:"\u62DB\u6807\u65B9\u5F0F",prop:"bidding_method","show-overflow-tooltip":""}),e(r,{label:"\u4FE1\u606F\u6765\u6E90",prop:"information_sources","show-overflow-tooltip":""}),e(r,{label:"\u8D1F\u8D23\u4EBA",prop:"person","show-overflow-tooltip":""}),e(r,{label:"\u64CD\u4F5C",width:"160",fixed:"right"},{default:l(({row:o})=>[x((a(),m(B,{link:"",onClick:p=>R(o)},{default:l(()=>[ce]),_:2},1032,["onClick"])),[[M,["project.project/detail"]]])]),_:1})]),_:1},8,["data"])]),U("div",_e,[e($,{modelValue:s(F),"onUpdate:modelValue":t[10]||(t[10]=o=>ne(F)?F.value=o:null),onChange:s(y)},null,8,["modelValue","onChange"])])]),_:1})),[[O,s(F).loading]]),V.value?(a(),m(ae,{key:0,ref_key:"detailRef",ref:g,"dict-data":s(_),onClose:t[11]||(t[11]=o=>V.value=!1)},null,8,["dict-data"])):ie("",!0)])}}});export{ot as default};
|