|
@@ -323,7 +323,7 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="10">
|
|
|
- <DoctorRankVue v-if="doctor_tableData.length" :data="doctor_tableData" />
|
|
|
+ <DoctorRankVue v-if="doctor_tableData.length" :data="doctor_tableData" ref="barRank" />
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -388,7 +388,7 @@ import { bmyDoctorRanking } from '@/api/excel'
|
|
|
paginationDataDoctor: {
|
|
|
page: 1,
|
|
|
size: 10,
|
|
|
- total: 0
|
|
|
+ total: 11
|
|
|
},
|
|
|
doctor_tableData: [],
|
|
|
// doctor_tableData: [
|
|
@@ -491,6 +491,16 @@ import { bmyDoctorRanking } from '@/api/excel'
|
|
|
// "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
|
|
|
// }
|
|
|
// ],
|
|
|
}
|
|
@@ -788,6 +798,7 @@ import { bmyDoctorRanking } from '@/api/excel'
|
|
|
...this.formInline,
|
|
|
is_export: 0
|
|
|
}
|
|
|
+ this.doctor_tableData = []
|
|
|
this.$axios_new.post('/api/bmy/doctorRanking', params).then(res => {
|
|
|
const { count } = res.data
|
|
|
if (count < 10) {
|
|
@@ -805,6 +816,7 @@ import { bmyDoctorRanking } from '@/api/excel'
|
|
|
}
|
|
|
this.doctor_tableData = res.data.list
|
|
|
this.paginationDataDoctor.total = res.data.count
|
|
|
+ this.$refs.barRank.updata()
|
|
|
})
|
|
|
},
|
|
|
// 导出
|