WXL (wul)
11 小时以前 dacfc42199eaeed64738201411d0b37153f7bf76
测试完成
已删除2个文件
已重命名1个文件
已修改7个文件
195 ■■■■ 文件已修改
LiShui.zip 补丁 | 查看 | 原始文档 | blame | 历史
SLTD-WL.zip 补丁 | 查看 | 原始文档 | blame | 历史
SLTD.zip 补丁 | 查看 | 原始文档 | blame | 历史
sltd-zs.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/user.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionnaire/compilequer/index.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwtnew.vue 123 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/Missioncreation.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sfstatistics/percentage/index.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LiShui.zip
Binary files differ
SLTD-WL.zip
Binary files differ
SLTD.zip
Binary files differ
sltd-zs.zip
Binary files differ
src/store/modules/user.js
@@ -187,6 +187,12 @@
              localStorage.setItem("deptCode", "");
              localStorage.setItem("YongHuID", "1478905109432766464");
              localStorage.setItem("YongHuXM", "LQRMYY");
            } else if (orgid == "20001001") {
              localStorage.setItem("orgname", "省立同德翠苑院区");
              localStorage.setItem("ZuHuID", "");
              localStorage.setItem("deptCode", "");
              localStorage.setItem("YongHuID", "");
              localStorage.setItem("YongHuXM", "");
            }
            resolve();
          })
src/views/followvisit/record/detailpage/index.vue
@@ -1190,21 +1190,21 @@
      selectedTag: "",
      tagOptions: [
        {
          value: "0",
          value: '0',
          label: "正常",
          type: "normal",
          color: "#7ff5e1",
          description: "患者情况正常,无需特别关注",
        },
        {
          value: "1",
          value: '1',
          label: "异常",
          type: "abnormal",
          color: "#f75c5c",
          description: "患者存在异常情况,需要重点关注",
        },
        {
          value: "2",
          value: '2',
          label: "警告",
          type: "warning",
          color: "#fbfb4a",
@@ -1611,7 +1611,7 @@
        );
        if (obj) {
          if (objs.isabnormal) {
            excep = 1;
            excep = objs.isabnormal;
          }
        }
        let obj = {
@@ -2760,7 +2760,7 @@
  margin: 0 10px 20px 10px;
  /* 当缩放比例大于100%或屏幕宽度较小时改为上下排列 */
  @media screen and (max-width: 1200px), (min-resolution: 1dppx) {
  @media screen and  (min-resolution: 1.5dppx) {
    flex-direction: column;
    .call-action,
@@ -2916,9 +2916,8 @@
}
/* 缩放检测样式 */
@media screen and (min-resolution: 1.1dppx),
  screen and (-webkit-min-device-pixel-ratio: 1.1),
  screen and (max-width: 1200px) {
@media screen and (min-resolution: 1.5dppx),
  screen and (-webkit-min-device-pixel-ratio: 1.5) {
  .action-container {
    flex-direction: column;
  }
src/views/knowledge/questionnaire/compilequer/index.vue
@@ -715,19 +715,20 @@
                            >
                              <span style="color: #67c23a">● 正常</span>
                            </el-option>
                            <el-option
                              :value="1"
                              label="异常"
                              :style="{ color: '#E6A23C' }"
                            >
                              <span style="color: #e6a23c">● 异常</span>
                            </el-option>
                            <el-option
                              :value="2"
                              label="警告"
                              :style="{ color: '#F56C6C' }"
                              :style="{ color: '#fbfb4a' }"
                            >
                              <span style="color: #f56c6c">● 警告</span>
                              <span style="color: #fbfb4a">● 警告</span>
                            </el-option>
                            <el-option
                              :value="1"
                              label="异常"
                              :style="{ color: '#f75c5c' }"
                            >
                              <span style="color: #f75c5c">● 异常</span>
                            </el-option>
                          </el-select>
                        </el-form-item>
src/views/outsideChainwtnew.vue
@@ -4,9 +4,15 @@
      <div class="questionnaire-container">
        <!-- 问卷标题区域 -->
        <div class="questionnaire-header">
          <h1 class="questionnaire-title">{{ taskname ? taskname : "问卷" }}</h1>
          <h1 class="questionnaire-title">
            {{ taskname ? taskname : "问卷" }}
          </h1>
          <div class="questionnaire-description">
            {{ kcb ? kcb : "亲爱的患者-家属,我们是医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。" }}
            {{
              kcb
                ? kcb
                : "亲爱的患者-家属,我们是医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
            }}
          </div>
        </div>
@@ -18,51 +24,81 @@
            class="question-item"
            v-for="(item, index) in visibleQuestions"
            :key="item.id"
            :class="{ 'has-warning': item.prompt && (item.scriptResult && (item.scriptType !== 2 || item.scriptResult.length > 0)) }"
            :class="{
              'has-warning':
                item.prompt &&
                item.scriptResult &&
                (item.scriptType !== 2 || item.scriptResult.length > 0),
            }"
          >
            <!-- 题目题干 -->
            <div class="question-stem">
              <span class="question-number">{{ getVisibleQuestionIndex(index) }}.</span>
              <span class="question-number"
                >{{ getVisibleQuestionIndex(index) }}.</span
              >
              <span class="question-text">{{ item.scriptContent }}</span>
              <span class="question-type-tag">
                {{ item.scriptType === 1 ? '[单选]' : item.scriptType === 2 ? '[多选]' : '[问答]' }}
                {{
                  item.scriptType === 1
                    ? "[单选]"
                    : item.scriptType === 2
                    ? "[多选]"
                    : "[问答]"
                }}
              </span>
            </div>
            <!-- 单选题目 -->
            <div class="question-options" v-if="item.scriptType == 1 && !item.ishide">
            <div
              class="question-options"
              v-if="item.scriptType == 1 && !item.ishide"
            >
              <el-radio-group class="options-group" v-model="item.scriptResult">
                <el-radio
                  v-for="(option, optionIndex) in item.svyTaskTemplateTargetoptions"
                  v-for="(
                    option, optionIndex
                  ) in item.svyTaskTemplateTargetoptions"
                  :key="optionIndex"
                  :label="option.optioncontent"
                  :class="{
                    'abnormal-option': option.isabnormal && item.scriptResult == option.optioncontent
                    'abnormal-option':
                      option.isabnormal &&
                      item.scriptResult == option.optioncontent,
                  }"
                  @click.native.prevent="handleRadioToggle(item, index, item.svyTaskTemplateTargetoptions, option.optioncontent)"
                  @click.native.prevent="
                    handleRadioToggle(
                      item,
                      index,
                      item.svyTaskTemplateTargetoptions,
                      option.optioncontent
                    )
                  "
                  class="option-radio"
                >
                  <span class="option-text">{{ option.optioncontent }}</span>
                  <span v-if="option.isabnormal" class="abnormal-indicator">*</span>
                </el-radio>
              </el-radio-group>
            </div>
            <!-- 多选题目 -->
            <div class="question-options" v-if="item.scriptType == 2">
              <el-checkbox-group class="options-group" v-model="item.scriptResult">
              <el-checkbox-group
                class="options-group"
                v-model="item.scriptResult"
              >
                <el-checkbox
                  v-for="(option, optionIndex) in item.svyTaskTemplateTargetoptions"
                  v-for="(
                    option, optionIndex
                  ) in item.svyTaskTemplateTargetoptions"
                  :key="optionIndex"
                  :label="option.optioncontent"
                  :class="{
                    'abnormal-option': option.isabnormal
                    'abnormal-option': option.isabnormal,
                  }"
                  @change="$forceUpdate()"
                  class="option-checkbox"
                >
                  <span class="option-text">{{ option.optioncontent }}</span>
                  <span v-if="option.isabnormal" class="abnormal-indicator">*</span>
                </el-checkbox>
              </el-checkbox-group>
            </div>
