engineering/public/admin/assets/index.00493b97.js
2024-04-19 12:13:39 +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,O as A,P as L,Q as T}from"./element-plus.c5968462.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.963b6450.js";import{u as M}from"./usePaging.5a1a0ff2.js";import{b as N}from"./data_report.008397f6.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.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.9bff6341.js";import"./dayjs.920ed704.js";import"./axios.fd7895df.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.9aa949ed.js";import"./lodash.f060c5ce.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.89a2cd6d.js";import"./color.f7f12e1b.js";import"./clone.3f99ce25.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7ca60bdd.js";import"./ms.a9ae1d6d.js";import"./nprogress.2d805d1c.js";import"./vue-clipboard3.f9b015dd.js";import"./clipboard.84da4513.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.d693a0d8.js";const q=E("\u67E5\u8BE2"),G=E("\u91CD\u7F6E"),Q={class:"mt-4"},H={class:"flex justify-end mt-4"},J=w({name:"jianliProjectProgressReportLists"}),Ae=w({...J,setup(K){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}=M({fetchFun:N,params:p});return i(),(S,u)=>{const F=V,n=j,B=y,m=P,g=W,_=x,a=A,d=L,k=Y,C=T;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",Q,[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",H,[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};