|
@@ -700,7 +700,7 @@ const copyDialog1 = ref(false)
|
|
|
const ruleCopy = (id: string) => {
|
|
const ruleCopy = (id: string) => {
|
|
|
agreementId.value = ''
|
|
agreementId.value = ''
|
|
|
ruleId.value = id
|
|
ruleId.value = id
|
|
|
- api.agreementApi.agreementList({ size: 10000, }).then((res: any) => {
|
|
|
|
|
|
|
+ api.agreementApi.agreementList({ size: 10000,companyId:agreementInfo.value.companyId }).then((res: any) => {
|
|
|
if (res.code == '200') {
|
|
if (res.code == '200') {
|
|
|
agreementList.value = res.data.records;
|
|
agreementList.value = res.data.records;
|
|
|
}
|
|
}
|
|
@@ -926,7 +926,7 @@ const handleCopy = (row) => {
|
|
|
agreementId.value = ''
|
|
agreementId.value = ''
|
|
|
coverRuleId.value = ''
|
|
coverRuleId.value = ''
|
|
|
costId.value = row.id
|
|
costId.value = row.id
|
|
|
- api.agreementApi.agreementList({ size: 10000, }).then((res: any) => {
|
|
|
|
|
|
|
+ api.agreementApi.agreementList({ size: 10000,companyId:agreementInfo.value.companyId }).then((res: any) => {
|
|
|
if (res.code == '200') {
|
|
if (res.code == '200') {
|
|
|
agreementList.value = res.data.records;
|
|
agreementList.value = res.data.records;
|
|
|
}
|
|
}
|