| | |
| | | <!-- |
| | | * @Description: |
| | | * @version: |
| | | * @Author: chen jing wu |
| | | * @Date: 2023-09-09 13:28:00 |
| | | * @LastEditors: chen jing wu |
| | | * @LastEditTime: 2023-09-23 12:14:01 |
| | | --> |
| | | <template> |
| | | <!-- <lightning-button label="Show Toast" onclick={ShowToastEvent}></lightning-button> --> |
| | | <!-- 成功 --> |
| | | <div> |
| | | |
| | | <!-- 成功 --> |
| | | <div style="float:right" > |
| | | <div class="demo-only demo-only_viewport" style="height:4.5rem;" if:true = {Tongzhishow}> |
| | | <div class="slds-notification-container" style={IsLeftStyle} > |
| | | <div aria-live="assertive" aria-atomic="true" class="slds-assistive-text">提示</div> |
| | | <section class="slds-notification" role="dialog" aria-labelledby="noti77" aria-describedby="dialog-body-id-43"> |
| | | <div class="slds-notification__body" id="dialog-body-id-43"> |
| | | <a class="slds-notification__target slds-media" href="#" style={BgColorStyle}> |
| | | <span class="slds-icon_container slds-icon-standard-task slds-media__figure" title="task"> |
| | | <lightning-icon icon-name={TongzhiIcon} alternative-text="Account" title="Account"></lightning-icon> |
| | | </span> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-text-heading_small slds-m-bottom_xx-small" id="noti77"> |
| | | <span class="slds-assistive-text">task notification:</span>提示</h2> |
| | | <p>{SaveShowText}</p> |
| | | </div> |
| | | </a> |
| | | <button class="slds-button slds-button_icon slds-button_icon-container slds-notification__close" title="close"> |
| | | <lightning-icon icon-name="utility:close" alternative-text="close" title="close" size="x-small" onclick={CloseAlert}></lightning-icon> |
| | | </button> |
| | | </div> |
| | | <div> |
| | | <template if:true={visible}> |
| | | <template if:true={isSuccess}> |
| | | <div class="slds-notify_container slds-is-relative" style="position:absolute;top:1rem;left:1rem;right:1rem;position: fixed;z-index: 9999;"> |
| | | <div class="slds-notify slds-notify_toast slds-theme_success" role="status"> |
| | | <lightning-icon class="white" icon-name="utility:success" alternative-text="success" variant="inverse" size="small" ></lightning-icon> |
| | | <div class="slds-notify__content" style="padding-left: 20px;"> |
| | | <h2 style="color:white;font-size:large">{message}</h2> |
| | | </div> |
| | | <div class="slds-notify__close"> |
| | | <lightning-button-icon icon-name="utility:close" variant="bare-inverse" size="large" onclick={closeAction}></lightning-button-icon> |
| | | </div> |
| | | </div> |
| | | </section> |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="exampleHolder" if:true={IsLoading}> |
| | | <lightning-spinner alternative-text="Loading" size="large"></lightning-spinner> |
| | | </div> |
| | | <div style="height:600px;overflow:scroll;"> |
| | | <div style="display:inline"> |
| | | <!-- <div style="width:200px;float: left" > |
| | | </div> |
| | | <!-- <div style="position:absolute;top:1rem;left:1rem;right:1rem;position: fixed;z-index: 9999;"> |
| | | <div class="slds-notify_container slds-is-relative"> |
| | | <div class="slds-notify slds-notify_toast slds-theme_default slds-box slds-box_small" style="background-color:rgb(46, 132, 74);" role="success"> |
| | | <div class="slds-align_absolute-center"> |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | </template> |
| | | <template if:false={isSuccess}> |
| | | <!-- <div style="position:absolute;top:1rem;left:1rem;right:1rem;position: fixed;z-index: 9999;"> |
| | | <div class="slds-notify_container slds-is-relative"> |
| | | <div class="slds-notify slds-notify_toast slds-theme_default slds-box slds-box_small" style="background-color:rgb(234, 0, 30);" role="success"> |
| | | <div class="slds-align_right"> |
| | | |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | <div class="slds-notify_container slds-is-relative" style="position:absolute;top:1rem;left:1rem;right:1rem;position: fixed;z-index: 9999;"> |
| | | <div class="slds-notify slds-notify_toast slds-theme_error" role="status"> |
| | | <lightning-icon class="white" icon-name="utility:error" size="small" variant="inverse"></lightning-icon> |
| | | <div class="slds-notify__content" style="padding-left: 20px;"> |
| | | <h2 style="color:white;font-size:large">{message}</h2> |
| | | </div> |
| | | <div class="slds-notify__close"> |
| | | <lightning-button-icon icon-name="utility:close" variant="bare-inverse" size="large" onclick={closeAction}></lightning-button-icon> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </template> |
| | | </div> |
| | | <div class="exampleHolder" if:true={IsLoading}> |
| | | <lightning-spinner alternative-text="Loading" size="large"></lightning-spinner> |
| | | </div> |
| | | <div style="height:600px;overflow:scroll;"> |
| | | <div style="display:inline"> |
| | | <!-- <div style="width:200px;float: left" > |
| | | <label class="slds-form-element__label" for="select-02">询价编码:</label> |
| | | <div class="slds-form-element__control"> |
| | | <input type="text" style="width:200px" id="text-input-id-1" placeholder="请输入询价编码" required="" onchange={handleXJBMFn} aria-describedby="error-message-unique-id" class="slds-input" aria-invalid="true" /> |
| | |
| | | |
| | | </div> --> |
| | | |
| | | <div style="width: 500px;float: left;margin-left: 10px;"> |
| | | <!-- <div style="width: 450px;float: left;margin-left: 10px;"> --> |
| | | <!-- <c-jzlookupv3 data-parent-id="lookup1" label="关联医院" placeholder="请选择关联医院.." onsearchchange={onsearchchange} searchdata={searchdata} option={option} onselected={selectedFn}> </c-jzlookupv3> --> |
| | | <div style="width: 500px;float: left;margin-left: 10px;"> |
| | | <!-- <div style="width: 450px;float: left;margin-left: 10px;"> --> |
| | | <!-- <c-jzlookupv3 data-parent-id="lookup1" label="关联医院" placeholder="请选择关联医院.." onsearchchange={onsearchchange} searchdata={searchdata} option={option} onselected={selectedFn}> </c-jzlookupv3> --> |
| | | |
| | | <c-jzlookuplightning data-parent-id="lookup1" onsearchchange={onsearchchange1} objectname="Tender_information__c" fieldname="Hospital__c" > </c-jzlookuplightning> |
| | | |
| | | </div> |
| | | |
| | | <c-jzlookuplightning data-parent-id="lookup1" onsearchchange={onsearchchange1} |
| | | objectname="Tender_information__c" fieldname="Hospital__c"> </c-jzlookuplightning> |
| | | |
| | | </div> |
| | | |
| | | <button style="margin-top:24px" class="slds-button slds-button_brand" onclick={SearchFn}>检索</button> |
| | | |
| | | <button style="margin-top:24px" class="slds-button slds-button_brand" onclick={SaveFn}>保存</button> |
| | | |
| | | <c-jz-table data-parent-id="table1" selecttitle={selecttitle} notselecttitle={notselecttitle} selectdata={selectdata} isselectedtable={isselectedtable} optionsdata={optionsdata} notselectdata={notselectdata} ondatachange={datachange} onselectedchange={selectedchange} onurlclick={urlClickFn}> </c-jz-table> |
| | | |
| | | </div> |
| | | |
| | | <button style="margin-top:24px" class="slds-button slds-button_brand" onclick={SearchFn}>检索</button> |
| | | |
| | | <button style="margin-top:24px" class="slds-button slds-button_brand" onclick={SaveFn}>保存</button> |
| | | |
| | | <c-jz-table data-parent-id="table1" selecttitle={selecttitle} notselecttitle={notselecttitle} |
| | | selectdata={selectdata} isselectedtable={isselectedtable} optionsdata={optionsdata} notselectdata={notselectdata} |
| | | ondatachange={datachange} onselectedchange={selectedchange} onurlclick={urlClickFn}> </c-jz-table> |
| | | |
| | | </div> |
| | | |
| | | </template> |