嗨森逛PC管理端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
high-web/src/app/pipes/system.pipe.ts

23 lines
436 B

import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'system'
})
export class SystemPipe implements PipeTransform {
transform(value: number): string {
switch (value) {
case 0:
return '超级管理员';
case 1:
return '区域账号';
case 2:
return '商户账号';
case 3:
return '门店账号';
case 4:
return '代理商账号';
}
}
}