|
@@ -8,6 +8,7 @@ import {useRouter} from 'vue-router'
|
|
|
import {useCachedViewsStore} from '@/store/modules/cachedViews'
|
|
|
import langIconZH from '@/assets/imgs/chartETA/lang-icon.png'
|
|
|
import langIconEN from '@/assets/imgs/chartETA/langEn-icon.png'
|
|
|
+import { useNoAuth } from '@/hooks/useNoAuth'
|
|
|
import {edbDataBtn,useAuthBtn} from '@/hooks/useAuthBtn'
|
|
|
const {checkAuthBtn} = useAuthBtn()
|
|
|
|
|
@@ -270,6 +271,8 @@ async function handleConfirmEDBMove(){
|
|
|
|
|
|
// 跳转详情
|
|
|
function handleEDBDetail(item){
|
|
|
+ if(!item.HaveOperaAuth) return showToast(useNoAuth().edb)
|
|
|
+
|
|
|
router.push({
|
|
|
path:'/dataEDB/detail',
|
|
|
query:{
|
|
@@ -323,7 +326,7 @@ async function goSearch(){
|
|
|
<div class="van-multi-ellipsis--l2 name">{{langType==='zh'?item.EdbName:item.EdbNameEn||item.EdbName}}</div>
|
|
|
<van-image
|
|
|
class="img"
|
|
|
- :src="item.ChartImage"
|
|
|
+ :src="!item.HaveOperaAuth?useNoAuth().noAuthImg:item.ChartImage"
|
|
|
/>
|
|
|
<div>
|
|
|
<span class="time">{{item.CreateTime.substring(0,10)}}</span>
|
|
@@ -334,7 +337,7 @@ async function goSearch(){
|
|
|
height="28"
|
|
|
viewBox="0 0 28 28"
|
|
|
fill="none"
|
|
|
- v-if="checkOption(item)"
|
|
|
+ v-if="checkOption(item)&&item.HaveOperaAuth"
|
|
|
@click.stop="handleShowEdbOpt(item)"
|
|
|
>
|
|
|
<rect width="28" height="28" rx="4" :fill="item.EdbInfoId===edbOptState.data?.EdbInfoId?'#0052D9':'none'"/>
|