2 lines
3.9 KiB
JavaScript
2 lines
3.9 KiB
JavaScript
import{Z as y,$ as P,a0 as R,F as N,w as $,G as L,J as T,M as j,N as S,O as U}from"./element-plus.6b125791.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang.305bb481.js";import{u as A}from"./usePaging.fff444fa.js";import{r as G}from"./index.8eb121a3.js";import{_ as I}from"./edit.vue_vue_type_script_setup_true_name_oaPlanEdit_lang.82d0ab84.js";import{d as B,s as J,r as M,$ as O,o as p,c as Q,W as o,Q as e,u as l,U as n,R as W,P as w,a as g,j as Z,T as z}from"./@vue.340249d8.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.6b964ca4.js";import"./axios.ebd1d4d0.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./lodash.ab1d8f92.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.7a4c1284.js";import"./color.10b8b3bd.js";import"./clone.623e4e2d.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.518a19eb.js";import"./vue-clipboard3.c098b37d.js";import"./clipboard.a67a48a7.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./index.7acb2098.js";function H(i){return G.get({url:"/consult_target.consult_decision/lists",params:i})}const K={class:"mt-4"},X={class:"flex mt-4 justify-end"},Y=B({name:"manageProjectLists"}),qo=B({...Y,setup(i){const v=J(),m=M(!1),u=O({times:"",status:""}),{pager:s,getLists:c,resetParams:C,resetPage:b}=A({fetchFun:H,params:u});return(oo,r)=>{const F=y,_=N,d=P,f=$,h=R,D=L,E=T,t=j,k=S,V=q,x=U;return p(),Q("div",null,[o(E,{class:"!border-none mb-4",shadow:"never"},{default:e(()=>[o(D,{class:"mb-[-16px]",model:u,"label-width":"80px"},{default:e(()=>[o(h,null,{default:e(()=>[o(d,{span:6},{default:e(()=>[o(_,{label:"\u7ED3\u7B97\u65E5\u671F"},{default:e(()=>[o(F,{modelValue:u.times,"onUpdate:modelValue":r[0]||(r[0]=a=>u.times=a),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),o(d,{span:6},{default:e(()=>[o(_,null,{default:e(()=>[o(f,{type:"primary",onClick:l(b)},{default:e(()=>[n("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(f,{onClick:l(C)},{default:e(()=>[n("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),W((p(),w(E,{class:"!border-none",shadow:"never"},{default:e(()=>[g("div",K,[o(k,{data:l(s).lists},{default:e(()=>[o(t,{label:"\u7ED3\u7B97\u65E5\u671F",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u7ED3\u7B97\u7C7B\u578B",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u7ED3\u7B97\u91D1\u989D",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u7ED3\u7B97\u65B9\u5F0F",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u4ED8\u6B3E\u65B9\u4FE1\u606F",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u6536\u6B3E\u65B9\u4FE1\u606F",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u7ED3\u7B97\u51ED\u8BC1",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u7ED3\u7B97\u5907\u6CE8",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u7ECF\u529E\u4EBA",prop:"progress","show-overflow-tooltip":""}),o(t,{label:"\u64CD\u4F5C",width:"170",fixed:"right"},{default:e(({row:a})=>[n(" \u5907\u6CE8 ")]),_:1})]),_:1},8,["data"])]),g("div",X,[o(V,{modelValue:l(s),"onUpdate:modelValue":r[1]||(r[1]=a=>Z(s)?s.value=a:null),onChange:l(c)},null,8,["modelValue","onChange"])])]),_:1})),[[x,l(s).loading]]),m.value?(p(),w(I,{key:0,ref_key:"editRef",ref:v,onSuccess:l(c),onClose:r[2]||(r[2]=a=>m.value=!1)},null,8,["onSuccess"])):z("",!0)])}}});export{qo as default};
|