engineering/public/admin/assets/index.c767be2e.js
2024-03-04 15:04:21 +08:00

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.258bf9e7.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.60e89e82.js";import{u as ee}from"./usePaging.f6660143.js";import{u as oe}from"./useDictOptions.c644f395.js";import{a as te,b as le}from"./project.bccf4059.js";import"./lodash.1d82ee7c.js";import{g as ue}from"./projecttype.f974a874.js";import"./index.ec401e3b.js";import ae from"./detail.0648e6b3.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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";import"./index.9492d03b.js";import"./custom.13e75d58.js";import"./Overview.87e91485.js";import"./Business.d84d2c98.js";import"./project_follow_up.7ff756b1.js";import"./customer_demand.1a367ec5.js";import"./customer_demand_solution.c617eb7f.js";import"./project_estimate.38ab2776.js";import"./competitor.63c8f08c.js";import"./myTable.edbaa743.js";import"./index.vue_vue_type_style_index_0_lang.e91ff55f.js";import"./tender.f1a24e19.js";import"./bid_bidding_decision.94b455e2.js";import"./bid_document_examination.3ecf1ccf.js";import"./bid_result.87d2a38b.js";import"./bidbbond.0932c876.js";import"./refundbidDeposit.3a278599.js";import"./contract.0a3cfbb5.js";import"./contract.4f8a540d.js";import"./contract_negotiation.1907410e.js";import"./budget.cb49f14f.js";import"./project_cost_budget_detail.c84213df.js";import"./project_material_budget_detail.8f7a9994.js";import"./project_subpackage_budget_detail.b29b14e4.js";import"./project_equipment_budget_detail.b63030b4.js";import"./project_labor_budget_detail.60680db0.js";import"./procurement.6ee1eda6.js";import"./procurement_contract.b71ab69f.js";import"./subcontract.de79204f.js";import"./subcontracting_contract.654d8771.js";import"./subcontractor.3d3161e3.js";import"./manpower.635aaa13.js";import"./project_personnel.09fb588e.js";import"./project_labor_contract.62b5248b.js";import"./project_insurance_management.82214213.js";import"./project_attendance_record.41d82014.js";import"./project_attendance_detail.a5256573.js";import"./project_salary_detail.57d1cdc6.js";import"./Collection.eb4023b2.js";import"./InvoicingRequests.ffa42549.js";import"./remittance.3fda3ff0.js";import"./recordsPayment.151d9a50.js";import"./refund.d7927da2.js";import"./payment.e3cee96c.js";import"./receiptrecord.fd1ec468.js";import"./paymentplan.26c1cb62.js";import"./paymentrequest.166f3439.js";import"./refundrecord.12b16dcd.js";import"./documentation.14575ed4.js";import"./project_document.a7b6d184.js";import"./Statistics.d2c7152e.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};