|
|
|
@ -20,7 +20,11 @@ export default { |
|
|
|
height:{ |
|
|
|
type:Number, |
|
|
|
default:400, |
|
|
|
} |
|
|
|
}, |
|
|
|
loadingStatus:{ |
|
|
|
type:Boolean, |
|
|
|
default:false, |
|
|
|
}, |
|
|
|
}, |
|
|
|
data(){ |
|
|
|
return{ |
|
|
|
@ -409,9 +413,11 @@ export default { |
|
|
|
this.$message.warning(data.msg) |
|
|
|
} |
|
|
|
this.treeLoading = false; |
|
|
|
this.$emit("update:loadingStatus",this.treeLoading) |
|
|
|
}).catch((error)=>{ |
|
|
|
this.$message.error(error) |
|
|
|
this.treeLoading = false; |
|
|
|
this.$emit("update:loadingStatus",this.treeLoading) |
|
|
|
}) |
|
|
|
}, |
|
|
|
changeSelect(){ |
|
|
|
@ -480,8 +486,10 @@ export default { |
|
|
|
}else { |
|
|
|
this.$message.warning(data.msg) |
|
|
|
} |
|
|
|
this.$emit("update:loadingStatus",this.dataListLoading) |
|
|
|
}).catch((error)=>{ |
|
|
|
this.dataListLoading = false; |
|
|
|
this.$emit("update:loadingStatus",this.dataListLoading) |
|
|
|
this.$message.error(error) |
|
|
|
}) |
|
|
|
}, |
|
|
|
|