multiStoreAdmin/dist/storePage/assets/index.4d345f89.js

2 lines
5.2 KiB
JavaScript
Raw Normal View History

2024-06-07 17:39:35 +08:00
import{_ as z,$ as H,Q as J,R as K,D as X,C as Y,w as Z,F as ee,I as te,L as oe,t as le,M as ae,N as ne}from"./element-plus.eb2e53ea.js";import{_ as se}from"./index.vue_vue_type_script_setup_true_lang.f75f9565.js";import{b as ue}from"./index.01e2b43c.js";import{u as ie}from"./usePaging.d25ebf19.js";import{a as re,b as pe}from"./goodsList.92f50107.js";import{_ as me}from"./edit.vue_vue_type_script_setup_true_name_oaPlanEdit_lang.3574a4e7.js";import de from"./detail.1c6e24cc.js";import{d as D,r as C,s as ce,a0 as _e,am as fe,o as d,c as ve,W as e,O as t,u,T as c,P as y,M as E,a as B,j as Ce,S as V,n as h}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"./lodash.a2abcd4b.js";import"./vue-router.995b143f.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"./index.5bcc2e11.js";import"./myTable.vue_vue_type_script_setup_true_name_manageProjectLists_lang.11bcd8ea.js";const Ee={class:"mt-4"},be={class:"flex mt-4 justify-end"},we=D({name:"manageProjectLists"}),ut=D({...we,setup(he){const g=C(null),_=ce(),r=C(!1),k=C(!1),i=_e({status:""}),x=C([]),$=a=>{x.value=a.map(({id:o})=>o)},S=a=>{re({}).finally(()=>{f()})},{pager:p,getLists:f,resetParams:R,resetPage:P}=ie({fetchFun:pe,params:i}),L=async a=>{var o,n;r.value=!0,await h(),(o=_.value)==null||o.open("edit"),(n=_.value)==null||n.setFormData(a)},j=async()=>{var a;r.value=!0,await h(),(a=_.value)==null||a.open("add")},N=()=>{k.value=!0,h(()=>{var a;(a=g.value)==null||a.open()})};return f(),(a,o)=>{const n=J,T=K,b=X,w=z,U=Y,m=Z,A=H,I=ee,F=te,M=ue,s=oe,O=le,q=ae,G=se,Q=fe("perms"),W=ne;return d(),ve("div",null,[e(F,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[e(I,{class:"mb-[-16px]",model:i,"label-width":"80px"},{default:t(()=>[e(A,null,{default:t(()=>[e(w,{span:6},{default:t(()=>[e(b,{label:"\u5546\u54C1\u72B6\u6001"},{default:t(()=>[e(T,{class:"flex-1",modelValue:i.status,"onUpdate:modelValue":o[0]||(o[0]=l=>i.status=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u5546\u54C1\u72B6\u6001"},{default:t(()=>[e(n,{label:"\u9500\u552E\u4E2D",value:0}),e(n,{label:"\u4ED3\u5E93\u4E2D",value:0}),e(n,{label:"\u5DF2\u552E\u7F44",value:0}),e(n,{label:"\u5E93\u5B58\u9884\u8B66",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(w,{span:6},{default:t(()=>[e(b,{label:"\u5546\u54C1\u641C\u7D22",prop:"nature"},{default:t(()=>[e(U,{modelValue:i.status,"onUpdate:modelValue":o[1]||(o[1]=l=>i.status=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1}),e(w,{span:6},{default:t(()=>[e(b,null,{default:t(()=>[e(m,{type:"primary",onClick:u(P)},{default:t(()=>[c("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(m,{onClick:u(R)},{default:t(()=>[c("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),y((d(),E(F,{class:"!border-none",shadow:"never"},{default:t(()=>[y((d(),E(m,{type:"primary",onClick:o[2]||(o[2]=l=>j())},{icon:t(()=>[e(M,{name:"el-icon-Plus"})]),default:t(()=>[c(" \u65B0\u589E ")]),_:1})),[[Q,["dept.dept/add"]]]),B("div",Ee,[e(q,{data:u(p).lists,onSelectionChange:$},{default:t(()=>[e(s,{label:"id",prop:"progress","show-overflow-tooltip":""}),e(s,{label:"\u5934\u50CF",prop:"build_area_text","show-overflow-tooltip":""},{default:t(({row:l})=>[]),_:1}),e(s,{label:"\u6635\u79F0",prop:"project_leve