|
@@ -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');
|