|
@@ -1,6 +1,7 @@
|
|
<script lang='ts' setup>
|
|
<script lang='ts' setup>
|
|
import { Api } from '@/api/model/url'
|
|
import { Api } from '@/api/model/url'
|
|
import { useCommonStore } from '@/stores/modules/common'
|
|
import { useCommonStore } from '@/stores/modules/common'
|
|
|
|
+import { Condition } from '@/enums/const-enums'
|
|
|
|
|
|
const config = useRuntimeConfig()
|
|
const config = useRuntimeConfig()
|
|
const { apiBaseSiteUrl } = config.public
|
|
const { apiBaseSiteUrl } = config.public
|
|
@@ -175,7 +176,7 @@ async function clickLoginAndDownload(item: any) {
|
|
{{ detail?.relatedCatalogue?.subhead }}
|
|
{{ detail?.relatedCatalogue?.subhead }}
|
|
</div>
|
|
</div>
|
|
<el-button class="!bg-#9B6CFF !text-#fff !b-#9B6CFF !b-rd-380px text-14px fw-bold !h-32px px-20px" @click="clickLoginAndDownload(detail?.relatedCatalogue)">
|
|
<el-button class="!bg-#9B6CFF !text-#fff !b-#9B6CFF !b-rd-380px text-14px fw-bold !h-32px px-20px" @click="clickLoginAndDownload(detail?.relatedCatalogue)">
|
|
- Download Catalog
|
|
|
|
|
|
+ {{ detail?.relatedCatalogue?.downloadCondition === Condition.REQUEST ? 'Request' : 'Download' }} Catalog
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
<div class="px-40px pt-34px bg-#E7EAFF b-rd-10px text-center custom-main">
|
|
<div class="px-40px pt-34px bg-#E7EAFF b-rd-10px text-center custom-main">
|