engineering/public/admin/assets/index.eeaf6aa5.js
2024-06-13 14:42:52 +08:00

2 lines
4.3 KiB
JavaScript

import{D as C,B as g,w as V,L as k,C as j,N as x,O as A,P}from"./element-plus.6d2d2999.js";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang.09449d5c.js";import{u as L}from"./usePaging.d22bd5fb.js";import{p as N}from"./data_report.5bf738f4.js";import{d as h,a0 as T,o as f,c as U,V as o,M as e,O as I,u as l,L as O,a as w,T as s,U as i,k as R}from"./@vue.5673dc6e.js";import"./@vueuse.ae0833ee.js";import"./@element-plus.d30df31f.js";import"./lodash-es.5979d539.js";import"./dayjs.2ad434f4.js";import"./axios.36225696.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.1eb21f43.js";import"./lodash.a82e6f70.js";import"./vue-router.137bc04e.js";import"./pinia.dba679c5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.5db10a28.js";import"./color.71c30cc1.js";import"./clone.2ee3e1bd.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.6e76bada.js";import"./ms.a9ae1d6d.js";import"./nprogress.6e60475c.js";import"./vue-clipboard3.532e155c.js";import"./clipboard.7774a268.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.00aeb742.js";const W=s("\u67E5\u8BE2"),q=s("\u91CD\u7F6E"),M={class:"mt-4"},S={class:"flex justify-end mt-4"},$=h({name:"jianliProjectProgressReportLists"}),Ao=h({...$,setup(z){const r=T({contract_name:"",project_name:""}),{pager:u,getLists:m,resetParams:D,resetPage:E}=L({fetchFun:N,params:r});return m(),(G,n)=>{const _=C,p=g,c=V,F=k,d=j,t=x,v=A,b=y,B=P;return f(),U("div",null,[o(d,{class:"!border-none mb-4",shadow:"never"},{default:e(()=>[o(F,{class:"mb-[-16px]",model:r,inline:""},{default:e(()=>[o(p,{label:"\u9879\u76EE\u540D\u79F0",prop:"project"},{default:e(()=>[o(_,{class:"w-[280px]",modelValue:r.project_name,"onUpdate:modelValue":n[0]||(n[0]=a=>r.project_name=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(p,{label:"\u5408\u540C\u540D\u79F0",prop:"num"},{default:e(()=>[o(_,{class:"w-[280px]",modelValue:r.contract_name,"onUpdate:modelValue":n[1]||(n[1]=a=>r.contract_name=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5408\u540C\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(p,null,{default:e(()=>[o(c,{type:"primary",onClick:l(E)},{default:e(()=>[W]),_:1},8,["onClick"]),o(c,{onClick:l(D)},{default:e(()=>[q]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),I((f(),O(d,{class:"!border-none",shadow:"never"},{default:e(()=>[w("div",M,[o(v,{border:"",data:l(u).lists},{default:e(()=>[o(t,{type:"selection",width:"55"}),o(t,{"render-header":l(u).calcWidth,label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""},null,8,["render-header"]),o(t,{"render-header":l(u).calcWidth,label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","show-overflow-tooltip":""},null,8,["render-header"]),o(t,{label:"\u90E8\u95E8",prop:"dept_name","show-overflow-tooltip":""}),o(t,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"project_director","show-overflow-tooltip":""}),o(t,{label:"\u4EFB\u52A1\u5206\u914D\u72B6\u6001",prop:"task_allocation_status","show-overflow-tooltip":""},{default:e(({row:a})=>[s(i(a.task_allocation_status?"\u5DF2\u5206\u914D":"\u672A\u5206\u914D"),1)]),_:1}),o(t,{label:"\u4EFB\u52A1\u529E\u7406\u72B6\u6001",prop:"data_reception_status","show-overflow-tooltip":""},{default:e(({row:a})=>[s(i(a.data_reception_status?"\u5DF2\u5F00\u59CB":"\u672A\u5F00\u59CB"),1)]),_:1}),o(t,{label:"\u8D44\u6599\u5F52\u6863\u72B6\u6001",prop:"task_handling_three_level_review_status","show-overflow-tooltip":""},{default:e(({row:a})=>[s(i(a.task_handling_three_level_review_status?"\u5DF2\u4E0A\u4F20":"\u672A\u4E0A\u4F20"),1)]),_:1}),o(t,{label:"\u5230\u8D26\u91D1\u989D",prop:"total_refund_amount","show-overflow-tooltip":""}),o(t,{label:"\u5F00\u7968\u91D1\u989D",prop:"total_invoice_amount","show-overflow-tooltip":""}),o(t,{label:"\u63D0\u6210\u91D1\u989D",prop:"total_commission_amount","show-overflow-tooltip":""})]),_:1},8,["data"])]),w("div",S,[o(b,{modelValue:l(u),"onUpdate:modelValue":n[2]||(n[2]=a=>R(u)?u.value=a:null),onChange:l(m)},null,8,["modelValue","onChange"])])]),_:1})),[[B,l(u).loading]])])}}});export{Ao as default};