Commit 3bb822d9 by 杨北旺

修复bug

1 parent ca35899b
......@@ -121,10 +121,10 @@ export default {
this.serviceList.push(item)
})
}
this.isNoResult = this.serviceList.length?false:true
if((data.list.length<this.paramForm.pageSize)&&this.serviceList.length){
this.$refs.scrollView.finished = true
}
this.isNoResult = this.serviceList.length?false:true
if(!this.isNoResult){
this.$refs.scrollView.loading = false
}
......@@ -145,6 +145,8 @@ export default {
if(dataPerfection==3){
delete this.paramForm.dataPerfection
}
this.serviceList = []
this.isNoResult = false
this.getServicesList()
},
onReachBottom() {
......
......@@ -109,6 +109,7 @@ export default {
file: base64,
fileType: 'image'
}
this.showLoading()
upload.uploadImageApi(para).then(res => {
if (res.code == 0) {
this.uploadFile(res.data)
......@@ -124,6 +125,7 @@ export default {
attachmentFile: url
}
upload.uploadFileApi(para).then(res => {
this.hideLoading()
this.getFileInof(this.packageCode, this.contractNo)
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!