11
WXL
2024-03-14 f792e8ecddfcd4c1d09504fa8a6a9181586ae88c
11
已修改5个文件
523 ■■■■■ 文件已修改
src/views/project/indexstatistics/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/statistics/applyStatistics/index.vue 100 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/statistics/caseStatistics/index.vue 139 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/statistics/chargeStatistics/index.vue 161 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/statistics/performanceStaristics/index.vue 117 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/indexstatistics/index.vue
@@ -61,7 +61,7 @@
      <div style="width: 76%;">
        <el-row
          :gutter="10"
          style="font-size: 16px; font-weight: bold;  margin-top: 10px"
          style="font-size: 18px; font-weight: bold;  margin-top: 10px"
        >
          <el-col :span="6">
            <router-link
@@ -355,7 +355,7 @@
                  >
                    <span style="font-size: 14px"
                      >器官保存液病原菌培养阳性率</span
                    >
                    ><br />
                    {{ (qualirtData.germPositiveRate * 100).toFixed(2) }}%
                  </el-card>
                </el-col>
@@ -1162,7 +1162,7 @@
      });
      //终止
      info.recordstate = "99";
      info.terminationCase = 1;
      listDonatebaseinfo(info).then(res => {
        this.donateNumData.numberOfTerminated = res.total;
      });
src/views/project/statistics/applyStatistics/index.vue
@@ -21,11 +21,17 @@
        </el-col>
        <el-col :span="6">
          <el-form-item align="left" label="业务组" prop="treatmenthospitalno">
            <org-selecter
              ref="orgSelecter"
              :org-type="'3'"
              v-model="queryParams.treatmenthospitalno"
            />
            <el-select
              v-model="queryParams.padeptno"
              placeholder="请选择案例状态"
            >
              <el-option
                v-for="item in deptList"
                :label="item.deptName"
                :value="item.deptId"
              >
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="6">
@@ -91,12 +97,12 @@
      <el-table-column label="序号" align="center" prop="id" width="100">
      </el-table-column>
      <el-table-column label="医院名称" align="center" prop="deptmentName">
      <el-table-column label="统计月份" align="center" prop="applymonth" />
      <el-table-column label="业务组" align="center" prop="deptmentName">
      </el-table-column>
      <el-table-column label="已收金额" align="center" prop="amount" />
      <el-table-column label="未收金额" align="center" prop="nonpayment" />
      <el-table-column label="专职人员" align="center" prop="username" />
      <el-table-column label="金额" align="center" prop="organcharge" />
      <el-table-column label="金额" align="center" prop="amount" />
      <el-table-column label="操作" align="center">
        <template slot-scope="scope">
@@ -107,13 +113,11 @@
      </el-table-column>
    </el-table>
    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <div style="margin: 10px;text-align: right;">
      <div>
        共 <span style="color:#1890FF ;">{{ total }}</span> 条数据
      </div>
    </div>
    <!-- 添加或修改家属确认对话框 -->
  </div>
