소스 검색

Merge branch 'dev/v1.0.31_tsz' of jianyu/web into feature/v1.0.31

汤世哲 1 년 전
부모
커밋
91d55b01b8

+ 3 - 2
apps/bigmember_pc/src/components/forecast/ForeCast.vue

@@ -522,6 +522,7 @@ import TimeSelector from '@/components/selector/TimeSelector.vue'
 import { moneyUnit, dateFormatter } from '@/utils'
 import { tryCallHooks } from '@jianyu/easy-inject-qiankun'
 import { getPowerUrl } from '@/utils/power/redirect'
+import { getAssetsFile } from '@/utils'
 import {
   setFollowEnt,
   setCancelEnt,
@@ -1072,14 +1073,14 @@ export default {
         this.myDataObj.initTotal === 0
       ) {
         this.tips = '暂无企业情报信息,前往企业搜索关注企业'
-        this.tipimages = import('@/assets/images/empty/jy-back.png')
+        this.tipimages = getAssetsFile('jy-back.png')
       } else if (
         this.myDataObj &&
         this.myDataObj.list.length === 0 &&
         this.myDataObj.initTotal !== 0
       ) {
         this.tips = '暂无匹配数据'
-        this.tipimages = import('@/assets/images/empty/jy-back.png')
+        this.tipimages = getAssetsFile('jy-back.png')
       }
     },
     changeTime(data) {

+ 4 - 4
apps/bigmember_pc/src/components/medical/FollowList.vue

@@ -122,7 +122,7 @@ import {
 import { mixinVisited } from '@/utils/mixins/visited'
 import Empty from '@/components/common/Empty.vue'
 import GroupCard from '@/components/selector/GroupSelector.vue'
-import { dateFormatter, openSelfLink } from '@/utils'
+import { dateFormatter, openSelfLink, getAssetsFile } from '@/utils'
 import {
   setFollowEnt,
   setCancelEnt,
@@ -165,7 +165,7 @@ export default {
       },
       isFollow: '1',
       tips: '', // 空状态提示
-      tipimages: import('@/assets/images/empty/jy-cry.png'),
+      tipimages: getAssetsFile('jy-cry.png'),
       dialog: {
         group: false
       },
@@ -370,14 +370,14 @@ export default {
         this.myDataObj.initTotal === 0
       ) {
         this.tips = '暂未认领任何经销商'
-        this.tipimages = import('@/assets/images/empty/jy-back.png')
+        this.tipimages = getAssetsFile('jy-back.png')
       } else if (
         this.myDataObj &&
         this.myDataObj.list.length === 0 &&
         this.myDataObj.initTotal !== 0
       ) {
         this.tips = '暂无匹配数据'
-        this.tipimages = import('@/assets/images/empty/jy-back.png')
+        this.tipimages = getAssetsFile('jy-back.png')
       }
     }
   }

+ 2 - 1
apps/bigmember_pc/src/views/Home.vue

@@ -46,6 +46,7 @@ import forLayOut from '@/components/forecast/ForLayout.vue'
 import PushList from '@/components/push-list/PushList.vue'
 import ProjectList from '@/components/push-list/ProjectList.vue'
 import FloatSide from '@/components/home/FloatSide.vue'
+import { getAssetsFile } from '@/utils'
 import {
   getReportIndex,
   getReportStartTime,
@@ -65,7 +66,7 @@ export default {
   },
   data() {
     return {
-      topImg: import('@/assets/images/bg_1.png'),
+      topImg: getAssetsFile('bg_1.png'),
       navItem: [
         {
           text: '中标企业预测',

+ 3 - 2
apps/bigmember_pc/src/views/PotentialList.vue

@@ -133,6 +133,7 @@ import BuyerclassSelector from '@/components/selector/BuyerclassSelector.vue'
 import BusinessScopeSelector from '@/components/selector/BusinessScopeSelector.vue'
 import forLayOut from '@/components/forecast/ForLayout.vue'
 import TabHeader from '@/components/common/TabHeader.vue'
+import { getAssetsFile } from '@/utils'
 import {
   setFollowEnt,
   setRemoveEnt,
@@ -158,13 +159,13 @@ export default {
     return {
       topInfo: {
         c: {
-          img: import('@/assets/images/item_3.png'),
+          img: getAssetsFile('item_3.png'),
           icon: 'top-c',
           text: '潜在客户挖掘',
           desc: '潜在客户'
         },
         r: {
-          img: import('@/assets/images/item_1.png'),
+          img: getAssetsFile('item_1.png'),
           icon: 'top-r',
           text: '潜在竞争对手 / 合作伙伴挖掘'
         }

+ 3 - 2
apps/bigmember_pc/src/views/ProjectProgress.vue

@@ -89,6 +89,7 @@ import forLayOut from '@/components/forecast/ForLayout.vue'
 import { attentionProject, areaProject, getBidIsJoin } from '@/api/modules'
 import { mapState, mapGetters } from 'vuex'
 import { provinceListMapExp } from '@/assets/js/selector.js'
+import { getAssetsFile } from '@/utils'
 export default {
   name: 'ProjectProgress',
   components: {
@@ -101,13 +102,13 @@ export default {
     return {
       topInfo: {
         c: {
-          img: import('@/assets/images/item_11.png'),
+          img: getAssetsFile('item_11.png'),
           icon: 'project-c',
           text: '项目进度监控',
           desc: ''
         },
         r: {
-          img: import('@/assets/images/item_1.png'),
+          img: getAssetsFile('item_1.png'),
           icon: 'top-r',
           text: '潜在竞争对手 / 合作伙伴挖掘'
         }

+ 2 - 1
apps/bigmember_pc/src/views/my-property/coupon.vue

@@ -71,6 +71,7 @@
 import { getInfoByUser } from '@/api/modules'
 import { Tabs, TabPane, Pagination, Image } from 'element-ui'
 import couponItem from './components/coupon-item'
+import { getAssetsFile } from '@/utils'
 export default {
   name: 'coupon',
   components: {
@@ -82,7 +83,7 @@ export default {
   },
   data: function () {
     return {
-      img: import('@/assets/images/pc_12.png'),
+      img: getAssetsFile('pc_12.png'),
       tabActiveName: 'notUsed',
       tabList: [
         {