Commit f07288a7 authored by jiangqihao's avatar jiangqihao

Merge branch 'dev' of http://120.25.63.219:6088/rex/portalhtml into dev

parents 38c7adeb 4f3cadd4
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
profile: '个人中心', profile: '个人中心',
customers: '代理商管理', customers: '代理商管理',
potentialCustomers: '省级代理商', potentialCustomers: '代理商审批',
regularCustomers: '城市级代理商', regularCustomers: '城市级代理商',
enterpriseCustomers: '企业客户', enterpriseCustomers: '企业客户',
......
...@@ -362,11 +362,13 @@ extChannelType_SDK:this.formData.ExtChannelType_SDK} ...@@ -362,11 +362,13 @@ extChannelType_SDK:this.formData.ExtChannelType_SDK}
const add={customerDTO:cc,note:this.form.note,result:"approve"} const add={customerDTO:cc,note:this.form.note,result:"approve"}
ProcessApproval(add).then((resp)=>{ ProcessApproval(add).then((resp)=>{
this.$message.success("审批成功!") this.$message.success("审批成功!")
this.dialogFormVisible=false
}) })
}else{ }else{
const bdd={customerDTO:cc,note:this.form.note,result:"reject"} const bdd={customerDTO:cc,note:this.form.note,result:"reject"}
ProcessApproval(bdd).then((resp)=>{ ProcessApproval(bdd).then((resp)=>{
this.$message.success("退回成功!") this.$message.success("退回成功!")
this.dialogFormVisible=false
}) })
} }
......
...@@ -355,7 +355,6 @@ export default { ...@@ -355,7 +355,6 @@ export default {
formInline: {}, formInline: {},
recordList: [], recordList: [],
tableData: [], tableData: [],
loading:false,
fileList:[], fileList:[],
countryOptions:[], countryOptions:[],
cityOptions:[], cityOptions:[],
...@@ -435,13 +434,13 @@ export default { ...@@ -435,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('提交失败!')
} }
......
...@@ -405,7 +405,6 @@ export default { ...@@ -405,7 +405,6 @@ export default {
formData: {}, formData: {},
inputEnter: false, inputEnter: false,
countryArea: '', countryArea: '',
loading: false,
formInline: {}, formInline: {},
recordList: [], recordList: [],
tableData: [], tableData: [],
...@@ -527,9 +526,9 @@ export default { ...@@ -527,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