Kaynağa Gözat

bugfix 首页质控-临床

yuwandanmian 1 yıl önce
ebeveyn
işleme
300dd2570a

+ 8 - 2
src/views/data/frontHome/components/TableBox2.vue

@@ -59,17 +59,23 @@
       </el-table-column>
       <el-table-column
         v-if="codes.includes('AEE08')"
-        prop="AEE08"
+        prop=""
         label="编码员"
         width="100"
         align="center">
+        <template slot-scope="scope">
+          <span>{{ type_name ? scope.row.coder_name : scope.row.AEE08 }}</span>
+        </template>
       </el-table-column>
       <el-table-column
         v-if="codes.includes('AEE04')"
-        prop="AEE04"
+        prop=""
         label="住院医师"
         width="100"
         align="center">
+        <template slot-scope="scope">
+          <span>{{ type_name ? scope.row.ZYYS : scope.row.AEE04 }}</span>
+        </template>
       </el-table-column>
       <el-table-column
         v-if="codes.includes('ICD10_NAME')"

+ 1 - 1
src/views/data/frontHome/defectRuleProblem.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="box">
     <div class="box_wrapper">
-      <SearchBoxVue :data="searchData" :codes="tableShowCode" :type_name="type_name" @reset="handleReset" @export="handelExport" @codesChange="handleCodesChange" />
+      <SearchBoxVue :data="searchData" :codes="tableShowCode" :type_name="type_name" @search="handleSearch" @reset="handleReset" @export="handelExport" @codesChange="handleCodesChange" />
       <TableBoxVue :loading="loading" :data="tableData" :type_name="type_name" :hospital_name="searchData.hospital_name" :codes="tableShowCode" @sort="handleSort" style="margin-top: -40px;" />
       <div style="overflow: hidden;">
         <el-pagination

+ 28 - 25
src/views/encoder/index.vue

@@ -325,28 +325,28 @@
       },
       // 获取统计信息
       async getTongjiData() {
-        await this.$axios_new.post('/api/bmy/qualityStatistics', this.formInline).then(res => {
-          this.tongjiData = res.data
-        })
-        // this.tongjiData = {
-        //   "blSum": 1,
-        //   "dayAvg": 1,
-        //   "qxSum": 1,
-        //   "averageError": "100.00",
-        //   "averageScore": "99.00",
-        //   "minScore": 99,
-        //   "you_sum": 1,
-        //   "liang_sum": 0,
-        //   "zhong_sum": 0,
-        //   "cha_sum": 0,
-        //   "you_ratio": "100.00",
-        //   "liang_ratio": "0.00",
-        //   "zhong_ratio": "0.00",
-        //   "cha_ratio": "0.00",
-        //   "jbxx": 7,
-        //   "zlxx": 1,
-        //   "fyxx": 0
-        // }
+        // await this.$axios_new.post('/api/bmy/qualityStatistics', this.formInline).then(res => {
+        //   this.tongjiData = res.data
+        // })
+        this.tongjiData = {
+          "blSum": 1,
+          "dayAvg": 1,
+          "qxSum": 1,
+          "averageError": "100.00",
+          "averageScore": "99.00",
+          "minScore": 99,
+          "you_sum": 1,
+          "liang_sum": 0,
+          "zhong_sum": 0,
+          "cha_sum": 0,
+          "you_ratio": "100.00",
+          "liang_ratio": "0.00",
+          "zhong_ratio": "0.00",
+          "cha_ratio": "0.00",
+          "jbxx": 7,
+          "zlxx": 1,
+          "fyxx": 0
+        }
       },
       onToggleTongjiShow() {
         this.tongji_show = !this.tongji_show
@@ -377,17 +377,20 @@
               center: ['42%', '50%'],
               radius: ['60%', '80%'],
               avoidLabelOverlap: true,
-              startAngle: 120,
+              startAngle: 180,
               label: {
                 show: true,
                 formatter: '{b}: {c}'
               },
               labelLine: {
-                show: true
+                show: true,
+                length2: 40,
+                minTurnAngle: 120,
+                showAbove: true
               },
               data: [
                 { value: this.tongjiData.blSum, name: '首页总病例' },
-                { value: this.tongjiData.qxSum, name: '缺陷总例数' },
+                { value: this.tongjiData.qxSum, name: '缺陷总例数' }
               ]
             }
           ]