moreShopAdmin/build/admin/assets/details.1fec1ef5.js

2 lines
2.7 KiB
JavaScript
Raw Normal View History

2024-11-11 15:33:52 +08:00
import{C as y,D as B,F}from"./element-plus.7e347b00.js";import{P as D}from"./index.0a27432a.js";import{a as V}from"./config.7387fab2.js";import"./lodash.4e6d2a38.js";import{d,s,r as C,Z as b,o as v,c as x,U as p,L as a,u as l}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./index.63c36c8b.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const E={class:"edit-popup"},k=d({name:"configDETAILS"}),ce=d({...k,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(w,{expose:f,emit:R}){const c=s(),u=s();C("add");const o=b({id:"",type:"",name:"",value:""}),n=async t=>{for(const e in o)t[e]!=null&&t[e]!=null&&(o[e]=t[e])};return f({open:()=>{var t;(t=u.value)==null||t.open()},setFormData:n,getDetail:async t=>{const e=await V({id:t.id});n(e)}}),(t,e)=>{const m=y,i=B,_=F;return v(),x("div",E,[p(D,{ref_key:"popupRef",ref:u,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:a(()=>[p(_,{ref_key:"formRef",ref:c,model:l(o),"label-width":"90px"},{default:a(()=>[p(i,{label:"\u7C7B\u578B",prop:"type"},{default:a(()=>[p(m,{modelValue:l(o).type,"onUpdate:modelValue":e[0]||(e[0]=r=>l(o).type=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7C7B\u578B",readonly:!0},null,8,["modelValue"])]),_:1}),p(i,{label:"\u540D\u79F0",prop:"name"},{default:a(()=>[p(m,{modelValue:l(o).name,"onUpdate:modelValue":e[1]||(e[1]=r=>l(o).name=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0",readonly:!0},null,8,["modelValue"])]),_:1}),p(i,{label:"\u503C",prop:"value"},{default:a(()=>[p(m,{modelValue:l(o).value,"onUpdate:modelValue":e[2]||(e[2]=r=>l(o).value=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u503C",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{ce as default};