Merge branch 'dev' of https://git.qcloud.com/joylink/jl-nclient into dev
This commit is contained in:
commit
73d5b4c4fa
@ -189,11 +189,11 @@ export default {
|
|||||||
|
|
||||||
checkDisabled(role) {
|
checkDisabled(role) {
|
||||||
if (this.$route.query.prdType == '01') {
|
if (this.$route.query.prdType == '01') {
|
||||||
return role !== 'Attendant';
|
return role !== 'Attendant' && role !== 'no';
|
||||||
} else if (this.$route.query.prdType == '02') {
|
} else if (this.$route.query.prdType == '02') {
|
||||||
return role !== 'Dispatcher';
|
return role !== 'Dispatcher'&& role !== 'no';
|
||||||
} else if (this.$route.query.prdType == '04') {
|
} else if (this.$route.query.prdType == '04') {
|
||||||
return role !== 'Driver';
|
return role !== 'Driver' && role !== 'no';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user