Commit d6946137 authored by yht15023815643's avatar yht15023815643

取消认领

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