|
-import{s as I}from"./index.fc3cfe8a.js";import{b as P}from"./api.dd347586.js";import{f as w,p as g,r as n,d as N,a7 as a,h as p,i as b,j as d,M as o,G as r,u as k,F,$ as S,E as B,aq as j,ar as C}from"./vue.fb807239.js";import{_ as U}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.fdc894a5.js";import"./echarts.594b4072.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"),c=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 p(),b("div",E,[d("div",L,[o(V,{modelValue:c.value,"onUpdate:modelValue":t[2]||(t[2]=e=>c.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(()=>[(p(!0),b(F,null,S(i.value,e=>(p(),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 K=U(q,[["__scopeId","data-v-b3c53ae1"]]);export{K as default};
|
|
|