yxh
8 天以前 be27214928a43cacff975265a7c67e2e2461fd0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
  【本需求·内网分发】顶栏「打印客户端下载」入口
 
  为什么放顶栏:医生端电脑不允许拷文件,需要"打开网站就能下安装包"。
  这里只做入口,页面在 /client-download(views/ecg/clientfile/index.vue,登录即可访问)。
-->
<template>
  <el-tooltip content="打印客户端下载(hiprint 安装包)" placement="bottom">
    <el-button link class="client-download-tag" @click="go">
      <Icon icon="ep:download" :size="18" />
    </el-button>
  </el-tooltip>
</template>
 
<script setup lang="ts">
import { useRouter } from 'vue-router'
 
defineOptions({ name: 'ClientDownloadTag' })
 
const router = useRouter()
 
const go = () => {
  router.push({ path: '/client-download' })
}
</script>
 
<style scoped lang="scss">
.client-download-tag {
  margin-right: 8px;
  padding: 0 6px;
  height: 30px;
  color: var(--el-text-color-regular);
 
  &:hover {
    color: var(--el-color-primary);
  }
}
</style>