WXL (wul)
昨天 447ac8696eb82c65d7e231a96679e0ca04943751
测试完成
已删除3个文件
已重命名2个文件
已修改9个文件
已复制1个文件
367 ■■■■ 文件已修改
dist (2).zip 补丁 | 查看 | 原始文档 | blame | 历史
dist.zip 补丁 | 查看 | 原始文档 | blame | 历史
ls&nh&sy&sltd外链.zip 补丁 | 查看 | 原始文档 | blame | 历史
sltd&ls&南华.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/App.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/TopNav/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 64 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/permission.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login-sy.vue 115 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login.vue 117 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainnew.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwtnew.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
外链.zip 补丁 | 查看 | 原始文档 | blame | 历史
dist (2).zip
Binary files differ
dist.zip
Binary files differ
ls&nh&sy&sltdÍâÁ´.zip
copy from "dist \0503\051.zip" copy to "ls&nh&sy&sltd\345\244\226\351\223\276.zip" Binary files differ
sltd&ls&ÄÏ»ª.zip
Binary files differ
src/App.vue
@@ -3,13 +3,13 @@
    <router-view />
    <theme-picker />
    <!-- <Assistant v-if="routertf" /> -->
    <Assistant
    <!-- <Assistant
      v-if="Assvite"
      :initial-position="{ x: 50, y: 200 }"
      :auto-hide="false"
      :hide-delay="3000"
      primary-color="#1890ff"
    />
    /> -->
  </div>
