|
@@ -145,7 +145,7 @@ export default {
|
|
if(newVal != preVal){
|
|
if(newVal != preVal){
|
|
if(newVal == 1){
|
|
if(newVal == 1){
|
|
let tmpDeptDTOS = this.deptDis.deptDTOS
|
|
let tmpDeptDTOS = this.deptDis.deptDTOS
|
|
- let obj = {id:0,name:'通用'}
|
|
|
|
|
|
+ let obj = {id:-1,name:'通用'}
|
|
if(tmpDeptDTOS[0].id != 0){
|
|
if(tmpDeptDTOS[0].id != 0){
|
|
tmpDeptDTOS.unshift(obj)
|
|
tmpDeptDTOS.unshift(obj)
|
|
}
|
|
}
|
|
@@ -156,7 +156,7 @@ export default {
|
|
}
|
|
}
|
|
}else if(newVal == 2){
|
|
}else if(newVal == 2){
|
|
let tmpDisDTOS = this.deptDis.disDTOS
|
|
let tmpDisDTOS = this.deptDis.disDTOS
|
|
- let obj = {id:0,name:'通用'}
|
|
|
|
|
|
+ let obj = {id:-1,name:'通用'}
|
|
if(tmpDisDTOS[0].id != 0){
|
|
if(tmpDisDTOS[0].id != 0){
|
|
tmpDisDTOS.unshift(obj)
|
|
tmpDisDTOS.unshift(obj)
|
|
}
|
|
}
|