PageSourceSearch

https://erp.dianxiaobao.net/assets/chunk/f732c6ef.C4-izj4X.js

js dianxiaobao.net collected 2026-09-28 06:06:30 UTC 21,022 bytes, 2 lines download raw bytes

1import{n as e,r as t}from"./61b66786.8BhlS34s.js";import{$a as n,Ao as r,Co as i,Do as a,Eo as o,Fd as s,Pd as c,Sd as l,So as u,To as d,ao as f,ap as p,co as m,eo as h,io as g,ko as _,lo as v,oo as y,op as b,po as x,so as S,to as C,uo as w,wo as T,xd as E}from"./027ffcfc.eLkoaQ3Q.js";import{Ht as D,J as O,f as k,r as A,xt as j}from"./ce65bdc9.BVjkH_eL.js";import{A as ee,B as te,C as ne,H as re,M as ie,U as ae,V as oe,dt as se,h as ce,i as le,j as ue,l as de,o as M,r as fe,t as pe,x as me,z as he}from"./5d3dfec8.BiVdPxC8.js";import{a as N,h as ge,m as _e,p as ve,t as P}from"./4525b928.UxINBsTv.js";import{mapGetters as ye}from"https://js-c.etc4.com/dxb/js/vuex.DhHkobAa.js";import{Fragment as F,createBlock as I,createCommentVNode as L,createElementBlock as R,createElementVNode as z,createTextVNode as B,createVNode as V,openBlock as H,renderList as U,resolveComponent as W,resolveDirective as be,toDisplayString as G,vShow as xe,withCtx as K,withDirectives as q,withKeys as Se,withModifiers as J}from"https://js-c.etc4.com/dxb/js/vue.CQKD6T8K.js";var Ce=t({default:()=>Q});function we(e,t,n,r,i,a){let o=W(`DxbShopSelect`),s=W(`DxbLabelItem`),c=W(`Option`),l=W(`Select`),u=W(`DxbFlag`),d=W(`Input`),f=W(`Button`),p=W(`DxbSelectSortable`),m=W(`DxbSearchWraper`),h=W(`Icon`),g=W(`Cascader`),_=W(`DropdownItem`),v=W(`DropdownMenu`),y=W(`Dropdown`),b=W(`DxbBtnBar`),x=W(`Tag`),S=W(`DxbGapBar`),C=W(`Table`),w=W(`DxbPage`),T=W(`Modal`),E=W(`KeywordGroupModal`),D=W(`WordTrendModal`),O=W(`WordProductModal`),k=W(`DxbPermissionPage`),A=be(`loading`);return H(),I(k,{class:`word-store`},{default:K(()=>[V(m,{inline:``,style:{"margin-top":`10px`}},{default:K(()=>[V(s,{label:`店铺`,suffix:``},{default:K(()=>[V(o,{modelValue:i.search.store,"onUpdate:modelValue":[t[0]||=e=>i.search.store=e,a.changeStore],disabled:!!n.storeId},null,8,[`modelValue`,`disabled`,`onUpdate:modelValue`])]),_:1}),V(s,{label:`分组`,suffix:``},{default:K(()=>[V(l,{modelValue:i.search.group,"onUpdate:modelValue":t[1]||=e=>i.search.group=e,onOnChange:a.getTableDataFrom1},{default:K(()=>[(H(!0),R(F,null,U(i.search.groupList,(e,t)=>(H(),I(c,{key:t,value:e.id},{default:K(()=>[B(G(e.name),1)]),_:2},1032,[`value`]))),128))]),_:1},8,[`modelValue`,`onOnChange`])]),_:1}),V(s,{label:`词来源`,suffix:``},{default:K(()=>[V(l,{modelValue:i.search.wordsSource,"onUpdate:modelValue":t[2]||=e=>i.search.wordsSource=e,onOnChange:a.getTableDataFrom1},{default:K(()=>[V(c,{value:`0`},{default:K(()=>[...t[23]||=[B(` 全部 `,-1)]]),_:1}),(H(!0),R(F,null,U(i.search.wordsSourceList,(e,t)=>(H(),I(c,{key:t,value:e.value},{default:K(()=>[B(G(e.name),1)]),_:2},1032,[`value`]))),128))]),_:1},8,[`modelValue`,`onOnChange`])]),_:1}),V(s,{label:`旗子`},{default:K(()=>[V(u,{modelValue:i.search.flag,"onUpdate:modelValue":[t[3]||=e=>i.search.flag=e,a.getTableDataFrom1],mode:`select`},null,8,[`modelValue`,`onUpdate:modelValue`])]),_:1}),V(s,{label:`备注`,suffix:``},{default:K(()=>[V(d,{modelValue:i.search.remark,"onUpdate:modelValue":t[4]||=e=>i.search.remark=e,onKeydown:Se(a.getTableDataFrom1,[`enter`])},null,8,[`modelValue`,`onKeydown`])]),_:1}),V(s,{label:`关键词`,suffix:``},{default:K(()=>[V(d,{modelValue:i.search.keyword,"onUpdate:modelValue":t[5]||=e=>i.search.keyword=e,style:{width:`100%`},search:``,onOnSearch:a.getTableDataFrom1},{append:K(()=>[V(f,{icon:`ios-search`,onClick:J(a.getTableDataFrom1,[`stop`])},null,8,[`onClick`])]),_:1},8,[`modelValue`,`onOnSearch`])]),_:1}),n.isImportModal?(H(),I(p,{key:0,modelValue:i.sort.value,"onUpdate:modelValue":t[6]||=e=>i.sort.value=e,list:i.sort.data,valueKey:`type`,onOnChange:a.getTableDataFrom1},null,8,[`modelValue`,`list`,`onOnChange`])):L(``,!0)]),_:1}),n.isImportModal?L(``,!0):(H(),I(b,{key:0,class:`sticky-bar`},{right:K(()=>[V(p,{modelValue:i.sort.value,"onUpdate:modelValue":t[9]||=e=>i.sort.value=e,list:i.sort.data,valueKey:`type`,onOnChange:a.getTableDataFrom1},null,8,[`modelValue`,`list`,`onOnChange`]),n.isImportModal?L(``,!0):(H(),I(f,{key:0,type:`primary`,onClick:t[10]||=J(e=>i.modal.group.show=!0,[`stop`])},{default:K(()=>[...t[37]||=[B(` 分组管理 `,-1)]]),_:1})),V(f,{type:`primary`,onClick:J(a.getTableDataFrom1,[`stop`])},{default:K(()=>[...t[38]||=[B(` 刷新 `,-1)]]),_:1},8,[`onClick`])]),default:K(()=>[V(f,{type:`primary`,onClick:J(a.handleAddWord,[`stop`])},{default:K(()=>[...t[24]||=[B(` 添加 `,-1)]]),_:1},8,[`onClick`]),V(f,{onClick:t[7]||=J(e=>a.handleDelWord(`batch`),[`stop`])},{default:K(()=>[...t[25]||=[B(` 删除 `,-1)]]),_:1}),V(g,{modelValue:i.move.group,"onUpdate:modelValue":t[8]||=e=>i.move.group=e,data:i.move.groupList,"load-data":a.getGroupList2,onOnChange:a.handleMoveWord}
1,{default:K(()=>[V(f,null,{default:K(()=>[t[26]||=z(`span`,null,`移动至`,-1),V(h,{type:`ios-arrow-down`})]),_:1})]),_:1},8,[`modelValue`,`data`,`load-data`,`onOnChange`]),V(f,{loading:i.loading.fanyi,onClick:J(a.handleFanyi,[`stop`])},{default:K(()=>[i.loading.fanyi?(H(),R(`span`,Te,`翻译中...`)):(H(),R(`span`,X,`翻译`))]),_:1},8,[`loading`,`onClick`]),V(y,{transfer:``,onOnClick:a.handleFilter},{list:K(()=>[V(v,null,{default:K(()=>[V(_,{name:`pinpaici`},{default:K(()=>[...t[28]||=[B(` 品牌侵权词 `,-1)]]),_:1}),V(_,{name:`weijinci`},{default:K(()=>[...t[29]||=[B(` 包含违禁词 `,-1)]]),_:1}),V(_,{name:`wordOptimize`},{default:K(()=>[...t[30]||=[B(` 违禁词优化 `,-1)]]),_:1})]),_:1})]),default:K(()=>[V(f,null,{default:K(()=>[t[27]||=z(`span`,null,`过滤词`,-1),V(h,{type:`ios-arrow-down`})]),_:1})]),_:1},8,[`onOnClick`]),V(y,{transfer:``,onOnClick:a.handleBatchMore},{list:K(()=>[V(v,null,{default:K(()=>[V(_,{name:`export`},{default:K(()=>[...t[32]||=[B(` 导出选择 `,-1)]]),_:1}),V(_,{name:`exportAll`},{default:K(()=>[...t[33]||=[B(` 导出所有 `,-1)]]),_:1}),V(_,{name:`import`},{default:K(()=>[...t[34]||=[B(` 导入 `,-1)]]),_:1}),V(_,{name:`remark`},{default:K(()=>[...t[35]||=[B(` 备注 `,-1)]]),_:1}),V(_,{name:`unique`},{default:K(()=>[...t[36]||=[B(` 去重 `,-1)]]),_:1})]),_:1})]),default:K(()=>[V(f,null,{default:K(()=>[t[31]||=z(`span`,null,`更多操作`,-1),V(h,{type:`ios-arrow-down`})]),_:1})]),_:1},8,[`onOnClick`])]),_:1})),q((H(),R(`div`,null,[V(C,{ref:`table`,size:`small`,columns:i.table.column,data:i.table.data,onOnSortChange:a.tableSortChange},{keywordEn:K(({row:e,column:t,index:n})=>[z(`div`,Ee,[z(`div`,De,[z(`p`,null,G(e.keywordEn),1),q(z(`img`,Oe,null,512),[[xe,e.isInProdName]])]),e.keywordCn?(H(),R(`p`,ke,G(e.keywordCn),1)):L(``,!0),z(`p`,Ae,[e.banTypeName?(H(),I(x,{key:0,color:`red`,style:{overflow:`visible`,"white-space":`pre`}},{default:K(()=>[z(`span`,null,G(e.banTypeName),1)]),_:2},1024)):L(``,!0)]),z(`p`,je,[z(`span`,null,G(e.remark),1),V(u,{modelValue:e.flag,"onUpdate:modelValue":t=>e.flag=t,mode:`text`},null,8,[`modelValue`,`onUpdate:modelValue`])])])]),fugai:K(({row:e,column:t,index:n})=>[z(`a`,{onClick:J(t=>a.handleQueryFugai(e.keywordEn),[`stop`])},`查询`,8,Me)]),brandWordsFlg:K(({row:e,column:t,index:n})=>[e.brandWordsFlg==`Y`?(H(),R(`span`,Ne,G(e.brandWordsFlg),1)):(H(),R(`span`,Pe,G(e.brandWordsFlg),1))]),time:K(({row:e,column:n,index:r})=>[z(`p`,null,[t[39]||=z(`span`,null,`词组加入:`,-1),z(`span`,null,G(e.createTime),1)]),z(`p`,null,[t[40]||=z(`span`,null,`数据更新:`,-1),z(`span`,null,G(e.updateTime),1)])]),action:K(({row:t,column:r,index:i})=>[V(S,null,{default:K(()=>[n.isImportModal?(H(),R(`a`,{key:0,onClick:J(n=>e.$emit(`export`,t.keywordEn),[`prevent`])},`添加`,8,Fe)):(H(),R(F,{key:1},[t.clickSeeQsLoading?(H(),R(`span`,Z,`查询中...`)):(H(),R(`a`,{key:0,onClick:J(e=>a.clickSeeQs(t),[`prevent`])},`查看趋势`,8,Ie)),t.clickSeePdLoading?(H(),R(`span`,Re,`查询中...`)):(H(),R(`a`,{key:2,onClick:J(e=>a.clickSeePd(t),[`prevent`])},`查看商品`,8,Le)),z(`a`,{onClick:J(e=>a.handleDelWord(`single`,t),[`prevent`])},`删除`,8,ze)],64))]),_:2},1024)]),_:1},8,[`columns`,`data`,`onOnSortChange`]),V(w,{modelValue:i.table.page,"onUpdate:modelValue":[t[11]||=e=>i.table.page=e,t[12]||=()=>{a.getTableData()}],sticky:``,style:{bottom:`0`}},null,8,[`modelValue`]),V(T,{modelValue:i.modal.addKeyword.show,"onUpdate:modelValue":t[15]||=e=>i.modal.addKeyword.show=e,title:`添加关键词`,onOnCancel:t[16]||=e=>i.modal.hand.show=!1},{footer:K(()=>[z(`div`,Be,[V(f,{onClick:t[14]||=J(e=>i.modal.addKeyword.show=!1,[`stop`])},{default:K(()=>[...t[41]||=[B(` 取消 `,-1)]]),_:1}),V(f,{type:`primary`,onClick:J(a.handleAddWord2,[`stop`])},{default:K(()=>[...t[42]||=[B(` 确定 `,-1)]]),_:1},8,[`onClick`])])]),default:K(()=>[V(d,{modelValue:i.modal.addKeyword.words,"onUpdate:modelValue":t[13]||=e=>i.modal.addKeyword.words=e,type:`textarea`,placeholder:`输入关键词,1行1个`,rows:8},null,8,[`modelValue`])]),_:1},8,[`modelValue`]),V(E,{modelValue:i.modal.group.show,"onUpdate:modelValue":t[17]||=e=>i.modal.group.show=e,storeId:i.search.store,onOk:t[18]||=e=>a.init()},null,8,[`modelValue`,`storeId`]),V(T,{modelValue:i.modal.import.show,"onUpdate:modelValue":t[21]||=e=>i.modal.import.show=e,title:`导入关键词`,width:`600`,onOnCancel:t[22]||=e=>i.modal.import.show=!1},{footer:K(()=>[z(`div`,Ue,[V(f,{onClick:t[20]||=J(e=>i.modal.import.show=!1,[`stop`])},{default:K(()=>[...t[45]||=[B(` 取消 `,-1)]]),_:1}),V(f,{type:`primary`,loading:i.modal.import.loading,onClick:J(a.handleImport3,[`stop`])},{default:K(()=>[i.modal.import.loading?(H(),R(`span`,Ge,`处理中...(`+G(i.modal.import.process)+`)`,1)):(H(),R(`span`,We,`确定`))]),_:1},8,[`loading`,`onClick`])])]),default:K(()=>[z(`div`,Ve,[z(`div`,He,[V(f,{type:`primary`,onClick:J(a.handleImport1,[`stop`])},{default:K(()=>[...t[43]||=[B(` 选择导入文件 `,-1)]]),_:1},8,[`onClick`]),t[44]||=z(`a`,{href:`https://res.dianxiaobao.net/00/00/00/dxb_keyword.xls`,target:`_blank`,style:{"margin-left":`60px`}},`下载模板`,-1)]),z(`div`,null,[z(`span`,null,G(i.modal.import.file?i.modal.import.file.name:`您没有选中任何文件`),1),z(`input`,{ref:`uploadInput`,type:`file`,accept:`.csv, application/vnd.ms-excel,application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,multiple:!1,style:{width:`0`,height:`0`,opacity:`0`},onChange:t[19]||=(...e)=>a.handleImport2&&a.handleImport2(...e)},null,544)])])]),_:1},8,[`modelValue`]),V(D,{ref:`WordTrendModal`},null,512),V(O,{ref:`WordProductModal`},null,512)])),[[A,i.loading.page]])]),_:1})}var Y,X,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Z,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Q;function $(){return($=e((()=>{w(),v(),a(),d(),i(),ne(),S(),g(),h(),c(),r(),ve(),O(),p(),n(),l(),Y={name:`WordStore`,components:{WordProductModal:T,WordTrendModal:u,KeywordGroupModal:o},mixins:[C,y,f],props:{isImportModal:{type:Boolean,default:!1},storeId:{type:[Number,String],default:``}},data(){let e=this.$config.pageSize;return{loading:{fanyi:!1,page:!0},search:{store:``,group:``,groupList:[],flag:`0`,remark:``,keyword:``,wordsSource:`0`,wordsSourceList:[]},modal:{addKeyword:{show:!1,words:``},group:{show:!1},import:{show:!1,file:null,loading:!1,process:`0%`}},move:{group:[],groupList:[]},sort:{value:{},data:[]},table:{column:[{type:`selection`,width:60,align:`center`,fixed:`left`},{title:`关键词`,key:`keywordEn`,slot:`keywordEn`,align:`left`,fixed:`left`,minWidth:160,maxWidth:300},{title:`是否品牌词`,key:`brandWordsFlg`,slot:`brandWordsFlg`,align:`center`,minWidth:100},{title:`覆盖查询`,key:`fugai`,slot:`fugai`,align:`center`,minWidth:100},{title:`搜索人气`,key:`searchHeat`,align:`center`,renderHeader:j(`统计时间内,所选类目下搜索人数的指数化指标。`,!0),sortable:`custom`,minWidth:100}
1,{title:`搜索指数`,key:`searchIndex`,align:`center`,renderHeader:j(`统计时间内,所选类目下搜索次数的指数化指标。`,!0),sortable:`custom`,minWidth:100},{title:`时间`,key:`time`,slot:`time`,align:`center`,width:220},{title:`词来源`,key:`wordsSourceName`,align:`center`,minWidth:100},{title:`操作`,slot:`action`,align:`center`,fixed:`right`,width:this.isImportModal?80:200}],data:[],page:{current:1,total:0,pageSize:e}}}},computed:{...ye(`user_store`,[`currentShopId`,`shopList`,`getStoreName`])},created(){this.isImportModal&&this.initTableCheckbox(this.table,this.setTableSelect)},mounted(){this.search.store=this.storeId||this.currentShopId,this.init()},methods:{async handleRemark(){let e=this.$refs.table.getSelection();if(e.length==0){b.error(`请先选择数据~`);return}let t=await x({content:``,flag:``});try{await fe({storeId:this.search.store,ids:e.map(e=>e.id).join(`,`),flag:t.flag,remark:t.content}),b.success(`备注完成`),this.getTableData()}catch(e){b.error(e.message||e)}},handleQueryFugai(e){this.$DxbModal.confirm({headTitle:`覆盖查询`,render:m,width:1160,props:{props:{storeId:this.search.store,keyword:e},style:{maxHeight:`60vh`,overflow:`auto`}}})},handleWordOptimize(){let e=this.$refs.table.getSelection();if(e.length==0){b.error(`请先选择数据~`);return}le({storeId:this.search.store,ids:e.map(e=>e.id).join(`,`)}).then(e=>{this.getTableData(),b.success(`优化完成`)})},handleUnique(){this.$Modal.confirm({title:`提示`,content:`<p>确定执行去重?</p>`,onOk:()=>{let e={storeId:this.search.store,groupId:this.search.group};ae(e).then(e=>{this.getTableData(),b.success(`去重完成`)})}})},handleImport(){this.modal.import.show=!0,this.modal.import.file=null,this.$refs.uploadInput.value=``},handleImport1(){let e=document.createEvent(`MouseEvents`);e.initEvent(`click`,!0,!1),this.$refs.uploadInput.dispatchEvent(e)},async handleImport2(e){let t=e.target.files;t.length<1||(this.modal.import.file=t[0])},async handleImport3(){if(!this.modal.import.file){b.error(`请先上传文件`);return}this.modal.import.loading=!0,this.modal.import.process=`0%`;let e=await s({suffix:`.${this.modal.import.file.name.match(/[^.]*$/)?.[0]||`xls`}`,file:this.modal.import.file,maxSize:10,expired:7});me({groupId:this.search.group,storeId:this.search.store,url:e.url}).then(e=>{this.getLoopProcess({code:e,interval:10,callback:this.progressAction})}).catch(e=>{this.modal.import.loading=!1})},progressAction(e){let{succNum:t,failNum:n,totalNum:r}=e,i=t*1+n*1;this.modal.import.process=`${Math.floor(i/r*100)}%`,i>=r&&(this.modal.import.show=!1,this.modal.import.loading=!1,this.getTableDataFrom1(),b.success(`导入完成,成功:${t},失败:${n}`))},async init(){this.move.group=[],this.move.groupList=this.shopList.map(e=>Object.assign(e,{label:e.storeName,value:e.id,storeId:e.id,isStore:!0,loading:!1,isLeaf:!1,children:[]}));let[e,t]=await Promise.all([he(),ce()]);this.sort.data=e.map(e=>({type:e.code,name:e.name})),this.search.wordsSourceList=t,await this.getGroupList(),this.getTableData()},async changeStore(e){this.search.store=e,await this.getGroupList(),this.getTableDataFrom1()},handleAddWord(){if(!this.search.group){b.error(`请选择子分组~`);return}this.modal.addKeyword.show=!0},handleAddWord2(){let e=this.modal.addKeyword.words.replace(/^\s*|\s*$/g,``).replace(/(\r|\n){2,}/g,`
2`);if(e.trim()==``){b.error(`请输入关键词~`);return}ue({groupId:this.search.group,storeId:this.search.store,words:e.trim()}).then(e=>{b.success(`加入成功~`),this.modal.addKeyword.show=!1,this.getTableData()})},handleDelWord(e,t){let n=[t];if(e==`batch`&&(n=this.$refs.table.getSelection()),n.length==0){b.error(`请先选择数据~`);return}_(()=>{te({storeId:this.search.store,groupId:this.search.group,ids:n.map(e=>e.id).join(`,`)}).then(e=>{b.success(`删除成功~`),this.getTableData()})})},handleMoveWord(e){let t=this.$refs.table.getSelection();if(t.length==0){b.error(`请先选择数据~`),this.move.group=[];return}re({storeId:this.search.store,groupId:this.search.group,ids:t.map(e=>e.id).join(`,`),moveToStoreId:e[0],moveToGroupId:e.length>1?e.at(-1):``}).then(e=>{this.move.group=[],b.success(`移动成功~`),this.getTableData()}).catch(e=>{this.move.group=[]})},handleFanyi(){let e=this.$refs.table.getSelection();if(e.length==0){b.error(`请先选择数据~`);return}this.loading.fanyi=!0,se({storeId:this.search.store,groupId:this.search.group,ids:e.map(e=>e.id).join(`,`)}).then(e=>{this.loading.fanyi=!1,b.success(`翻译成功~`),this.getTableData()}).catch(e=>{this.loading.fanyi=!1}
2)},handleFilter(e){let t=this.$refs.table.getSelection();if(t.length==0){b.error(`请先选择数据~`);return}if(e===`wordOptimize`){this.handleWordOptimize();return}pe({storeId:this.search.store,groupId:this.search.group,ids:t.map(e=>e.id).join(`,`),cusType:e==`weijinci`?1:2}).then(t=>{let n=e==`weijinci`?`违禁词`:`品牌词`;Array.isArray(t)&&t.length?t.forEach(e=>{let t=this.table.data.find(t=>t.id==e.id);t.banTypeName=`${n}:${e.markWord.join(`、`)}`}):b.success(`恭喜,未检测到${e==`weijinci`?`违禁词`:`品牌词`}`)})},handleExport(){let e=this.$refs.table.getSelection();if(e.length==0){b.error(`请先选择数据~`);return}let t={storeId:this.search.store,groupId:this.search.group};t.ids=e.map(e=>e.id).join(`,`),this.handleExportAndTip(()=>M(t))},handleExportAll(){if(this.table.page.total==0){b.error(`无数据可以导出`);return}this.handleExportAndTip(()=>M({storeId:this.search.store,groupId:this.search.group}))},handleBatchMore(e){e===`export`&&this.handleExport(),e===`exportAll`&&this.handleExportAll(),e===`import`&&this.handleImport(),e===`unique`&&this.handleUnique(),e===`remark`&&this.handleRemark()},getGroupList(){return new Promise((e,t)=>{ee({storeId:this.search.store,parentId:void 0}).then(t=>{this.search.groupList=t||[],this.search.group=t.length?t[0].id:``,e()}).catch(e=>{t(e.message||e)})})},getGroupList2(e,t){function n(e,t){return e.length&&e.forEach(e=>{e.label=e.name,e.value=e.id,e.storeId=t,e.isLeaf&&(e.loading=!1,e.children=[])}),e}e.loading=!0,ee({storeId:e.storeId,parentId:e.isStore?void 0:e.value}).then(r=>{e.loading=!1,Array.isArray(r)&&r.length?e.children=n(r,e.storeId):e.children.push({label:`全部`,value:0}),t&&t()})},async setTableSelect(){let e=this.$refs.table.getSelection();this.tableSelectData.chooseType===`all`&&(e=await de({storeId:this.search.store,groupId:this.search.group,keywords:this.search.keyword})),this.$emit(`select`,k(e))},tableSortChange({column:e,key:t,order:n}){this.sort.value={_selected:t,_sortType:n},this.getTableDataFrom1()},async clickSeeQs(e){if(!await P()){this.$Modal.confirm({title:`请先登录速卖通商家后台`,okText:`去登录`,onOk:()=>{window.open(`https://gsp.aliexpress.com/apps/sycm/keyword/analysis`)}});return}try{e.clickSeeQsLoading=!0;let t=(await N(`https://gsp.aliexpress.com/`,`_m_h5_tk`)).split(`_`)[0],n=await ge({_m_h5_tk:t,indexCode:e.keywordEn,categoryId:`6`});if(!Array.isArray(n)||!n.length)throw Error(`未找到趋势数据`);e.clickSeeQsLoading=!1,await this.$refs.WordTrendModal.show(n)}catch(t){e.clickSeeQsLoading=!1,b.error(t.message||t)}},async clickSeePd(e){if(!await P()){this.$Modal.confirm({title:`请先登录速卖通商家后台`,okText:`去登录`,onOk:()=>{window.open(`https://gsp.aliexpress.com/apps/sycm/keyword/analysis`)}});return}try{e.clickSeePdLoading=!0;let t=(await N(`https://gsp.aliexpress.com/`,`_m_h5_tk`)).split(`_`)[0],n=await _e({_m_h5_tk:t,indexCode:e.keywordEn});await this.$refs.WordProductModal.show(n),e.clickSeePdLoading=!1}catch{e.clickSeePdLoading=!1}},getTableDataFrom1(){this.table.page.current=1,this.getTableData()},getTableData(){let e=A.toObj(this.search.wordsSourceList,{field:`value`});this.loading.page=!0,oe({storeId:this.search.store,groupId:this.search.group,queryType:`filterMarkWord`,searchField:`keywordEn`,searchValue:this.search.keyword,wordsSource:D(this.search.wordsSource),sortField:this.sort.value._selected,sortType:this.sort.value._sortType,flag:D(this.search.flag),remark:this.search.remark,pageCurrent:this.table.page.current,pageSize:this.table.page.pageSize}).then(async t=>{let n=t.records||[];if(n.forEach(t=>{t.wordsSourceName=e[t.wordsSource]?.name,t._checked=this.tableSelectData.chooseType===`all`,t.clickSeeQsLoading=!1,t.clickSeePdLoading=!1,t.banTypeName=``}),n.length){let e=await ie({storeId:this.search.store,keywords:JSON.stringify(n.map(e=>e.keywordEn))});for(let t of n)t.isInProdName=e[t.keywordEn]?.isT||!1}this.table.data=n,this.table.page.total=t.total,this.loading.page=!1}).catch(e=>{this.loading.page=!1})}}},X={key:0},Te={key:1},Ee={style:{"white-space":`pre-wrap`}},De={class:`flex-center flex-row-margin-small`},Oe={src:`https://img.alicdn.com/tfs/TB1E7ydYYr1gK0jSZFDXXb9yVXa-90-90.png`,style:{width:`25px`}},ke={key:0,class:`flex-center flex-row-margin-small`},Ae={class:`flex-center flex-row-margin-small`},je={class:`flex-center flex-row-margin-small`},Me=[`onClick`],Ne={key:0,style:{color:`var(--success-color)`}},Pe={key:1,style:{color:`var(--error-color)`}},Fe=[`onClick`],Ie=[`onClick`],Z={key:1,class:`disabled`},Le=[`onClick`],Re={key:3,class:`disabled`},ze=[`onClick`],Be={class:`flex-row-end flex-row-margin`},Ve={class:`padding:0 50px`},He={class:`flex-row-margin`,style:{padding:`10px 0`}},Ue={class:`flex-row-end flex-row-margin`},We={key:0},Ge={key:1},Q=E(Y,[[`render`,we],[`__scopeId`,`data-v-853451e8`]])})))()}export{Ce as n,$ as r,Q as t};

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.