Parcourir la source

fix: 修复逻辑问题

cuiyalong il y a 9 mois
Parent
commit
9c3d911da7

+ 3 - 1
apps/bigmember_pc/src/views/search/layout/search-list.vue

@@ -83,9 +83,11 @@ function onCurrentChange($event) {
       class="search-header-container flex flex-(row items-center justify-between)"
       :class="{'fixed': tableFixedTop}"
     >
-      <div class="p-l-16px flex flex-(row items-center)" v-if="showSelect">
+      <div class="flex flex-(row items-center)">
         <!--  全选按钮  -->
         <el-checkbox
+          class="p-l-16px"
+          v-if="showSelect"
           :value="isSelectAllCheckbox"
           @change="$emit('doChangeAllSelect', !isSelectAllCheckbox)"
         >

+ 1 - 0
apps/bigmember_pc/src/views/search/sun/index.vue

@@ -156,6 +156,7 @@ const leaveSource = () => {
         @doAction="doListHeaderAction"
         @doChangeAllSelect="doChangeAllSelect"
         @doChangeSelect="doChangeSelect"
+        :show-select="false"
         :show-pagination="activeItemStyleType !== 'T'"
         :is-table="activeItemStyleType === 'T'"
         :table-fixed-top="tableFixedTop"

+ 3 - 3
apps/mobile/src/components/search/sun/filters.vue

@@ -561,15 +561,15 @@ export default {
         },
         {
           label: '行业',
-          free: false
+          free: true
         },
         {
           label: '附件',
-          free: false
+          free: true
         },
         {
           label: '发布方',
-          free: false
+          free: true
         }
       ],
       scrollEleTop: 0,

+ 7 - 1
apps/mobile/src/views/article/components/ContentHeader.vue

@@ -31,7 +31,7 @@
         >{{ tag.label }}</span
       >
     </div>
-    <div class="sub-info-line" v-if="!IsSunPublishContent">
+    <div class="sub-info-line">
       <span class="info-publish-time">{{ content.time }}</span>
       <span v-if="cbPersonText" class="info-canbiao-persons">
         参标人:{{ cbPersonText }}
@@ -116,6 +116,9 @@ export default {
     }),
 
     cbPersonText() {
+      if (this.IsSunPublishContent) {
+        return ''
+      }
       const { inBiddingPersonList: bList } = this.otherModel
       if (Array.isArray(bList) && bList.length > 0) {
         const list = bList.map((b) => b.trim()).filter((b) => !!b)
@@ -129,6 +132,9 @@ export default {
       }
     },
     showRenMaiButton() {
+      if (this.IsSunPublishContent) {
+        return ''
+      }
       return articleTypeArr.includes(this.content?._ob?.topType)
     },
     collectionTags() {

+ 1 - 1
apps/mobile/src/views/article/components/ContentSummaryPurchaseList.vue

@@ -1,5 +1,5 @@
 <template>
-  <section class="content-summary-purchase-list">
+  <section class="content-summary-purchase-list" v-if="purchasingList.length > 0">
     <div class="purchase-list-hd">采购清单</div>
     <div class="purchase-list-bd">
       <div class="purchase-list-card" v-for="(purchase, index) in purchasingList" :key="index">

+ 6 - 2
apps/mobile/src/views/article/content.vue

@@ -342,7 +342,7 @@ export default {
       if (this.IsCustomTopNet) {
         return false
       }
-      if (this.IsSunPublishContent) {
+      if (!this.canReadConf.showContentModule) {
         return false
       }
       return this.canReadConf.show
@@ -572,9 +572,13 @@ export default {
     },
     clickFreeView() {
       this.beforeLeavePage()
+      let source = 'peugeot_view_infor'
+      if (this.IsSunPublishContent) {
+        source = `${this.$env.platform}_sunlight_viewdetails`
+      }
       openAppOrWxPage(LINKS.留资, {
         query: {
-          source: 'peugeot_view_infor',
+          source,
           infoid: this.content.id
         }
       })

+ 6 - 6
apps/mobile/src/views/search/result/sun/index.vue

@@ -692,7 +692,7 @@ export default {
       return additionalWordsArr
     },
     emptyText() {
-      return `未匹配到您所搜索的信息,<br/>您可跳转到<span class="highlight-text">招标采购搜索</span>查看是否有对应信息`
+      return `未匹配到您所搜索的信息,<br/>您可跳转到<span class="highlight-text">招标采购搜索</span>查看是否有对应信息`
     },
     interceptTipText() {
       const { interceptLimit, interceptOtherWords } = this.pageState
@@ -1094,11 +1094,11 @@ export default {
       })
     },
     doOpen(type) {
-      if (!this.isLogin) {
-        if (type !== 'scope') {
-          return this.toLogin()
-        }
-      }
+      // if (!this.isLogin) {
+      //   if (type !== 'scope') {
+      //     return this.toLogin()
+      //   }
+      // }
     },
     doSearch(conf = {}) {
       const { from } = conf