yuwandanmian 1 an în urmă
părinte
comite
a359d31462

+ 1 - 1
src/views/encoder/components/doctorBl/SearchBox.vue

@@ -63,7 +63,7 @@ export default {
   },
   data() {
     return {
-      levels: ['甲', '乙', '丙', '丁'],
+      levels: ['优', '良', '中', '差'],
       doctors: [],
       departmentList: []
     }

+ 22 - 29
src/views/encoder/index.vue

@@ -133,12 +133,12 @@
         <div v-show="quxian_show">
           <el-row :gutter="20">
             <el-col :span="16">
-              <div class="mb20">
+              <!-- <div class="mb20">
                 <el-radio-group v-model="qxxqData.radio" text-color="#185DA6" fill="#ffffff" @change="handleRadioChange">
                   <el-radio-button :label="1">缺陷问题(前十)</el-radio-button>
                   <el-radio-button :label="2">缺陷问题</el-radio-button>
                 </el-radio-group>
-              </div>
+              </div> -->
               <!-- 搜索栏 -->
               <el-form :inline="true" :model="qxxqData" class="demo-form-inline mb20">
                 <el-form-item label="缺陷分类" style="margin-bottom: 0">
@@ -240,7 +240,7 @@
       <el-collapse-transition>
         <div v-show="doctor_show">
           <el-row :gutter="40">
-            <el-col :span="12">
+            <el-col :span="14">
               <el-table
                 :data="doctor_tableData"
                 class="mb20"
@@ -248,7 +248,7 @@
                 <el-table-column
                   type="index"
                   label="序号"
-                  width="80"
+                  width="50"
                   align="center">
                   <template slot-scope="scope">
                     <span>{{ scope.$index + 1 + (paginationDataDoctor.page - 1) * paginationDataDoctor.size }}</span>
@@ -260,6 +260,18 @@
                   align="center"
                   show-overflow-tooltip>
                 </el-table-column>
+                <el-table-column
+                  prop="code"
+                  label="医师工号"
+                  align="center"
+                  show-overflow-tooltip>
+                </el-table-column>
+                <el-table-column
+                  prop="dep_name"
+                  label="医师科室"
+                  align="center"
+                  show-overflow-tooltip>
+                </el-table-column>
                 <el-table-column
                   prop="bl_sum"
                   label="病历总数"
@@ -298,7 +310,7 @@
                 :total="paginationDataDoctor.total">
               </el-pagination>
             </el-col>
-            <el-col :span="12">
+            <el-col :span="10">
               <DoctorRankVue v-if="doctor_rank.length" :data="doctor_rank" />
             </el-col>
           </el-row>
@@ -347,7 +359,7 @@ import { bmyDoctorRanking } from '@/api/excel'
         // 缺陷详情
         quxian_show: true,
         qxxqData: {
-          radio: 1,
+          radio: 2,
           dep_id: '',
           level: ''
         },
@@ -533,34 +545,15 @@ import { bmyDoctorRanking } from '@/api/excel'
       },
       // 获取部门集合
       getDepartmentData() {
-        this.$axios.post('/get_omr_department_list').then(res => {
+        this.$axios.post('/bmy/getAllDepartment').then(res => {
           this.departmentList = res.data;
         });
       },
       // 获取统计信息
       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
+        })
       },
       onToggleTongjiShow() {
         this.tongji_show = !this.tongji_show