WXL
2025-04-30 6be49398a90a339a6c72ac9ea7a09fc368acda87
测试完成
已添加1个文件
已删除1个文件
已修改15个文件
432 ■■■■ 文件已修改
src/api/AiCentre/EChartsdata.js 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/Homeimage.js 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/external.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/SpecificDisease/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/discharge/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/tasklist/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/technology/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/index.vue 74 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionnaire/compilequer/index.vue 50 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/medtechnician/PatientChart.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/profile/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 44 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 33 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sfstatistics/percentage/index.vue 93 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/EChartsdata.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,53 @@
import request from "@/utils/request";
// æŸ¥è¯¢é—¨è¯Šçœ‹ç—…人次和人数
export function getEChartsPatMedOuthospCount(data) {
  return request({
    url: "/smartor/patouthosp/selectPatMedOuthospCount",
    method: "post",
    data: data,
  });
}
// æŸ¥è¯¢å‡ºã€å…¥é™¢çœ‹ç—…人次和人数
export function getechartsListCountdata(data) {
  return request({
    url: "/smartor/patinhosp/selectPatMedInhospListCount",
    method: "post",
    data: data,
  });
}
// æŸ¥è¯¢æ‚£è€…门诊记录列表
export function getechartsMedOuthospList(data) {
  return request({
    url: "/smartor/patouthosp/selectPatMedOuthospList",
    method: "post",
    data: data,
  });
}
// æŸ¥è¯¢æ‚£è€…住院记录列表
export function getechartsMedInhospList(data) {
  return request({
    url: "/smartor/patinhosp/selectPatMedInhospList",
    method: "post",
    data: data,
  });
}
// æŸ¥è¯¢å½“前登陆人自己(病区、部门)的患者住院记录列表
export function getechartsandData(data) {
  return request({
    url: "/smartor/patinhosp/selectPatMedInhospListByCondition",
    method: "post",
    data: data,
  });
}
// å„科室服务人次
export function getDeptRanking(data) {
  return request({
    url: "/smartor/patinhosp/getDeptRanking",
    method: "post",
    data: data,
  });
}
src/api/AiCentre/Homeimage.js
ÎļþÒÑɾ³ý
src/api/AiCentre/external.js
@@ -95,7 +95,7 @@
// æ–°å¢žæœåŠ¡
export function addserviceSubtask(data) {
  return request({
    url: "/smartor/serviceSubtask/addSubTask",
    url: "/smartor/serviceSubtask/addSubTaskAgain",
    method: "post",
    data: data
  });
src/api/AiCentre/index.js
@@ -7,5 +7,5 @@
export * from './questionnaire'
export * from './SingleTask'
export * from './external'
export * from './Homeimage'
export * from './patientexternal'
export * from './EChartsdata'
src/views/followvisit/SpecificDisease/index.vue
@@ -469,7 +469,7 @@
          class-name="small-padding fixed-width"
        >
          <template slot-scope="scope">
            <el-tooltip
            <!-- <el-tooltip
              class="item"
              effect="dark"
              content="再次随访"
@@ -484,7 +484,7 @@
                  ><i class="el-icon-s-promotion"></i>再次随访</span
                ></el-button
              >
            </el-tooltip>
            </el-tooltip> -->
            <el-tooltip
              v-if="scope.row.sendstate == 1 || scope.row.sendstate == 2"
              class="item"
src/views/followvisit/discharge/index.vue
@@ -226,7 +226,6 @@
      <el-table
        v-loading="loading"
        :data="userList"
        height="968"
        :row-class-name="tableRowClassName"
        @selection-change="handleSelectionChange"
      >
@@ -510,7 +509,7 @@
          class-name="small-padding fixed-width"
        >
          <template slot-scope="scope">
            <el-tooltip
            <!-- <el-tooltip
              class="item"
              effect="dark"
              content="再次随访"
@@ -542,7 +541,7 @@
                  ><i class="el-icon-remove-outline"></i>暂停服务</span
                ></el-button
              >
            </el-tooltip>
            </el-tooltip> -->
            <el-button size="medium" type="text" @click="Seedetails(scope.row)"
              ><span class="button-zx"
                ><i class="el-icon-s-order"></i>查看详情</span
@@ -1580,6 +1579,7 @@
          form.id = null;
          form.sendstate = 2;
          form.preachform = form.preachformson;
          form.longTask = 0;
          addserviceSubtask(form).then((res) => {
            if (res.code == 200) {
              this.$modal.msgSuccess("创建成功");
src/views/followvisit/record/detailpage/index.vue
@@ -243,7 +243,11 @@
              <el-button plain type="info" @click="Editsingletaskson('5')"
                >中心随访</el-button
              >
              <el-button type="primary" round v-if="this.form.isVisitAgain!=2" @click="sendAgain()"
              <el-button
                type="primary"
                round
                v-if="this.form.isVisitAgain != 2"
                @click="sendAgain()"
                >再次随访</el-button
              >
            </div>
@@ -599,7 +603,9 @@
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button @click="dialogFormVisible = false">取 æ¶ˆ</el-button>
        <el-button type="warning" @click="dialogFormVisible = false"
          >取 æ¶ˆ</el-button
        >
        <el-button type="primary" @click="setupsubtask">确认创建服务</el-button>
      </div>
    </el-dialog>
@@ -957,7 +963,7 @@
    },
    // è°ƒèµ·å†æ¬¡å‘送
    sendAgain() {
 document.querySelector("#app").scrollTo(0, 0);
      document.querySelector("#app").scrollTo(0, 0);
      // scrollTo(0, 0)
      this.dialogFormVisible = true;
    },
@@ -1026,16 +1032,25 @@
          form.finishtime = "";
          if (form.resource) {
            if (form.resource == 2) {
              form.serviceType = 10;
              form.serviceType = 13;
            }
          } else {
            this.$modal.msgError("未选择随访方式");
          }
          form.id = null;
          // form.id = null;
          form.sendstate = 2;
          addserviceSubtask(form).then((res) => {
            if (res.code == 200) {
              this.$modal.msgSuccess("创建成功");
              if (form.serviceType == 13) {
                this.$router.push({
                  path: "/logisticsservice/record",
                });
              }else if (form.serviceType == 2) {
                this.$router.push({
                  path: "/followvisit/discharge",
                });
              }
            } else {
              this.$modal.msgError("创建失败");
            }
src/views/followvisit/record/index.vue
@@ -216,7 +216,6 @@
      <el-table
        v-loading="loading"
        :data="userList"
        height="806"
        :row-class-name="tableRowClassName"
        @selection-change="handleSelectionChange"
      >
src/views/followvisit/tasklist/index.vue
@@ -530,7 +530,7 @@
        },
        {
          value: "13",
          label: "专科随访",
          label: "专病随访",
        },
      ],
      tasktopic: "2", //新增类型
src/views/followvisit/technology/index.vue
@@ -482,7 +482,7 @@
          class-name="small-padding fixed-width"
        >
          <template slot-scope="scope">
            <el-tooltip
            <!-- <el-tooltip
              class="item"
              effect="dark"
              content="再次随访"
@@ -497,7 +497,7 @@
                  ><i class="el-icon-s-promotion"></i>再次随访</span
                ></el-button
              >
            </el-tooltip>
            </el-tooltip> -->
            <el-tooltip
              v-if="scope.row.sendstate == 1 || scope.row.sendstate == 2"
              class="item"
src/views/index.vue
@@ -14,8 +14,7 @@
                  text-shadow: 2px 4px 7px rgb(85 132 255 / 50%);
                  color: black;
                "
                ></span
              >
              ></span>
              <span>{{ endatd }} ~ {{ statd }}</span>
            </div>
            <el-row :gutter="20">
@@ -49,7 +48,7 @@
        <el-col :span="9">
          <div class="grid-content bg-purple headerBox bgc2">
            <div class="title">
              é—¨è¯ŠæœåŠ¡
              å‡ºé™¢æœåŠ¡
              <span
                style="
                  font-size: 25px;
@@ -57,8 +56,7 @@
                  font-weight: 600;
                  color: red;
                "
                ></span
              >
              ></span>
              <span>{{ endatd }} ~ {{ statd }}</span>
            </div>
            <el-row :gutter="20">
@@ -69,7 +67,6 @@
                <div class="text-color2">
                  <p>出院就诊量(人次)</p>
                </div>
              </el-col>
              <el-col :span="10">
                <div class="home-user-task-stats">
@@ -291,10 +288,12 @@
<script>
import {
  getoutpatientamount,
  getInhospital,
  getBarchart,
  getQtemplateobj,
  getEChartsPatMedOuthospCount,
  getechartsListCountdata,
  getechartsMedOuthospList,
  getechartsMedInhospList,
  getechartsandData,
  getDeptRanking,
} from "@/api/AiCentre/index";
import dayjs from "dayjs";
@@ -341,9 +340,9 @@
    },
  },
  created() {
    // this.getoutpatientamount();
    // this.getInhospital();
    // this.getBarchart();
    // this.getTopdata();
    // this.getgraphdata();
    // this.getranking();
    this.$nextTick(function () {
      this.getregionAmountCollect();
      this.getnodeCollect();
@@ -369,10 +368,10 @@
      } else {
        this.dyat = 360;
      }
      this.getgraphdata();
      this.getranking();
      this.getTopdata();
      this.getregionAmountCollect();
      // this.getoutpatientamount();
      // this.getInhospital();
      // this.getBarchart();
      this.getnodeCollect();
      this.getSkuTop();
    },
@@ -409,17 +408,44 @@
        { amount: 0, count: 67, skuId: "0", skuName: "放射科2" },
      ];
    },
    // èŽ·å–é—¨è¯ŠåŸºç¡€æ•°æ®
    getoutpatientamount() {
      getoutpatientamount().then((res) => {});
    // èŽ·å–å¤´éƒ¨æ•°æ®
    getTopdata() {
      let hospCountdata = {
        startDate: this.endatd,
        endDate: this.statd,
        cy: 1,
      };
      let Countdata = {
        startDate: this.endatd,
        endDate: this.statd,
        cy: 1,
      };
      getEChartsPatMedOuthospCount(hospCountdata).then((res) => {});
      getechartsListCountdata(Countdata).then((res) => {});
    },
    // èŽ·å–å°±è¯Šæ•°é‡
    getBarchart() {
      getBarchart().then((res) => {});
    getranking() {
      let Rankingdata = {
        startDate: this.endatd,
        endDate: this.statd,
        cy: 1,
      };
      getDeptRanking(Rankingdata).then((res) => {});
    },
    // èŽ·å–æ€»é‡æ•°é‡
    getInhospital() {
      getInhospital().then((res) => {});
    // èŽ·å–ä¸­éƒ¨çº¿æŸ±å›¾æ•°æ®
    getgraphdata() {
      let Outhospdata = {
        startDate: this.endatd,
        endDate: this.statd,
        cy: 1,
      };
      let Inhospdata = {
        startDate: this.endatd,
        endDate: this.statd,
        cy: 1,
      };
      getechartsMedOuthospList(Outhospdata).then((res) => {});
      getechartsMedInhospList(Inhospdata).then((res) => {});
    },
    // èŽ·å–çº¿çŠ¶å›¾æ—¶é—´
src/views/knowledge/questionnaire/compilequer/index.vue
@@ -310,7 +310,7 @@
              >下一步</el-button
            >
            <el-button type="info" @click="closeFm('ruleForm')">关闭</el-button>
            <el-button @click="Departmenttreatment('ruleForm')"
            <el-button @click="toExamine('ruleForm')"
              >保存问卷基础信息</el-button
            >
          </el-form-item>
@@ -635,8 +635,8 @@
                        >
                          <el-radio-group v-model="item.score">
                            <el-radio :label="1">A</el-radio>
                          <el-radio :label="2">B</el-radio>
                          <el-radio :label="3">C</el-radio>
                            <el-radio :label="2">B</el-radio>
                            <el-radio :label="3">C</el-radio>
                          </el-radio-group>
                        </el-form-item>
                        <el-form-item
@@ -747,7 +747,7 @@
        >
        <el-button type="primary" @click="laststep()">上一步</el-button>
        <el-button type="info" @click="closeFm('ruleForm')">关闭</el-button>
        <el-button @click="Departmenttreatment('ruleForm')"
        <el-button @click="toExamine('ruleForm')"
          >保存问题数据</el-button
        >
      </div>
@@ -1147,8 +1147,8 @@
                        >
                          <el-radio-group v-model="item.score">
                            <el-radio :label="1">A</el-radio>
                          <el-radio :label="2">B</el-radio>
                          <el-radio :label="3">C</el-radio>
                            <el-radio :label="2">B</el-radio>
                            <el-radio :label="3">C</el-radio>
                          </el-radio-group>
                        </el-form-item>
                        <el-form-item
@@ -1636,6 +1636,44 @@
        });
      }
    },
    // é¢˜ç›®æ ¡éªŒ
    toExamine() {
      // éåŽ†é¢˜ç›®é›†åˆ
      for (let i = 0; i <  this.ruleForm.svyTemplateLibScripts.length; i++) {
        const question =  this.ruleForm.svyTemplateLibScripts[i];
        // å¦‚æžœ scriptType ä¸º 4,则跳过当前题目
        if (question.scriptType === 4) {
          continue;
        }
        // èŽ·å–å½“å‰é¢˜ç›®çš„é€‰é¡¹é›†åˆ
        const options = question.svyLibTemplateTargetoptions;
        // åˆ›å»ºä¸€ä¸ª Set æ¥å­˜å‚¨é€‰é¡¹åç§°ï¼Œç”¨äºŽæ£€æµ‹é‡å¤
        const optionNames = new Set();
        // éåŽ†é€‰é¡¹é›†åˆ
        for (let j = 0; j < options.length; j++) {
          const option = options[j];
          const optionContent = option.optioncontent;
          // å¦‚果选项名称已经存在于 Set ä¸­ï¼Œè¯´æ˜Žé‡å¤
          if (optionNames.has(optionContent)) {
            this.$message.error(
              `题目 ${question.id} çš„选项名称 "${optionContent}" é‡å¤`
            );
            return false; // è¿”回 false è¡¨ç¤ºæ ¡éªŒå¤±è´¥
          }
          // å°†é€‰é¡¹åç§°æ·»åŠ åˆ° Set ä¸­
          optionNames.add(optionContent);
        }
      }
      // å¦‚果所有题目都校验通过,返回 true
      console.log("所有题目校验通过,选项名称无重复");
       this.Departmenttreatment();
    },
    // ç§‘室/院区处理
    Departmenttreatment() {
      this.tempDetpRelevanceslist.forEach((item) => {
src/views/patient/medtechnician/PatientChart.vue
@@ -523,7 +523,7 @@
        },
        // {
        //   value: "13",
        //   label: "专科随访",
        //   label: "专病随访",
        // },
      ],
      tasktopic: "2", //新增类型
src/views/patient/patient/profile/index.vue
@@ -383,7 +383,7 @@
          </el-table-column>
          <el-table-column
            label="门诊号"
            label="病案号"
            align="center"
            key="outhospno"
            prop="outhospno"
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -543,6 +543,12 @@
                  @keyup.enter.native="handleQuery"
                ></el-input>
              </el-form-item>
              <el-form-item label="患者诊断:">
                <el-input
                  v-model="patientqueryParams.leavediagname"
                  @keyup.enter.native="handleQuery"
                ></el-input>
              </el-form-item>
              <el-select
                v-model="patientqueryParams.searchscope"
                placeholder="请选择患者范围"
@@ -587,6 +593,8 @@
          <pagination
            v-show="patienttotal > 0 && this.patientqueryParams.allhosp != 6"
            :total="patienttotal"
            :page.sync="patientqueryParams.pageNum"
              :limit.sync="patientqueryParams.pageSize"
            @pagination="handleAddpatient"
          />
        </div>
@@ -727,7 +735,7 @@
                  {{ item.sort }}、[多选]<span>{{ item.scriptContent }}</span>
                </div>
                <div class="dev-xx">
                  <el-checkbox-group v-model="qremark">
                  <el-checkbox-group v-model="item.qremark">
                    <el-checkbox
                      v-for="(items, index) in item.svyLibTemplateTargetoptions"
                      :key="index"
@@ -761,7 +769,7 @@
      </el-tabs>
      <span slot="footer" class="dialog-footer">
        <!-- <el-button @click="previewGo">保存模板详情修改</el-button> -->
        <el-button @click="previewGo">保存模板详情修改</el-button>
        <el-button type="primary" @click="Departmenttreatment"
          >保存使用</el-button
        >
@@ -815,7 +823,7 @@
                <el-button
                  icon="el-icon-refresh"
                  size="medium"
                  @click="resetQuery"
                  @click="resetQuerymb"
                  >重置</el-button
                >
              </el-form-item>
@@ -930,6 +938,7 @@
      tableLabelhz: [
        { label: "出院日期", width: "150", prop: "inhosptime" },
        { label: "患者", width: "", prop: "name" },
        { label: "患者诊断", width: "", prop: "leavediagname" },
        { label: "身份证", width: "200", prop: "idcardno" },
        { label: "性别", width: "", prop: "sex" },
        { label: "年龄", width: "", prop: "age" },
@@ -942,6 +951,7 @@
      tableLabelhzwb: [
        { label: "出院日期", width: "150", prop: "endtime" },
        { label: "患者", width: "", prop: "name" },
        { label: "患者诊断", width: "", prop: "leavediagname" },
        { label: "身份证", width: "200", prop: "sfzh" },
        { label: "性别", width: "", prop: "sex" },
        { label: "年龄", width: "", prop: "age" },
@@ -1169,7 +1179,7 @@
        },
        // {
        //   value: "13",
        //   label: "专科随访",
        //   label: "专病随访",
        // },
      ],
      // ç§‘室/病区
@@ -1537,11 +1547,13 @@
            this.tempbelongWards = [];
            this.objyl.suitway = this.objyl.suitway.split(",");
            this.questionList = res.rows[0].svyTemplateLibScripts;
            this.questionList.forEach((item) => {
              item.qremark = [];
            });
            this.getillness(row.svyid);
            this.previewtf = true;
          }
        });
        console.log(row.svyTemplateLibScripts);
        this.previewid = row.svyid;
        this.Variablehandling(row.svyTemplateLibScripts, 1);
      } else if (type == 2) {
@@ -1550,8 +1562,6 @@
    },
    // é¢„览
    previewfnmb() {
      console.log(this.form.templateid);
      getTaskQuestioncomit(this.form.templateid).then((res) => {
        if (res.code == 200) {
          console.log(res, "预览数据");
@@ -1565,6 +1575,9 @@
          getQtemplateobj({ svyid: this.form.libtemplateid }).then((res) => {
            if (res.code == 200) {
              this.questionList = res.rows[0].svyTemplateLibScripts;
              this.questionList.forEach((item) => {
                item.qremark = [];
              });
              this.objyl.svyTemplateLibScripts =
                res.rows[0].svyTemplateLibScripts;
            }
@@ -1662,6 +1675,7 @@
          // { label: "入院日期", width: "170", prop: "starttime" },
          { label: "出院日期", width: "150", prop: "endtime" },
          { label: "患者", width: "", prop: "name" },
        { label: "患者诊断", width: "", prop: "leavediagname" },
          { label: "身份证", width: "200", prop: "idcardno" },
          { label: "性别", width: "", prop: "sex" },
          { label: "年龄", width: "", prop: "age" },
@@ -1675,6 +1689,7 @@
        this.tableLabelhz = [
          { label: "入院日期", width: "150", prop: "starttime" },
          { label: "患者", width: "", prop: "name" },
        { label: "患者诊断", width: "", prop: "leavediagname" },
          { label: "身份证", width: "200", prop: "idcardno" },
          { label: "性别", width: "", prop: "sex" },
          { label: "年龄", width: "", prop: "age" },
@@ -1856,7 +1871,20 @@
      });
    },
    resetQuery() {},
    resetQuerymb() {
      this.topqueryParams = { svyname: "" };
      this.handleQuerymb();
    },
    resetQuery() {
      this.patientqueryParams = {
        pageNum: 1, //
        pageSize: 10,
        topica: 1, //0全部1科室2病区
        leavehospitaldistrictcodes: [],
        leaveldeptcodes: [],
      };
      this.handleQuery();
    },
    handleQuerymb() {
      getQtemplatelist(this.topqueryParams).then((response) => {
        this.userList = response.rows;
src/views/patient/propaganda/particty.vue
@@ -792,13 +792,13 @@
          @click="Departmenttreatment"
          >{{ form.templateid ? "替换使用" : "选择使用" }}</el-button
        >
        <!-- <el-button
        <el-button
          :type="previewtftype ? 'success' : 'warning'"
          @click="Modifytemplate"
          >{{
            previewtftype ? "前往修改已选择模板" : "新增保存并前往修改"
          }}</el-button
        > -->
        >
      </span>
    </el-dialog>
    <el-drawer
@@ -1114,7 +1114,10 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者/家属,您好!我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        kcb:
          "亲爱的患者/家属,您好!我们是" +
          localStorage.getItem("orgname") +
          "的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访内容就到这里,祝您身体健康!",
      },
      taskoptions: [
@@ -1205,7 +1208,7 @@
        },
        // {
        //   value: "13",
        //   label: "专科随访",
        //   label: "专病随访",
        // },
      ],
      // ç§‘室/病区
@@ -1262,7 +1265,7 @@
    this.form.typename = this.$route.query.typename;
    this.serviceType = Number(this.$route.query.serviceType);
    this.form.serviceType = Number(this.$route.query.serviceType);
    console.log(localStorage.getItem("orgid"),'orgid');
    console.log(localStorage.getItem("orgid"), "orgid");
    this.Acquisitiontype();
    this.getillnesslist();
@@ -1837,7 +1840,20 @@
        this.patientqueryParams.leaveldeptcodes = null;
      this.handleAddpatient();
    },
    resetQuery() {},
    resetQuerymb() {
      this.topqueryParams = { svyname: "" };
      this.handleQuerymb();
    },
    resetQuery() {
      this.patientqueryParams = {
        pageNum: 1, //
        pageSize: 10,
        topica: 1, //0全部1科室2病区
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      };
      this.handleQuery();
    },
    handleQuerymb() {
      getFollowuplist(this.topqueryParams).then((response) => {
        this.userList = response.rows;
@@ -1869,7 +1885,10 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者/家属,您好!我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        kcb:
          "亲爱的患者/家属,您好!我们是" +
          localStorage.getItem("orgname") +
          "的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!",
      };
src/views/sfstatistics/percentage/index.vue
@@ -67,13 +67,12 @@
                </el-select> -->
                <el-select
                  v-model="queryParams.leavehospitaldistrictcodes"
                  size="medium"
                  multiple
                  filterable
                  placeholder="请选择病区"
                >
                <el-option
                  <el-option
                    v-for="item in flatArray"
                    :key="item.deptCode"
                    :label="item.label"
@@ -103,7 +102,24 @@
                >
                </el-date-picker>
              </el-form-item> -->
              <el-form-item label="统计日期" prop="userName">
              <el-select
                v-model="queryParams.serviceType"
                multiple
                placeholder="请选择"
              >
                <el-option
                  v-for="item in options"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
              <el-form-item
                label-width="200"
                label="应随访时间范围"
                prop="userName"
              >
                <el-date-picker
                  v-model="queryParams.dateRange"
                  type="daterange"
@@ -218,7 +234,7 @@
              </el-table-column>
              <el-table-column
                label="患者过滤数量"
                label="不执行"
                align="center"
                width="120"
                key="bzxCount"
@@ -267,8 +283,8 @@
                key="sfwcl"
                prop="sfwcl"
              >
              <template slot-scope="scope">
                  <span>{{ (Number(scope.row.sfwcl)*100).toFixed(2) }}%</span>
                <template slot-scope="scope">
                  <span>{{ (Number(scope.row.sfwcl) * 100).toFixed(2) }}%</span>
                </template>
              </el-table-column>
              <!-- <el-table-column
@@ -370,9 +386,9 @@
                    type="danger"
                    plain
                    @click="routerErr(scope.row)"
                    ><span class="button-zx"
                      >{{scope.row.yczs}}</span
                    ></el-button
                    ><span class="button-zx">{{
                      scope.row.yczs
                    }}</span></el-button
                  >
                </template>
              </el-table-column>
@@ -462,9 +478,7 @@
  listtag,
  tagclassifylist,
} from "@/api/system/label";
import {
  getSfStatistics,deptTreeSelect
} from "@/api/system/user";
import { getSfStatistics, deptTreeSelect } from "@/api/system/user";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -513,7 +527,7 @@
      idds: "", //分类id
      // æ€»æ¡æ•°
      total: 0,
      flatArray:[],
      flatArray: [],
      amendtag: false, //是否修改类别
      lstamendtag: false, //是否修改标签
      scavisible: false, //删除弹框
@@ -554,21 +568,48 @@
      propss: { multiple: true },
      options: [
        {
      {
          value: 1,
          label: "东南",
          label: "监测评估",
        },
        {
          value: 2,
          label: "西北",
          label: "出院随访",
        },
        {
          value: 3,
          label: "仨仨仨",
          label: "门诊随访",
        },
        {
          value: 4,
          label: "六飒飒飒",
          label: "宣教关怀",
        },
        {
          value: 5,
          label: "复诊管理",
        },
        {
          value: 7,
          label: "患者报告",
        },
        {
          value: 9,
          label: "体检随访",
        },
        {
          value: 11,
          label: "影像随访",
        },
        {
          value: 12,
          label: "心电随访",
        },
        {
          value: 13,
          label: "专病随访",
        },
      ],
      pickerOptions: {
@@ -587,7 +628,7 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        serviceType:[2],
        serviceType: [2],
        dateRange: [],
      },
      // åˆ—信息
@@ -605,7 +646,7 @@
  watch: {},
  created() {
    this.getList();
this.getDeptTree();
    this.getDeptTree();
  },
  methods: {
@@ -635,10 +676,10 @@
      // ç§‘室列表
      deptTreeSelect().then((response) => {
        this.deptOptions = response.data;
        console.log( this.deptOptions,' this.deptOptions');
        console.log(this.deptOptions, " this.deptOptions");
        this.flatArray = this.flattenArray(response.data);
        console.log(this.flatArray,'this.flatArray');
        console.log(this.flatArray, "this.flatArray");
      });
    },
    flattenArray(multiArray) {
@@ -693,7 +734,7 @@
      };
    },
    routerErr(row) {
      console.log(row,'跳转异常');
      console.log(row, "跳转异常");
      this.$router.push({
        path: "/followvisit/discharge",
        query: {
@@ -741,14 +782,16 @@
    handleQuery() {
      this.queryParams.pageNum = 1;
      console.log();
      this.queryParams.startTime = this.parseTime(this.queryParams.dateRange[0]);
      this.queryParams.startTime = this.parseTime(
        this.queryParams.dateRange[0]
      );
      this.queryParams.endTime = this.parseTime(this.queryParams.dateRange[1]);
      this.getList();
    },
    /** é‡ç½®æŒ‰é’®æ“ä½œ */
    resetQuery() {
      this.queryParams.dateRange = [];
      this.queryParams.leavehospitaldistrictcodes=[];
      this.queryParams.leavehospitaldistrictcodes = [];
      this.handleQuery();
    },
    // å¤šé€‰æ¡†é€‰ä¸­æ•°æ®