Ver código fonte

企业列表类型图标

CzRger 1 ano atrás
pai
commit
38cc2738b6

BIN
src/assets/images/gis-business/enterprise_list-icon2.png


BIN
src/assets/images/gis-business/enterprise_list-icon3.png


BIN
src/assets/images/gis-business/enterprise_list-icon4.png


+ 13 - 2
src/views/gis/business/enterprise/index.vue

@@ -73,8 +73,19 @@
                   <CusEllipsis :value="`${(enterprise.table.pageNum - 1) * enterprise.table.pageSize + index + 1}.${item.qymc}`"/>
                 </div>
                 <div class="table-card-item-right-bottom">
-                  <img src="@/assets/images/gis-business/enterprise_list-icon2.png" alt=""/>
-                  {{item.qykx}}
+                  <template v-if="item.qykx === '零关税自用进口生产设备'">
+                    <img src="@/assets/images/gis-business/enterprise_list-icon3.png" alt=""/>
+                    <span style="color: #77E24D;">{{item.qykx}}</span>
+                  </template>
+                  <template v-else-if="item.qykx === '加工增值免关税'">
+                    <img src="@/assets/images/gis-business/enterprise_list-icon2.png" alt=""/>
+                    <span style="color: #F67D61;">{{item.qykx}}</span>
+                  </template>
+                  <template v-else-if="item.qykx === '零关税进口原辅料'">
+                    <img src="@/assets/images/gis-business/enterprise_list-icon4.png" alt=""/>
+                    <span style="color: #E0C50D;">{{item.qykx}}</span>
+                  </template>
+                  <template v-else>{{item.qykx}}</template>
                 </div>
               </div>
             </div>