|  | @@ -24,15 +24,15 @@
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <script setup>
 | 
	
		
			
				|  |  | -import { computed, onMounted, ref, watch } from 'vue'
 | 
	
		
			
				|  |  |  import * as echarts from 'echarts'
 | 
	
		
			
				|  |  | +import { storeToRefs } from 'pinia'
 | 
	
		
			
				|  |  | +import { computed, onMounted, ref, watch } from 'vue'
 | 
	
		
			
				|  |  | +import { createDisabledOptions } from '../../../utils/dropdowndisable'
 | 
	
		
			
				|  |  |  import TextSelector from '/@/components/TextSelector/index.vue'
 | 
	
		
			
				|  |  | +import { usePublicData } from '/@/stores/publicData'
 | 
	
		
			
				|  |  | +import { useShopInfo } from '/@/stores/shopInfo'
 | 
	
		
			
				|  |  |  import { getAdStructureData } from '/@/views/adManage/sb/keywords/api'
 | 
	
		
			
				|  |  | -import { createDisabledOptions } from '../../../utils/dropdowndisable'
 | 
	
		
			
				|  |  |  import { barOptions1, barOptions2, barOptionsMap } from '/@/views/adManage/utils/enum'
 | 
	
		
			
				|  |  | -import { useShopInfo } from '/@/stores/shopInfo'
 | 
	
		
			
				|  |  | -import { usePublicData } from '/@/stores/publicData'
 | 
	
		
			
				|  |  | -import { storeToRefs } from 'pinia'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const shopInfo = useShopInfo()
 | 
	
		
			
				|  |  |  const publicData = usePublicData()
 | 
	
	
		
			
				|  | @@ -86,16 +86,12 @@ async function initBarData() {
 | 
	
		
			
				|  |  |    SpendList = barData.map((item) => item.Spend)
 | 
	
		
			
				|  |  |    // 将x轴映射为中文
 | 
	
		
			
				|  |  |    xAxisList = barData.map((item) => item.matchType)
 | 
	
		
			
				|  |  | +  console.log('🚀 ~ xAxisList', xAxisList)
 | 
	
		
			
				|  |  |    const classificationMap = {
 | 
	
		
			
				|  |  |      BROAD: '关键词-广泛',
 | 
	
		
			
				|  |  | -    category: '品类',
 | 
	
		
			
				|  |  | +    THEME: '主题',
 | 
	
		
			
				|  |  |      EXACT: '关键词-精准',
 | 
	
		
			
				|  |  | -    asin: '商品',
 | 
	
		
			
				|  |  |      PHRASE: '关键词-词组',
 | 
	
		
			
				|  |  | -    'close-match': '紧密匹配',
 | 
	
		
			
				|  |  | -    'loose-match': '广泛匹配',
 | 
	
		
			
				|  |  | -    substitutes: '同类商品',
 | 
	
		
			
				|  |  | -    complements: '关联商品',
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    xAxisMapList = xAxisList.map((item) => classificationMap[item])
 | 
	
		
			
				|  |  |    loading.value = false
 |