|
|
@ -511,21 +511,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
onModifySubmit(type) {
|
|
|
|
onModifySubmit(type) {
|
|
|
|
|
|
|
|
this.addOrModifyCompany(type);
|
|
|
|
//判断本企业产品是否是通过审核的
|
|
|
|
|
|
|
|
let query = {
|
|
|
|
|
|
|
|
customerId: this.$store.getters.customerId
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
getCompany(query)
|
|
|
|
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
if(response.data.auditStatus!=1){
|
|
|
|
|
|
|
|
this.$message.error("本企业信息还未通过审核!");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.addOrModifyCompany(type);
|
|
|
|
|
|
|
|
}}).catch(() => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
addOrModifyCompany (type){
|
|
|
|
addOrModifyCompany (type){
|
|
|
|
|
|
|
|
|
|
|
@ -559,7 +545,7 @@ export default {
|
|
|
|
this.certLoading = true;
|
|
|
|
this.certLoading = true;
|
|
|
|
filterCompanyCert(this.certQuery)
|
|
|
|
filterCompanyCert(this.certQuery)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
|
|
|
|
this.certLoading = false;
|
|
|
|
this.certLoading = false;
|
|
|
|
this.certList = response.data.list || [];
|
|
|
|
this.certList = response.data.list || [];
|
|
|
|
this.certTotal=response.data.total
|
|
|
|
this.certTotal=response.data.total
|
|
|
|