同步自助平台代码

feature-order-fix
zhengmingliang 2 years ago
parent 0e91e27c59
commit 31bfb201e1

@ -271,6 +271,9 @@ export default {
onSubmit() {
this.loading = true;
this.formData.customerId = this.inputQuery.customerId;
if(this.formData.customerId==null){
this.formData.customerId=store.getters.customerId
}
this.formData.type = this.addType;
//1:2.3.
if (this.addType == 2) {

@ -87,6 +87,7 @@
</el-table>
<el-pagination
:page-size="filterQuery.limit"
:current-page.sync="filterQuery.page"
@current-change="handleCurrentChange"
layout="prev, pager, next"
:total="total"
@ -187,6 +188,7 @@
</el-table>
<el-pagination
:page-size="filterManufacturerQuery.limit"
:current-page.sync="filterManufacturerQuery.page"
@current-change="handleManuChange"
layout="prev, pager, next"
:total="manufacturerTotal"
@ -292,6 +294,7 @@
</el-table>
<el-pagination
:page-size="registrationQuery.limit"
:current-page.sync="registrationQuery.page"
@current-change="certHandleCurrentChange"
layout="prev, pager, next"
:total="certTotal"
@ -553,7 +556,7 @@ export default {
.then((response) => {
this.manufacturerLoading = false;
this.manufacturerList = response.data.list || [];
this.total = response.data.total || 0;
this.manufacturerTotal = response.data.total || 0;
})
.catch(() => {
this.manufacturerLoading = false;
@ -575,10 +578,14 @@ export default {
this.addInfoVisible = true;
},
closeManufacturerDialog(type) {
if(type==true){
this.addInfoVisible = false;
this.enterpriseId = null;
this.manufacturerList = [];
this.getManufacturerList();
}else{
this.getManufacturerList();
}
},
handleManuChange(val) {
@ -639,6 +646,7 @@ export default {
.then((response) => {
this.registrationLoading = false;
this.registrationList = response.data.list || [];
this.certTotal= response.data.total
})
.catch(() => {
this.registrationLoading = false;
@ -647,7 +655,7 @@ export default {
},
certHandleCurrentChange(val) {
this.registrationQuery.page = val;
this.registrationList();
this.getRegistrationList();
}
},

@ -22,6 +22,7 @@
<el-option label="全部" value=""></el-option>
<el-option label="草稿" value="0"></el-option>
<el-option label="未审核" value="6"></el-option>
<el-option label="变更未审核" value="3"></el-option>
<el-option label="已审核" value="1"></el-option>
<el-option label="已拒绝" value="2"></el-option>
</el-select>
@ -93,6 +94,7 @@
</el-table>
<el-pagination
:page-size="filterQuery.limit"
:current-page.sync="filterQuery.page"
@current-change="handleCurrentChange"
layout="prev, pager, next"
:total="total"
@ -195,6 +197,7 @@
</el-table>
<el-pagination
:page-size="registrationQuery.limit"
:current-page.sync="registrationQuery.page"
@current-change="certHandleCurrentChange"
layout="prev, pager, next"
:total="certTotal"
@ -353,6 +356,7 @@ export default {
this.registrationList = [];
},
onSubmit() {
this.filterQuery.page=1
this.getList();
this.registrationList = [];
},
@ -470,6 +474,7 @@ export default {
this.$message.error("请先选中生产企业!");
return
}
this.registrationQuery.page=1;
this.getRegistrationList();
},
registrationDialog(row) {
@ -538,6 +543,7 @@ export default {
.then((response) => {
this.registrationLoading = false;
this.registrationList = response.data.list || [];
this.certTotal = response.data.total;
})
.catch(() => {
this.registrationLoading = false;
@ -550,7 +556,7 @@ export default {
},
certHandleCurrentChange(val) {
this.registrationQuery.page = val;
this.registrationList();
this.getRegistrationList();
}
},

@ -505,13 +505,13 @@ export default {
this.certLoading = true;
this.certQuery.customerId = this.inputQuery.customerId;
this.certQuery.type = 1;
if(this.editType==2){
this.certQuery.auditStatus=25;
}
this.certQuery.auditStatus=25;
filterCompanyCert(this.certQuery)
.then((response) => {
this.certLoading = false;
this.certList = response.data.list || [];
this.certTotal=response.data.total
})
.catch(() => {
this.certLoading = false;

@ -610,6 +610,7 @@ export default {
.then((response) => {
this.certLoading = false;
this.certList = response.data.list || [];
this.certTotal=response.data.total;
})
.catch(() => {
this.certLoading = false;

@ -427,7 +427,9 @@ export default {
this.selectedOptions = this.inputQuery.placeAreaCode.split(",");
if(this.inputQuery.productionAreaCode!=null){
this.selectedOptions2 = this.inputQuery.productionAreaCode.split(",");
}
this.getCompanyCertList();
this.findMethod();
@ -460,6 +462,7 @@ export default {
}
});
}).catch(() => {
this.addCloseDialog(false);
});
},
@ -502,6 +505,7 @@ export default {
.then((response) => {
this.certLoading = false;
this.certList = response.data.list || [];
this.certTotal=response.data.total;
})
.catch(() => {
this.certLoading = false;

@ -561,6 +561,7 @@ export default {
.then((response) => {
this.certLoading = false;
this.certList = response.data.list || [];
this.certTotal=response.data.total
})
.catch(() => {
this.certLoading = false;

@ -589,6 +589,7 @@ export default {
.then((response) => {
this.certLoading = false;
this.certList = response.data.list || [];
this.certTotal=response.data.total;
})
.catch(() => {
this.certLoading = false;

@ -710,6 +710,10 @@ export default {
}).catch(() => {
});
},
certHandleCurrentChange(val) {
this.certQuery.page = val;
this.getCompanyCertList();
},
getCompanyCertList() {
this.certLoading = true;
this.certQuery.customerId = this.inputQuery.customerId;
@ -719,6 +723,7 @@ export default {
.then((response) => {
this.certLoading = false;
this.certList = response.data.list || [];
this.certTotal=response.data.total
})
.catch(() => {
this.certLoading = false;

Loading…
Cancel
Save