1 |
- import{_ as x}from"./ComponentContainerProperty-2f24d8b2.js";import{d as h,r as u,x as j,o as r,j as n,w as t,i,a,c as A,F as D,A as P,C as U,D as k,G as z,H as C}from"./index-03f5d926.js";import{u as F}from"./util-ceb99d81.js";import{a as G}from"./index-e0cdee7f.js";import"./el-card-0ac51a7f.js";import"./UploadImg-a60a40bb.js";import"./index-0121e00f.js";import"./el-image-viewer-bc024f43.js";import"./useMessage-2e335eca.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./index-2a4a0a80.js";import"./color-6e929987.js";import"./Dialog-05c67d4e.js";import"./Qrcode-b2ae0f41.js";import"./el-text-90df1c5e.js";import"./IFrame.vue_vue_type_script_setup_true_lang-a3936123.js";import"./vuedraggable.umd-1fb945d8.js";import"./el-collapse-item-52a26fb5.js";const H=h({name:"PromotionArticleProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(f,{emit:c}){const V=f,_=c,{formData:l}=F(V.modelValue,_),p=u([]),m=u(!1),s=async d=>{m.value=!0;const{list:o}=await G({title:d,pageSize:10});p.value=o,m.value=!1};return j(()=>{s()}),(d,o)=>{const v=U,y=k,b=z,g=C,w=x;return r(),n(w,{modelValue:a(l).style,"onUpdate:modelValue":o[1]||(o[1]=e=>a(l).style=e)},{default:t(()=>[i(g,{"label-width":"40px",model:a(l)},{default:t(()=>[i(b,{label:"\u6587\u7AE0",prop:"id"},{default:t(()=>[i(y,{modelValue:a(l).id,"onUpdate:modelValue":o[0]||(o[0]=e=>a(l).id=e),placeholder:"\u8BF7\u9009\u62E9\u6587\u7AE0",class:"w-full",filterable:"",remote:"","remote-method":s,loading:a(m)},{default:t(()=>[(r(!0),A(D,null,P(a(p),e=>(r(),n(v,{key:e.id,label:e.title,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{H as default};
|