2 lines
5.6 KiB
JavaScript
2 lines
5.6 KiB
JavaScript
import{D as V,B as j,G as y,w as P,L as x,C as A,O as L,P as T,Q as Y}from"./element-plus.76ad22d1.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang.53484866.js";import{u as N}from"./usePaging.0b2adcee.js";import{b as U}from"./data_report.c179461b.js";import{d as w,a0 as z,r as I,o as f,c as O,V as o,M as e,O as R,u,L as q,k as c,a as h,T as E}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.9bff6341.js";import"./dayjs.4e54c873.js";import"./axios.c27a9cd7.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.ba0b8151.js";import"./lodash.12303e67.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.ce2b95b7.js";import"./color.0b62cf11.js";import"./clone.b8d2a027.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./nprogress.026d6bda.js";import"./vue-clipboard3.1a74f940.js";import"./clipboard.80ee0599.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.d693a0d8.js";const G=E("\u67E5\u8BE2"),Q=E("\u91CD\u7F6E"),H={class:"mt-4"},J={class:"flex justify-end mt-4"},K=w({name:"jianliProjectProgressReportLists"}),Ao=w({...K,setup(S){const p=z({project_name:"",date:""});let s=I("");const v=()=>{p.date=s.value.join(","),D()},{pager:d,getLists:i,resetParams:b,resetPage:D}=N({fetchFun:U,params:p});return i(),(W,r)=>{const F=V,n=j,B=y,_=P,g=x,m=A,a=L,l=T,k=M,C=Y;return f(),O("div",null,[o(m,{class:"!border-none mb-4",shadow:"never"},{default:e(()=>[o(g,{class:"mb-[-16px]",model:p,inline:""},{default:e(()=>[o(n,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[o(F,{class:"w-[280px]",modelValue:p.project_name,"onUpdate:modelValue":r[0]||(r[0]=t=>p.project_name=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(n,{label:"\u65E5\u671F"},{default:e(()=>[o(B,{modelValue:u(s),"onUpdate:modelValue":r[1]||(r[1]=t=>c(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}),o(n,null,{default:e(()=>[o(_,{type:"primary",onClick:v},{default:e(()=>[G]),_:1}),o(_,{onClick:u(b)},{default:e(()=>[Q]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),R((f(),q(m,{class:"!border-none",shadow:"never"},{default:e(()=>[h("div",H,[o(l,{data:u(d).lists,border:""},{default:e(()=>[o(a,{type:"selection",width:"55"}),o(a,{label:"\u9879\u76EE\u7F16\u53F7",prop:"project_num","show-overflow-tooltip":"",width:"120"}),o(a,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":"",width:"120"}),o(a,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","show-overflow-tooltip":"",width:"120"}),o(a,{label:"\u4E13\u4E1A",width:"200"},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"professional_type","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"task_name","show-overflow-tooltip":""},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"task_name","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u4EFB\u52A1\u7C7B\u578B",prop:"task_type","show-overflow-tooltip":""},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"task_type","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u5DE5\u7A0B\u5E08",prop:"engineer","show-overflow-tooltip":""},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"engineer","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u9020\u4EF7\u91D1\u989D",prop:"zj_amount","show-overflow-tooltip":""},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"zj_amount","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u6536\u6B3E\u91D1\u989D",prop:"sk_amount","show-overflow-tooltip":""},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"sk_amount","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u63D0\u6210\u6BD4\u4F8B",prop:"tc_rate","show-overflow-tooltip":""},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"tc_rate","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u5176\u4ED6\u52A0\u51CF\u9879",prop:"other_fee","show-overflow-tooltip":""},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"other_fee","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u5E94\u63D0\u6210\u91D1\u989D",prop:"tc_amount","show-overflow-tooltip":""},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"tc_amount","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1}),o(a,{label:"\u7D2F\u8BA1\u652F\u4ED8\u91D1\u989D",prop:"pay_amount","show-overflow-tooltip":"",width:"120"},{default:e(({row:t})=>[o(l,{data:t.children,"show-header":!1},{default:e(()=>[o(a,{prop:"pay_amount","show-overflow-tooltip":""})]),_:2},1032,["data"])]),_:1})]),_:1},8,["data"])]),h("div",J,[o(k,{modelValue:u(d),"onUpdate:modelValue":r[2]||(r[2]=t=>c(d)?d.value=t:null),onChange:u(i)},null,8,["modelValue","onChange"])])]),_:1})),[[C,u(d).loading]])])}}});export{Ao as default};
|