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

2 lines
8.0 KiB
JavaScript

import{I as U,y as q,w as M,D as O,C as G,L as H,M as J,N as K}from"./element-plus.258bf9e7.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang.60e89e82.js";import{f as W,a as X}from"./index.ec401e3b.js";import{_ as Y}from"./index.vue_vue_type_style_index_0_lang.e91ff55f.js";import{u as Z}from"./usePaging.f6660143.js";import{u as oo}from"./useDictOptions.c644f395.js";import{_ as eo,a as C,b as to,c as uo}from"./edit.vue_vue_type_script_setup_true_name_projectProgressPaymentEdit_lang.df57c5d2.js";import"./lodash.1d82ee7c.js";import{d as y,s as lo,r as A,a0 as ao,ai as ro,o as n,c as po,V as o,M as t,O as f,u as a,L as d,S as so,a as v,k as no,T as _,n as g}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"./index.vue_vue_type_script_setup_true_lang.c11935ba.js";import"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import"./cost_project.2762b876.js";import"./index.a7758114.js";const io=_("\u67E5\u8BE2"),mo=_("\u91CD\u7F6E"),co=_(" \u65B0\u589E "),_o=_(" \u5220\u9664 "),fo={class:"mt-4"},wo={style:{width:"95%",margin:"0 auto"}},Eo=_(" \u7F16\u8F91 "),Fo=_(" \u5220\u9664 "),ho={class:"flex justify-end mt-4"},Bo=y({name:"projectProgressPaymentLists"}),me=y({...Bo,setup(vo){const w=lo(),E=A(!1),r=ao({num:"",project:"",project_num:""}),B=A([]),k=p=>{B.value=p.map(({id:u})=>u)},{dictData:V}=oo(""),{pager:i,getLists:F,resetParams:P,resetPage:x}=Z({fetchFun:C,params:r}),$=async()=>{var p;E.value=!0,await g(),(p=w.value)==null||p.open("add")},z=async p=>{var m,s;let u=await to({id:p.id});E.value=!0,await g(),(m=w.value)==null||m.open("edit"),(s=w.value)==null||s.setFormData(u)},b=async p=>{await W.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await uo({id:p}),F()};return F(),(p,u)=>{const m=U,s=q,c=M,L=Y,I=O,j=G,N=X,e=H,D=J,S=Q,h=ro("perms"),T=K;return n(),po("div",null,[o(j,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(I,{class:"mb-[-16px]",model:r,inline:""},{default:t(()=>[o(s,{label:"\u5355\u636E\u7F16\u53F7",prop:"num"},{default:t(()=>[o(m,{class:"w-[280px]",modelValue:r.num,"onUpdate:modelValue":u[0]||(u[0]=l=>r.num=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5355\u636E\u7F16\u53F7"},null,8,["modelValue"])]),_:1}),o(s,{label:"\u9879\u76EE\u540D\u79F0",prop:"project"},{default:t(()=>[o(m,{class:"w-[280px]",modelValue:r.project,"onUpdate:modelValue":u[1]||(u[1]=l=>r.project=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(s,{label:"\u9879\u76EE\u7F16\u53F7",prop:"project_num"},{default:t(()=>[o(m,{class:"w-[280px]",modelValue:r.project_num,"onUpdate:modelValue":u[2]||(u[2]=l=>r.project_num=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u7F16\u53F7"},null,8,["modelValue"])]),_:1}),o(s,null,{default:t(()=>[o(c,{type:"primary",onClick:a(x)},{default:t(()=>[io]),_:1},8,["onClick"]),o(c,{onClick:a(P)},{default:t(()=>[mo]),_:1},8,["onClick"]),o(L,{class:"ml-2.5","fetch-fun":a(C),params:r,"page-size":a(i).size},null,8,["fetch-fun","params","page-size"])]),_:1})]),_:1},8,["model"])]),_:1}),f((n(),d(j,{class:"!border-none",shadow:"never"},{default:t(()=>[f((n(),d(c,{type:"primary",onClick:$},{icon:t(()=>[o(N,{name:"el-icon-Plus"})]),default:t(()=>[co]),_:1})),[[h,["project_process_management.project_progress_payment/add"]]]),f((n(),d(c,{disabled:!B.value.length,onClick:u[3]||(u[3]=l=>b(B.value))},{default:t(()=>[_o]),_:1},8,["disabled"])),[[h,["project_process_management.project_progress_payment/delete"]]]),v("div",fo,[o(D,{data:a(i).lists,onSelectionChange:k},{default:t(()=>[o(e,{type:"selection",width:"55"}),o(e,{type:"expand"},{default:t(l=>[v("div",wo,[o(D,{data:l.row.children},{default:t(()=>[o(e,{label:"\u6240\u5728\u76EE\u5F55",prop:"directory","show-overflow-tooltip":""}),o(e,{label:"\u5355\u4F4D\u5DE5\u7A0B\u540D\u79F0",prop:"unit_project_name","show-overflow-tooltip":""}),o(e,{label:"\u65F6\u95F4",prop:"time","show-overflow-tooltip":""}),o(e,{label:"\u5F62\u8C61\u8FDB\u5EA6",prop:"image_progress","show-overflow-tooltip":""}),o(e,{label:"\u7533\u62A5\u9020\u4EF7(\u571F\u5EFA)",prop:"declared_cost_tj","show-overflow-tooltip":""}),o(e,{label:"\u7533\u62A5\u9020\u4EF7(\u5B89\u88C5)",prop:"declared_cost_az","show-overflow-tooltip":""}),o(e,{label:"\u7533\u62A5\u9020\u4EF7(\u5176\u4ED6)",prop:"declared_cost_other","show-overflow-tooltip":""}),o(e,{label:"\u8FDB\u5EA6\u7533\u62A5\u9020\u4EF7\u5C0F\u8BA1",prop:"jdsbzj_xiaoji","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u6838\u9020\u4EF7(\u571F\u5EFA)",prop:"audit_cost_tj","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u6838\u9020\u4EF7(\u5B89\u88C5)",prop:"audit_cost_az","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u6838\u9020\u4EF7(\u5176\u4ED6)",prop:"audit_cost_other","show-overflow-tooltip":""}),o(e,{label:"\u8FDB\u5EA6\u5BA1\u6838\u9020\u4EF7\u5C0F\u8BA1",prop:"jdshzj_xiaoji","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u51CF\u989D(\u5143)",prop:"deduction_amount","show-overflow-tooltip":""}),o(e,{label:"\u5B8C\u6210\u4EA7\u503C\u6BD4\u4F8B(%)",prop:"completed_rate","show-overflow-tooltip":""}),o(e,{label:"\u5408\u540C\u5DE5\u7A0B\u6B3E\u603B\u989D",prop:"contract_total_amount","show-overflow-tooltip":""}),o(e,{label:"\u7D2F\u8BA1\u5B8C\u6210\u5DE5\u7A0B\u6B3E",prop:"ljwc_funds","show-overflow-tooltip":""}),o(e,{label:"\u5F53\u671F\u5E94\u4ED8\u5DE5\u7A0B\u6B3E(\u5143)",prop:"current_payable_funds","show-overflow-tooltip":""}),o(e,{label:"\u4ED8\u6B3E\u6BD4\u4F8B(%)",prop:"payment_rate","show-overflow-tooltip":""}),o(e,{label:"\u5408\u540C\u4ED8\u6B3E\u6BD4\u4F8B(%)",prop:"dcntract_payment_rate","show-overflow-tooltip":""}),o(e,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:2},1032,["data"])])]),_:1}),o(e,{label:"\u5355\u636E\u7F16\u53F7",prop:"num","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectInfo.project_name","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u7F16\u53F7",prop:"projectInfo.project_num","show-overflow-tooltip":""}),o(e,{label:"\u767B\u8BB0\u4EBA",prop:"djr","show-overflow-tooltip":""}),o(e,{label:"\u767B\u8BB0\u65E5\u671F",prop:"djrq","show-overflow-tooltip":""}),o(e,{label:"\u8FDB\u5EA6\u7533\u62A5\u9020\u4EF7\u5408\u8BA1",prop:"sbhj","show-overflow-tooltip":""}),o(e,{label:"\u8FDB\u5EA6\u5BA1\u6838\u9020\u4EF7\u5408\u8BA1",prop:"shhj","show-overflow-tooltip":""}),o(e,{label:"\u7D2F\u8BA1\u5E94\u4ED8\u5DE5\u7A0B\u6B3E\u5408\u8BA1",prop:"ljhj","show-overflow-tooltip":""}),o(e,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:t(({row:l})=>[f((n(),d(c,{type:"primary",link:"",onClick:R=>z(l)},{default:t(()=>[Eo]),_:2},1032,["onClick"])),[[h,["project_process_management.project_progress_payment/edit"]]]),f((n(),d(c,{type:"danger",link:"",onClick:R=>b(l.id)},{default:t(()=>[Fo]),_:2},1032,["onClick"])),[[h,["project_process_management.project_progress_payment/delete"]]])]),_:1})]),_:1},8,["data"])]),v("div",ho,[o(S,{modelValue:a(i),"onUpdate:modelValue":u[4]||(u[4]=l=>no(i)?i.value=l:null),onChange:a(F)},null,8,["modelValue","onChange"])])]),_:1})),[[T,a(i).loading]]),E.value?(n(),d(eo,{key:0,ref_key:"editRef",ref:w,"dict-data":a(V),onSuccess:a(F),onClose:u[5]||(u[5]=l=>E.value=!1)},null,8,["dict-data","onSuccess"])):so("",!0)])}}});export{me as default};