Commit 4f3cadd4 authored by qinj's avatar qinj

loading

parent 8bf854a9
......@@ -434,13 +434,13 @@ export default {
},
handleApprove(){
this.formData.ExtCustomerType_SDK=111
this.loading=true
// this.loading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
this.loading=false
console.log(resp)
// this.loading=false
// console.log(resp)
if(resp.results.length<40){
this.$message.success('提交成功!')
this.$router.back()
this.handleClickGoBack()
}else{
this.$message.error('提交失败!')
}
......
......@@ -526,9 +526,9 @@ export default {
// });
this.formData. ExtCustomerType_SDK=101
this.loading=true
// this.loading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
this.loading=false
// this.loading=false
if(resp.results.length<40){
this.$message.success('提交成功!')
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