|
|
|
@ -54,16 +54,15 @@ export class DetailsUpdateCategoryComponent implements OnInit {
|
|
|
|
|
if (!handleTypes || !handleTypes.length) { |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
let name |
|
|
|
|
let names: string[] = [] |
|
|
|
|
let handleTypeList = JSON.parse(JSON.stringify(handleTypes)); |
|
|
|
|
let list: handleTypeList[] = new handleType().list; |
|
|
|
|
handleTypeList.forEach(item=>{ |
|
|
|
|
list.find(element=>{ |
|
|
|
|
item == element.value? item = element.name : null |
|
|
|
|
item == element.value? names.push(element.name) : null |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
name = handleTypeList.join(',') |
|
|
|
|
return name |
|
|
|
|
return names.join(',') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//获取文件格式
|
|
|
|
|