12345678910111213141516171819202122232425262728293031323334353637 |
- var serviceType=function(value){
- // 保姆工种:1小时工,2钟点工,3住家保姆,4白班保姆,5月嫂
- let type='';
- switch(value){
- case '1':
- type='小时工';
- break;
- case '2':
- type='钟点工';
- break;
- case '3':
- type='住家保姆';
- break;
- case '4':
- type='白班保姆';
- break;
- case '5':
- type='月嫂';
- break;
- default:
- type='';
- }
- return type;
- }
- var bindTime=function(value){
- if (value==''){
- return '无';
- }else{
- return value;
- }
- }
- export default{
- serviceType,
- bindTime
- }
|