| | |
| | | return JSON.serialize(arrays); |
| | | } |
| | | |
| | | @AuraEnabled |
| | | public static Boolean cannotModifyIsRelateProject(String Id){ |
| | | Boolean cannotModify = false; |
| | | String profileIds = System.Label.Tender_IsnotRelated_ModifyDisable; |
| | | // 判断当前用户简档 |
| | | if (profileIds.contains(UserInfo.getProfileId())) { |
| | | // 获取招标项目 判断相关性 |
| | | Tender_information__c tender = [select Id, IsRelateProject__c from Tender_information__c where Id = :Id]; |
| | | if (tender != null && '是'.equals(tender.IsRelateProject__c)) { |
| | | cannotModify = true; |
| | | } |
| | | } |
| | | return cannotModify; |
| | | } |
| | | |
| | | |
| | | //招投标项目列表字段 irrelevantReasons__c 所有的值 |
| | | @AuraEnabled |
| | |
| | | return JsonData; |
| | | } |
| | | |
| | | |
| | | //20220913 you SWAG-CJ3DS5 start |
| | | //招投标项目列表字段 irresponsibleReason__c 所有的值 |
| | | @AuraEnabled |
| | | public static string GetproInvolvedManual(){ |
| | | String JsonData = CommonUtils.GetSelectedValues( Tender_information__c.proInvolvedManual__c.getDescribe()); |
| | | return JsonData; |
| | | } |
| | | //20220913 you SWAG-CJ3DS5 end |
| | | |
| | | |
| | | // 产品类 |