|
|
@@ -184,6 +184,7 @@ const fields = ref([
|
|
|
{
|
|
|
label: "保险公司", model: "companyId", type: "cascader", placeholder: "选择保险公司", options: company_list, props: companyIdprops, placement: 'left', onChange: (value: any) => {
|
|
|
formInline.companyId = value[value.length - 1];
|
|
|
+ getAgreement();
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -284,7 +285,7 @@ function agreement() {
|
|
|
});
|
|
|
}
|
|
|
const getAgreement = () => {
|
|
|
- api.agreementApi.agreementList({ pages: 1, size: 1000 }).then((res: any) => {
|
|
|
+ api.agreementApi.agreementList({ pages: 1, size: 1000, companyId: formInline.companyId }).then((res: any) => {
|
|
|
if (res.code == '200') {
|
|
|
agreementListALL.value = res.data.records;
|
|
|
} else {
|