WXL (wul)
3 天以前 b57c6c97c7de4cb5aeeb6c766a4642fac5b9b500
src/views/sfstatistics/percentage/index.vue
@@ -14,6 +14,7 @@
          <el-select
            v-model="queryParams.statisticaltype"
            placeholder="请选择统计类型"
            @change="handleQuery"
          >
            <el-option
              v-for="item in Statisticallist"
@@ -254,8 +255,8 @@
      options: this.$store.getters.tasktypes,
      queryParams: {
        serviceType: [2],
        dateRange: this.getLastMonthRange(),
        dateRangecy: [],
        dateRange: [],
        dateRangecy: this.getLastMonthRange(),
        statisticaltype:
          localStorage.getItem("orgname") == "缙云县人民医院" ||
          localStorage.getItem("orgname") == "景宁畲族自治县人民医院"
@@ -395,6 +396,8 @@
    },
    handleQuery() {
      if (!this.queryParams.dateRange) this.queryParams.dateRange = [];
      if (!this.queryParams.dateRangecy) this.queryParams.dateRange = [];
      this.queryParams.startTime = this.parseTime(
        this.queryParams.dateRange[0]
      );
@@ -475,8 +478,14 @@
        obj.deptcodes = [row.deptcode];
        obj.leavehospitaldistrictcodes = [];
      }
      obj.endTime = this.queryParams.endTime;
      obj.startTime = this.queryParams.startTime;
      if (this.queryParams.endTime) {
        obj.endTime = this.queryParams.endTime;
        obj.startTime = this.queryParams.startTime;
      } else {
        obj.startTime = this.parseTime(this.queryParams.dateRange[0]);
        obj.endTime = this.parseTime(this.queryParams.dateRange[1]);
      }
      obj.statisticaltype = this.queryParams.statisticaltype;
      getSfStatisticsHyperlink(obj).then((response) => {
@@ -512,6 +521,8 @@
    SeedetailsgGo(row) {
      this.SeedetailsVisible = false;
      this.infotitleVisible = false;
      let type = "";
      if (row.preachformson && row.preachformson.includes("3")) {
        type = 1;