@@ -80,19 +116,27 @@
            </div>
            <!-- 提示信息 -->
            <div class="question-warning" v-show="item.prompt && item.scriptResult && (item.scriptType !== 2 || item.scriptResult.length > 0)">
              <el-alert :title="item.prompt" type="warning" :closable="false" class="warning-alert"></el-alert>
            <div
              class="question-warning"
              v-show="
                item.prompt &&
                item.scriptResult &&
                (item.scriptType !== 2 || item.scriptResult.length > 0)
              "
            >
              <el-alert
                :title="item.prompt"
                type="warning"
                :closable="false"
                class="warning-alert"
              ></el-alert>
            </div>
          </div>
        </div>
        <!-- 提交按钮 -->
        <div class="submit-section">
          <el-button
            type="primary"
            @click="cache(true)"
            class="submit-button"
          >
          <el-button type="primary" @click="cache(true)" class="submit-button">
            提交问卷
          </el-button>
        </div>
@@ -105,7 +149,11 @@
        <div class="completion-icon">✓</div>
        <h2 class="completion-title">感谢您的配合!</h2>
        <p class="completion-message">
          {{ jsy ? jsy : "生活上要劳逸结合,注意休息和营养,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!" }}
          {{
            jsy
              ? jsy
              : "生活上要劳逸结合,注意休息和营养,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!"
          }}
        </p>
      </div>
    </div>
