修复搜索=
This commit is contained in:
parent
4d7bbf9ca4
commit
08dd8b8ae0
@ -75,7 +75,7 @@ export default {
|
|||||||
if(this.typeIndex == 0 || this.typeIndex == 3){
|
if(this.typeIndex == 0 || this.typeIndex == 3){
|
||||||
apiFindStaff(this.query).then(data => {
|
apiFindStaff(this.query).then(data => {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
if(data.code != 0){
|
if(data.code != 200){
|
||||||
this.$message.error("异常" + data.msg);
|
this.$message.error("异常" + data.msg);
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
apiFindDepat(this.query).then(data => {
|
apiFindDepat(this.query).then(data => {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
if(data.code != 0){
|
if(data.code != 200){
|
||||||
this.$message.error("异常" + data.msg);
|
this.$message.error("异常" + data.msg);
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user