From b223552a0c4bc787ad251add025a93d77527ffbe Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 18 十二月 2021 23:36:28 +0800
Subject: [PATCH] 2021-12-18

---
 src/tabviews/custom/components/card/cardcellList/index.jsx |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx
index 318f6bd..cad09f4 100644
--- a/src/tabviews/custom/components/card/cardcellList/index.jsx
+++ b/src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -90,6 +90,19 @@
       return
     }
 
+    if (card.linkType === 'tel') {
+      window.open('tel:' + url)
+      return
+    } else if (card.linkType === 'email') {
+      let _url = 'mailto:' + url
+      let fullName = sessionStorage.getItem('Full_Name') || ''
+      if (fullName) {
+        _url = _url + `?subject=鏉ヨ嚜${fullName}鐨勯偖浠禶
+      }
+      window.open(_url)
+      return
+    }
+
     if (/^sso$/ig.test(url)) {
       if (!data.LinkUrl1) {
         notification.warning({

--
Gitblit v1.8.0