瀏覽代碼

检验检查

yeguodong 1 月之前
父節點
當前提交
6e00541368
共有 1 個文件被更改,包括 106 次插入5 次删除
  1. 106 5
      src/views/medical-insurance/management/RecordManagement.vue

+ 106 - 5
src/views/medical-insurance/management/RecordManagement.vue

@@ -253,6 +253,99 @@
     </div>
     <div style="height: 12px"></div>
   </el-dialog>
+
+  <el-dialog v-model="showWsRecord" width="70%" title="外伤备案申请">
+    <el-row :gutter="5">
+      <el-col :span="8">
+        人员编号:
+        <el-input v-model="tempSpecialDiseaseRecord.psnNo" disabled style="width: 160px"></el-input>
+      </el-col>
+      <el-col :span="8">
+        险种类型:
+        <el-input v-model="tempSpecialDiseaseRecord.insutypeName" disabled style="width: 160px"></el-input>
+      </el-col>
+      <el-col :span="8">
+        联系电话:
+        <el-input v-model="tempSpecialDiseaseRecord.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="tempSpecialDiseaseRecord.addr" style="width: 160px"></el-input>
+      </el-col>
+      <el-col :span="8">
+        参保地区:
+        <el-input v-model="tempSpecialDiseaseRecord.insuOptinsName" disabled style="width: 160px"></el-input>
+      </el-col>
+      <el-col :span="8">
+        鉴定日期:
+        <el-date-picker v-model="tempSpecialDiseaseRecord.hospIdeDate" style="width: 160px"></el-date-picker>
+      </el-col>
+    </el-row>
+    <div style="height: 12px"></div>
+    <el-row :gutter="5">
+      <el-col :span="8">
+        开始日期:
+        <el-date-picker v-model="tempSpecialDiseaseRecord.begndate" style="width: 160px"></el-date-picker>
+      </el-col>
+      <el-col :span="8">
+        结束日期:
+        <el-date-picker v-model="tempSpecialDiseaseRecord.enddate" style="width: 160px"></el-date-picker>
+      </el-col>
+      <el-col :span="8">
+        <div style="display: flex">
+          <div>病种名称:</div>
+          <div>
+            <el-autocomplete v-model="tempSpecialDiseaseRecord.opspDiseName"
+                             :fetch-suggestions="searchDiag" placeholder="请输入名称" clearable
+                             @select="handleSelectDiag">
+              <template #default="{ item }">
+                <div style="height: 40px">
+                  <div style="height: 16px; margin-top: 4px; font-size: 12px; color: #8492a6">
+                    {{ item.code }}
+                  </div>
+                  <div style="height: 16px">{{ item.name }}</div>
+                </div>
+              </template>
+            </el-autocomplete>
+          </div>
+        </div>
+      </el-col>
+    </el-row>
+    <div style="height: 12px"></div>
+    <el-row :gutter="5">
+      <el-col :span="8">
+        病种编码:
+        <el-input v-model="tempSpecialDiseaseRecord.opspDiseCode" disabled style="width: 160px"></el-input>
+      </el-col>
+      <el-col :span="8">
+        <div style="display: flex">
+          <div>医师姓名:</div>
+          <div>
+            <el-autocomplete v-model="tempSpecialDiseaseRecord.diagDrName" :fetch-suggestions="searchPhysician" placeholder="请输入姓名" clearable @select="handleSelectPhysician">
+              <template #default="{ item }">
+                <span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
+                <el-divider direction="vertical"></el-divider>
+                <span>{{ item.name }}</span>
+              </template>
+            </el-autocomplete>
+          </div>
+        </div>
+      </el-col>
+      <el-col :span="8">
+        医师编码:
+        <el-input v-model="tempSpecialDiseaseRecord.diagDrCodg" disabled style="width: 160px"></el-input>
+      </el-col>
+    </el-row>
+    <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">
@@ -308,7 +401,8 @@ const showDateRange = ref(false)
 const showFetchAllSpecialDiseaseRecords = ref(false)
 const fetchAllSpecialDiseaseRecordsDateRange = ref(null)
 const allSpecialDiseaseRecords = ref([])
-const showApplySpecialDiseaseRecord = ref(false)
+const showApplySpecialDiseaseRecord = ref(false);
+const showWsRecord = ref(false);
 const tempSpecialDiseaseRecord = reactive({})
 
 const nullIdNumber = () => {
@@ -516,15 +610,22 @@ const startApplyRecord = () => {
     }
 }
 
-const beforeApplySpecialDiseaseRecord = () => {
+const beforeApplySpecialDiseaseRecord = (recordType) => {
     tempSpecialDiseaseRecord.psnNo = baseinfo.value.psnNo
     tempSpecialDiseaseRecord.psnName = baseinfo.value.psnName
     tempSpecialDiseaseRecord.socialNo = baseinfo.value.certno
     tempSpecialDiseaseRecord.insutype = currentInsuinfo.value.insutype
     tempSpecialDiseaseRecord.insutypeName = currentInsuinfo.value.insutypeName
     tempSpecialDiseaseRecord.insuOptins = currentInsuinfo.value.insuplcAdmdvs
-    tempSpecialDiseaseRecord.insuOptinsName = currentInsuinfo.value.insuplcAdmdvsName
-    showApplySpecialDiseaseRecord.value = true
+    tempSpecialDiseaseRecord.insuOptinsName = currentInsuinfo.value.insuplcAdmdvsName;
+    switch (recordType) {
+        case '2503':
+          showApplySpecialDiseaseRecord.value = true;
+          break;
+        case '2560':
+          showWsRecord.value = true;
+          break
+    }
 }
 const submitSpecialDiseaseRecord = () => {
     specialChronicDiseasesRecord(tempSpecialDiseaseRecord).then((res) => {
@@ -543,7 +644,7 @@ const revokeRecord = () => {
     }
     switch (recordType.value) {
         case '2503':
-            beforeRevokeSpecialDiseaseRecord()
+            beforeRevokeSpecialDiseaseRecord(recordType.value)
             break
     }
 }