@@ -838,13 +838,12 @@ const canSubmitMainReportType = ()=>{
// 结果格式化
const formatResult = (result) => {
- switch (result) {
- case '100':
- return '通过'
- case '200':
- return '拒绝'
- default:
- return result || '-'
+ if (result === 100 || result === '100'){
+ return '通过'
+ }else if (result === 200 || result === '200'){
+ return '拒绝'
+ }else{
+ return result || '-'
}
@@ -817,13 +817,12 @@ const canSubmitMainReportType = ()=>{