jwyu 11 luni în urmă
părinte
comite
fd7b292c0b
1 a modificat fișierele cu 3 adăugiri și 5 ștergeri
  1. 3 5
      src/views/report/Detail.vue

+ 3 - 5
src/views/report/Detail.vue

@@ -71,16 +71,14 @@ function formatIframeData() {
 
 // 拨打电话
 function handleCallPhone() {
-  let tel = ''
-  if (reportStatus.value === 3) {
+  let tel = userInfo.SellerPhone
+  if (!tel) {
     systemConfig.forEach(item => {
       if (item.ConfKey === 'ServicePhone') {
         tel = item.ConfVal
       }
     });
-  } else {
-    tel = userInfo.SellerPhone
-  }
+  } 
 
   var phoneLink = 'tel:' + tel;
   var link = document.createElement('a');