3.18 患者端
This commit is contained in:
@@ -188,11 +188,26 @@ function hasFree(arr){
|
||||
}
|
||||
return false
|
||||
}
|
||||
function hasTuWen(arr){
|
||||
if(arr){
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
if(arr[i].inquiry_type==1 && arr[i].is_enable==1 && arr[i].inquiry_mode==1){
|
||||
return true
|
||||
}
|
||||
if(arr[i].inquiry_type==3 && arr[i].is_enable==1 && arr[i].inquiry_mode==1){
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
module.exports = {
|
||||
formatwenzhenList:formatwenzhenList,
|
||||
formatChufang:formatChufang,
|
||||
formatPrice:formatPrice,
|
||||
hasFree:hasFree,
|
||||
hasTuWen:hasTuWen,
|
||||
formatInquiryType:formatInquiryType,
|
||||
formatDate: formatDate,
|
||||
formatNumber: formatNumber,
|
||||
|
||||
Reference in New Issue
Block a user