|
|
|
+import{a as I}from"./elementPlus.ca260f0e.js";import{b as P}from"./api.0f5083a7.js";import{d as w,q as g,r as n,j as N,a9 as a,o as c,c as b,a as d,M as o,G as r,u as k,F,a0 as S,E as B,as as j,at as C}from"./vue.c47582f6.js";import{_ as U}from"./_plugin-vue_export-helper.c27b6911.js";import"./index.06c7bd4d.js";import"./echarts.72dc8373.js";const A=l=>(j("data-v-b3c53ae1"),l=l(),C(),l),E={class:"flex justify-between border border-solid border-inherit rounded-md"},L={style:{flex:"2 1 0","border-right":"1px solid #e6e6e6"}},M={class:"flex gap-1 p-2"},R=A(()=>d("div",{style:{flex:"1 1 0"}},[d("div",{class:"h-10",style:{"background-color":"#edf0f8"}},"已添加:")],-1)),q=w({__name:"PopoverFilterParent",setup(l){const x=g("profile"),p=n("search"),u=n(""),i=n([]),_=n("");async function h(){try{const s=await P({profileId:x.value.profile_id});i.value=s.data}catch(s){console.log("error:",s)}}return N(()=>{h()}),(s,t)=>{const m=a("el-input"),y=a("el-option"),f=a("el-select"),v=a("el-tab-pane"),V=a("el-tabs");return c(),b("div",E,[d("div",L,[o(V,{modelValue:p.value,"onUpdate:modelValue":t[2]||(t[2]=e=>p.value=e),class:"demo-tabs"},{default:r(()=>[o(v,{label:"搜索",name:"search"},{default:r(()=>[d("div",M,[o(m,{modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=e=>u.value=e),placeholder:"输入产品标题/父ASIN/ASIN查询","prefix-icon":k(I),style:{width:"360px"}},null,8,["modelValue","prefix-icon"]),o(f,null,{default:r(()=>[(c(!0),b(F,null,S(i.value,e=>(c(),B(y,{key:e.productlineId,label:e.productlineName,value:e.productlineId},null,8,["label","value"]))),128))]),_:1}),o(f)])]),_:1}),o(v,{label:"输入",name:"input",class:"w-full p-2"},{default:r(()=>[o(m,{modelValue:_.value,"onUpdate:modelValue":t[1]||(t[1]=e=>_.value=e),autosize:{minRows:10,maxRows:100},type:"textarea",placeholder:"Please input"},null,8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])]),R])}}});const O=U(q,[["__scopeId","data-v-b3c53ae1"]]);export{O as default};
|