WXL (wul)
20 小时以前 6cfa3cb358433b250055802960aba8a7f7e9434d
src/views/followvisit/record/detailpage/index.vue
@@ -52,6 +52,7 @@
        <el-table
          :data="logsheetlist"
          :row-class-name="tableRowClassName"
         :max-height="350"
          style="width: 100%"
          @selection-change="handleSelectionChange"
        >
@@ -1158,8 +1159,8 @@
          YongHuXX: {
            XiTongID: "SUIFANGXT",
            XiTongMC: "随访系统",
            YongHuID: "1400466972205912064",
            YongHuXM: "JNRMYY",
            YongHuID: localStorage.getItem("YongHuID"),
            YongHuXM: localStorage.getItem("YongHuXM"),
            ZuZhiJGID: localStorage.getItem("orgid"),
            ZuZhiJGMC: localStorage.getItem("orgname"),
            idp: "lyra",
@@ -1339,13 +1340,10 @@
    },
    //患者360跳转
    gettoken360(sfzh, drcode, drname) {
      this.$modal.msgWarning("360功能暂未开通");
      return; // 阻止后续代码执行
      // this.$modal.msgWarning("360功能暂未开通");
      this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
      if (this.postData.XiaoXiTou.ZuHuMC == "丽水市中医院") {
        this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728";
        this.postData.YeWuXX.YongHuXX.YongHuXM = "LSZYY";
      }
      query360PatInfo(this.postData).then((res) => {
        if (res.data.url) {
          window.open(res.data.url, "_blank");
@@ -1738,6 +1736,7 @@
      getTaskservelist({
        patid: this.patid,
        subId: id,
        pageSize: 100,
      }).then((res) => {
        if (res.code == 200) {
          this.form = res.rows[0].serviceSubtaskList.find(
@@ -1779,7 +1778,7 @@
      // 这里调用你的短信发送 API
      // 假设 API 为 sendMsg,参数可能需要根据实际情况调整
      sendMsg({
        phone:  this.userform.telcode, // 确保电话号码字段正确
        phone: this.userform.telcode, // 确保电话号码字段正确
        content: this.smsContent,
      })
        .then((res) => {
@@ -2152,6 +2151,16 @@
      this.getTaskservelist();
    },
  },
  // deactivated() {
  //   console.log(11);
  // },
  beforeRouteLeave(to, from, next) {
    this.$refs.callButton.cleanupResources();
    next(); // 确保调用 nex
  },
  // beforeRouteUpdate() {
  //   console.log(33);
  // },
};
</script>
@@ -2554,7 +2563,8 @@
  @media screen and (max-width: 1200px), (min-resolution: 1.1dppx) {
    flex-direction: column;
    .call-action, .manual-action {
    .call-action,
    .manual-action {
      width: 100% !important;
    }
  }
@@ -2659,7 +2669,8 @@
    margin: 10px;
    padding: 15px;
    .topic-dev, .scriptTopic-dev {
    .topic-dev,
    .scriptTopic-dev {
      margin-bottom: 15px;
    }
  }
@@ -2692,7 +2703,8 @@
/* 为移动设备优化滚动体验 */
@media screen and (max-width: 768px) {
  .Followuserinfo, .Followuserinfos {
  .Followuserinfo,
  .Followuserinfos {
    padding: 15px;
    margin: 5px;
  }
@@ -2705,18 +2717,20 @@
/* 缩放检测样式 */
@media screen and (min-resolution: 1.1dppx),
       screen and (-webkit-min-device-pixel-ratio: 1.1),
       screen and (max-width: 1200px) {
  screen and (-webkit-min-device-pixel-ratio: 1.1),
  screen and (max-width: 1200px) {
  .action-container {
    flex-direction: column;
  }
  .call-action, .manual-action {
  .call-action,
  .manual-action {
    width: 100%;
  }
  /* 调整内部元素间距 */
  .call-container, .Followuserinfos {
  .call-container,
  .Followuserinfos {
    margin-bottom: 20px;
  }
}