</template>
src/components/TopNav/index.vue
@@ -93,7 +93,7 @@
          childrenMenus.push(router.children[item]);
        }
      });
      return constantRoutes.concat(childrenMenus);
      return constantRoutes;
    },
    // é»˜è®¤æ¿€æ´»çš„菜单
    activeMenu() {
src/router/index.js
@@ -106,38 +106,38 @@
    component: () => import("@/views/error/401"),
    hidden: true,
  },
  {
    path: "",
    component: Layout,
    redirect: "index",
    children: [
      {
        path: "index",
        component: () => import("@/views/index"),
        name: "Index",
        meta: {
          title: "首页",
          icon: "dashboard",
          affix: true,
          roles: ["admin", "sysadmin"],
        },
      },
    ],
  },
  {
    path: "/user",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
    children: [
      {
        path: "profile",
        component: () => import("@/views/system/user/profile/index"),
        name: "Profile",
        meta: { title: "个人中心", icon: "user" },
      },
    ],
  },
  // {
  //   path: "",
  //   component: Layout,
  //   redirect: "index",
  //   children: [
  //     {
  //       path: "index",
  //       component: () => import("@/views/index"),
  //       name: "Index",
  //       meta: {
  //         title: "首页",
  //         icon: "dashboard",
  //         affix: true,
  //         roles: ["admin", "sysadmin"],
  //       },
  //     },
  //   ],
  // },
  // {
  //   path: "/user",
  //   component: Layout,
  //   hidden: true,
  //   redirect: "noredirect",
  //   children: [
  //     {
  //       path: "profile",
  //       component: () => import("@/views/system/user/profile/index"),
  //       name: "Profile",
  //       meta: { title: "个人中心", icon: "user" },
  //     },
  //   ],
  // },
];
// åŠ¨æ€è·¯ç”±ï¼ŒåŸºäºŽç”¨æˆ·æƒé™åŠ¨æ€åŽ»åŠ è½½
src/store/modules/permission.js
@@ -17,10 +17,10 @@
  mutations: {
    SET_ROUTES: (state, routes) => {
      state.addRoutes = routes;
      state.routes = constantRoutes.concat(routes);
      state.routes = constantRoutes;
    },
    SET_DEFAULT_ROUTES: (state, routes) => {
      state.defaultRoutes = constantRoutes.concat(routes);
      state.defaultRoutes = constantRoutes;
    },
    SET_TOPBAR_ROUTES: (state, routes) => {
      state.topbarRouters = routes;
src/views/login-sy.vue
ÎļþÃû´Ó src/views/login-ls.vue ÐÞ¸Ä
@@ -36,11 +36,11 @@
          />
        </el-input>
      </el-form-item>
      <!-- ä¸½===================æ°´ -->
      <el-form-item prop="orgid">
      <!-- å¸‚一===================一 -->
      <el-form-item prop="medicalCode">
        <el-select
          style="width: 100%"
          v-model="loginForm.orgid"
          v-model="loginForm.medicalCode"
          placeholder="请选择院区"
        >
          <el-option
@@ -118,7 +118,8 @@
        code: "",
        orgid: "H41010500003",
      },
      options: [],
      options: [
      ],
      loginRules: {
        username: [
          { required: true, trigger: "blur", message: "请输入您的账号" },
@@ -167,9 +168,8 @@
      getorganization({ pageSize: 30 }).then((res) => {
        if (res.code == 200) {
          this.options = res.rows.map((item) => ({
            value: item.orgid,
            value: item.medicalCode,
            label: item.organizationName,
            campusid: item.organizationID,
          }));
        }
      });
@@ -186,60 +186,61 @@
      };
    },
    handleLogin() {
      this.$refs.loginForm.validate((valid) => {
        if (valid) {
          this.loading = true;
  this.$refs.loginForm.validate((valid) => {
    if (valid) {
      this.loading = true;
          if (this.loginForm.rememberMe) {
            Cookies.set("username", this.loginForm.username, { expires: 30 });
            Cookies.set("password", encrypt(this.loginForm.password), {
              expires: 30,
            });
            Cookies.set("rememberMe", this.loginForm.rememberMe, {
              expires: 30,
            });
          } else {
            Cookies.remove("username");
            Cookies.remove("password");
            Cookies.remove("rememberMe");
          }
      if (this.loginForm.rememberMe) {
        Cookies.set("username", this.loginForm.username, { expires: 30 });
        Cookies.set("password", encrypt(this.loginForm.password), {
          expires: 30,
        });
        Cookies.set("rememberMe", this.loginForm.rememberMe, {
          expires: 30,
        });
      } else {
        Cookies.remove("username");
        Cookies.remove("password");
        Cookies.remove("rememberMe");
      }
          // åŠ¨æ€è®¾ç½® campusid å‚æ•°
          const selectedOrg = this.options.find(
            (item) => item.value === this.loginForm.orgid
          );
          this.loginForm.campusid = selectedOrg.campusid || 1;
          // å¸‚一处理-----------------
          // if (selectedOrg) {
          //   if (selectedOrg.label.includes("湖滨")) {
          //     this.loginForm.campusid = 1;
          //   } else if (selectedOrg.label.includes("吴山")) {
          //     this.loginForm.campusid = 2;
          //   } else {
          //     this.loginForm.campusid = 1; // é»˜è®¤å€¼æˆ–其他处理
          //   }
          // }
          // --------------------------------
          this.$store
            .dispatch("Login", this.loginForm)
            .then((res) => {
              if (this.loginForm.username == "admin") {
                this.$router.push({ path: "/index" }).catch(() => {});
              } else {
                this.$router
                  .push({ path: "/followvisit/discharge" })
                  .catch(() => {});
              }
            })
            .catch(() => {
              this.loading = false;
              if (this.captchaEnabled) {
                this.getCode();
              }
            });
      // åŠ¨æ€è®¾ç½® campusid å‚æ•°
      const selectedOrg = this.options.find(item => item.value === this.loginForm.medicalCode);
      console.log(selectedOrg);
      if (selectedOrg) {
        if (selectedOrg.label.includes('湖滨')) {
          this.loginForm.campusid = 1;
          this.loginForm.orgid = 1;
        } else if (selectedOrg.label.includes('吴山')) {
          this.loginForm.campusid = 2;
          this.loginForm.orgid = 1;
        } else {
          this.loginForm.campusid = 1; // é»˜è®¤å€¼æˆ–其他处理
          this.loginForm.orgid = 1;
        }
      });
    },
      }
      this.$store
        .dispatch("Login", this.loginForm)
        .then((res) => {
          if (this.loginForm.username == "admin") {
            this.$router.push({ path: "/index" }).catch(() => {});
          } else {
            this.$router
              .push({ path: "/followvisit/discharge" })
              .catch(() => {});
          }
        })
        .catch(() => {
          this.loading = false;
          if (this.captchaEnabled) {
            this.getCode();
          }
        });
    }
  });
}
  },
};
</script>
src/views/login.vue
@@ -36,11 +36,11 @@
          />
        </el-input>
      </el-form-item>
      <!-- å¸‚一===================一 -->
      <el-form-item prop="medicalCode">
      <!-- ä¸½===================æ°´ -->
      <el-form-item prop="orgid">
        <el-select
          style="width: 100%"
          v-model="loginForm.medicalCode"
          v-model="loginForm.orgid"
          placeholder="请选择院区"
        >
          <el-option
