调整: 剧本过滤角色调整

This commit is contained in:
fan 2019-08-20 18:57:14 +08:00
parent 72f1c63e22
commit 7334d282dd

View File

@ -189,11 +189,11 @@ export default {
checkDisabled(role) {
if (this.$route.query.prdType == '01') {
return role !== 'Attendant';
return role !== 'Attendant' && role !== 'no';
} else if (this.$route.query.prdType == '02') {
return role !== 'Dispatcher';
return role !== 'Dispatcher'&& role !== 'no';
} else if (this.$route.query.prdType == '04') {
return role !== 'Driver';
return role !== 'Driver' && role !== 'no';
}
},