|
|
@ -4,22 +4,26 @@
|
|
|
|
v-loading="isLoading"
|
|
|
|
v-loading="isLoading"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="w-[12.4vh] h-[5.07vh] ml-[1.85vh] flex justify-between items-center"
|
|
|
|
class="w-[45%] h-[5.07vh] ml-[1.85vh] flex justify-between items-center"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<img src="@/assets/svg/Monitor/Triangle.svg" />
|
|
|
|
<img src="@/assets/svg/Monitor/Triangle.svg" />
|
|
|
|
<span class="text-[2.03vh] youshe leading-none">手术量统计</span>
|
|
|
|
<span class="text-[2.03vh] youshe leading-none"
|
|
|
|
</div>
|
|
|
|
>科室手术量统计(前五)</span
|
|
|
|
<div class="w-[42.96vh] h-[27.12vh] ml-[2.96vh] my-[3.7vh]">
|
|
|
|
|
|
|
|
<Histogram
|
|
|
|
|
|
|
|
v-if="getDataList.length"
|
|
|
|
|
|
|
|
:getDataList="getDataList"
|
|
|
|
|
|
|
|
></Histogram>
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
v-else
|
|
|
|
|
|
|
|
class="flex flex-col w-[100%] h-[100%] items-center justify-center"
|
|
|
|
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<img src="@/assets/img/noData.png" class="w-[120px]" />
|
|
|
|
</div>
|
|
|
|
<span>暂无数据</span>
|
|
|
|
<div class="w-[42.96vh] ml-[2.96vh] deptBody">
|
|
|
|
|
|
|
|
<div class="h-[30vh] w-full">
|
|
|
|
|
|
|
|
<Histogram
|
|
|
|
|
|
|
|
v-if="getDataList.length"
|
|
|
|
|
|
|
|
:getDataList="getDataList"
|
|
|
|
|
|
|
|
></Histogram>
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
v-else
|
|
|
|
|
|
|
|
class="flex flex-col w-[100%] h-[100%] items-center justify-center"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<img src="@/assets/img/noData.png" class="w-[120px]" />
|
|
|
|
|
|
|
|
<span>暂无数据</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
@ -43,10 +47,12 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { GetMonitorOperationNumber } from "@/api/monitor";
|
|
|
|
// import { GetMonitorOperationNumber } from "@/api/monitor";
|
|
|
|
|
|
|
|
import { GetMonitorOperationDept } from "@/api/monitor";
|
|
|
|
import dayjs from "dayjs";
|
|
|
|
import dayjs from "dayjs";
|
|
|
|
import Histogram from "./OpHistogram.vue";
|
|
|
|
// import Histogram from "./OpHistogram.vue";
|
|
|
|
|
|
|
|
// import Histogram from "@/views/pageMonitor/bottomLeft/OpHistogram.vue";
|
|
|
|
|
|
|
|
import Histogram from "@/views/pageMonitor/bottomRight/DepHistogram.vue";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
@ -67,11 +73,13 @@ export default {
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
onGetPageData() {
|
|
|
|
onGetPageData() {
|
|
|
|
this.isLoading = true;
|
|
|
|
this.isLoading = true;
|
|
|
|
GetMonitorOperationNumber({
|
|
|
|
GetMonitorOperationDept({
|
|
|
|
startDate: this.startDate,
|
|
|
|
startDate: this.startDate,
|
|
|
|
endDate: this.endDate,
|
|
|
|
endDate: this.endDate,
|
|
|
|
}).then((res) => {
|
|
|
|
}).then((res) => {
|
|
|
|
this.getDataList = [res["data"]] || [];
|
|
|
|
// this.getDataList = [res["data"]] || [];
|
|
|
|
|
|
|
|
// this.isLoading = false;
|
|
|
|
|
|
|
|
this.getDataList = res["data"] || [];
|
|
|
|
this.isLoading = false;
|
|
|
|
this.isLoading = false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -120,4 +128,11 @@ export default {
|
|
|
|
.bgMonthBox {
|
|
|
|
.bgMonthBox {
|
|
|
|
background-image: url("@/assets/svg/Monitor/BottomLeft/MonthActive.svg");
|
|
|
|
background-image: url("@/assets/svg/Monitor/BottomLeft/MonthActive.svg");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.deptBody {
|
|
|
|
|
|
|
|
height: calc(100% - 5.07vh);
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|