PageSourceSearch

https://ozon.menglar.com/workbench/assets/index-04cN0vzE.js

js menglar.com collected 2026-09-24 10:20:21 UTC 16,226 bytes, 1 lines download raw bytes

1var Tt=Object.defineProperty,Nt=Object.defineProperties;var Ut=Object.getOwnPropertyDescriptors;var lt=Object.getOwnPropertySymbols;var Ot=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;var rt=(r,p,d)=>p in r?Tt(r,p,{enumerable:!0,configurable:!0,writable:!0,value:d}):r[p]=d,j=(r,p)=>{for(var d in p||(p={}))Ot.call(p,d)&&rt(r,d,p[d]);if(lt)for(var d of lt(p))Dt.call(p,d)&&rt(r,d,p[d]);return r},mt=(r,p)=>Nt(r,Ut(p));var ut=(r,p,d)=>new Promise((U,B)=>{var T=S=>{try{O(d.next(S))}catch(D){B(D)}},q=S=>{try{O(d.throw(S))}catch(D){B(D)}},O=S=>S.done?U(S.value):Promise.resolve(S.value).then(T,q);O((d=d.apply(r,p)).next())});import{_ as ft,u as Pt,b as Rt,e as Gt,b9 as Lt,fd as Bt,h as $t,ao as Ft,bN as At,n as Kt}from"./entry/index-DhGbs7Im.js";import{d as Vt}from"./index-BRYlD6YW.js";import{u as W,l as Z}from"./lower-DLbjYW6K.js";import Yt from"./TabsTitle-DVkj8sUs.js";import qt from"./TableSort-CgxqrhZE.js";import zt from"./MonitorValidityTip-KXAedbkW.js";import Et from"./MonitorStatusCell-Dt7OlFyP.js";import jt from"./EChartsLine-CLiGYFHG.js";import{M as H,a as Ht,B as Jt,f as Qt,g as Wt}from"./monitorStatus-B4pBfA8b.js";import{P as L,d as Zt,C as Xt}from"./index-CbUsANzB.js";import{g as gt}from"./PriceUnit-C4s4BFUE.js";import{b as te}from"./index-BlScBtCP.js";import{p as ee}from"./pagination-jda3AZD5.js";import"./BasicForm.vue_vue_type_style_index_0_lang-y7Enp8xJ.js";import{i as Y,H as pt,J as oe,ai as ae,O as ne}from"./antd-Beyd_mrh.js";import"./CustomColumnsField.vue_vue_type_style_index_0_scoped_5147e40a_lang-C6U-6pRN.js";import"./uuid-Wz3jGs4_.js";import"./sortable.esm-CoO8jRpa.js";import{f as se}from"./flat-CUbquLJm.js";import{u as e,_ as l,a3 as h,a1 as i,a2 as u,G as _,ae as x,d as ie,f as y,c as J,r as Q,w as le,Z as dt,k as s,a0 as c,F as ct,a4 as re,a7 as ht,$ as N,y as vt}from"./vue-Bb-9zp61.js";import{F as me}from"./FunctionButton-nPBeKd_H.js";import{_ as ue}from"./DetailButton.vue_vue_type_script_setup_true_lang-I516J87P.js";import{M as V}from"./MonitorButton-DNi72XlN.js";import"./McpButton-D5KfZp0k.js";import"./diamond-DKLDgtJx.js";import"./new-D49QEOt8.js";import"./group-DUKyW52x.js";import"./AddMonitorModal-ShNbuKFs.js";import"./index-DVdeIfu0.js";import"./useECharts-CkAxj0fy.js";import"./yes-DFFI3Peg.js";import"./zh_CN-DhrHktQ9.js";import"./zh_CN-p9-E6sX4.js";import"./PermissionPopover.vue_vue_type_script_setup_true_lang-WfMiLf9Q.js";import"./exportTable-BBcS2dAm.js";import"./i-new-DxJhx71N.js";import"./GoodsInfo-CuvFTc4V.js";import"./no-img2-DtZnFFps.js";import"./no-img4-D3itmADn.js";import"./sl-B8oqPvJC.js";import"./outWeb-C7Di54nc.js";import"./CategoryInfo-7NloVdd7.js";import"./no-img1-BAvZd4Hn.js";import"./EditScreeningModel-shEZm-U9.js";import"./useContentViewHeight-CmLlfent.js";import"./vis2-BkDpMiTu.js";import"./index-C7KdVkBX.js";import"./download-6C1_yPM0.js";import"./index-BsT5Rbwb.js";const pe={key:0,class:"table-data-trend"},de={class:"current-data"},ce={key:0,class:"pre-data"},he={class:"data-prefix"},ve={class:"data-suffix"},ye=["src"],fe=["src"],ge=["src"],Se={key:0,class:"data-ratio"},xe={key:1},Ce={__name:"TableDataTrend",props:{info:{type:Object,default:()=>({current:"",ratioNumber:null,ratioPrefix:"环比上月",ratioSuffix:"%"})}},setup(r){const{convert:p}=gt();return Pt(),(d,U)=>e(Y)(r.info.current)?(l(),h("div",xe," - ")):(l(),h("div",pe,[i("div",de,u(e(p)(r.info.current)),1),e(Y)(r.info.ratioNumber)?x("",!0):(l(),h("div",ce,[i("span",he,u(r.info.ratioPrefix),1),i("span",ve,[r.info.ratioNumber>0?(l(),h("img",{key:0,src:e(W)},null,8,ye)):r.info.ratioNumber<0?(l(),h("img",{key:1,src:e(Z)},null,8,fe)):(l(),h("img",{key:2,src:e(se)},null,8,ge)),_(" "+u(r.info.ratioSuffix),1)]),r.info.ratioNumber!==0?(l(),h("span",Se,u(r.info.ratioNumber),1)):x("",!0)]))]))}},yt=ft(Ce,[["__scopeId","data-v-ebe2d3f0"]]),_e={class:"shop-monitor"},Me={key:0},be={class:"query-header"},we={class:"pr-20px"},ke={class:"monitor-filter-row mt-16px"},Ie={class:"filter-item"},Te={class:"filter-item"},Ne={class:"filter-item"},Ue={class:"filter-item"},Oe={class:"filter-item"},De={class:"monitor-filter-row mt-16px"},Pe={class:"filter-item"},Re={class:"filter-label"},Ge={key:0,class:"filter-item"},Le={class:"filter-label"},Be={class:"mt-20px flex items-center"},$e={class:"ml-2"},Fe={key:0},Ae={class:"fontPice"},Ke=["src"],Ve=["src"],Ye={class:"fontPice"},qe=["src"],ze=["src"],Ee={key:1,style:{color:"#b2b2b2","text-align":"center"}},je=ie({__name:"index",setup(r){const{createMessage:p}=Kt(),{total:d,sortedInfo:U,pagination:B,loading:T,handleTableChange:q}=ee(),O=Rt(),S=Gt(),D=y(!!S),{DefaultUnit:St,convert:$,yuanUnit:He}=gt(),{t:a}=Lt.useI18n(),f=y("1"),P=y(H),X=y([]),F=y(null);J(()=>{const{user:m}=O.getUserInfo||{};return m});const R=y([]),g=y([]),tt=Q({loading:!1,selectedRowKeys:R,onChange:(m,o)=>{g.value=o.map(v=>v.id),R.value=m}}),xt=J(()=>R.value.length>0),M=y(null),b=y(null),w=y(null),k=y(null),I=y(null),Ct=[{label:a("sys.
1common.all"),value:-1},{label:"普通卖家",value:0},{label:"高级卖家",value:1},{label:"官方直营",value:2}],z=y(),et=y(),A=Q({dataSource:[],activeGroup:{id:0,groupName:"全部"}}),_t=[{path:"product",name:"productMonitor",typeId:"1",meta:{title:"routes.dashboard.productMonitor"}},{path:"keyword",name:"keywordMonitor",typeId:"2",meta:{title:"routes.dashboard.keywordMonitor"}},{path:"shop",name:"shopMonitor",typeId:"2",meta:{title:"view.dashboard.title.shopMonitor"}}],n=Q({minMonthGmv:void 0,maxMonthGmv:void 0,minMonthSales:void 0,maxMonthSales:void 0,minPrice:void 0,maxPrice:void 0,minSales:void 0,maxSales:void 0,brand:void 0,shopName:void 0,minItemCount:void 0,maxItemCount:void 0,minSalesItemCount:void 0,maxSalesItemCount:void 0,minCompleteCount:void 0,maxCompleteCount:void 0,shopType:-1}),Mt=J(()=>{const m=U.value||{};return[{title:a("sys.common.shopInfo"),key:"goodsInfo",width:300,slots:{customRender:"goodsInfo"}},{title:a("view.shop.title.hotCategory"),key:"categoryInfo",width:200,helpMessage:a("view.table.shopMonitor.category"),ellipsis:!0,slots:{customRender:"categoryInfo"}},{title:a("view.shop.title.shopProductCount"),dataIndex:"itemCount",helpMessage:a("view.table.shopMonitor.shopProductCount"),ellipsis:!0,width:180,align:"center",slots:{customRender:"itemCount"}},{title:a("sys.common.monthSales1"),dataIndex:"monthSales",key:"monthSales",align:"center",helpMessage:a("view.table.shopMonitor.monthSales"),sorter:(o,v)=>o.monthSales-v.monthSales,width:200,sortOrder:m.columnKey==="monthSales"&&m.order,slots:{customRender:"monthSales"}},{title:a("view.shop.title.shopSalesTrend"),dataIndex:"salesList",key:"salesList",helpMessage:a("view.table.shopMonitor.shopSalesTrend"),ellipsis:!0,width:200,slots:{customRender:"salesTrend"}},{title:a("view.shop.title.shopOpeningCycle"),key:"openTime",dataIndex:"openTime",helpMessage:a("view.table.shopMonitor.shopOpenCycle"),ellipsis:!0,width:100,align:"center",slots:{customRender:"categoryInfo"},customRender:({text:o})=>Bt(o)},{title:a("view.shop.title.shopRating"),dataIndex:"shopRating",helpMessage:a("view.table.shopMonitor.shopRating"),ellipsis:!0,width:100,align:"center",customRender:({text:o})=>o!==null?o:"-"},{title:a("view.shop.title.shopFollowerCount"),dataIndex:"shopFollowerCount",helpMessage:a("view.table.shopMonitor.shopFollowerCount"),ellipsis:!0,width:180,align:"center",slots:{customRender:"followerCount"}},{title:a("sys.common.actionTime"),dataIndex:"activateDate",key:"activateDate",align:"center",width:120,customRender:({record:o})=>{const v=o.activateDate||o.monitorTime;return v?$t(v).format("YYYY-MM-DD"):"-"}},{title:a("sys.common.monitoringState"),dataIndex:"monitorStatus",key:"monitorStatus",align:"center",width:140,slots:{customRender:"monitorStatus"}},{title:a("sys.common.action"),key:"action",slots:{customRender:"action"},align:"center",fixed:"right",width:160}]});le(f,()=>{g.value=[],R.value=[],P.value=H});function ot(){const m=Qt(X.value,P.value);d.value=m.length,A.dataSource=m}function bt(m){A.activeGroup=m,E()}function wt(){if(!(g!=null&&g.value)||g.value.length<=0)return p.warning(a("sys.title.batchMonitorProductNoItem"));vt(()=>{var m;(m=F==null?void 0:F.value)==null||m.onModalShow({id:(g==null?void 0:g.value)||[]})})}function G(){z.value.init(),et.value.getMonitorNum()}function E(){return ut(this,null,function*(){try{T.value=!0,U.value=null;let{activeGroup:{id:m,groupName:o}}=A;const v=j({groupId:m,groupName:o,monitorStatus:Wt(f.value)},n);v.shopType===-1&&(v.shopType=void 0);const C=yield At.getShopMonitorByGroup(v);X.value=C.code===0?C.data||[]:[],T.value=!1,yield vt(),yield new Promise(t=>requestAnimationFrame(()=>t())),ot()}catch(m){T.value=!1}})}function kt(){var m,o,v,C,t,K,at,nt,st,it;try{n.brand=void 0,n.shopName=void 0,n.shopType=-1,P.value=H,(m=M==null?void 0:M.value)==null||m.onMinChange(void 0),(o=M==null?void 0:M.value)==null||o.onMaxChange(void 0),(v=b==null?void 0:b.value)==null||v.onMinChange(void 0),(C=b==null?void 0:b.value)==null||C.onMaxChange(void 0),(t=w==null?void 0:w.value)==null||t.onMinChange(void 0),(K=w==null?void 0:w.value)==null||K.onMaxChange(void 0),(at=k==null?void 0:k.value)==null||at.onMinChange(void 0),(nt=k==null?void 0:k.value)==null||nt.onMaxChange(void 0),(st=I==null?void 0:I.value)==null||st.onMinChange(void 0),(it=I==null?void 0:I.value)==null||it.onMaxChange(void 0),E()}catch(Je){}}
1function It(){z.value.init()}return(m,o)=>{const v=dt("a-input"),C=dt("a-button");return l(),h("div",_e,[s(e(Vt),{tabList:_t}),D.value?(l(),h("div",Me,[i("div",be,[s(Yt,{activeKey:f.value,"onUpdate:activeKey":o[13]||(o[13]=t=>f.value=t),type:"shop",onOnChangeGroup:bt,ref_key:"tabsTitleRef",ref:z},{default:c(()=>[i("div",null,[i("span",we,u(e(a)("view.shop.title.shopSearch")),1),s(v,{value:n.shopName,"onUpdate:value":o[0]||(o[0]=t=>n.shopName=t),style:{width:"300px"},placeholder:e(a)("view.shop.placeholder.monitorSearch")},null,8,["value","placeholder"])]),i("div",ke,[i("div",Ie,[s(e(L),{priceUnit:"最小值",name:e(a)("view.shop.title.productCount"),min:n.minItemCount,"onUpdate:min":o[1]||(o[1]=t=>n.minItemCount=t),max:n.maxItemCount,"onUpdate:max":o[2]||(o[2]=t=>n.maxItemCount=t),ref_key:"productCountRef",ref:M},null,8,["name","min","max"])]),i("div",Te,[s(e(L),{priceUnit:"最小值",name:e(a)("view.shop.title.salesProductCount"),min:n.minSalesItemCount,"onUpdate:min":o[3]||(o[3]=t=>n.minSalesItemCount=t),max:n.maxSalesItemCount,"onUpdate:max":o[4]||(o[4]=t=>n.maxSalesItemCount=t),ref_key:"salesProductCountRef",ref:b},null,8,["name","min","max"])]),i("div",Ne,[s(e(L),{priceUnit:"最小值",name:e(a)("view.shop.title.monthSales"),min:n.minMonthSales,"onUpdate:min":o[5]||(o[5]=t=>n.minMonthSales=t),max:n.maxMonthSales,"onUpdate:max":o[6]||(o[6]=t=>n.maxMonthSales=t),ref_key:"monthSalesRef",ref:w},null,8,["name","min","max"])]),i("div",Ue,[s(e(L),{priceUnit:e(St),name:e(a)("view.shop.title.monthGmv"),min:n.minMonthGmv,"onUpdate:min":o[7]||(o[7]=t=>n.minMonthGmv=t),max:n.maxMonthGmv,"onUpdate:max":o[8]||(o[8]=t=>n.maxMonthGmv=t),ref_key:"monthGmvRef",ref:k},null,8,["priceUnit","name","min","max"])]),i("div",Oe,[s(e(L),{priceUnit:"最小值",name:e(a)("view.shop.title.orderCount"),min:n.minCompleteCount,"onUpdate:min":o[9]||(o[9]=t=>n.minCompleteCount=t),max:n.maxCompleteCount,"onUpdate:max":o[10]||(o[10]=t=>n.maxCompleteCount=t),ref_key:"orderCountRef",ref:I},null,8,["name","min","max"])])]),i("div",De,[i("div",Pe,[i("span",Re,u(e(a)("view.shop.title.shopType")),1),s(e(pt),{class:"w-195px",size:"middle",value:n.shopType,"onUpdate:value":o[11]||(o[11]=t=>n.shopType=t)},{default:c(()=>[(l(),h(ct,null,re(Ct,(t,K)=>s(e(oe),{key:K,value:t.value},{default:c(()=>[_(u(t.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"])]),f.value==="1"?(l(),h("div",Ge,[i("span",Le,u(e(a)("sys.common.monitoringState")),1),s(e(pt),{class:"w-140px",size:"middle",value:P.value,"onUpdate:value":o[12]||(o[12]=t=>P.value=t),options:e(Ht),onChange:ot},null,8,["value","options"])])):x("",!0)]),i("div",Be,[s(C,{type:"primary",class:"mr-28px bora-4px",onClick:E},{default:c(()=>[_(u(e(a)("common.queryText")),1)]),_:1}),s(C,{type:"primary",class:"mr-28px bora-4px reset-btn",onClick:kt},{default:c(()=>[_(u(e(a)("common.reset")),1)]),_:1}),i("div",$e,[s(e(me),{num:18})])])]),_:1},8,["activeKey"])]),s(e(ne),{class:"query-content"},{default:c(()=>[s(qt,{type:"shop",hasSelected:xt.value,loading:tt.loading,activeTab:f.value,selectedRowKeys:R.value,selectedRowKeysId:g.value,onOnGroup:wt,onOnUnmonitor:G,ref_key:"tableSortRef",ref:et},null,8,["hasSelected","loading","activeTab","selectedRowKeys","selectedRowKeysId"]),s(zt,{type:"shop"}),s(e(ae),{class:"mt-24px",sticky:"",onChange:e(q),"row-selection":tt,loading:e(T),pagination:mt(j({},e(B)),{hideOnSinglePage:!1}),"data-source":A.dataSource,columns:Mt.value,showSorterTooltip:!1,scroll:{x:1200},rowKey:t=>t.shopId,ref:"tableRef"},{followerCount:c(({record:t})=>[_(u(e(Y)(t.followerCount)?"-":e($)(t.followerCount)),1)]),itemCount:c(({record:t})=>[s(e(yt),{info:{current:t.itemCount,ratioNumber:t.itemCountSub,ratioPrefix:e(a)("view.shop.title.compareLastDay"),ratioSuffix:""}},null,8,["info"])]),monthSales:c(({record:t})=>[s(e(yt),{info:{current:t.monthSales,ratioNumber:t.monthSalesRatio,ratioPrefix:e(a)("view.shop.title.compareLastMonth"),ratioSuffix:""}},null,8,["info"])]),orderDeliverCount:c(({record:t})=>[_(u(e(Y)(t.completeCount)?"-":e($)(t.completeCount)),1)]),headerCell:c(({column:t})=>[t.helpMessage?(l(),h("span",Fe,[s(e(Ft),{class:"ml-2",text:t.helpMessage,title:t.title}
1,null,8,["text","title"])])):x("",!0)]),goodsInfo:c(({record:t})=>[s(e(Zt),{info:{itemName:t.shopName,itemId:t.shopId,url:t.link,shopType:t.shopType,imgUrl:t.shopLogo,brand:t.brand,example:t.example,shopArea:t.shopArea},noShow1688:!1,noShopArea:!1,type:"shop",platform:"lazada"},null,8,["info"])]),categoryInfo:c(({record:t})=>[s(e(Xt),{info:{catName:t.catNameRu,catId:t.catId,typeId:t.typeId,show:!1,catNameCn:t.catNameCn,catTag:t.catTag},type:"noCatTag",url:`/industry/category?catId=${t.catId}`,platform:"shopee"},null,8,["info","url"])]),yesterdaySales:c(({record:t})=>[i("div",null,[i("div",null,u(e($)(t.daySales)),1),i("div",Ae,[_(u(e(a)("sys.common.upPrice1"))+" ",1),t.daySalesRate>0?(l(),h("img",{key:0,src:e(W),class:"inline-block ml-2px mr-2px"},null,8,Ke)):(l(),h("img",{key:1,src:e(Z),class:"inline-block ml-2px mr-2px"},null,8,Ve)),i("span",{class:ht(t.daySalesRate>0?"font-red":"font-succ")},u(t.daySalesRate)+u(t.daySalesRate!=0?"%":""),3)])])]),yesterdaySalesDayStock:c(({record:t})=>[i("div",null,[i("div",null,u(e($)(t.dayStock)),1),i("div",Ye,[_(u(e(a)("sys.common.upPrice"))+" ",1),t.dayStockSub>0?(l(),h("img",{key:0,src:e(W),class:"inline-block ml-2px mr-2px"},null,8,qe)):(l(),h("img",{key:1,src:e(Z),class:"inline-block ml-2px mr-2px"},null,8,ze)),i("span",{class:ht(t.dayStockSub>0?"font-red":"font-succ")},u(t.dayStockSub),3)])])]),salesTrend:c(({record:t})=>[t.salesList&&t.salesList.length?(l(),N(jt,{key:0,"sales-data":t.salesList,keyVal:"sales"},null,8,["sales-data"])):(l(),h("div",Ee,"—"))]),monitorStatus:c(({record:t})=>[s(Et,{status:t.monitorStatus,"remain-days":t.remainDays,"expired-days":t.expiredDays},null,8,["status","remain-days","expired-days"])]),action:c(({record:t})=>[t?(l(),h(ct,{key:0},[s(e(ue),{type:"shop",id:t.shopId},null,8,["id"]),f.value==="1"&&t.monitorStatus===1&&t.example!==1?(l(),N(e(V),{key:0,type:"shop",isMonitor:!0,id:t.shopId,onOnCancelMonitorSuccess:G},null,8,["id"])):x("",!0),f.value==="1"&&t.monitorStatus===2&&t.example!==1?(l(),N(e(V),{key:1,type:"shop",id:[t.id],isContinueMonitor:!0,buttonType:"link",defaultButtonText:"再次激活",onOnMonitorSuccess:G},null,8,["id"])):x("",!0),f.value==="0"?(l(),N(e(V),{key:2,type:"shop",id:[t.id],isContinueMonitor:!0,buttonType:"link",onOnMonitorSuccess:G},null,8,["id"])):x("",!0),f.value==="0"?(l(),N(e(V),{key:3,type:"shop",id:[t.id],isDeleteMonitor:!0,buttonType:"link",onOnCancelMonitorSuccess:G},null,8,["id"])):x("",!0)],64)):x("",!0)]),_:1},8,["onChange","row-selection","loading","pagination","data-source","columns","rowKey"])]),_:1})])):(l(),N(e(te),{key:1})),s(e(Jt),{type:"shop",ref_key:"batchGroupRef",ref:F,onOnGroupMoveSuccess:It},null,512)])}}}),jo=ft(je,[["__scopeId","data-v-7ea9c26e"]]);export{jo as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.