yuwandanmian 1 жил өмнө
parent
commit
973baf2f3e

+ 7 - 0
src/views/encoder/components/doctorBl/TableBox.vue

@@ -12,6 +12,9 @@
         label="序号"
         label="序号"
         width="50"
         width="50"
         align="center">
         align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.$index + 1 + (paginationData.page - 1) * paginationData.size }}</span>
+        </template>
       </el-table-column>
       </el-table-column>
       <el-table-column
       <el-table-column
         prop=""
         prop=""
@@ -83,6 +86,10 @@
         default() {
         default() {
           return []
           return []
         }
         }
+      },
+      paginationData: {
+        type: Object,
+        default: {}
       }
       }
     },
     },
     data() {
     data() {

+ 7 - 0
src/views/encoder/components/doctorBlKf/TableBox.vue

@@ -12,6 +12,9 @@
         label="序号"
         label="序号"
         width="50"
         width="50"
         align="center">
         align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.$index + 1 + (paginationData.page - 1) * paginationData.size }}</span>
+        </template>
       </el-table-column>
       </el-table-column>
       <el-table-column
       <el-table-column
         prop=""
         prop=""
@@ -82,6 +85,10 @@
         default() {
         default() {
           return []
           return []
         }
         }
+      },
+      paginationData: {
+        type: Object,
+        default: {}
       }
       }
     },
     },
     data() {
     data() {

+ 7 - 0
src/views/encoder/components/errors/TableBox.vue

@@ -33,6 +33,9 @@
         label="序号"
         label="序号"
         width="50"
         width="50"
         align="center">
         align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.$index + 1 + (paginationData.page - 1) * paginationData.size }}</span>
+        </template>
       </el-table-column>
       </el-table-column>
       <el-table-column
       <el-table-column
         v-if="codes.includes('field_name')"
         v-if="codes.includes('field_name')"
@@ -132,6 +135,10 @@
         default() {
         default() {
           return []
           return []
         }
         }
