WXL (wul)
10 天以前 20043e072aee67f1162a5d490c063cadc2e1dcde
src/views/followvisit/record/physical/index.vue
@@ -51,7 +51,8 @@
                  gettoken360(
                    scope.row.sfzh,
                    scope.row.drcode,
                    scope.row.drname
                    scope.row.drname,
                    scope.row.patid,
                  )
                "
                ><span class="button-textsc">{{
@@ -496,6 +497,7 @@
  updatePersonVoices,
  addPersonVoices,
  query360PatInfo,
  query360PatInfonh
} from "@/api/AiCentre/index";
import {
  messagelistpatient,
@@ -691,8 +693,18 @@
    // 获取问卷数据
    //患者360跳转
    gettoken360(sfzh, drcode, drname) {
      // this.$modal.msgWarning('360功能暂未开通');
    gettoken360(sfzh, drcode, drname, id) {
      const orgname = localStorage.getItem("orgname");
      if (orgname == "南华大学附属第一医院") {
        query360PatInfonh(id).then((res) => {
          if (res.data) {
            window.open(res.data, "_blank");
          } else {
            this.$modal.msgWarning("360查询无结果");
          }
        });
        return
      }
      this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
@@ -1000,7 +1012,7 @@
    // 再次随访数据更替
    formtidy() {
      this.form.visitType2 = this.form.visitType;
      this.form.date2 = this.form.longSendTime;
      this.form.date2 = this.form.visitTime;
      this.form.remark2 = this.form.remark;
    },
    // 获取患者记录
@@ -1024,7 +1036,7 @@
          }
          this.logsheetlist = res.rows[0].serviceSubtaskList;
          this.templateid = this.logsheetlist[0].templateid;
          const targetDate = new Date(this.form.longSendTime); // 目标日期
          const targetDate = new Date(this.form.visitTime); // 目标日期
          const now = new Date(); // 当前时间
          this.form.endtime = this.formatTime(this.form.endtime);
          if (now < targetDate && this.form.sendstate == 2) {
@@ -1105,11 +1117,11 @@
      this.$modal
        .confirm('是否查看任务为"' + row.taskName + '"的服务详情数据?')
        .then(() => {
          if (row.preachformson) {
            if (row.preachformson.includes("3")) {
              this.Voicetype = 1;
            }
          }
          let type = "";
      console.log(row, "rwo");
        if (row.type == 1) {
          type = 1;
        }
          this.taskid = row.taskid;
          this.id = row.id;
          this.patid = row.patid;
@@ -1169,7 +1181,7 @@
          this.form.remark =
            this.form.remark + "【" + this.getCurrentTime() + "】";
          let form = structuredClone(this.form);
          form.longSendTime = this.formatTime(form.date1);
          form.visitTime = this.formatTime(form.date1);
          form.finishtime = "";
          if (form.resource) {
            if (form.resource == 2) {