@@ -135,6 +139,8 @@
import Li_area_select from "@/components/Address";
import OrgSelecter from "@/views/project/components/orgselect";
import AnnexUpload from "@/views/project/components/annexupload";
import { listDept } from "@/api/system/dept";
export default {
  //import引入的组件需要注入到对象中才能使用
@@ -152,7 +158,6 @@
      endtime: "",
      countyname: "",
      cuuntry: "",
      selecttime: "",
      reportervalue: "",
      reportlist: [
@@ -199,6 +204,7 @@
        shi: "",
        qu: ""
      },
      deptList: [],
      // 遮罩层
      loading: false,
      // 导出遮罩层
@@ -257,14 +263,14 @@
  methods: {
    getTimeList(e) {
      if (this.selecttime != 0) {
        this.endtime = this.selecttime[1];
        this.starttime = this.selecttime[0];
        // if (this.endtime == this.starttime) {
        let num = Number(this.endtime.slice(5, 7));
        this.queryParams.pabegtime = this.selecttime[0];
        this.queryParams.paendtime = this.selecttime[1];
        // if (this.queryParams.paendtime == this.queryParams.pabegtime) {
        let num = Number(this.queryParams.paendtime.slice(5, 7));
        if (num < 9) {
          let mon = Number(this.endtime.slice(6, 7));
          this.endtime =
            this.endtime.slice(0, 5) +
          let mon = Number(this.queryParams.paendtime.slice(6, 7));
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            "0" +
            (mon + 1) +
            "-" +
@@ -276,10 +282,10 @@
            ":" +
            "00";
        }
        // this.endtime=this.endtime.slice(0,5)年
        // this.queryParams.paendtime=this.queryParams.paendtime.slice(0,5)年
        else if (num >= 10) {
          this.endtime =
            this.endtime.slice(0, 5) +
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            (num + 1) +
            "-" +
            "01" +
@@ -290,8 +296,8 @@
            ":" +
            "00";
        } else {
          this.endtime =
            this.endtime.slice(0, 5) +
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            "10" +
            "-" +
            "01" +
@@ -302,14 +308,20 @@
            ":" +
            "00";
        }
        this.starttime = this.starttime + " " + "00" + ":" + "00" + ":" + "00";
        this.queryParams.pabegtime =
          this.queryParams.pabegtime + " " + "00" + ":" + "00" + ":" + "00";
        // }
      } else {
        // this.starttime = "1998-01-01 00:00:00";
        // this.endtime = "2998-01-01 00:00:00";
        // this.queryParams.pabegtime = "1998-01-01 00:00:00";
        // this.queryParams.paendtime = "2998-01-01 00:00:00";
      }
    },
    listDept() {
      listDept({}).then(response => {
        this.deptList = response.data;
        this.loading = false;
      });
    },
    resetArr(Arr) {
      var hash = {};
      Arr = Arr.reduce(function(arr, current) {
@@ -324,7 +336,11 @@
    /** 查询捐献基础列表 */
    getList() {
      listbxiaostatistics(this.queryParams).then(res => {
        this.total = res.total;
        this.jxidata = res.rows;
        this.jxidata.forEach(($obj, $index) => {
          $obj.id = $index + 1;
        });
      });
    },
@@ -343,25 +359,8 @@
      this.reportervalue = "";
      this.form.treatmenthospitalno = "";
      this.queryParams = {
        doname: null,
        pageNum: 1,
        pageSize: 10,
        name: null,
        idcardno: null,
        residenceprovince: null,
        residencecity: null,
        residencetown: null,
        // "2"
        recordstate: null,
        treatmenthospitalname: null,
        donorno: null,
        acquisitiontissueno: null,
        reportername: null,
        reporttime: null,
        city: null
      };
      this.selecttime = [];
      this.getTimeList();
@@ -412,6 +411,7 @@
  created() {
    //获取列表
    this.getList();
    this.listDept();
  }
  // //生命周期 - 挂载完成(可以访问DOM元素)
src/views/project/statistics/caseStatistics/index.vue
@@ -1,7 +1,6 @@
<!--  -->
<template>
  <div class="app-container">
    绩效
    <el-form
      :model="queryParams"
      ref="queryForm"
@@ -22,17 +21,23 @@
        </el-col>
        <el-col :span="6">
          <el-form-item align="left" label="业务组" prop="treatmenthospitalno">
            <org-selecter
              ref="orgSelecter"
              :org-type="'3'"
              v-model="queryParams.treatmenthospitalno"
            />
            <el-select
              v-model="queryParams.padeptno"
              placeholder="请选择案例状态"
            >
              <el-option
                v-for="item in deptList"
                :label="item.deptName"
                :value="item.deptId"
              >
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label='案例状态'>
          <el-form-item label="案例状态">
            <el-select
              v-model="queryParams.pabonustype"
              v-model="queryParams.pacasestate"
              placeholder="请选择案例状态"
            >
              <el-option
@@ -80,26 +85,26 @@
    </el-form>
    <!--<el-table v-loading="loading" border :data="donatebaseinfoList">     -->
    <el-table v-loading="loading"  :data="jxidata"  ref="table"
    <el-table
      v-loading="loading"
      :data="jxidata"
      ref="table"
      border
      max-height="700"
      highlight-current-row
      :summary-method="getSummaries"
      show-summary>
      show-summary
    >
      <el-table-column label="序号" align="center" prop="id" width="100">
      </el-table-column>
      <el-table-column label="统计月份" align="center" prop="name" />
      <el-table-column label="统计月份" align="center" prop="donationmonth" />
      <el-table-column label="业务组" align="center" prop="name">
      <el-table-column label="业务组" align="center" prop="deptname">
      </el-table-column>
      <el-table-column label="专职人员" align="center" prop="age" />
      <el-table-column
        label="案例数量"
        align="center"
        prop="treatmenthospitalname"
      />
      <el-table-column label="案例数量" align="center" prop="casesum" />
      <el-table-column
        label="操作"
@@ -110,24 +115,17 @@
        <template slot-scope="scope">
          <!--           v-if="scope.row.recordstate==2"
 -->
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
          <el-button size="mini" type="text" icon="el-icon-edit"
            >明细</el-button
          >
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <div style="margin: 10px;text-align: right;">
      <div>
        共 <span style="color:#1890FF ;">{{ total }}</span> 条数据
      </div>
    </div>
    <!-- 添加或修改家属确认对话框 -->
  </div>
@@ -136,7 +134,6 @@
<script>
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//例如:import 《组件名称》 from '《组件路径》';
import {
  listsfeistatistics,
@@ -150,6 +147,7 @@
import Li_area_select from "@/components/Address";
import OrgSelecter from "@/views/project/components/orgselect";
import AnnexUpload from "@/views/project/components/annexupload";
import { listDept } from "@/api/system/dept";
export default {
  //import引入的组件需要注入到对象中才能使用
@@ -171,9 +169,8 @@
      selecttime: "",
      reportervalue: "",
      reportlist: [
        { label: "月度", value: "1" },
        { label: "季度", value: "2" },
        { label: "年度", value: "3" }
        { label: "正常", value: "0" },
        { label: "中止", value: "1" }
      ],
      //省市区
      //默认值设置,可为空
@@ -238,10 +235,11 @@
      daterangeReporttime: [],
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10
        pacasestate: "0",
        pabegtime: null,
        paendtime: null
      },
      deptList: [],
      // 表单参数
      form: {},
      // 表单校验
@@ -270,14 +268,14 @@
  methods: {
    getTimeList(e) {
      if (this.selecttime != 0) {
        this.endtime = this.selecttime[1];
        this.starttime = this.selecttime[0];
        // if (this.endtime == this.starttime) {
        let num = Number(this.endtime.slice(5, 7));
        this.queryParams.pabegtime = this.selecttime[0];
        this.queryParams.paendtime = this.selecttime[1];
        // if (this.queryParams.paendtime == this.queryParams.pabegtime) {
        let num = Number(this.queryParams.paendtime.slice(5, 7));
        if (num < 9) {
          let mon = Number(this.endtime.slice(6, 7));
          this.endtime =
            this.endtime.slice(0, 5) +
          let mon = Number(this.queryParams.paendtime.slice(6, 7));
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            "0" +
            (mon + 1) +
            "-" +
@@ -289,10 +287,10 @@
            ":" +
            "00";
        }
        // this.endtime=this.endtime.slice(0,5)年
        // this.queryParams.paendtime=this.queryParams.paendtime.slice(0,5)年
        else if (num >= 10) {
          this.endtime =
            this.endtime.slice(0, 5) +
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            (num + 1) +
            "-" +
            "01" +
@@ -303,8 +301,8 @@
            ":" +
            "00";
        } else {
          this.endtime =
            this.endtime.slice(0, 5) +
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            "10" +
            "-" +
            "01" +
@@ -315,12 +313,19 @@
            ":" +
            "00";
        }
        this.starttime = this.starttime + " " + "00" + ":" + "00" + ":" + "00";
        this.queryParams.pabegtime =
          this.queryParams.pabegtime + " " + "00" + ":" + "00" + ":" + "00";
        // }
      } else {
        // this.starttime = "1998-01-01 00:00:00";
        // this.endtime = "2998-01-01 00:00:00";
        // this.queryParams.pabegtime = "1998-01-01 00:00:00";
        // this.queryParams.paendtime = "2998-01-01 00:00:00";
      }
    },
    listDept() {
      listDept({}).then(response => {
        this.deptList = response.data;
        this.loading = false;
      });
    },
    resetArr(Arr) {
@@ -338,14 +343,16 @@
    getList() {
      listanlstatistics(this.queryParams).then(res => {
        this.jxidata = res.rows;
        this.jxidata.forEach(($obj, $index) => {
          $obj.id = $index + 1;
        });
        this.total = res.total;
      });
    },
    getSummaries(param) {
      const { columns, data } = param;
      const sums = [];
      var columnnames = [
      "applymonth", "deptmentName", "username"
      ];
      var columnnames = ["applymonth", "deptmentName", "username"];
      columns.forEach((column, index) => {
        if (index === 0) {
          sums[index] = "合计";
@@ -366,7 +373,7 @@
              return prev;
            }
          }, 0);
          sums[index] = sums[index].toFixed(2); // 保留2位小数,解决小数合计列;
          sums[index] = sums[index]; // 保留2位小数,解决小数合计列;
        } else {
          sums[index] = "";
        }
@@ -391,24 +398,7 @@
      this.form.treatmenthospitalno = "";
      this.queryParams = {
        doname: null,
        pageNum: 1,
        pageSize: 10,
        name: null,
        idcardno: null,
        residenceprovince: null,
        residencecity: null,
        residencetown: null,
        // "2"
        recordstate: null,
        treatmenthospitalname: null,
        donorno: null,
        acquisitiontissueno: null,
        reportername: null,
        reporttime: null,
        city: null
      };
      this.queryParams = {};
      this.selecttime = [];
      this.getTimeList();
      this.searchAddress = {
@@ -427,6 +417,7 @@
  created() {
    //获取列表
    this.getList();
    this.listDept();
  }
  // //生命周期 - 挂载完成(可以访问DOM元素)
  //    mounted() {},
src/views/project/statistics/chargeStatistics/index.vue
@@ -1,7 +1,6 @@
<!--  -->
<template>
  <div class="app-container">
    绩效
    <el-form
      :model="queryParams"
      ref="queryForm"
@@ -9,25 +8,19 @@
      label-width="70px"
    >
      <el-row :gutter="8">
        <el-col :span="6">
        <el-col :span="8">
          <el-form-item label="医院名称">
            <el-select
              v-model="queryParams.pabonustype"
              placeholder="请选择案例状态"
            >
              <el-option
                v-for="item in reportlist"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </el-select>
            <org-selecter
              ref="orgSelecter"
              :org-type="'4'"
              v-model="queryParams.pahospitalno"
            />
          </el-form-item>
        </el-col>
        <el-col :span="6">
        <el-col :span="8">
          <el-form-item label="统计类型">
            <el-select
              v-model="queryParams.pabonustype"
              v-model="queryParams.pachageflag"
              placeholder="请选择案例状态"
            >
              <el-option
@@ -41,22 +34,6 @@
        </el-col>
      </el-row>
      <el-row :gutter="8">
        <el-col :span="12">
          <el-form-item label="统计日期">
            <el-date-picker
              style="width: 100%"
              v-model="selecttime"
              type="monthrange"
              range-separator="至"
              start-placeholder="开始月份"
              end-placeholder="结束月份"
              value-format="yyyy-MM-dd"
              @change="getTimeList"
            >
            </el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item>
            <el-button
@@ -88,17 +65,15 @@
      <el-table-column label="序号" align="center" prop="id" width="100">
      </el-table-column>
      <el-table-column label="统计月份" align="center" prop="name" />
      <el-table-column label="业务组" align="center" prop="name">
      <el-table-column label="统计月份" align="center" prop="receivemonth" />
      <el-table-column label="医院名称" align="center" prop="hospitalname">
      </el-table-column>
      <el-table-column label="专职人员" align="center" prop="age" />
      <el-table-column
        label="金额"
        align="center"
        prop="amount"
      />
      <el-table-column label="已收金额" align="center" prop="amount">
      </el-table-column>
      <el-table-column label="未收金额" align="center" prop="nonpayment">
      </el-table-column>
      <el-table-column label="应收金额" align="center" prop="organcharge">
      </el-table-column>
      <el-table-column
        label="操作"
@@ -120,13 +95,11 @@
      </el-table-column>
    </el-table>
    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <div style="margin: 10px;text-align: right;">
      <div>
        共 <span style="color:#1890FF ;">{{ total }}</span> 条数据
      </div>
    </div>
    <!-- 添加或修改家属确认对话框 -->
  </div>
@@ -169,9 +142,8 @@
      selecttime: "",
      reportervalue: "",
      reportlist: [
        { label: "月度", value: "1" },
        { label: "季度", value: "2" },
        { label: "年度", value: "3" }
        { label: "未收款", value: "0" },
        { label: "已收款", value: "1" }
      ],
      //省市区
      //默认值设置,可为空
@@ -235,10 +207,7 @@
      // 获取组织名称时间范围
      daterangeReporttime: [],
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10
      },
      queryParams: {},
      // 表单参数
      form: {},
@@ -266,61 +235,6 @@
  watch: {},
  //方法集合
  methods: {
    getTimeList(e) {
      if (this.selecttime != 0) {
        this.endtime = this.selecttime[1];
        this.starttime = this.selecttime[0];
        // if (this.endtime == this.starttime) {
        let num = Number(this.endtime.slice(5, 7));
        if (num < 9) {
          let mon = Number(this.endtime.slice(6, 7));
          this.endtime =
            this.endtime.slice(0, 5) +
            "0" +
            (mon + 1) +
            "-" +
            "01" +
            " " +
            "00" +
            ":" +
            "00" +
            ":" +
            "00";
        }
        // this.endtime=this.endtime.slice(0,5)年
        else if (num >= 10) {
          this.endtime =
            this.endtime.slice(0, 5) +
            (num + 1) +
            "-" +
            "01" +
            " " +
            "00" +
            ":" +
            "00" +
            ":" +
            "00";
        } else {
          this.endtime =
            this.endtime.slice(0, 5) +
            "10" +
            "-" +
            "01" +
            " " +
            "00" +
            ":" +
            "00" +
            ":" +
            "00";
        }
        this.starttime = this.starttime + " " + "00" + ":" + "00" + ":" + "00";
        // }
      } else {
        // this.starttime = "1998-01-01 00:00:00";
        // this.endtime = "2998-01-01 00:00:00";
      }
    },
    resetArr(Arr) {
      var hash = {};
      Arr = Arr.reduce(function(arr, current) {
@@ -336,6 +250,10 @@
    getList() {
      listsfeistatistics(this.queryParams).then(res => {
        this.jxidata = res.rows;
        this.jxidata.forEach(($obj, $index) => {
          $obj.id = $index + 1;
        });
        this.total = res.total;
      });
    },
@@ -354,26 +272,7 @@
      this.reportervalue = "";
      this.form.treatmenthospitalno = "";
      this.queryParams = {
        doname: null,
        pageNum: 1,
        pageSize: 10,
        name: null,
        idcardno: null,
        residenceprovince: null,
        residencecity: null,
        residencetown: null,
        // "2"
        recordstate: null,
        treatmenthospitalname: null,
        donorno: null,
        acquisitiontissueno: null,
        reportername: null,
        reporttime: null,
        city: null
      };
      this.queryParams = {};
      this.selecttime = [];
      this.getTimeList();
      this.searchAddress = {
@@ -389,7 +288,7 @@
    getSummaries(param) {
      const { columns, data } = param;
      const sums = [];
      var columnnames = ["applymonth", "deptmentName", "username"];
      var columnnames = ["receivemonth", "hospitalname"];
      columns.forEach((column, index) => {
        if (index === 0) {
          sums[index] = "合计";
src/views/project/statistics/performanceStaristics/index.vue
@@ -9,9 +9,9 @@
    >
      <el-row :gutter="8">
        <el-col :span="6">
          <el-form-item label="业务人员" prop="name">
          <el-form-item label="业务人员" prop="pauserno">
            <el-input
              v-model="queryParams.name"
              v-model="queryParams.pauserno"
              placeholder="请输入姓名"
              clearable
              size="small"
@@ -20,12 +20,18 @@
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item align="left" label="业务组" prop="treatmenthospitalno">
            <org-selecter
              ref="orgSelecter"
              :org-type="'3'"
              v-model="queryParams.treatmenthospitalno"
            />
          <el-form-item align="left" label="业务组" prop="padeptno">
            <el-select
              v-model="queryParams.padeptno"
              placeholder="请选择案例状态"
            >
              <el-option
                v-for="item in deptList"
                :label="item.deptName"
                :value="item.deptId"
              >
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="6">
@@ -115,14 +121,12 @@
        </template>
      </el-table-column>
    </el-table>
    <div style="margin: 10px;text-align: right;">
      <div>
        共 <span style="color:#1890FF ;">{{ total }}</span> 条数据
      </div>
    </div>
    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改家属确认对话框 -->
  </div>
@@ -144,6 +148,8 @@
import Li_area_select from "@/components/Address";
import OrgSelecter from "@/views/project/components/orgselect";
import AnnexUpload from "@/views/project/components/annexupload";
import { listDept } from "@/api/system/dept";
export default {
  //import引入的组件需要注入到对象中才能使用
@@ -165,9 +171,9 @@
      selecttime: "",
      reportervalue: "",
      reportlist: [
        { label: "月度", value: "1" },
        { label: "季度", value: "2" },
        { label: "年度", value: "3" }
        { label: "月度", value: 1 },
        { label: "季度", value: 2 },
        { label: "年度", value: 3 }
      ],
      //省市区
      //默认值设置,可为空
@@ -206,6 +212,7 @@
        shi: "",
        qu: ""
      },
      deptList:[],
      // 遮罩层
      loading: false,
      // 导出遮罩层
@@ -232,8 +239,11 @@
      daterangeReporttime: [],
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10
        pabonustype:'',
        pabegtime: null,
        paendtime: null,
        pauserno: null,
        padeptno: null,
      },
      // 表单参数
@@ -264,14 +274,14 @@
  methods: {
    getTimeList(e) {
      if (this.selecttime != 0) {
        this.endtime = this.selecttime[1];
        this.starttime = this.selecttime[0];
        // if (this.endtime == this.starttime) {
        let num = Number(this.endtime.slice(5, 7));
        this.queryParams.pabegtime = this.selecttime[0];
        this.queryParams.paendtime = this.selecttime[1];
        // if (this.queryParams.paendtime == this.queryParams.pabegtime) {
        let num = Number(this.queryParams.paendtime.slice(5, 7));
        if (num < 9) {
          let mon = Number(this.endtime.slice(6, 7));
          this.endtime =
            this.endtime.slice(0, 5) +
          let mon = Number(this.queryParams.paendtime.slice(6, 7));
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            "0" +
            (mon + 1) +
            "-" +
@@ -283,10 +293,10 @@
            ":" +
            "00";
        }
        // this.endtime=this.endtime.slice(0,5)年
        // this.queryParams.paendtime=this.queryParams.paendtime.slice(0,5)年
        else if (num >= 10) {
          this.endtime =
            this.endtime.slice(0, 5) +
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            (num + 1) +
            "-" +
            "01" +
@@ -297,8 +307,8 @@
            ":" +
            "00";
        } else {
          this.endtime =
            this.endtime.slice(0, 5) +
          this.queryParams.paendtime =
            this.queryParams.paendtime.slice(0, 5) +
            "10" +
            "-" +
            "01" +
@@ -309,11 +319,12 @@
            ":" +
            "00";
        }
        this.starttime = this.starttime + " " + "00" + ":" + "00" + ":" + "00";
        this.queryParams.pabegtime =
          this.queryParams.pabegtime + " " + "00" + ":" + "00" + ":" + "00";
        // }
      } else {
        // this.starttime = "1998-01-01 00:00:00";
        // this.endtime = "2998-01-01 00:00:00";
        // this.queryParams.pabegtime = "1998-01-01 00:00:00";
        // this.queryParams.paendtime = "2998-01-01 00:00:00";
      }
    },
@@ -332,9 +343,18 @@
    getList() {
      listjixstatistics(this.queryParams).then(res => {
        this.jxidata = res.rows;
        this.jxidata.forEach(($obj, $index) => {
          $obj.id = $index + 1;
        });
        this.total=res.total;
      });
    },
    listDept() {
      listDept({}).then(response => {
        this.deptList = response.data;
        this.loading = false;
      });
    },
    // 表单重置
    reset() {
      this.form = {};
@@ -350,25 +370,13 @@
      this.reportervalue = "";
      this.form.treatmenthospitalno = "";
      this.queryParams = {
        doname: null,
        pageNum: 1,
        pageSize: 10,
        name: null,
        idcardno: null,
        residenceprovince: null,
        residencecity: null,
        residencetown: null,
        // "2"
        recordstate: null,
        treatmenthospitalname: null,
        donorno: null,
        acquisitiontissueno: null,
        reportername: null,
        reporttime: null,
        city: null
        pabonustype:'',
        pabegtime: null,
        paendtime: null,
        pauserno: null,
        padeptno: null
      };
      this.selecttime = [];
      this.getTimeList();
@@ -385,7 +393,7 @@
    getSummaries(param) {
      const { columns, data } = param;
      const sums = [];
      var columnnames = ["applymonth", "deptmentName", "username"];
      var columnnames = ["applymonth", "deptmentName", "username",'deptName'];
      columns.forEach((column, index) => {
        if (index === 0) {
          sums[index] = "合计";
@@ -419,6 +427,7 @@
  created() {
    //获取列表
    this.getList();
    this.listDept();
  }
  // //生命周期 - 挂载完成(可以访问DOM元素)
  //    mounted() {},