hd 2 months ago
parent
commit
72db6988a9

+ 2 - 1
app/statistics/html/comprehensive-query.html

@ -12,6 +12,7 @@
    <link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/flex.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/element-ui-2.15.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css" />
    <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
@ -913,7 +914,7 @@
    <script src="../../../js/FileSaver/FileSaver.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../node_modules/element/element-ui-2.15.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../plugins/toastr/toastr.min.js"></script>
    <script type="text/javascript" src="../../../plugins/layer/layer.min.js"></script>
    <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>

+ 6 - 1
component/statistics/GxbManageSum/index.html

@ -52,11 +52,16 @@
      <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
    </div>
  </div>
  <el-table :data="tableData" style="width: 100%" v-loading="loading">
  <!-- <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id" :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
    <el-table-column type="index" min-width="60" label="序号"></el-table-column>
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
      <template slot-scope="scope">{{scope.row[item.prop]}}</template>
    </el-table-column>
  </el-table> -->
  <el-table :data="tableData" style="width: 100%; margin-bottom: 20px" row-key="id" border default-expand-all :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
    <el-table-column prop="date" label="日期" sortable width="180"></el-table-column>
    <el-table-column prop="name" label="姓名" sortable width="180"></el-table-column>
    <el-table-column prop="address" label="地址"></el-table-column>
  </el-table>
  <el-pagination
    @current-change="handleCurrentChange"

+ 50 - 13
component/statistics/GxbManageSum/index.js

@ -40,18 +40,54 @@ Vue.component('gxb-manage-sum', {
      },
      loading: false,
      exportLoading: false,
      tableData: [],
      tableData: [
        {
          id: 1,
          date: '2016-05-02',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        },
        {
          id: 2,
          date: '2016-05-04',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1517 弄'
        },
        {
          id: 3,
          date: '2016-05-01',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1519 弄',
          children: [
            {
              id: 31,
              date: '2016-05-01',
              name: '王小虎',
              address: '上海市普陀区金沙江路 1519 弄'
            },
            {
              id: 32,
              date: '2016-05-01',
              name: '王小虎',
              address: '上海市普陀区金沙江路 1519 弄'
            }
          ]
        },
        {
          id: 4,
          date: '2016-05-03',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1516 弄'
        }
      ],
      tableHeader: [
        { label: '地区', prop: 'name', width: '90' },
        { label: '社区', prop: 'totalNum', width: '90' },
        { label: '团队', prop: 'turnUpNum', width: '100' },
        { label: '已评估人数', prop: 'mzNum', width: '90' },
        { label: '已上转人数', prop: 'zyNum', width: '90' },
        { label: '上转转门诊', prop: 'turnDownNum', width: '90' },
        { label: '门诊转住院', prop: 'followUpNum', width: '90' },
        { label: '下转管理人数', prop: 'standardNum', width: '90' },
        { label: '评估已门诊下转', prop: 'sad', width: '90' },
        { label: '评估已出院下转', prop: 'avd', width: '90' }
        { label: '地区', prop: 'a', width: '90' },
        { label: '社区', prop: 'b', width: '90' },
        { label: '团队', prop: 'c', width: '100' },
        { label: '评估人数', prop: 'd', width: '90' },
        { label: '上转人数', prop: 'e', width: '90' },
        { label: '下转人数', prop: 'f', width: '90' },
        { label: '康复管理人数', prop: 'g', width: '90' }
      ],
      page: 1,
      size: 10,
@ -121,6 +157,7 @@ Vue.component('gxb-manage-sum', {
      }
    },
    getList() {
      return
      var vm = this
      this.loading = true
      var params = {
@ -134,7 +171,7 @@ Vue.component('gxb-manage-sum', {
      } else {
        if (this.chooseTime) {
          params.startDate = this.chooseTime[0]
          params.endDate = this.chooseTime[1] 
          params.endDate = this.chooseTime[1]
        }
      }
@ -211,7 +248,7 @@ Vue.component('gxb-manage-sum', {
    handleSizeChange(val) {
      this.size = val
      this.getList()
    },
    }
  },
  mounted() {
    this.init()

File diff suppressed because it is too large
+ 1 - 0
css/element-ui-2.15.css


File diff suppressed because it is too large
+ 1 - 0
js/element-ui-2.15.js