|  | @@ -13,13 +13,15 @@ import ProductInfo from '/@/views/product-manage/component/ProductInfo.vue';
 | 
	
		
			
				|  |  |  import ProgressBar from '/@/views/product-manage/product-monitor/component/ProgressBar.vue';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +const router = useRouter();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  const props = defineProps<{
 | 
	
		
			
				|  |  |    row: any,
 | 
	
		
			
				|  |  |    field: any
 | 
	
		
			
				|  |  |  }>();
 | 
	
		
			
				|  |  |  const { row, field } = props;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -const emit: any = defineEmits([ 'edit-row', 'handle-delete', 'show-comment', 'show-history' ]);
 | 
	
		
			
				|  |  | +const emit: any = defineEmits([ 'edit-row', 'handle-delete', 'show-history' ]);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const countryInfoStore = useCountryInfoStore();
 | 
	
		
			
				|  |  |  const country = countryInfoStore.Countries.find(c => c.code == row.country_code);
 | 
	
	
		
			
				|  | @@ -59,6 +61,18 @@ function starsPercent(goods: any) {
 | 
	
		
			
				|  |  |  function showDetail(detail: any) {
 | 
	
		
			
				|  |  |    emit(`${ detail }`, row);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +function goto() {
 | 
	
		
			
				|  |  | +  const routeUrl = router.resolve({
 | 
	
		
			
				|  |  | +    path: '/product/comment',
 | 
	
		
			
				|  |  | +    query: {
 | 
	
		
			
				|  |  | +      asin: row.asin,
 | 
	
		
			
				|  |  | +      title: row.goods.title,
 | 
	
		
			
				|  |  | +      img: row.goods.img
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +  });
 | 
	
		
			
				|  |  | +  window.open(routeUrl.href, '_blank');
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <template>
 | 
	
	
		
			
				|  | @@ -172,7 +186,7 @@ function showDetail(detail: any) {
 | 
	
		
			
				|  |  |        <div class="flex justify-center gap-2 mb-2">
 | 
	
		
			
				|  |  |          <el-tooltip :enterable="false" :show-arrow="false" content="评论详情" hide-after="0"
 | 
	
		
			
				|  |  |                      placement="top" popper-class="custom-btn-tooltip">
 | 
	
		
			
				|  |  | -          <PermissionButton circle plain type="success" @click="showDetail('show-comment')">
 | 
	
		
			
				|  |  | +          <PermissionButton circle plain type="success" @click="goto">
 | 
	
		
			
				|  |  |              <el-icon>
 | 
	
		
			
				|  |  |                <Tickets />
 | 
	
		
			
				|  |  |              </el-icon>
 |