Ver Fonte

feat: 广东移动DICT工作台内列表跳转方式调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe há 9 meses atrás
pai
commit
1e7d84a359
1 ficheiros alterados com 10 adições e 7 exclusões
  1. 10 7
      apps/bigmember_pc/src/views/customer/Search.vue

+ 10 - 7
apps/bigmember_pc/src/views/customer/Search.vue

@@ -1,7 +1,7 @@
 <template>
-  <div class="ent-search" :class="{'ent-search-iframe': isInIframe}">
+  <div class="ent-search" :class="{ 'ent-search-iframe': isInIframe }">
     <div class="ent-header">
-      <div :class="{'w1200': !isInIframe}">
+      <div :class="{ w1200: !isInIframe }">
         <div class="ent-header-logo">
           <img :src="custom.imgUrl" alt="" />
         </div>
@@ -17,7 +17,7 @@
       </div>
     </div>
     <div class="ent-main">
-      <div :class="{'w1200': !isInIframe}">
+      <div :class="{ w1200: !isInIframe }">
         <div class="ent-list">
           <el-tabs v-model="activeName" @tab-click="handleClick">
             <el-tab-pane label="采购单位" name="buyer">
@@ -295,10 +295,13 @@ export default {
       }
     },
     toDetail(item) {
-      const routeUrl = this.$router.resolve({
-        path: `/free/custom_unit_portrayal/${item.company_name}`
-      })
-      return window.open(routeUrl.href, '_blank')
+      // const routeUrl = this.$router.resolve({
+      //   path: `/free/custom_unit_portrayal/${item.company_name}`
+      // })
+      return window.open(
+        `/swordfish/page_big_pc/free/custom_unit_portrayal/${item.company_name}`,
+        '_blank'
+      )
     },
     handleClick(tab, event) {
       console.log(tab, event)