@@ -118,8 +118,7 @@
        code: "",
        orgid: "H41010500003",
      },
      options: [
      ],
      options: [],
      loginRules: {
        username: [
          { required: true, trigger: "blur", message: "请输入您的账号" },
@@ -168,8 +167,9 @@
      getorganization({ pageSize: 30 }).then((res) => {
        if (res.code == 200) {
          this.options = res.rows.map((item) => ({
            value: item.medicalCode,
            value: item.orgid,
            label: item.organizationName,
            campusid: item.organizationID,
          }));
        }
      });
@@ -186,61 +186,62 @@
      };
    },
    handleLogin() {
  this.$refs.loginForm.validate((valid) => {
    if (valid) {
      this.loading = true;
      this.$refs.loginForm.validate((valid) => {
        if (valid) {
          this.loading = true;
      if (this.loginForm.rememberMe) {
        Cookies.set("username", this.loginForm.username, { expires: 30 });
        Cookies.set("password", encrypt(this.loginForm.password), {
          expires: 30,
        });
        Cookies.set("rememberMe", this.loginForm.rememberMe, {
          expires: 30,
        });
      } else {
        Cookies.remove("username");
        Cookies.remove("password");
        Cookies.remove("rememberMe");
      }
      // åŠ¨æ€è®¾ç½® campusid å‚æ•°
      const selectedOrg = this.options.find(item => item.value === this.loginForm.medicalCode);
      console.log(selectedOrg);
      if (selectedOrg) {
        if (selectedOrg.label.includes('湖滨')) {
          this.loginForm.campusid = 1;
          this.loginForm.orgid = 1;
        } else if (selectedOrg.label.includes('吴山')) {
          this.loginForm.campusid = 2;
          this.loginForm.orgid = 1;
        } else {
          this.loginForm.campusid = 1; // é»˜è®¤å€¼æˆ–其他处理
          this.loginForm.orgid = 1;
        }
      }
      this.$store
        .dispatch("Login", this.loginForm)
        .then((res) => {
          if (this.loginForm.username == "admin") {
            this.$router.push({ path: "/index" }).catch(() => {});
          if (this.loginForm.rememberMe) {
            Cookies.set("username", this.loginForm.username, { expires: 30 });
            Cookies.set("password", encrypt(this.loginForm.password), {
              expires: 30,
            });
            Cookies.set("rememberMe", this.loginForm.rememberMe, {
              expires: 30,
            });
          } else {
            this.$router
              .push({ path: "/followvisit/discharge" })
              .catch(() => {});
            Cookies.remove("username");
            Cookies.remove("password");
            Cookies.remove("rememberMe");
          }
        })
        .catch(() => {
          this.loading = false;
          if (this.captchaEnabled) {
            this.getCode();
          }
        });
    }
  });
}
          // åŠ¨æ€è®¾ç½® campusid å‚æ•°
          const selectedOrg = this.options.find(
            (item) => item.value === this.loginForm.orgid
          );
          console.log(selectedOrg,'selectedOrg');
          this.loginForm.campusid = selectedOrg.campusid || 1;
          // å¸‚一处理-----------------
          // if (selectedOrg) {
          //   if (selectedOrg.label.includes("湖滨")) {
          //     this.loginForm.campusid = 1;
          //   } else if (selectedOrg.label.includes("吴山")) {
          //     this.loginForm.campusid = 2;
          //   } else {
          //     this.loginForm.campusid = 1; // é»˜è®¤å€¼æˆ–其他处理
          //   }
          // }
          // --------------------------------
          this.$store
            .dispatch("Login", this.loginForm)
            .then((res) => {
              if (this.loginForm.username == "admin") {
                this.$router.push({ path: "/index" }).catch(() => {});
              } else {
                this.$router
                  .push({ path: "/followvisit/discharge" })
                  .catch(() => {});
              }
            })
            .catch(() => {
              this.loading = false;
              if (this.captchaEnabled) {
                this.getCode();
              }
            });
        }
      });
    },
  },
};
</script>
src/views/outsideChainnew.vue
@@ -8,7 +8,9 @@
            {{
              kcb
                ? kcb
                : "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
                : "亲爱的患者-家属,我们是" +
                  localStorage.getItem("orgname") +
                  "的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
            }}
            <!-- äº²çˆ±çš„æ‚£è€…/家属您好,为了更好的了解您出院后的康复情况,给您适当及时的健康指导,请您抽一点宝贵时间,完成这份出院随访问卷调查。 -->
          </div>