+      },
+      paginationData: {
+        type: Object,
+        default: {}
       }
       }
     },
     },
     data() {
     data() {

+ 4 - 3
src/views/encoder/doctorBl.vue

@@ -4,7 +4,7 @@
       <SearchBoxVue :data="searchData" @search="handleSearch" @reset="handleReset" />
       <SearchBoxVue :data="searchData" @search="handleSearch" @reset="handleReset" />
       <div style="margin-top: -22px;">
       <div style="margin-top: -22px;">
         <el-divider></el-divider>
         <el-divider></el-divider>
-        <TableBoxVue :data="tableData" @sort="handleSort" @export="handleExport" />
+        <TableBoxVue :data="tableData" :paginationData="paginationData" @sort="handleSort" @export="handleExport" />
         <Pagination :page="paginationData.page" :limit="paginationData.page_size" :total="paginationData.total" @pagination="handlePagination" />
         <Pagination :page="paginationData.page" :limit="paginationData.page_size" :total="paginationData.total" @pagination="handlePagination" />
       </div>
       </div>
     </div>
     </div>
@@ -68,8 +68,9 @@ export default {
     }
     }
   },
   },
   created() {
   created() {
-    const { start_time, end_time } = this.$route.query
-    this.$set(this.searchData, 'AAC01', [start_time, end_time])
+    const { start_time, end_time, doctor_name } = this.$route.query
+    this.$set(this.searchData, 'time', [start_time, end_time])
+    this.$set(this.searchData, 'doctor_name', [doctor_name])
     this.getList()
     this.getList()
   },
   },
   methods: {
   methods: {

+ 3 - 2
src/views/encoder/doctorBlKf.vue

@@ -4,7 +4,7 @@
       <SearchBoxVue :data="searchData" @search="handleSearch" @reset="handleReset" />
       <SearchBoxVue :data="searchData" @search="handleSearch" @reset="handleReset" />
       <div style="margin-top: -22px;">
       <div style="margin-top: -22px;">
         <el-divider></el-divider>
         <el-divider></el-divider>
-        <TableBoxVue :data="tableData" @sort="handleSort" @export="handleExport" />
+        <TableBoxVue :data="tableData" :paginationData="paginationData" @sort="handleSort" @export="handleExport" />
         <Pagination :page="paginationData.page" :limit="paginationData.page_size" :total="paginationData.total" @pagination="handlePagination" />
         <Pagination :page="paginationData.page" :limit="paginationData.page_size" :total="paginationData.total" @pagination="handlePagination" />
       </div>
       </div>
     </div>
     </div>
@@ -66,7 +66,8 @@ export default {
   },
   },
   created() {
   created() {
     const { start_time, end_time } = this.$route.query
     const { start_time, end_time } = this.$route.query
-    this.$set(this.searchData, 'AAC01', [start_time, end_time])
+    this.$set(this.searchData, 'time', [start_time, end_time])
+    this.$set(this.searchData, 'doctor_name', [doctor_name])
     this.getList()
     this.getList()
   },
   },
   methods: {
   methods: {

+ 19 - 19
src/views/encoder/errors.vue

@@ -4,7 +4,7 @@
       <SearchBoxVue :data="formInline" @search="handleSearch" @reset="handleReset" />
       <SearchBoxVue :data="formInline" @search="handleSearch" @reset="handleReset" />
       <div style="margin-top: -22px;">
       <div style="margin-top: -22px;">
         <el-divider></el-divider>
         <el-divider></el-divider>
-        <TableBoxVue :data="tableData" @export="handleExport" />
+        <TableBoxVue :data="tableData" :paginationData="paginationData" @export="handleExport" />
         <Pagination :page="paginationData.page" :limit="paginationData.page_size" :total="paginationData.total" @pagination="handlePagination" />
         <Pagination :page="paginationData.page" :limit="paginationData.page_size" :total="paginationData.total" @pagination="handlePagination" />
       </div>
       </div>
     </div>
     </div>
@@ -37,24 +37,24 @@ export default {
         ICD10_NAME: ''
         ICD10_NAME: ''
       },
       },
       tableData: [
       tableData: [
-        {
-          "field_name": "健康卡号",
-          "desc": "健康卡号未填写",
-          "AAA28": "00260972",
-          "AAA01": "",
-          "ZYH": "809257",
-          "AAC01": "2023-08-07 09:15:00",
-          "AAC11N": "神经外科",
-          "AEE08": "张三",
-          "AEE03": "李一",
-          "AEE04": "周一",
-          "ICD10_ID1": "S06.500x002",
-          "ICD10_NAME": "创伤性硬脑膜下血肿",
-          "ICD9_ID1": "01.2408",
-          "ICD9_NAME": "颅内血肿清除术",
-          "level": "强制",
-          "type": "患者基本信息"
-        }
+        // {
+        //   "field_name": "健康卡号",
+        //   "desc": "健康卡号未填写",
+        //   "AAA28": "00260972",
+        //   "AAA01": "",
+        //   "ZYH": "809257",
+        //   "AAC01": "2023-08-07 09:15:00",
+        //   "AAC11N": "神经外科",
+        //   "AEE08": "张三",
+        //   "AEE03": "李一",
+        //   "AEE04": "周一",
+        //   "ICD10_ID1": "S06.500x002",
+        //   "ICD10_NAME": "创伤性硬脑膜下血肿",
+        //   "ICD9_ID1": "01.2408",
+        //   "ICD9_NAME": "颅内血肿清除术",
+        //   "level": "强制",
+        //   "type": "患者基本信息"
+        // }
       ],
       ],
       paginationData: {
       paginationData: {
         page: 1,
         page: 1,

+ 103 - 103
src/views/encoder/index.vue

@@ -359,109 +359,109 @@ import { bmyDoctorRanking } from '@/api/excel'
           size: 10,
           size: 10,
           total: 0
           total: 0
         },
         },
-        // doctor_tableData: [],
-        doctor_tableData: [
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          },
-          {
-            "docker_name": "杜晓峰",
-            "bl_sum": 28,
-            "qx_sum": 22,
-            "sum_score": 2800,
-            "df_score": 2158,
-            "kf_score": 642,
-            "proportion": "77.07",
-            "avg_score": 88
-          }
-        ],
+        doctor_tableData: [],
+        // doctor_tableData: [
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   },
+        //   {
+        //     "docker_name": "杜晓峰",
+        //     "bl_sum": 28,
+        //     "qx_sum": 22,
+        //     "sum_score": 2800,
+        //     "df_score": 2158,
+        //     "kf_score": 642,
+        //     "proportion": "77.07",
+        //     "avg_score": 88
+        //   }
+        // ],
         doctor_rank: []
         doctor_rank: []
       }
       }
     },
     },

+ 2 - 2
src/views/medicalRecord/index.vue

@@ -69,7 +69,7 @@
             <NoValueInputVue :data="blInfo.patient_address_info.AAA48.replace('省', '')" />(省)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA48.replace('省', '')" />(省)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA49.replace('市', '')" />(市)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA49.replace('市', '')" />(市)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA50.toString().replace('县', '')" />(县)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA50.toString().replace('县', '')" />(县)
-            <NoValueInputVue :data="blInfo.patient_address_info.toString().AAA36C" />
+            <NoValueInputVue :data="blInfo.patient_address_info.AAA15" />
           </td>
           </td>
           <td class="label">电话</td>
           <td class="label">电话</td>
           <td>{{ blInfo.patient_address_info.AAA51 }}</td>
           <td>{{ blInfo.patient_address_info.AAA51 }}</td>
@@ -82,7 +82,7 @@
             <NoValueInputVue :data="blInfo.patient_address_info.AAA45.replace('省', '')" />(省)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA45.replace('省', '')" />(省)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA46.replace('市', '')" />(市)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA46.replace('市', '')" />(市)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA47.toString().replace('县', '')" />(县)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA47.toString().replace('县', '')" />(县)
-            <NoValueInputVue :data="blInfo.patient_address_info.toString().AAA12" />
+            <NoValueInputVue :data="blInfo.patient_address_info.AAA12" />
           </td>
           </td>
           <td class="label">邮编</td>
           <td class="label">邮编</td>
           <td>{{ blInfo.patient_address_info.AAA14C }}</td>
           <td>{{ blInfo.patient_address_info.AAA14C }}</td>