|
|
@@ -23,8 +23,7 @@ export default function ApprovalBean (type) {
|
|
|
case 'D':
|
|
|
this.data2DType()
|
|
|
break
|
|
|
- //后台接口做了转换,前端无需转换
|
|
|
- /*case 'B':
|
|
|
+ case 'B':
|
|
|
if (this.values == 1) {
|
|
|
this.values = ApprovalBean.VALUES_YES
|
|
|
} else {
|
|
|
@@ -32,7 +31,8 @@ export default function ApprovalBean (type) {
|
|
|
}
|
|
|
this.setOldSelectValues()
|
|
|
break
|
|
|
- case 'YN':
|
|
|
+ //后台接口做了转换,前端无需转换
|
|
|
+ /*case 'YN':
|
|
|
if (this.values == '-1') {
|
|
|
this.values = ApprovalBean.VALUES_YES
|
|
|
} else if (this.values == 1 && this.type == ApprovalBean.DETAIL &&
|