2 lines
4.9 KiB
JavaScript
2 lines
4.9 KiB
JavaScript
import{_ as j,$ as N,Q as T,R as $,D as A,C as I,w as S,F as U,I as M,L as O,M as q,N as G}from"./element-plus.0a93cab1.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang.3863431c.js";import{u as W}from"./usePaging.d25ebf19.js";import{a as z}from"./goodsList.68cdcd7a.js";import{_ as H}from"./detail.vue_vue_type_script_setup_true_lang.50675d4e.js";import{d as E,s as J,r as b,a0 as K,o as v,c as X,W as e,O as o,u as a,T as d,P as Y,M as Z,a as C,j as ee}from"./@vue.c3e77981.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./axios.a8078129.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.0f49d1f2.js";import"./lodash.a2abcd4b.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";import"./userInfo.vue_vue_type_script_setup_true_lang.ff7395eb.js";import"./shoping.vue_vue_type_script_setup_true_name_manageProjectLists_lang.79522569.js";import"./money.vue_vue_type_script_setup_true_name_manageProjectLists_lang.eb2985e3.js";import"./histroy.vue_vue_type_script_setup_true_name_manageProjectLists_lang.fda2cf9f.js";const oe={class:"mt-4"},te={class:"flex mt-4 justify-end"},le=E({name:"manageProjectLists"}),We=E({...le,setup(ae){const c=J();b(!1);const s=K({status:""}),g=b([]),h=m=>{g.value=m.map(({id:t})=>t)},{pager:n,getLists:f,resetParams:B,resetPage:x}=W({fetchFun:z,params:s}),F=async m=>{var t;(t=c.value)==null||t.open()};return f(),(m,t)=>{const r=T,D=$,p=A,i=j,V=I,_=S,k=N,y=U,w=M,l=O,L=q,P=Q,R=G;return v(),X("div",null,[e(w,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(y,{class:"mb-[-16px]",model:a(s),"label-width":"80px"},{default:o(()=>[e(k,null,{default:o(()=>[e(i,{span:6},{default:o(()=>[e(p,{label:"\u5546\u54C1\u72B6\u6001"},{default:o(()=>[e(D,{class:"flex-1",modelValue:a(s).status,"onUpdate:modelValue":t[0]||(t[0]=u=>a(s).status=u),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u5546\u54C1\u72B6\u6001"},{default:o(()=>[e(r,{label:"\u9500\u552E\u4E2D",value:0}),e(r,{label:"\u4ED3\u5E93\u4E2D",value:0}),e(r,{label:"\u5DF2\u552E\u7F44",value:0}),e(r,{label:"\u5E93\u5B58\u9884\u8B66",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:6},{default:o(()=>[e(p,{label:"\u5546\u54C1\u5206\u7C7B",prop:"project_code"})]),_:1}),e(i,{span:6},{default:o(()=>[e(p,{label:"\u5546\u54C1\u641C\u7D22",prop:"nature"},{default:o(()=>[e(V,{modelValue:a(s).status,"onUpdate:modelValue":t[1]||(t[1]=u=>a(s).status=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:6},{default:o(()=>[e(p,null,{default:o(()=>[e(_,{type:"primary",onClick:a(x)},{default:o(()=>[d("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(_,{onClick:a(B)},{default:o(()=>[d("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),Y((v(),Z(w,{class:"!border-none",shadow:"never"},{default:o(()=>[C("div",oe,[e(L,{data:a(n).lists,onSelectionChange:h},{default:o(()=>[e(l,{label:"id",prop:"progress","show-overflow-tooltip":""}),e(l,{label:"\u5934\u50CF",prop:"build_area_text","show-overflow-tooltip":""},{default:o(({row:u})=>[]),_:1}),e(l,{label:"\u6635\u79F0",prop:"project_level_text","show-overflow-tooltip":""}),e(l,{label:"\u4ED8\u8D39\u4F1A\u5458",prop:"total_investment","show-overflow-tooltip":"",width:"120"}),e(l,{label:"\u7528\u6237\u7B49\u7EA7",prop:"engineering_status_text","show-overflow-tooltip":""}),e(l,{label:"\u6807\u7B7E",prop:"engineering_status_text","show-overflow-tooltip":""}),e(l,{label:"\u624B\u673A\u53F7",prop:"engineering_status_text","show-overflow-tooltip":""}),e(l,{label:"\u7528\u6237\u7C7B\u578B",prop:"engineering_status_text","show-overflow-tooltip":""}),e(l,{label:"\u4F59\u989D",prop:"engineering_status_text","show-overflow-tooltip":""}),e(l,{label:"\u5173\u8054\u5E97\u5458",prop:"engineering_status_text","show-overflow-tooltip":""}),e(l,{label:"\u64CD\u4F5C",width:"170",fixed:"right"},{default:o(({row:u})=>[e(_,{type:"primary",link:"",onClick:ue=>F(u)},{default:o(()=>[d(" \u8BE6\u60C5 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),C("div",te,[e(P,{modelValue:a(n),"onUpdate:modelValue":t[2]||(t[2]=u=>ee(n)?n.value=u:null),onChange:a(f)},null,8,["modelValue","onChange"])])]),_:1})),[[R,a(n).loading]]),e(H,{ref_key:"editRef",ref:c},null,512)])}}});export{We as default};
|