Commit 4f3cadd4 authored by qinj's avatar qinj

loading

parent 8bf854a9
...@@ -434,13 +434,13 @@ export default { ...@@ -434,13 +434,13 @@ export default {
}, },
handleApprove(){ handleApprove(){
this.formData.ExtCustomerType_SDK=111 this.formData.ExtCustomerType_SDK=111
this.loading=true // this.loading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => { this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
this.loading=false // this.loading=false
console.log(resp) // console.log(resp)
if(resp.results.length<40){ if(resp.results.length<40){
this.$message.success('提交成功!') this.$message.success('提交成功!')
this.$router.back() this.handleClickGoBack()
}else{ }else{
this.$message.error('提交失败!') this.$message.error('提交失败!')
} }
......
...@@ -526,9 +526,9 @@ export default { ...@@ -526,9 +526,9 @@ export default {
// }); // });
this.formData. ExtCustomerType_SDK=101 this.formData. ExtCustomerType_SDK=101
this.loading=true // this.loading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => { this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
this.loading=false // this.loading=false
if(resp.results.length<40){ if(resp.results.length<40){
this.$message.success('提交成功!') this.$message.success('提交成功!')
this.handleClickGoBack() this.handleClickGoBack()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment