瀏覽代碼

删除积木报表

lighter 2 年之前
父節點
當前提交
56c43e3401
共有 4 個文件被更改,包括 0 次插入95 次删除
  1. 0 19
      src/api/querydata/jimubiaobiao.js
  2. 0 4
      src/icons/iconfont.css
  3. 0 5
      src/router/modules/dashboard.js
  4. 0 67
      src/views/reports/JiMuBaoBiao.vue

+ 0 - 19
src/api/querydata/jimubiaobiao.js

@@ -1,19 +0,0 @@
-import request from '@/utils/request'
-
-let url = '/jiMuBaoBiao'
-
-export function zhuYuanShiJianChao(startTime, endTime) {
-  return request({
-    url: url + '/zhuYuanShiJianChao',
-    method: 'get',
-    params: { startTime, endTime },
-  })
-}
-
-export function zhuYuanHuanZhePingJunZhuYuanRiQi(startTime, endTime) {
-  return request({
-    url: url + '/zhuYuanHuanZhePingJunZhuYuanRiQi',
-    method: 'get',
-    params: { startTime, endTime },
-  })
-}

+ 0 - 4
src/icons/iconfont.css

@@ -189,10 +189,6 @@
   content: "\e706";
 }
 
-.icon-jimubaobiao:before {
-  content: "\e606";
-}
-
 .icon-huizhentongji:before {
   content: "\e61b";
 }

+ 0 - 5
src/router/modules/dashboard.js

@@ -358,11 +358,6 @@ const route = [
                 component: createNameComponent(() => import('@/views/reports/BedDays.vue')),
                 meta: {title: '管床日数统计'},
             },
-            {
-                path: 'jiMiBaoBiao',
-                component: createNameComponent(() => import('@/views/reports/JiMuBaoBiao.vue')),
-                meta: {title: '积木报表'},
-            },
             {
                 path: 'inpatientAddrAnalyze',
                 component: createNameComponent(() => import('@/views/reports/InpatientAddrAnalyze.vue')),

+ 0 - 67
src/views/reports/JiMuBaoBiao.vue

@@ -1,67 +0,0 @@
-<template>
-  <page-layer>
-    <template #header>
-      <el-date-picker
-          type="daterange"
-          v-model="zhuYuanShiJianChaoTime"
-          range-separator="至"
-          start-placeholder="开始日期"
-          end-placeholder="结束日期"
-          :shortcuts="shortcuts"
-      ></el-date-picker>
-      <el-button type="primary" style="margin-left: 10px" @click="query">查询</el-button>
-    </template>
-    <template #main>
-      <el-row>
-        <el-col :span="12">
-          <div style="width: 100%; height: 300px" id="huanZheChao30"></div>
-        </el-col>
-        <el-col :span="12">
-          <div style="width: 100%; height: 300px" id="pingJunZhuYuan"></div>
-        </el-col>
-      </el-row>
-    </template>
-  </page-layer>
-</template>
-
-<script>
-import {getDateRangeFormatDate} from '@/utils/date'
-import {pieUtils} from '@/utils/echarts-utils'
-import {shortcuts} from '@/data/shortcuts'
-import {zhuYuanShiJianChao} from "@/api/querydata/jimubiaobiao";
-import PageLayer from "@/layout/PageLayer";
-
-export default {
-  components: {PageLayer},
-  setup() {
-    // 引入
-
-    // 住院时间超过
-    const zhuYuanShiJianChaoTime = ref(['2020-01-01', '2021-11-01'])
-
-    const query = () => {
-      let daterange = getDateRangeFormatDate(zhuYuanShiJianChaoTime.value)
-      let startTime = daterange.startTime
-      let endTime = daterange.endTime
-      zhuYuanShiJianChao(startTime, endTime).then((res) => {
-        pieUtils(huanZheChao30, '住院时间超30日患者例数', res.huanZheChao30)
-        pieUtils(pingJunZhuYuan, '住院患者平均住院日', res.pingJunZhuYuan)
-      })
-    }
-
-    onMounted(() => {
-      setTimeout(() => {
-        query()
-      }, 100)
-    })
-
-    return {
-      zhuYuanShiJianChaoTime,
-      query,
-      shortcuts,
-    }
-  },
-}
-</script>
-
-<style></style>