|  | @@ -36,21 +36,6 @@
 | 
	
		
			
				|  |  |                                      :is="tabList[index].components"
 | 
	
		
			
				|  |  |                                      :patData="huanZheXinXi"
 | 
	
		
			
				|  |  |                              />
 | 
	
		
			
				|  |  | -                            <!--                            <div v-if="item.label === '早孕登记'">-->
 | 
	
		
			
				|  |  | -                            <!--                                <EarlyPregnancyRegistration></EarlyPregnancyRegistration>-->
 | 
	
		
			
				|  |  | -                            <!--                            </div>-->
 | 
	
		
			
				|  |  | -                            <!--                            <div v-if="item.label === '病史询问'">-->
 | 
	
		
			
				|  |  | -                            <!--                                <MedicalHistoryTaking></MedicalHistoryTaking>-->
 | 
	
		
			
				|  |  | -                            <!--                            </div>-->
 | 
	
		
			
				|  |  | -                            <!--                            <div v-if="item.label === '孕妇分娩'">-->
 | 
	
		
			
				|  |  | -                            <!--                                <IntrapartumManagement :patData="huanZheXinXi"></IntrapartumManagement>-->
 | 
	
		
			
				|  |  | -                            <!--                            </div>-->
 | 
	
		
			
				|  |  | -                            <!--              <div v-show="item.label === '儿童建卡(新生儿登记)'">-->
 | 
	
		
			
				|  |  | -                            <!--                <BirthRegistration :patData="huanZheXinXi"></BirthRegistration>-->
 | 
	
		
			
				|  |  | -                            <!--              </div>-->
 | 
	
		
			
				|  |  | -                            <!--                            <div v-if="item.label === '产后访视'">-->
 | 
	
		
			
				|  |  | -                            <!--                                <postpartumVisit :patientInfo="huanZheXinXi"></postpartumVisit>-->
 | 
	
		
			
				|  |  | -                            <!--                            </div>-->
 | 
	
		
			
				|  |  |                          </CyTabPane>
 | 
	
		
			
				|  |  |                          <!--                        <CyTabPane :name="0" label="早孕登记">
 | 
	
		
			
				|  |  |                                                                <!–              <iframe–>
 | 
	
	
		
			
				|  | @@ -130,9 +115,13 @@ import EarlyPregnancyRegistration
 | 
	
		
			
				|  |  |  import IntrapartumManagement from "@/views/hospitalization/zhu-yuan-yi-sheng/maternal-child/IntrapartumManagement.vue";
 | 
	
		
			
				|  |  |  import BirthRegistration from "@/views/hospitalization/zhu-yuan-yi-sheng/maternal-child/BirthRegistration.vue";
 | 
	
		
			
				|  |  |  import {useRoute} from "vue-router";
 | 
	
		
			
				|  |  | +import {ElMessage} from "element-plus";
 | 
	
		
			
				|  |  | +import requestFuYou from "@/utils/requestFuYou.js";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const route = useRoute();
 | 
	
		
			
				|  |  |  console.log('route.query',route);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +const fuYouInfo = ref(null);
 | 
	
		
			
				|  |  |  const tabsName = ref(0);
 | 
	
		
			
				|  |  |  const childTabsName = ref(0);
 | 
	
		
			
				|  |  |  const childTabsName1 = ref(0);
 | 
	
	
		
			
				|  | @@ -206,6 +195,33 @@ const iframeLoad = () => {
 | 
	
		
			
				|  |  |      console.log("iframeLoad----------------");
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +const queryPatientRegistrationInfo = () => {
 | 
	
		
			
				|  |  | +    if (huanZheXinXi.value.socialNo) {
 | 
	
		
			
				|  |  | +        ElMessage({
 | 
	
		
			
				|  |  | +            type: "warning",
 | 
	
		
			
				|  |  | +            duration: 4000,
 | 
	
		
			
				|  |  | +            dangerouslyUseHTMLString: true,
 | 
	
		
			
				|  |  | +            message: "请先完善患者身份证号",
 | 
	
		
			
				|  |  | +            showClose: true,
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +    let params = {
 | 
	
		
			
				|  |  | +        "source": "womanMain",
 | 
	
		
			
				|  |  | +        "remark": "孕妇建卡",
 | 
	
		
			
				|  |  | +        "operate": "get",
 | 
	
		
			
				|  |  | +        "data":
 | 
	
		
			
				|  |  | +                {
 | 
	
		
			
				|  |  | +                    "cardNo": huanZheXinXi.value.socialNo
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +    requestFuYou(JSON.stringify(params)).then(res => {
 | 
	
		
			
				|  |  | +        fuYouInfo.value = res.data
 | 
	
		
			
				|  |  | +        console.log('fuYouInfo---------', fuYouInfo.value)
 | 
	
		
			
				|  |  | +    }).catch(err => {
 | 
	
		
			
				|  |  | +        console.error(err)
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  const dianJiChaXunFuYou = () => {
 | 
	
		
			
				|  |  |      console.log("huanZheXinXi-----------", huanZheXinXi.value);
 | 
	
		
			
				|  |  |      handleChildTabsChange(childTabsName.value);
 | 
	
	
		
			
				|  | @@ -331,6 +347,10 @@ const handleChildTabsChange = val => {
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  onChangePatient(dianJiChaXunFuYou);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +onMounted(() => {
 | 
	
		
			
				|  |  | +    queryPatientRegistrationInfo()
 | 
	
		
			
				|  |  | +})
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  <style lang="scss" scoped>
 | 
	
		
			
				|  |  |  .layout_container {
 |