@@ -82,7 +84,11 @@
            </div>
          </div>
          <!-- å¡«ç©º -->
          <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 4||item.scriptType == 3">
          <div
            class="scriptTopic-dev"
            :key="index"
            v-if="item.scriptType == 4 || item.scriptType == 3"
          >
            <div class="dev-text">
              {{ index + 1 }}、<span style="line-height: 1.5"
                >{{ item.scriptContent
@@ -163,6 +169,7 @@
      kcb: "",
      excep: "",
      taskname: "",
      param6: null,
      questionList: [
        // {
        //   scriptType: 1,
@@ -288,12 +295,14 @@
      geturlinfo(url).then((res) => {
        if (res.code == 200) {
          this.getQuestionnaire(
            res.data.param1,
            res.data.param2,
            res.data.param3,
            res.data.param5
          );
          this.param6 = res.data.param6;
        }
      });
    },
@@ -385,10 +394,12 @@
      let form = {
        param1: this.taskid,
        param2: this.patid,
        param6: this.param6,
        excep: this.excep,
        type: this.type,
        serviceSubtaskDetailList: [],
      };
      const arr = structuredClone(this.questionList);
      // arr.forEach((item) => {
      //   item.asrtext = JSON.stringify(item.questionResult);
@@ -413,13 +424,14 @@
      let form = {
        param1: this.taskid,
        param2: this.patid,
        param6: this.param6,
        type: this.type,
        ivrTaskTemplateScriptVOList: [],
      };
      const arr = structuredClone(this.questionList);
      console.log(arr, "srr");
      arr.forEach((item, index) => {
        if (item.scriptType == 3||item.scriptType == 4) return;
        if (item.scriptType == 3 || item.scriptType == 4) return;
        var obj = item.ivrTaskScriptTargetoptionList.find(
          (items) => items.targetvalue == item.questionResult
        );
src/views/outsideChainwtnew.vue
@@ -179,6 +179,7 @@
      isabnormal: 0,
      taskname: "",
      questionList: [],
      param6:null,
      jsy: null,
      dialogVisible: false,
      Endornot: true,
@@ -231,6 +232,8 @@
            res.data.param3,
            res.data.param5
          );
          this.param6 = res.data.param6;
        }
      });
    },
