| force-app/main/default/lwc/lexRentalFixtureSetSelect/lexRentalFixtureSetSelect.css | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| force-app/main/default/lwc/lexRentalFixtureSetSelect/lexRentalFixtureSetSelect.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| force-app/main/default/lwc/lexRentalFixtureSetSelect/lexRentalFixtureSetSelect.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| force-app/main/default/lwc/lexRentalFixtureSetSelect/lexRentalFixtureSetSelect.js-meta.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| force-app/main/default/lwc/lexSplitApplyFlowLWC/lexSplitApplyFlowLWC.css | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| force-app/main/default/lwc/lexSplitApplyFlowLWC/lexSplitApplyFlowLWC.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| force-app/main/default/lwc/lexSplitApplyFlowLWC/lexSplitApplyFlowLWC.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| force-app/main/default/lwc/lexSplitApplyFlowLWC/lexSplitApplyFlowLWC.js-meta.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
force-app/main/default/lwc/lexRentalFixtureSetSelect/lexRentalFixtureSetSelect.css
New file @@ -0,0 +1,7 @@ .Holder{ position: relative; display: inline-block; width: 80px; height: 80px; text-align: center; } force-app/main/default/lwc/lexRentalFixtureSetSelect/lexRentalFixtureSetSelect.html
New file @@ -0,0 +1,5 @@ <template> <div class="Holder" if:true={IsLoading}> <lightning-spinner alternative-text="Loading" size="medium"></lightning-spinner> </div> </template> force-app/main/default/lwc/lexRentalFixtureSetSelect/lexRentalFixtureSetSelect.js
New file @@ -0,0 +1,16 @@ import { LightningElement,api, track, wire } from 'lwc'; import {CurrentPageReference} from 'lightning/navigation'; import { CloseActionScreenEvent } from 'lightning/actions'; import { ShowToastEvent } from 'lightning/platformShowToastEvent'; import { NavigationMixin } from 'lightning/navigation'; // 2023/05/12 借出备品配套一览 选择配套按钮 export default class lexRentalFixtureSetSelect extends NavigationMixin(LightningElement) { @api recordId; IsLoading=true; connectedCallback(){ if (this.recordId) { window.open("/apex/RentalFixtureSetSelect?pt_recid="+this.recordId, "_top"); } } } force-app/main/default/lwc/lexRentalFixtureSetSelect/lexRentalFixtureSetSelect.js-meta.xml
New file @@ -0,0 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="lexSplitApply"> <apiVersion>51.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightning__AppPage</target> <target>lightning__RecordPage</target> <target>lightning__HomePage</target> <target>lightning__RecordAction</target> <target>lightning__FlowScreen</target> </targets> <targetConfigs> <targetConfig targets="lightning__FlowScreen"> <property name="recordId" type="String" label="recordId"/> </targetConfig> </targetConfigs> </LightningComponentBundle> force-app/main/default/lwc/lexSplitApplyFlowLWC/lexSplitApplyFlowLWC.css
New file @@ -0,0 +1,22 @@ .holder{ position: relative; display: inline-block; width: 80px; height: 80px; text-align: center; } .container .uiContainerManager{ display : none !important; } .toast{ border: 1px solid #c9c9c9; border-radius: 10px; width: 50%; margin: 0 auto; font-size: 18px; font-weight: bold; padding: 10px 20px; background: #feb75d; display: flex; } force-app/main/default/lwc/lexSplitApplyFlowLWC/lexSplitApplyFlowLWC.html
New file @@ -0,0 +1,29 @@ <template> <div class="holder" if:true={IsLoading}> <lightning-spinner alternative-text="Loading" size="medium"></lightning-spinner> </div> <div if:false={IsLoading} class="toast"> <span style="padding: 10px;">{msg}</span> <button class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse" onclick={closeAction} title="Close" style="background-color: #e5e4e2;margin-top: 15px;"> <lightning-icon class="greyIcon" icon-name="utility:close" alternative-text="Connected" variant="inverse" size="small" title="Close" style="color: black;"></lightning-icon> <span class="slds-assistive-text">Close</span> </button> <!-- <lightning:icon iconName="utility:warning" alternativeText="Warning!" title="Warning" /> --> </div> <!-- <section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1" if:false={IsLoading}> <div class="slds-modal__container"> <header class="slds-modal__header" style="color: black;"> <h2 id="modal-heading-01" class="slds-modal__title slds-hyphenate">请选择借出备品一览记录</h2> </header> <div style="height: 100px;"> <div class="rewardDetailsTitle">Details</div> </div> <footer class="slds-modal__footer"> <lightning-button variant="brand" label="确定" class="slds-var-m-left_x-small" onclick={handleSubmit}></lightning-button> </footer> </div> </section> --> </template> force-app/main/default/lwc/lexSplitApplyFlowLWC/lexSplitApplyFlowLWC.js
New file @@ -0,0 +1,27 @@ import { LightningElement,api, track, wire } from 'lwc'; import {CurrentPageReference} from 'lightning/navigation'; import { CloseActionScreenEvent } from 'lightning/actions'; import { ShowToastEvent } from 'lightning/platformShowToastEvent'; import { NavigationMixin } from 'lightning/navigation'; // 2023/05/11 借出备品配套一览 分单按钮 export default class lexSplitApplyFlowLWC extends NavigationMixin(LightningElement) { @api recordId; //只获取当前list选中的一览Id @api rentalApplyIds; IsLoading=true; //提示信息 msg; connectedCallback(){ if (this.recordId && JSON.stringify(this.rentalApplyIds)) { window.open("/apex/RentalApplySplit?objId="+this.recordId+"&raesIds="+this.rentalApplyIds, 'RentalApplySplit', 'width=600,height=200'); }else{ this.msg = '请选择借出备品一览记录'; this.IsLoading = false; } } closeAction(event) { //返回当前的备品申请 window.open("/"+this.recordId,'_self'); } } force-app/main/default/lwc/lexSplitApplyFlowLWC/lexSplitApplyFlowLWC.js-meta.xml
New file @@ -0,0 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="lexSplitApply"> <apiVersion>51.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightning__AppPage</target> <target>lightning__RecordPage</target> <target>lightning__HomePage</target> <target>lightning__RecordAction</target> <target>lightning__FlowScreen</target> </targets> <targetConfigs> <targetConfig targets="lightning__FlowScreen"> <property name="recordId" type="String" label="recordId"/> <property name="rentalApplyIds" type="String[]" label="rentalApplyIds"/> </targetConfig> </targetConfigs> </LightningComponentBundle>