engineering/public/admin/assets/index.493593ed.js
2024-06-01 09:43:40 +08:00

2 lines
6.0 KiB
JavaScript

import{D as V,B as j,G as y,w as P,L as W,C as x,N as A,O as L,P as N}from"./element-plus.b8fa0ea3.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang.57e955c0.js";import{u as Y}from"./usePaging.d22bd5fb.js";import{b as M}from"./data_report.00ff38e0.js";import{d as w,a0 as U,r as z,o as c,c as I,V as e,M as o,O,u as r,L as R,k as h,a as f,T as E}from"./@vue.5673dc6e.js";import"./@vueuse.ae0833ee.js";import"./@element-plus.d30df31f.js";import"./lodash-es.5979d539.js";import"./dayjs.fbfe78b6.js";import"./axios.ae49a61d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.9ee818d2.js";import"./lodash.433a4ad9.js";import"./vue-router.137bc04e.js";import"./pinia.dba679c5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.1d1fa3f1.js";import"./color.184f8366.js";import"./clone.83c30c22.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7c4be754.js";import"./ms.a9ae1d6d.js";import"./nprogress.16340954.js";import"./vue-clipboard3.64e2f049.js";import"./clipboard.94b952a9.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.00aeb742.js";const q=E("\u67E5\u8BE2"),G=E("\u91CD\u7F6E"),H={class:"mt-4"},J={class:"flex justify-end mt-4"},K=w({name:"jianliProjectProgressReportLists"}),Ae=w({...K,setup(Q){const p=U({project_name:"",date:""});let s=z("");const v=()=>{p.date=s.value.join(","),D()},{pager:l,getLists:i,resetParams:b,resetPage:D}=Y({fetchFun:M,params:p});return i(),(S,u)=>{const F=V,n=j,B=y,m=P,g=W,_=x,a=A,d=L,k=T,C=N;return c(),I("div",null,[e(_,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(g,{class:"mb-[-16px]",model:p,inline:""},{default:o(()=>[e(n,{label:"\u9879\u76EE\u540D\u79F0"},{default:o(()=>[e(F,{class:"w-[280px]",modelValue:p.project_name,"onUpdate:modelValue":u[0]||(u[0]=t=>p.project_name=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u65E5\u671F"},{default:o(()=>[e(B,{modelValue:r(s),"onUpdate:modelValue":u[1]||(u[1]=t=>h(s)?s.value=t:s=t),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65E5\u671F","end-placeholder":"\u7ED3\u675F\u65E5\u671F","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1}),e(n,null,{default:o(()=>[e(m,{type:"primary",onClick:v},{default:o(()=>[q]),_:1}),e(m,{onClick:r(b)},{default:o(()=>[G]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),O((c(),R(_,{class:"!border-none",shadow:"never"},{default:o(()=>[f("div",H,[e(d,{data:r(l).lists,border:""},{default:o(()=>[e(a,{type:"selection",width:"55"}),e(a,{label:"\u9879\u76EE\u7F16\u53F7",prop:"project_num","show-overflow-tooltip":""}),e(a,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),e(a,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","show-overflow-tooltip":""}),e(a,{label:"\u4E13\u4E1A",width:"200"},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"professional_type","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),e(a,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"task_name","show-overflow-tooltip":"","render-header":r(l).calcWidth},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"task_name","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1},8,["render-header"]),e(a,{label:"\u4EFB\u52A1\u7C7B\u578B",prop:"task_type","show-overflow-tooltip":"","render-header":r(l).calcWidth},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"task_type","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1},8,["render-header"]),e(a,{label:"\u5DE5\u7A0B\u5E08",prop:"engineer","show-overflow-tooltip":"","render-header":r(l).calcWidth},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"engineer","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1},8,["render-header"]),e(a,{label:"\u9020\u4EF7\u91D1\u989D",prop:"zj_amount","show-overflow-tooltip":"","render-header":r(l).calcWidth},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"zj_amount","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1},8,["render-header"]),e(a,{label:"\u6536\u6B3E\u91D1\u989D",prop:"sk_amount","show-overflow-tooltip":"","render-header":r(l).calcWidth},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"sk_amount","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1},8,["render-header"]),e(a,{label:"\u63D0\u6210\u6BD4\u4F8B(%)",prop:"tc_rate","show-overflow-tooltip":"","render-header":r(l).calcWidth},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"tc_rate","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1},8,["render-header"]),e(a,{label:"\u5176\u4ED6\u52A0\u51CF\u9879",prop:"other_fee","show-overflow-tooltip":"","render-header":r(l).calcWidth},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"other_fee","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1},8,["render-header"]),e(a,{label:"\u5E94\u63D0\u6210\u91D1\u989D",prop:"tc_amount","show-overflow-toolti":"","render-header":r(l).calcWidth},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"tc_amount","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1},8,["render-header"]),e(a,{label:"\u7D2F\u8BA1\u652F\u4ED8\u91D1\u989D",prop:"pay_amount","show-overflow-tooltip":"",width:"120"},{default:o(({row:t})=>[e(d,{data:t.children,"show-header":!1},{default:o(()=>[e(a,{prop:"pay_amount","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1})]),_:1},8,["data"])]),f("div",J,[e(k,{modelValue:r(l),"onUpdate:modelValue":u[2]||(u[2]=t=>h(l)?l.value=t:null),onChange:r(i)},null,8,["modelValue","onChange"])])]),_:1})),[[C,r(l).loading]])])}}});export{Ae as default};