WXL (wul)
2026-05-08 f9902f7a3b79d22bde9f199263ac36de26816470
src/views/followvisit/record/detailpage/index.vue
@@ -77,7 +77,7 @@
                    scope.row.sfzh,
                    scope.row.drcode,
                    scope.row.drname,
                    scope.row.patid,
                    scope.row.patid
                  )
                "
                ><span class="button-textsc">{{
@@ -577,7 +577,7 @@
                  type="primary"
                  round
                  @click="sendAgain"
                  v-if="form.isVisitAgain != 2"
                  v-if="(form.isVisitAgain != 2) & (visitAgain == 2)"
                >
                  再次随访
                </el-button>
@@ -1167,6 +1167,7 @@
import CallButton from "@/components/CallButton";
import MergeAndModify from "./MergeAndModify.vue";
import CallCenterLs from "@/components/CallCenterLs";
import store from "@/store";
export default {
  components: {
    CallButton,
@@ -1255,6 +1256,7 @@
      }, 300);
    };
    return {
      visitAgain: 1,
      userid: "",
      currentPhoneNumber: "",
      callType: "", // 用于区分是哪个电话
@@ -1572,6 +1574,9 @@
    this.Voicetype = this.$route.query.Voicetype;
    this.visitCount = this.$route.query.visitCount;
    this.serviceType = this.$route.query.serviceType;
    this.visitAgain = store.getters.visitAgain;
    console.log(store.getters.visitAgain);
    this.orgname = localStorage.getItem("orgname");
    if (this.orgname == "省立同德翠苑院区") {
@@ -1947,7 +1952,7 @@
          this.Editsingletasksonyic(this.serviceStates);
          const orgName = localStorage.getItem("orgname");
          if (this.form.isVisitAgain != 1 || orgName == "丽水市中医院") {
          if (this.form.isVisitAgain != 1 || orgName == "丽水市中医院"||this.visitAgain==1) {
            this.Torouter();
            return;
          }
@@ -2144,7 +2149,7 @@
      const orgName = localStorage.getItem("orgname");
      console.log(orgName, "orgName");
      if (this.form.isVisitAgain != 1 || orgName == "丽水市中医院") {
      if (this.form.isVisitAgain != 1 || orgName == "丽水市中医院"||this.visitAgain==1) {
        this.Torouter();
        return;
      }
@@ -2215,6 +2220,9 @@
          this.selectedTag = this.form.excep;
          const targetDate = new Date(this.form.visitTime); // 目标日期
          const now = new Date(); // 当前时间
          console.log(now,'当前时间');
          console.log(targetDate,'目标日期');
          if (now < targetDate && this.form.sendstate == 2) {
            this.$confirm("当前服务未到发送时间请谨慎修改", "提示", {
              confirmButtonText: "确定",