Commit d6946137 authored by yht15023815643's avatar yht15023815643

取消认领

parent d802df60
...@@ -227,7 +227,7 @@ export default { ...@@ -227,7 +227,7 @@ export default {
let res = await api.cancelClaim(this.companyInfo.companyName) let res = await api.cancelClaim(this.companyInfo.companyName)
if(res.code==200){ if(res.code==200){
this.dialogVisible1 = false; this.dialogVisible1 = false;
this.getClaimStatus(); this.companyInfo.claimStatus = 0
}else{ }else{
this.$message.error(res.msg) this.$message.error(res.msg)
} }
......
...@@ -343,7 +343,6 @@ export default { ...@@ -343,7 +343,6 @@ export default {
created() { created() {
this.dataRegion() this.dataRegion()
this.getType() this.getType()
this.querySubmit()
this.dataQuery=this.$route.query; this.dataQuery=this.$route.query;
if(this.dataQuery.provinceId){ if(this.dataQuery.provinceId){
if(Array.isArray(this.dataQuery.province)){ if(Array.isArray(this.dataQuery.province)){
...@@ -366,6 +365,8 @@ export default { ...@@ -366,6 +365,8 @@ export default {
} }
}) })
} }
this.querySubmit()
}, },
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
...@@ -677,7 +678,7 @@ export default { ...@@ -677,7 +678,7 @@ export default {
api.cancelClaim(this.companyName).then(res=>{ api.cancelClaim(this.companyName).then(res=>{
if(res.code==200){ if(res.code==200){
this.dialogVisible1 = false; this.dialogVisible1 = false;
this.handleSearch(); this.querySubmit();
} }
}) })
}, },
......
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