保誠-保戶業務員媒合平台
Tomas
2024-04-30 b4d6944076f1df6eedaae35c4c2a7072fe988e8a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Vue from 'vue'
 
Vue.filter('toConsultationMethod', (value: string): string => {
 
  if (!value ||  typeof value !== 'string') {
    return '--';
  };
 
  const consultationMethodLabel = {
    'online': '線上',
    'offline': '線下',
  };
 
  return  consultationMethodLabel[value];
})