WXL
2025-01-16 080186b670ed6ee1c3149454a1abe44da0085d52
测试完成
已添加1个文件
已修改5个文件
55 ■■■■■ 文件已修改
external (2).zip 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/SingleTask.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwtnew.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/profile/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
external (2).zip
Binary files differ
src/api/AiCentre/SingleTask.js
@@ -47,6 +47,14 @@
      data: data,
    });
  }
  //   任务选取患者信息
  export function getTaskpatientQC(data) {
    return request({
      url: "/smartor/patarchive/getPatientInfoQC",
      method: "post",
      data: data,
    });
  }
  // 新增或修改任务
  export function Editsingletask(data) {
    return request({
src/views/outsideChainwtnew.vue
@@ -63,7 +63,6 @@
              <el-checkbox-group
                class="custom-radio"
                v-model="item.scriptResult"
                @change="updateScore($event, index, item)"
              >
                <el-checkbox
                  border
@@ -448,19 +447,19 @@
      }
    },
    // 处理多选选项
    updateScore(selectedvalues, index, arr) {
      // ��加分数
      let score = 0;
      selectedvalues.forEach((value) => {
        const selectedOption = arr.svyLibTemplateTargetoptions.find(
          (option) => option.optioncontent == value
        );
        if (selectedOption) {
          score += Number(selectedOption.score);
        }
      });
      this.questionList[index].score = score;
    },
    // updateScore(selectedvalues, index, arr) {
    //   // ��加分数
    //   let score = 0;
    //   selectedvalues.forEach((value) => {
    //     const selectedOption = arr.svyLibTemplateTargetoptions.find(
    //       (option) => option.optioncontent == value
    //     );
    //     if (selectedOption) {
    //       score += Number(selectedOption.score);
    //     }
    //   });
    //   this.questionList[index].score = score;
    // },
  },
};
</script>
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -872,7 +872,7 @@
import { messagelistpatient } from "@/api/patient/homepage";
import store from "@/store";
import {
  getTaskpatient,
  getTaskpatientQC,
  getlibrarylist,
  getFollowuplist,
  getQtemplatelist,
@@ -1626,7 +1626,7 @@
        this.patientqueryParams.leavehospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      getTaskpatient(this.patientqueryParams).then((response) => {
      getTaskpatientQC(this.patientqueryParams).then((response) => {
        this.patientuserList = response.rows;
        this.patientuserList.forEach((item) => {
          if (item.endtime) {
src/views/system/user/profile/index.vue
@@ -23,14 +23,22 @@
                <svg-icon icon-class="email" />用户邮箱
                <div class="pull-right">{{ user.email }}</div>
              </li>
              <li class="list-group-item">
              <li class="list-group-item" v-if="user.belongWards[0]">
                <svg-icon icon-class="tree" />所属院区
                <div class="pull-right" >{{ user.belongWards[0].districtName }}</div>
              </li>
              <li class="list-group-item">
              <li class="list-group-item" v-else>
                <svg-icon icon-class="tree" />所属院区
                <div class="pull-right" >未配置</div>
              </li>
              <li class="list-group-item" v-if="user.belongDepts[0]">
                <svg-icon icon-class="tree" />所属科室
                <div class="pull-right" >{{ user.belongDepts[0].deptName }}</div>
              </li>
              <li class="list-group-item" v-else>
                <svg-icon icon-class="tree" />所属科室
                <div class="pull-right" >未配置</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="peoples" />所属角色
                <div class="pull-right">{{ roleGroup }}</div>
vue.config.js
@@ -35,13 +35,13 @@
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `http://192.168.168.60:8095`,
        target: `http://192.168.168.60:8095`,
        // target: `http://10.202.20.185:8095`,
        // target: `http://192.168.100.184:8095`,
        // target:`http://localhost:8095`,
        // target: `http://192.168.101.135:8095`,
        // target: `http://192.168.101.166:8093`,
        target: `http://192.168.191.181:8095`,
        // target: `http://192.168.191.181:8095`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''