<el-form-item label="审批状态:">
<el-input :value="getStatus(form.applyStatus)" ></el-input>
</el-form-item>
methods:{
getStatus(code) {
let str = ''
switch (code) {
case '0':
str = '申请中'
break
case '1':
str = '使用中'
break
case '2':
str = '已驳回'
break
default:
break
}
return str
},
}