@@ -127,7 +175,8 @@
      taskid: 355,
      patid: 265823,
      kcb: "",
      excep: "",
      excep: 0,
      isabnormal: 0,
      taskname: "",
      questionList: [],
      jsy: null,
@@ -268,9 +317,11 @@
        param1: this.taskid,
        param2: this.patid,
        excep: this.excep,
        isabnormal: this.excep,
        isabnormal: this.isabnormal,
        serviceSubtaskDetailList: [],
      };
      console.log(form.isabnormal, "formisabnormal");
      const arr = structuredClone(this.questionList);
      // arr.forEach((item) => {
      //   item.asrtext = JSON.stringify(item.scriptResult);
@@ -298,7 +349,9 @@
        svyTaskTemplateScriptVOS: [],
      };
      const arr = structuredClone(this.questionList);
      console.log(arr, "srr");
      arr.forEach((item) => {
        item.ishide = item.ishide ? 1 : 0;
      });
      arr.forEach((item, index) => {
        if (item.scriptType == 1 && item.scriptResult) {
          var obj = item.svyTaskTemplateTargetoptions.find(
@@ -314,11 +367,13 @@
            item.sendTaskids = String(obj.sendTaskid).split(",");
          }
          if (obj) {
            if (obj.isabnormal) {
              console.log(obj.isabnormal);
              form.excep = obj.isabnormal;
            form.excep = obj.isabnormal;
            form.isabnormal = obj.isabnormal;
            if (this.isabnormal != 1 && obj.isabnormal) {
              this.excep = obj.isabnormal;
              this.isabnormal = obj.isabnormal;
            }
            console.log(obj.isabnormal);
          }
        }
      });
@@ -352,7 +407,7 @@
      // 原有的处理逻辑
      if (questionItem.scriptResult === optionValue) {
        questionItem.scriptResult = "";
        questionItem.isabnormal = false;
        questionItem.isabnormal = 0;
        questionItem.showAppendInput = false;
      } else {
        questionItem.scriptResult = optionValue;
@@ -375,15 +430,15 @@
      const selectedOptionObj = options.find(
        (item) => item.optioncontent == selectedOption
      );
      if (selectedOption) {
      if (selectedOptionObj) {
        this.questionList[questionIndex].nextScriptno =
          selectedOption.nextQuestion;
        this.questionList[questionIndex].score = selectedOption.score;
        this.questionList[questionIndex].prompt = selectedOption.prompt;
          selectedOptionObj.nextQuestion;
        this.questionList[questionIndex].score = selectedOptionObj.score;
        this.questionList[questionIndex].prompt = selectedOptionObj.prompt;
      }
      // 处理异常状态高亮
      this.questionList[questionIndex].isabnormal =
        !!selectedOptionObj.isabnormal;
        selectedOptionObj.isabnormal;
      // 处理附加输入框显示
      this.questionList[questionIndex].showAppendInput =
src/views/patient/propaganda/Missioncreation.vue
@@ -1145,13 +1145,20 @@
      }
    },
    // 保存
    submitForm(formName) {
   async submitForm(formName) {
      this.form.preachform = this.checkList.join(",");
      // this.formatFn(1);
      if (!this.form.patTaskRelevances[0] && this.form.longTask == 0) {
        this.$modal.msgError("请选择病人");
        return;
      }
  if (!this.form.patTaskRelevances[0] && this.form.longTask == 0) {
    try {
      // 等待用户确认
      await this.$modal.confirm("当前任务未选择患者是否保存?");
      // 只有用户点击“确认”后,代码才会执行到这里
    } catch (error) {
      // 用户点击了“取消”,直接中断函数执行
      this.$modal.msgWarning("操作已取消");
      return; // 关键:这里return直接退出函数
    }
  }
      if (!this.form.templatename) {
        this.$modal.msgError("未选择模板");
        return;
src/views/sfstatistics/percentage/index.vue
@@ -1462,10 +1462,23 @@
    },
    /** 导出按钮操作 */
    handleExport() {
      const params = {
        ...this.queryParams,
        // 如果选择了"全部",则传所有病区/科室代码
        leavehospitaldistrictcodes:
          this.queryParams.leavehospitaldistrictcodes.includes("all")
            ? this.allWardCodes
            : this.queryParams.leavehospitaldistrictcodes,
        deptcodes: this.queryParams.deptcodes.includes("all")
          ? this.allDeptCodes
          : this.queryParams.deptcodes,
      };
       delete params.leavehospitaldistrictcodes.all;
      delete params.deptcodes.all;
      this.download(
        "smartor/serviceSubtask/getSfStatisticsExport",
        {
          ...this.queryParams,
          ...params,
        },
        `user_${new Date().getTime()}.xlsx`
      );