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,9 +153,9 @@ export function handleTree(data, id, parentId, children, rootId) { | ||
| 153 | * @returns {string} | 153 | * @returns {string} |
| 154 | */ | 154 | */ |
| 155 | export function parseStatus(status) { | 155 | export function parseStatus(status) { |
| 156 | - if(status==1){ | 156 | + if(status==='1'){ |
| 157 | return "审批通过"; | 157 | return "审批通过"; |
| 158 | - }else if(status==2){ | 158 | + }else if(status==='2'){ |
| 159 | return "审批驳回"; | 159 | return "审批驳回"; |
| 160 | }else{ | 160 | }else{ |
| 161 | return "审批中"; | 161 | return "审批中"; |