engineering/public/admin/assets/index.3035952b.js
shengchanzhe a2653dcd36 提交pc
2024-01-27 11:43:47 +08:00

2 lines
6.1 KiB
JavaScript

import{G as W,H as J,y as K,w as Q,D as X,C as Y,L as Z,M as ee,N as oe}from"./element-plus.4ff6f47d.js";import{_ as te}from"./index.vue_vue_type_script_setup_true_lang.7dabd2cb.js";import{a as ae}from"./index.aaca920c.js";import{u as le}from"./usePaging.f6660143.js";import{u as ie}from"./useDictOptions.c83e2497.js";import{d as ne,a as ue}from"./bid_document_examination.1c5b6d12.js";import"./lodash.8ea2174a.js";import{c as se}from"./bid_buy_bidding_document.4b6d70d3.js";import{_ as re}from"./edit.vue_vue_type_script_setup_true_name_bidDocumentExaminationEdit_lang.0ed56d55.js";import de from"./detail.5571c0ef.js";import{d as N,s as V,r as f,a0 as pe,ai as me,o as i,c as F,V as e,M as t,O as g,u as n,L as s,S as L,W as P,a8 as R,a as S,k as _e,T as b,n as $}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"./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";import"./index.ff7c6188.js";import"./index.vue_vue_type_script_setup_true_lang.200350f4.js";import"./material_list.a39f4e8c.js";import"./index.vue_vue_type_script_setup_true_lang.8ab3987f.js";import"./custom.01004c04.js";import"./bid_document_examination_detail.75c52795.js";const ce=b("\u67E5\u8BE2"),fe=b("\u91CD\u7F6E"),be=b(" \u65B0\u589E "),ve={class:"mt-4"},De=b(" \u8BE6\u60C5 "),we={class:"flex justify-end mt-4"},he=N({name:"bidDocumentExaminationLists"}),bo=N({...he,setup(Ee){const v=V(),y=V(),D=f(!1),w=f(!1),B=f([]),r=pe({buy_bidding_document_id:"",is_need_deposit:""}),T=f([]),j=u=>{T.value=u.map(({id:a})=>a)},{dictData:h}=ie("whether_status,tax_rate,pay_type,construction_funds_sources,bidding_method"),{pager:d,getLists:E,resetParams:I,resetPage:U}=le({fetchFun:ne,params:r}),A=async()=>{var u;D.value=!0,await $(),(u=y.value)==null||u.open("add")},M=async u=>{var p,m;let a=await ue({id:u.id});w.value=!0,await $(),(p=v.value)==null||p.open(),(m=v.value)==null||m.setFormData(a)};return(async()=>{let u=await se({page_no:1,page_size:9999});B.value=u.lists})(),E(),(u,a)=>{const p=W,m=J,C=K,_=Q,O=X,k=Y,q=ae,l=Z,z=ee,G=te,x=me("perms"),H=oe;return i(),F("div",null,[e(k,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[e(O,{class:"mb-[-16px]",model:r,inline:""},{default:t(()=>[e(C,{label:"\u8D2D\u4E70\u6807\u4E66",prop:"buy_bidding_document_id"},{default:t(()=>[e(m,{modelValue:r.buy_bidding_document_id,"onUpdate:modelValue":a[0]||(a[0]=o=>r.buy_bidding_document_id=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u8D2D\u4E70\u6807\u4E66"},{default:t(()=>[(i(!0),F(P,null,R(B.value,(o,c)=>(i(),s(p,{key:c,label:o.name,value:parseInt(o.id)},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(C,{label:"\u662F\u5426\u9700\u8981\u4FDD\u8BC1\u91D1",prop:"is_need_deposit"},{default:t(()=>[e(m,{modelValue:r.is_need_deposit,"onUpdate:modelValue":a[1]||(a[1]=o=>r.is_need_deposit=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u662F\u5426\u9700\u8981\u4FDD\u8BC1\u91D1"},{default:t(()=>[(i(!0),F(P,null,R(n(h).whether_status,(o,c)=>(i(),s(p,{key:c,label:o.name,value:parseInt(o.value)},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(C,null,{default:t(()=>[e(_,{type:"primary",onClick:n(U)},{default:t(()=>[ce]),_:1},8,["onClick"]),e(_,{onClick:n(I)},{default:t(()=>[fe]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),g((i(),s(k,{class:"!border-none",shadow:"never"},{default:t(()=>[g((i(),s(_,{type:"primary",onClick:A},{icon:t(()=>[e(q,{name:"el-icon-Plus"})]),default:t(()=>[be]),_:1})),[[x,["bid.bid_document_examination/add"]]]),S("div",ve,[e(z,{data:n(d).lists,onSelectionChange:j},{default:t(()=>[e(l,{type:"selection",width:"55"}),e(l,{label:"\u5E8F\u53F7",type:"index",width:"55"}),e(l,{label:"\u6D41\u7A0B\u7F16\u53F7",prop:"code","show-overflow-tooltip":""}),e(l,{label:"\u6807\u4E66\u7F16\u53F7",prop:"bid_document_no","show-overflow-tooltip":""}),e(l,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),e(l,{label:"\u62DB\u6807\u516C\u53F8\u540D\u79F0",prop:"invite_tenders_company_name","show-overflow-tooltip":""}),e(l,{label:"\u6295\u6807\u516C\u53F8\u540D\u79F0",prop:"bid_company_name","show-overflow-tooltip":""}),e(l,{label:"\u62DB\u6807\u9879\u76EE\u8D44\u91D1\u6765\u6E90",width:"150",prop:"bidding_project_fund_source","show-overflow-tooltip":""}),e(l,{label:"\u6295\u6807\u5730\u5740",prop:"bid_address","show-overflow-tooltip":""}),e(l,{label:"\u662F\u5426\u9700\u8981\u4FDD\u8BC1\u91D1",prop:"is_margin","show-overflow-tooltip":""}),e(l,{label:"\u4FDD\u8BC1\u91D1\u91D1\u989D ",prop:"margin_amount","show-overflow-tooltip":""}),e(l,{label:"\u5F00\u6807\u65E5\u671F",prop:"bid_opening_date","show-overflow-tooltip":""}),e(l,{label:"\u603B\u91D1\u989D",prop:"total_amount","show-overflow-tooltip":""}),e(l,{label:"\u64CD\u4F5C",width:"160",fixed:"right"},{default:t(({row:o})=>[g((i(),s(_,{link:"",onClick:c=>M(o)},{default:t(()=>[De]),_:2},1032,["onClick"])),[[x,["bid.bid_document_examination/detail"]]])]),_:1})]),_:1},8,["data"])]),S("div",we,[e(G,{modelValue:n(d),"onUpdate:modelValue":a[2]||(a[2]=o=>_e(d)?d.value=o:null),onChange:n(E)},null,8,["modelValue","onChange"])])]),_:1})),[[H,n(d).loading]]),w.value?(i(),s(de,{key:0,ref_key:"detailRef",ref:v,"dict-data":n(h),onClose:a[3]||(a[3]=o=>w.value=!1)},null,8,["dict-data"])):L("",!0),D.value?(i(),s(re,{key:1,ref_key:"editRef",ref:y,"dict-data":n(h),onSuccess:n(E),onClose:a[4]||(a[4]=o=>D.value=!1)},null,8,["dict-data","onSuccess"])):L("",!0)])}}});export{bo as default};