@@ -319,6 +322,7 @@
      let form = {
        param1: this.taskid,
        param2: this.patid,
        param6: this.param6,
        excep: this.excep,
        isabnormal: this.isabnormal,
        serviceSubtaskDetailList: [],
@@ -349,6 +353,7 @@
      let form = {
        param1: this.taskid,
        param2: this.patid,
        param6: this.param6,
        svyTaskTemplateScriptVOS: [],
      };
      const arr = structuredClone(this.questionList);
src/views/patient/propaganda/index.vue
@@ -37,7 +37,7 @@
            placeholder="请输入患者姓名"
          ></el-input>
        </el-form-item>
        <el-form-item label="患者范围" prop="status">
        <!-- <el-form-item label="患者范围" prop="status">
          <el-select
            v-model="topqueryParams.searchscope"
            placeholder="请选择患者范围"
@@ -50,7 +50,7 @@
            >
            </el-option>
          </el-select>
        </el-form-item>
        </el-form-item> -->
        <el-form-item label="患者范围" prop="status">
          <el-cascader
            v-model="topqueryParams.scopetype"
@@ -751,9 +751,9 @@
        pageNum: 1,
        pageSize: 10,
        serviceType: 4,
        searchscope: 2,
        searchscope: 3,
        sendstate: 2,
         leaveldeptcodes: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      },
      propss: { multiple: true },
@@ -776,7 +776,7 @@
          value: 4,
          label: "不执行",
        },
         {
        {
          value: 5,
          label: "发送失败",
        },
@@ -784,7 +784,7 @@
          value: 6,
          label: "已完成",
        },
         {
        {
          value: 7,
          label: "超时",
        },
@@ -845,8 +845,8 @@
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      this.loading = true;
      console.log(this.topqueryParams.leavehospitaldistrictcodes);
      console.log(this.topqueryParams.leaveldeptcodes);
      console.log(this.topqueryParams.leavehospitaldistrictcodes,'123');
      console.log(this.topqueryParams.leaveldeptcodes,'344');
      if (
        this.topqueryParams.leavehospitaldistrictcodes[0] &&
src/views/patient/propaganda/particty.vue
@@ -1309,7 +1309,7 @@
      };
      this.currenttype = this.$route.query.type;
      this.title = "随访内容列表";
      this.tableLabel = this.tableLabelwj||[];
      this.tableLabel = this.tableLabelwj || [];
      if (this.form.serviceType == 1) {
        this.checkboxlist = [
          {
@@ -1329,9 +1329,13 @@
            label: "微信公众号",
          },
        ];
      } else if (this.form.serviceType == 6) {
      } else if (
        this.form.serviceType == 6 ||
        this.form.serviceType == 14 ||
        this.form.serviceType == 15
      ) {
        this.checkboxlist = [
           {
          {
            value: "1",
            label: "人工",
          },
@@ -1482,8 +1486,8 @@
          this.leavehospitaldistrictcodes = [];
        }
        if (this.checkList) {
          this.form.preachform = this.checkList.join(",")||[];
          this.form.preachformList = this.selectedOrder||[];
          this.form.preachform = this.checkList.join(",") || [];
          this.form.preachformList = this.selectedOrder || [];
        } else {
          this.$modal.msgError("请选择服务类型");
          this.submitLoading = false;
@@ -1615,7 +1619,7 @@
          // ç–¾ç—…
          this.getillness(this.form.libtemplateid);
          selectInfoByCondition({id:this.form.templateid} ).then((res) => {
          selectInfoByCondition({ id: this.form.templateid }).then((res) => {
            if (res.code == 200) {
              this.previewtf = true;
              this.previewtftype = 1;
@@ -1941,7 +1945,7 @@
              : [];
            this.overallCase = this.form.patTaskRelevances.concat();
            this.checkList = this.form.preachform.split(",") || [];
            this.selectedOrder = this.form.preachformList||[];
            this.selectedOrder = this.form.preachformList || [];
            this.overallCase.forEach((item) => {
              if (item.endtime) {
@@ -2288,7 +2292,7 @@
      });
    },
    checkSelectionChange(selectedValues, selectedOrder) {
      this.selectedOrder = selectedValues||[];
      this.selectedOrder = selectedValues || [];
      console.log("当前选中:", selectedValues);
      console.log("选中顺序:", selectedOrder);
    },
@@ -2329,7 +2333,7 @@
            this.form.libtemplateid = this.objyl.id;
            this.objyl.isoperation = 1;
            console.log(this.objyl,'this.objyl');
            console.log(this.objyl, "this.objyl");
            this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
              item.ivrTaskScriptTargetoptionList =
ÍâÁ´.zip
Binary files differ