Commit fb390ddb306e72d637c5a839ea5ba4e62e436f13
1 parent
618522fe
新增审批字段
Showing
1 changed file
with
2 additions
and
2 deletions
trash-ui/src/utils/trash.js
| ... | ... | @@ -153,9 +153,9 @@ export function handleTree(data, id, parentId, children, rootId) { |
| 153 | 153 | * @returns {string} |
| 154 | 154 | */ |
| 155 | 155 | export function parseStatus(status) { |
| 156 | - if(status==1){ | |
| 156 | + if(status==='1'){ | |
| 157 | 157 | return "审批通过"; |
| 158 | - }else if(status==2){ | |
| 158 | + }else if(status==='2'){ | |
| 159 | 159 | return "审批驳回"; |
| 160 | 160 | }else{ |
| 161 | 161 | return "审批中"; | ... | ... |