WXL
2024-09-03 d03829bdf327d0e457a2f4e3699a69d5ad47d3a3
测试完成
已修改5个文件
69 ■■■■ 文件已修改
src/views/knowledge/questionnaire/compilequer/index.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/templateku/configurat/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionnaire/compilequer/index.vue
@@ -695,7 +695,7 @@
            <div
              class="scriptTopic-dev"
              :key="item.sort"
              v-if="item.scriptType == 3"
              v-if="item.scriptType == 4"
            >
              <div class="dev-text">
                {{ item.sort }}、[填空]<span>{{ item.scriptContent }}</span>
@@ -1278,13 +1278,13 @@
  },
  activated() {
    if (this.id != this.$route.query.id) {
      this.gettabList();
      this.getissueinfo();
      this.gettabList();
    }
  },
  created() {
    this.gettabList();
    this.getissueinfo();
    this.gettabList();
    this.mode = store.getters.Askmode;
    this.languagelist = store.getters.languagelist;
    this.usable = store.getters.usable;
@@ -1337,6 +1337,12 @@
    // 获取数据
    getissueinfo() {
      this.id = this.$route.query.id;
      this.ruleForm = {
        svyTemplateLibScripts: [],
        tempDetpRelevances: [],
        svyLibTemplateTagList: [],
      };
      if (this.id) {
        getQtemplateobj({ svyid: this.id }).then((res) => {
          this.ruleForm = res.rows[0];
@@ -1365,9 +1371,11 @@
      });
    },
    submitForm(formName) {
      this.$modal.loading("正在上传数据,请稍候...");
      this.$modal.loading("正在修正保存数据,请稍候...");
      this.ruleForm.suitway = this.ruleForm.suitway.join(",");
      if (!this.ruleForm.categoryid) {
        this.ruleForm.categoryid = -1;
      }
      if (this.id) {
        this.ruleForm.isoperation = 2;
        compileQtemplate(this.ruleForm).then((res) => {
@@ -1808,12 +1816,15 @@
      const allGreaterThanTen = arr.every((array) => {
        const totalScore = array.reduce((accumulator, current) => {
          return accumulator + current.score;
          return accumulator + Number(current.score);
        }, 0);
        console.log(totalScore);
        console.log(this.ruleForm.scriptScore);
        return totalScore == this.ruleForm.scriptScore;
      });
      if (allGreaterThanTen) {
        this.$modal.msgSuccess("题目分值累加和模版总分相符");
        this.$modal.msgSuccess("分值校验成功");
      } else {
        this.$modal.msgError("题目分值累加和模版分值不符");
      }
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -425,7 +425,7 @@
          class="scriptTopic-dev"
          v-for="item in questionList"
          :key="item.sort"
          v-if="item.scriptType == 3"
          v-if="item.scriptType == 4"
        >
          <div class="dev-text">
            {{ item.sort }}、[填空]<span>{{ item.scriptContent }}</span>
src/views/patient/propaganda/particty.vue
@@ -447,11 +447,8 @@
              v-show="showSearch"
              label-width="98px"
            >
              <el-form-item label="随访主题">
                <el-input v-model="topqueryParams.name"></el-input>
              </el-form-item>
              <el-form-item label="随访名称">
                <el-input v-model="topqueryParams.name"></el-input>
                <el-input v-model="topqueryParams.templateName"></el-input>
              </el-form-item>
              <el-form-item label="适用科室" prop="status">
@@ -463,6 +460,28 @@
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item>
              <el-form-item label="随访模版分类" prop="region">
                <el-select
                  v-model="topqueryParams.assortid"
                  size="medium"
                  filterable
                  placeholder="请选择分类"
                >
                  <el-option-group
                    v-for="group in indexAssortlist"
                    :key="group.id"
                    :label="group.indexAssortName"
                  >
                    <el-option
                      v-for="item in group.ivrLibaTemplateAssortList"
                      :key="item.id"
                      :label="item.indexAssortName"
                      :value="item.id"
                    >
                    </el-option>
                  </el-option-group>
                </el-select>
              </el-form-item>
              <el-form-item>
@@ -519,6 +538,7 @@
  delhetaskinfo,
  Editsingletask,
  getvFollowup,
  getFollowupclassify,
} from "@/api/AiCentre/index";
import { listDept } from "@/api/system/dept";
@@ -615,6 +635,8 @@
      patientuserList: [], //选择患者列表
      sonuserList: [], //选中患者列表
      delvariableList: [], //删除变量临时存储
      indexAssortlist: [],
      variableList: [
        {
          name: "姓名",
@@ -793,6 +815,7 @@
        this.total = response.total;
      });
    },
    nextstep() {
      if (this.Editprogress <= 3) {
        return this.Editprogress++;
@@ -1056,6 +1079,9 @@
          }
        });
      }
      getFollowupclassify({}).then((res) => {
        this.indexAssortlist = res.rows;
      });
    },
    // 获取科室列表
    listDept() {
src/views/repositoryai/templateku/configurat/index.vue
@@ -1626,6 +1626,9 @@
      } else {
        this.ruleForm.isoperation = 1;
      }
      if (!this.ruleForm.assortid) {
        this.ruleForm.assortid = -1;
      }
      this.ruleForm.labelInfo = JSON.stringify(this.dynamicTags);
      this.ruleForm.suitway = this.ruleForm.suitway.join(",");
      this.ruleForm.campus = this.ruleForm.campus.join(",");
@@ -1680,7 +1683,7 @@
    },
    // 科室处理
    Departmenttreatment() {
      this.$modal.loading("正在上传数据,请稍候...");
      this.$modal.loading("正在修正保存数据,请稍候...");
      this.ruleForm.deptNames = JSON.stringify(this.tempDetpRelevanceslist);
      this.ruleForm.ivrLibaTemplateScriptVOList =
        this.ruleForm.ivrLibaTemplateScriptVOList.concat(this.delScriptVOList);
src/views/system/user/index.vue
@@ -307,7 +307,7 @@
          <el-col :span="12">
            <el-form-item label="归属部门" prop="deptId">
              <treeselect
                v-model="deptIds"
                v-model="form.depts"
                :options="deptOptions"
                :multiple="true"
                :show-count="true"
@@ -743,6 +743,7 @@
        this.open = true;
        this.title = "添加用户";
        this.form.password = this.initPassword;
        this.form.depts = [];
      });
    },
    /** 修改按钮操作 */