From 3146e06e7002c8a0d0b7b44afa4710e90e73d1d0 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sun, 5 May 2024 10:01:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/marketing/MarketingBusinessOpportunity.php | 2 +- app/common/model/marketing/MarketingContract.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/model/marketing/MarketingBusinessOpportunity.php b/app/common/model/marketing/MarketingBusinessOpportunity.php index e3d4acbef..37b9c10c4 100644 --- a/app/common/model/marketing/MarketingBusinessOpportunity.php +++ b/app/common/model/marketing/MarketingBusinessOpportunity.php @@ -52,7 +52,7 @@ public function getFundSourcesTextAttr($value, $data) { - $dict = DictData::where('type_value', 'cost_consultation_fund_sources')->column('name', 'value'); + $dict = DictData::where('type_value', 'money_source')->column('name', 'value'); return !empty($data['fund_sources']) ? $dict[$data['fund_sources']] : ''; } diff --git a/app/common/model/marketing/MarketingContract.php b/app/common/model/marketing/MarketingContract.php index 77a47555d..3f99b7295 100644 --- a/app/common/model/marketing/MarketingContract.php +++ b/app/common/model/marketing/MarketingContract.php @@ -52,7 +52,7 @@ public function getFundSourcesTextAttr($value, $data) { - $dict = DictData::where('type_value', 'cost_consultation_fund_sources')->column('name', 'value'); + $dict = DictData::where('type_value', 'money_source')->column('name', 'value'); return !empty($data['fund_sources']) ? $dict[$data['fund_sources']] : ''; }