19626
2023-10-31 fd9df05c48c09b4d7f39a3b401882bda226dedea
force-app/main/default/lwc/relevant/relevant.html
@@ -53,7 +53,7 @@
          <div style="font-size:10px;color:red" if:true={xgxLyFlag}>请选择是否有关联</div>
      </div>
    <div  if:true={isTrue}>
      <div class={bxgLy} if:true={isFou}>
        <!-- <label class="slds-form-element__label" for="select-02">不相关理由:</label>
        <select  class="slds-select"   onchange={handleIrrelevantFn} >
@@ -84,100 +84,104 @@
        </div>
        <div class="slds-form-element__help" id="error-message-unique-id" if:true={qtLyFlag}>其他理由不能为空</div>
      </div>
    </div>
    <div style={dispatchDivStyle}></div>
    <div>
      <c-jzlookuplightning if:true={isShi}  data-parent-id="lookup1"  onsearchchange={onsearchchange} objectname="Tender_information__c" fieldname="Hospital__c"  >   </c-jzlookuplightning>
     <div style="font-size:10px;color:red" if:true={isErrorShowYY}>请选择关联医院</div>
    <div style="font-size:10px;color:red" if:true={isHospitorCheck}>请检查关联医院对应的战略科室</div>
    <c-jzlookuplightning if:true={isShi}   data-parent-id="lookupyy1"  onsearchchange={onsearchchange1} objectname="Tender_information__c" fieldname="Hospital1__c"  >   </c-jzlookuplightning>
    <!-- <div style={dispatchDivStyle}></div> -->
  <div  if:true={isTrue}>
    <div if:true={isShi}>
      <div>
        <div style="margin-top: 20px; " if:true={isOther}> </div>
         <c-jzlookuplightning if:true={isShi}  data-parent-id="lookup1"  onsearchchange={onsearchchange} objectname="Tender_information__c" fieldname="Hospital__c"  >   </c-jzlookuplightning>
        <div style="font-size:10px;color:red" if:true={isErrorShowYY}>请选择关联医院</div>
       <div style="font-size:10px;color:red" if:true={isHospitorCheck}>请检查关联医院对应的战略科室</div>
   
    <!-- <c-jzlookupv3 if:true={isShi} data-parent-id="lookupyy1" label="关联医院1" placeholder="请选择关联医院1.."  onsearchchange={onsearchchange1} searchdata={searchdata1} option={option1} onselected={selected1} onclear={onclearYY1} >   </c-jzlookupv3> -->
   
    <c-jzlookuplightning if:true={isShi}   data-parent-id="lookupyy2"  onsearchchange={onsearchchange2} objectname="Tender_information__c" fieldname="Hospital2__c"  >   </c-jzlookuplightning>
       <c-jzlookuplightning if:true={isShi}   data-parent-id="lookupyy1"  onsearchchange={onsearchchange1} objectname="Tender_information__c" fieldname="Hospital1__c"  >   </c-jzlookuplightning>
       <!-- <c-jzlookupv3 if:true={isShi} data-parent-id="lookupyy1" label="关联医院1" placeholder="请选择关联医院1.."  onsearchchange={onsearchchange1} searchdata={searchdata1} option={option1} onselected={selected1} onclear={onclearYY1} >   </c-jzlookupv3> -->
       <c-jzlookuplightning if:true={isShi}   data-parent-id="lookupyy2"  onsearchchange={onsearchchange2} objectname="Tender_information__c" fieldname="Hospital2__c"  >   </c-jzlookuplightning>
       <!-- <c-jzlookupv3 if:true={isShi} data-parent-id="lookupyy2" label="关联医院2" placeholder="请选择关联医院2.."  onsearchchange={onsearchchange2} searchdata={searchdata2} option={option2} onselected={selected2} onclear={onclearYY2} >   </c-jzlookupv3> -->
       <c-jzlookuplightning if:true={isShi}   data-parent-id="lookupyy3"  onsearchchange={onsearchchange3} objectname="Tender_information__c" fieldname="Hospital3__c"  >   </c-jzlookuplightning>
       <!-- <c-jzlookupv3 if:true={isShi} data-parent-id="lookupyy3" label="关联医院3" placeholder="请选择关联医院3.."  onsearchchange={onsearchchange3} searchdata={searchdata3} option={option3} onselected={selected3} onclear={onclearYY3} >   </c-jzlookupv3> -->
       <c-jzlookuplightning if:true={isShi}   data-parent-id="lookupyy4"  onsearchchange={onsearchchange4} objectname="Tender_information__c" fieldname="Hospital4__c"  >   </c-jzlookuplightning>
       <!-- <c-jzlookupv3 if:true={isShi} data-parent-id="lookupyy4" label="关联医院4" placeholder="请选择关联医院4.."  onsearchchange={onsearchchange4} searchdata={searchdata4} option={option4} onselected={selected4} onclear={onclearYY4} >   </c-jzlookupv3> -->
     </div>
   
    <!-- <c-jzlookupv3 if:true={isShi} data-parent-id="lookupyy2" label="关联医院2" placeholder="请选择关联医院2.."  onsearchchange={onsearchchange2} searchdata={searchdata2} option={option2} onselected={selected2} onclear={onclearYY2} >   </c-jzlookupv3> -->
       <c-jzlookupv3 if:true={isDisable} data-parent-id="lookupfzr" label="项目负责人" placeholder="请选择项目负责人.."  onsearchchange={onsearchchange5} searchdata={searchdata5} option={option5} onselected={selected5} onclear={onclearFZR5} >   </c-jzlookupv3>
       <div style="font-size:10px;color:red" if:true={isErrorShowFZR}>请选择项目负责人</div>
   
    <c-jzlookuplightning if:true={isShi}   data-parent-id="lookupyy3"  onsearchchange={onsearchchange3} objectname="Tender_information__c" fieldname="Hospital3__c"  >   </c-jzlookuplightning>
    <!-- <c-jzlookupv3 if:true={isShi} data-parent-id="lookupyy3" label="关联医院3" placeholder="请选择关联医院3.."  onsearchchange={onsearchchange3} searchdata={searchdata3} option={option3} onselected={selected3} onclear={onclearYY3} >   </c-jzlookupv3> -->
       <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup2" label="关联主战略科室" placeholder="请选择主战略科室.."  onsearchchange={onsearchchangeZLKS} searchdata={searchdataZLKS} option={optionZLKS} onselected={selectedZLKS} onclear={onclearZLKS}  ></c-jzlookupv3>
       <div style="font-size:10px;color:red" if:true={isErrorShowZLKS}>请选择关联主战略科室</div>
       <div style="font-size:10px;color:red" if:true={isrepeate1}>战略科室不能重复选着</div>
   
    <c-jzlookuplightning if:true={isShi}   data-parent-id="lookupyy4"  onsearchchange={onsearchchange4} objectname="Tender_information__c" fieldname="Hospital4__c"  >   </c-jzlookuplightning>
    <!-- <c-jzlookupv3 if:true={isShi} data-parent-id="lookupyy4" label="关联医院4" placeholder="请选择关联医院4.."  onsearchchange={onsearchchange4} searchdata={searchdata4} option={option4} onselected={selected4} onclear={onclearYY4} >   </c-jzlookupv3> -->
   
       <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup3" label="关联副战略科室1" placeholder="请选择副战略科室1.."  onsearchchange={onsearchchangeZLKS1} searchdata={searchdataZLKS1} option={optionZLKS1} onselected={selectedZLKS1} onclear={onclearZLKS1} onsearchclick={InitZLKS1} > </c-jzlookupv3>
       <div style="font-size:10px;color:red" if:true={isrepeate2}>战略科室不能重复选着</div>
       <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup4" label="关联副战略科室2" placeholder="请选择副战略科室2.."  onsearchchange={onsearchchangeZLKS2} searchdata={searchdataZLKS2} option={optionZLKS2} onselected={selectedZLKS2} onclear={onclearZLKS2}> </c-jzlookupv3>
       <div style="font-size:10px;color:red" if:true={isrepeate3}>战略科室不能重复选着</div>
       <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup5" label="关联副战略科室3" placeholder="请选择副战略科室3.."  onsearchchange={onsearchchangeZLKS3} searchdata={searchdataZLKS3} option={optionZLKS3} onselected={selectedZLKS3} onclear={onclearZLKS3}> </c-jzlookupv3>
        <div style="font-size:10px;color:red" if:true={isrepeate4}>战略科室不能重复选着</div>
       <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup6" label="关联副战略科室4" placeholder="请选择副战略科室4.."  onsearchchange={onsearchchangeZLKS4} searchdata={searchdataZLKS4} option={optionZLKS4} onselected={selectedZLKS4} onclear={onclearZLKS4}> </c-jzlookupv3>
        <div style="font-size:10px;color:red" if:true={isrepeate5}>战略科室不能重复选着</div>
        <fieldset class="slds-form-element" >
         <legend class="slds-form-element__legend slds-form-element__label">关联战略科室</legend>
         <div class="slds-form-element__control">
           <div class="slds-checkbox" style="float: left;">
             <input type="checkbox" data-parent-id="unique297" name="options" id="checkbox-unique-id-297" value="01210000000QemLAAS" checked={uniqueid297} onchange={checkbox297} />
             <label class="slds-checkbox__label" for="checkbox-unique-id-297">
               <span class="slds-checkbox_faux"></span>
               <span class="slds-form-element__label">消化科</span>
             </label>
           </div>
           <div class="slds-checkbox" style="float: left;">
             <input type="checkbox" data-parent-id="unique298" name="options" id="checkbox-unique-id-298" value="01210000000QezZAAS" checked={uniqueid298} onchange={checkbox298}/>
             <label class="slds-checkbox__label" for="checkbox-unique-id-298">
               <span class="slds-checkbox_faux"></span>
               <span class="slds-form-element__label">呼吸科</span>
             </label>
           </div>
           <div class="slds-checkbox" style="float: left;">
             <input type="checkbox" data-parent-id="unique299" name="options" id="checkbox-unique-id-299" value="01210000000QezeAAC" checked={uniqueid299} onchange={checkbox299}/>
             <label class="slds-checkbox__label" for="checkbox-unique-id-299">
               <span class="slds-checkbox_faux"></span>
               <span class="slds-form-element__label">普外科</span>
             </label>
           </div>
           <div class="slds-checkbox" style="float: left;">
             <input type="checkbox" data-parent-id="unique300" name="options" id="checkbox-unique-id-300" value="01210000000QezjAAC" checked={uniqueid300} onchange={checkbox300}/>
             <label class="slds-checkbox__label" for="checkbox-unique-id-300">
               <span class="slds-checkbox_faux"></span>
               <span class="slds-form-element__label">泌尿科</span>
             </label>
           </div>
           <div class="slds-checkbox" style="float: left;">
             <input type="checkbox" data-parent-id="unique301" name="options" id="checkbox-unique-id-301" value="01210000000QezoAAC" checked={uniqueid301} onchange={checkbox301}/>
             <label class="slds-checkbox__label" for="checkbox-unique-id-301">
               <span class="slds-checkbox_faux"></span>
               <span class="slds-form-element__label">妇科</span>
             </label>
           </div>
           <div class="slds-checkbox" style="float: left;">
             <input type="checkbox" data-parent-id="unique302" name="options" id="checkbox-unique-id-302" value="01210000000QeztAAC" checked={uniqueid302} onchange={checkbox302}/>
             <label class="slds-checkbox__label" for="checkbox-unique-id-302">
               <span class="slds-checkbox_faux"></span>
               <span class="slds-form-element__label">耳鼻喉科</span>
             </label>
           </div>
         </div>
       </fieldset>
    </div>
  </div>
    <c-jzlookupv3 if:true={isDisable} data-parent-id="lookupfzr" label="项目负责人" placeholder="请选择项目负责人.."  onsearchchange={onsearchchange5} searchdata={searchdata5} option={option5} onselected={selected5} onclear={onclearFZR5} >   </c-jzlookupv3>
    <div style="font-size:10px;color:red" if:true={isErrorShowFZR}>请选择项目负责人</div>
    <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup2" label="关联主战略科室" placeholder="请选择主战略科室.."  onsearchchange={onsearchchangeZLKS} searchdata={searchdataZLKS} option={optionZLKS} onselected={selectedZLKS} onclear={onclearZLKS}  ></c-jzlookupv3>
    <div style="font-size:10px;color:red" if:true={isErrorShowZLKS}>请选择关联主战略科室</div>
    <div style="font-size:10px;color:red" if:true={isrepeate1}>战略科室不能重复选着</div>
    <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup3" label="关联副战略科室1" placeholder="请选择副战略科室1.."  onsearchchange={onsearchchangeZLKS1} searchdata={searchdataZLKS1} option={optionZLKS1} onselected={selectedZLKS1} onclear={onclearZLKS1} onsearchclick={InitZLKS1} > </c-jzlookupv3>
    <div style="font-size:10px;color:red" if:true={isrepeate2}>战略科室不能重复选着</div>
    <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup4" label="关联副战略科室2" placeholder="请选择副战略科室2.."  onsearchchange={onsearchchangeZLKS2} searchdata={searchdataZLKS2} option={optionZLKS2} onselected={selectedZLKS2} onclear={onclearZLKS2}> </c-jzlookupv3>
    <div style="font-size:10px;color:red" if:true={isrepeate3}>战略科室不能重复选着</div>
    <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup5" label="关联副战略科室3" placeholder="请选择副战略科室3.."  onsearchchange={onsearchchangeZLKS3} searchdata={searchdataZLKS3} option={optionZLKS3} onselected={selectedZLKS3} onclear={onclearZLKS3}> </c-jzlookupv3>
     <div style="font-size:10px;color:red" if:true={isrepeate4}>战略科室不能重复选着</div>
    <c-jzlookupv3 if:true={isDisable} data-parent-id="lookup6" label="关联副战略科室4" placeholder="请选择副战略科室4.."  onsearchchange={onsearchchangeZLKS4} searchdata={searchdataZLKS4} option={optionZLKS4} onselected={selectedZLKS4} onclear={onclearZLKS4}> </c-jzlookupv3>
     <div style="font-size:10px;color:red" if:true={isrepeate5}>战略科室不能重复选着</div>
     <fieldset class="slds-form-element" >
      <legend class="slds-form-element__legend slds-form-element__label">关联战略科室</legend>
      <div class="slds-form-element__control">
        <div class="slds-checkbox" style="float: left;">
          <input type="checkbox" data-parent-id="unique297" name="options" id="checkbox-unique-id-297" value="01210000000QemLAAS" checked={uniqueid297} onchange={checkbox297} />
          <label class="slds-checkbox__label" for="checkbox-unique-id-297">
            <span class="slds-checkbox_faux"></span>
            <span class="slds-form-element__label">消化科</span>
          </label>
        </div>
        <div class="slds-checkbox" style="float: left;">
          <input type="checkbox" data-parent-id="unique298" name="options" id="checkbox-unique-id-298" value="01210000000QezZAAS" checked={uniqueid298} onchange={checkbox298}/>
          <label class="slds-checkbox__label" for="checkbox-unique-id-298">
            <span class="slds-checkbox_faux"></span>
            <span class="slds-form-element__label">呼吸科</span>
          </label>
        </div>
        <div class="slds-checkbox" style="float: left;">
          <input type="checkbox" data-parent-id="unique299" name="options" id="checkbox-unique-id-299" value="01210000000QezeAAC" checked={uniqueid299} onchange={checkbox299}/>
          <label class="slds-checkbox__label" for="checkbox-unique-id-299">
            <span class="slds-checkbox_faux"></span>
            <span class="slds-form-element__label">普外科</span>
          </label>
        </div>
        <div class="slds-checkbox" style="float: left;">
          <input type="checkbox" data-parent-id="unique300" name="options" id="checkbox-unique-id-300" value="01210000000QezjAAC" checked={uniqueid300} onchange={checkbox300}/>
          <label class="slds-checkbox__label" for="checkbox-unique-id-300">
            <span class="slds-checkbox_faux"></span>
            <span class="slds-form-element__label">泌尿科</span>
          </label>
        </div>
        <div class="slds-checkbox" style="float: left;">
          <input type="checkbox" data-parent-id="unique301" name="options" id="checkbox-unique-id-301" value="01210000000QezoAAC" checked={uniqueid301} onchange={checkbox301}/>
          <label class="slds-checkbox__label" for="checkbox-unique-id-301">
            <span class="slds-checkbox_faux"></span>
            <span class="slds-form-element__label">妇科</span>
          </label>
        </div>
        <div class="slds-checkbox" style="float: left;">
          <input type="checkbox" data-parent-id="unique302" name="options" id="checkbox-unique-id-302" value="01210000000QeztAAC" checked={uniqueid302} onchange={checkbox302}/>
          <label class="slds-checkbox__label" for="checkbox-unique-id-302">
            <span class="slds-checkbox_faux"></span>
            <span class="slds-form-element__label">耳鼻喉科</span>
          </label>
        </div>
      </div>
    </fieldset>
    <!-- <div style="display: flex;">
      <div>
        <lightning-checkbox-group name="Checkbox Group"
@@ -190,7 +194,7 @@
      </div>
    </div>
     -->
    <button data-parent-id="saveButton1"   class="slds-button slds-button_brand" onclick={saveFn} style={dispatchButtonStyle} if:true={saveButtonShow}>保存</button>
    <button data-parent-id="saveButton1" style="margin-top: 20px;" class="slds-button slds-button_brand" onclick={saveFn} if:true={saveButtonShow}>保存</button>
</div>
</template>