Browse Source

生育备案

yeguodong 2 weeks ago
parent
commit
6df08f1de7

+ 2 - 2
src/views/medical-advice/patient-info/AdjustBed.vue

@@ -33,9 +33,9 @@
       <el-button type="primary" @click="openReceiveAdmDialog">入院接收</el-button>
       <el-button type="primary" @click="clearBedInfo">清除床位信息</el-button>
       <el-button type="primary" @click="addBedInfo">添加床位信息</el-button>
-      <el-button type="primary" @click="openPrebedDialog">
+<!--      <el-button type="primary" @click="openPrebedDialog">
         床位预分配确认
-      </el-button>
+      </el-button>-->
       <div
         style="
           float: left;

+ 60 - 6
src/views/medical-insurance/management/RecordManagement.vue

@@ -308,6 +308,51 @@
     <div style="height: 12px"></div>
   </el-dialog>
 
+    <el-dialog v-model="showSyRecord" width="70%" title="生育备案申请">
+        <el-row :gutter="5">
+            <el-col :span="8">
+                人员编号:
+                <el-input v-model="tempSyRecord.psnNo" disabled style="width: 160px"></el-input>
+            </el-col>
+            <el-col :span="8">
+                险种类型:
+                <el-input v-model="tempSyRecord.insutypeName" disabled style="width: 160px"></el-input>
+            </el-col>
+            <el-col :span="8">
+                联系电话:
+                <el-input v-model="tempSyRecord.tel" style="width: 160px"></el-input>
+            </el-col>
+        </el-row>
+        <div style="height: 12px"></div>
+        <el-row :gutter="5">
+            <el-col :span="8">
+                联系地址:
+                <el-input v-model="tempSyRecord.addr" style="width: 160px"></el-input>
+            </el-col>
+            <el-col :span="8">
+                参保地区:
+                <el-input v-model="tempSyRecord.insuAdmdvsName" disabled style="width: 160px"></el-input>
+            </el-col>
+        </el-row>
+        <div style="height: 12px"></div>
+        <el-row :gutter="5">
+            <el-col :span="8">
+                开始日期:
+                <el-date-picker v-model="tempSyRecord.begndate" style="width: 160px" type="date" format="YYYY-MM-DD" value-format="YYYY-MM-DD"></el-date-picker>
+            </el-col>
+            <el-col :span="8">
+                结束日期:
+                <el-date-picker v-model="tempSyRecord.enddate" style="width: 160px" type="date" format="YYYY-MM-DD" value-format="YYYY-MM-DD"></el-date-picker>
+            </el-col>
+        </el-row>
+        <div style="height: 12px"></div>
+        <div style="margin-top: 24px; width: 100%; text-align: right">
+            <el-button plain icon="Close" @click="showApplySpecialDiseaseRecord = false">放弃备案</el-button>
+            <el-button type="primary" icon="Check" @click="submitSpecialDiseaseRecord">提交备案</el-button>
+        </div>
+        <div style="height: 12px"></div>
+    </el-dialog>
+
   <el-dialog v-model="showAllAppliedSpecicalDiseaseRecords" title="请选择要撤销的备案" width="70%">
     <div style="height: 12px"></div>
     <el-table :data="allAppliedSpecialDiseaseRecords" stripe highlight-current-row @row-click="handleSelectAppliedSpecialDiseaseRecord">
@@ -371,9 +416,11 @@ const fetchAllSpecialDiseaseRecordsDateRange = ref(null)
 const allSpecialDiseaseRecords = ref([])
 const showApplySpecialDiseaseRecord = ref(false);
 const showWsRecord = ref(false);
-const tempSpecialDiseaseRecord = reactive({})
-const tempPsAcRecord = reactive({})
-const actPatient = reactive({})
+const showSyRecord = ref(false);
+const tempSpecialDiseaseRecord = reactive({});
+const tempPsAcRecord = reactive({});
+const tempSyRecord = reactive({});
+const actPatient = reactive({});
 
 const ybCard = reactive({
   mdtrtCertType: null,
@@ -655,6 +702,13 @@ const beforeApplySpecialDiseaseRecord = () => {
     tempPsAcRecord.insuAdmdvs = currentInsuinfo.value.insuplcAdmdvs
     tempPsAcRecord.insuAdmdvsName = currentInsuinfo.value.insuplcAdmdvsName;
     tempPsAcRecord.admTime = actPatient.value.admissDate;
+
+    tempSyRecord.psnNo = baseinfo.value.psnNo;
+    tempSyRecord.psnCertType = "01";
+    tempSyRecord.certno = baseinfo.value.certno;
+    tempSyRecord.psnName = baseinfo.value.psnName;
+    tempSyRecord.insuAdmdvs = currentInsuinfo.value.insuplcAdmdvs;
+
     switch (recordType.value) {
         case '2503':
           showApplySpecialDiseaseRecord.value = true;
@@ -690,15 +744,15 @@ const submitSpecialDiseaseRecord = () => {
             });
           break;
         case '2562':
-            console.log("tempSpecialDiseaseRecord", tempSpecialDiseaseRecord)
-            /*birthRecord(tempSpecialDiseaseRecord).then((res) => {
+            console.log("tempSyRecord", tempSyRecord)
+            birthRecord(tempSyRecord).then((res) => {
                 ElMessageBox.alert(res, {
                   type: 'success',
                   confirmButtonText: '确定',
                 }).then(() => {
                   showApplySpecialDiseaseRecord.value = false
                 });
-            });*/
+            });
           break;
     }