From 91f850751b85ab0125679a6ea446cbd8a622b46d Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 05 六月 2023 14:38:16 +0800
Subject: [PATCH] LEX Community UpdateComponent
---
force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js b/force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js
index 08dc0d3..153ee76 100644
--- a/force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js
+++ b/force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js
@@ -12,6 +12,9 @@
import customTableCellIconTemplate from './customTableCellIcon.html';
import customOutboundCountTemplate from './customOutboundCount.html';
import customWeeklyReportTemplate from './customWeeklyReport.html';
+import customAgencyOppInputTemplate from './customAgencyOppInput.html';
+import customMyDrCheckBoxTemplate from './customMyDrCheckBox.html';
+import customdeleteReasonTemplate from './customdeleteReason.html';
import { loadStyle} from 'lightning/platformResourceLoader';
import LexCustomDataTable from '@salesforce/resourceUrl/LexCustomDataTable';
@@ -19,7 +22,7 @@
static customTypes = {
customUnit: {
template: customUnitTemplate,
- typeAttributes: ['unitValue','unitOptions','recordId'],
+ typeAttributes: ['unitValue','unitOptions','recordId','isDisabled'],
},
customShipment: {
template: customShipmentNumberTemplate,
@@ -68,7 +71,19 @@
weeklyReport:{
template: customWeeklyReportTemplate,
typeAttributes:['recordId','hospitalName','isShowButton'],
- }
+ },
+ agencyOppInput:{
+ template: customAgencyOppInputTemplate,
+ typeAttributes:['inputValue','recordId','fieldName','showType'],
+ },
+ MyDrCheckBox:{
+ template: customMyDrCheckBoxTemplate,
+ typeAttributes:['recordId','isCheckedMyDr'],
+ },
+ deleteReason:{
+ template: customdeleteReasonTemplate,
+ typeAttributes:['recordId'],
+ },
};
constructor() {
super();
--
Gitblit v1.9.1