2 lines
2.2 KiB
JavaScript
2 lines
2.2 KiB
JavaScript
import{C as b,D,F as x}from"./element-plus.a63a26dd.js";import{P as y}from"./index.c69e7fd7.js";import{b as B}from"./user_label.d9e697e4.js";import"./lodash.2473fc51.js";import{d as s,s as i,r as E,Z as F,o as h,c as k,U as r,L as p,u as a}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.4884cfc2.js";import"./axios.932d3f8a.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.d7fb2d76.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.9f6a56f3.js";import"./color.d1bc3784.js";import"./clone.83700f2e.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.fcc9be76.js";import"./vue-clipboard3.9e751565.js";import"./clipboard.dda64e67.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const w={class:"edit-popup"},R=s({name:"userLabelDETAILS"}),ue=s({...R,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(v,{expose:n,emit:C}){const u=i(),m=i();E("add");const o=F({label_id:"",label_name:""}),l=async e=>{for(const t in o)e[t]!=null&&e[t]!=null&&(o[t]=e[t])};return n({open:()=>{var e;(e=m.value)==null||e.open()},setFormData:l,getDetail:async e=>{const t=await B({label_id:e.label_id});l(t)}}),(e,t)=>{const c=b,_=D,f=x;return h(),k("div",w,[r(y,{ref_key:"popupRef",ref:m,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:p(()=>[r(f,{ref_key:"formRef",ref:u,model:a(o),"label-width":"90px"},{default:p(()=>[r(_,{label:"\u6807\u7B7E\u540D\u79F0",prop:"label_name"},{default:p(()=>[r(c,{modelValue:a(o).label_name,"onUpdate:modelValue":t[0]||(t[0]=d=>a(o).label_name=d),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6807\u7B7E\u540D\u79F0",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{ue as default};
|