|  | @@ -10,13 +10,13 @@
 | 
	
		
			
				|  |  |            :class="{ selected: selectedCardIndex === index }"
 | 
	
		
			
				|  |  |            @click="selectCard(index, item)">
 | 
	
		
			
				|  |  |            <div class="pct-chart" :id="`chart${index}-${item.productlineId}`"></div>
 | 
	
		
			
				|  |  | -          <el-popover placement="bottom" :width="150" trigger="click" >
 | 
	
		
			
				|  |  | +          <el-popover placement="bottom" :width="150" trigger="click">
 | 
	
		
			
				|  |  |              <template #reference>
 | 
	
		
			
				|  |  |                <el-icon class="custom-icon" @click.stop=""><MoreFilled /></el-icon>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |              <div class="custom-popoer">
 | 
	
		
			
				|  |  |                <el-button :icon="Edit" text size="small" @click="editCard(item)">编辑</el-button>
 | 
	
		
			
				|  |  | -              <el-button :icon="Delete" text size="small" style="margin-left: 0;">删除</el-button>
 | 
	
		
			
				|  |  | +              <el-button :icon="Delete" text size="small" style="margin-left: 0">删除</el-button>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </el-popover>
 | 
	
		
			
				|  |  |            <div style="padding: 10px; position: relative">
 | 
	
	
		
			
				|  | @@ -35,10 +35,10 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <script setup lang="ts">
 | 
	
		
			
				|  |  |  import { onMounted, inject, ref } from 'vue'
 | 
	
		
			
				|  |  | -import { getProductCardData } from '../api'
 | 
	
		
			
				|  |  | +import { getProductCardData } from '/@/views/productCenter/productList/api'
 | 
	
		
			
				|  |  |  import * as echarts from 'echarts'
 | 
	
		
			
				|  |  |  import { Edit, Delete } from '@element-plus/icons-vue'
 | 
	
		
			
				|  |  | -import emitter from '/@/utils/emitter';
 | 
	
		
			
				|  |  | +import emitter from '/@/utils/emitter'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const profile = <any>inject('profile')
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -58,9 +58,8 @@ async function fetchProductCardData() {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function initChart() {
 | 
	
		
			
				|  |  |    cardData.value.forEach((item, index) => {
 | 
	
		
			
				|  |  | -  const chartId = `chart${index}-${item.productlineId}`
 | 
	
		
			
				|  |  | +    const chartId = `chart${index}-${item.productlineId}`
 | 
	
		
			
				|  |  |      const el = document.getElementById(chartId)
 | 
	
		
			
				|  |  | -    // const el:any = document.querySelector('#' + chartId)
 | 
	
		
			
				|  |  |      if (el) {
 | 
	
		
			
				|  |  |        const pieChart = echarts.init(el)
 | 
	
		
			
				|  |  |        const option = {
 | 
	
	
		
			
				|  | @@ -119,7 +118,7 @@ function selectCard(index: number, item: any) {
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function editCard(item) {
 | 
	
		
			
				|  |  | -  emitter.emit('ProductTab-editProductCard', {isVisible: true, data: item })
 | 
	
		
			
				|  |  | +  emitter.emit('ProductTab-editProductCard', { isVisible: true, data: item })
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  onMounted(async () => {
 |