WXL
2024-07-22 452e7fb4ea242b0d7bb821abc0cb3bf465129ffd
测试完成
已添加4个文件
已修改6个文件
216 ■■■■■ 文件已修改
src/components/Regular/index.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/getters.js 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/classify/index.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/drug/index.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/firstAid/index.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/illness/index.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/Missioncreation.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/intention/index.vue 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Regular/index.vue
@@ -66,7 +66,7 @@
            </el-input> </el-form-item
        ></el-col>
      </el-row>
      <el-form-item label="关键字(含)" prop="desc">
      <el-form-item label="关键字(含)" prop="desc" v-if="hasValue">
        <div class="xinz-inf">
          <el-tag
            :key="crux"
@@ -108,7 +108,7 @@
          >
        </div>
      </el-form-item>
      <el-form-item label="关键字(非)" prop="desc">
      <el-form-item label="关键字(非)" prop="desc" v-if="hasValue">
        <div class="xinz-inf">
          <el-tag
            :key="crux"
@@ -179,7 +179,6 @@
              class="upload-demo"
              style="display: flex"
              action="https://jsonplaceholder.typicode.com/posts/"
              :on-change="handleChange"
              :file-list="fileList"
              :limit="1"
              :on-exceed="handleExceed"
@@ -268,6 +267,10 @@
      type: Boolean,
      default: true,
    },
    hasValue: {
      type: Boolean,
      default: true,
    },
  },
  created() {
@@ -314,9 +317,9 @@
      this.handleSelectionChange();
    },
    // æŽ§åˆ¶æ–‡ä»¶
    handleChange(file, fileList) {
      this.fileList = fileList.slice(-3);
    },
    // handleChange(file, fileList) {
    //   this.fileList = fileList.slice(-3);
    // },
    // æ–‡ä»¶è¶…出个数限制时的钩子
    handleExceed(files, fileList) {
      this.$message.warning(
@@ -392,8 +395,11 @@
    },
    // é€‰é¡¹æ–‡ä»¶ä¸Šä¼ 
    handleChange(item, response, file, fileList) {
      console.log(response, "response");
      console.log(item, "item");
      console.log(this.TargetoptionList, "this.TargetoptionList");
      let index = this.TargetoptionList.findIndex(
        (obj) => obj.id == item.id && obj.name == item.name
        (obj) => obj.guid == item.guid && obj.name == item.name
      );
      this.TargetoptionList[index].picturePath = response.url;
    },
src/store/getters.js
@@ -36,22 +36,6 @@
        listClass: "",
      },
    },
    {
      value: "3",
      label: "人工电话",
      raw: {
        cssClass: "",
        listClass: "",
      },
    },
    {
      value: "4",
      label: "智能问答",
      raw: {
        cssClass: "",
        listClass: "",
      },
    },
  ],
  // é€‚用方式
  Askmode: (state) => [
src/views/knowledge/classify/index.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
<template>
  <div>疾病分类代码</div>
</template>
<script>
export default {
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>
<style lang="scss" scoped></style>
src/views/knowledge/drug/index.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,27 @@
<template>
  <div>
药品知识库
  </div>
</template>
<script>
export default {
  data () {
    return {
    }
  },
  created () {
  },
  methods: {
  }
}
</script>
<style lang='scss' scoped>
</style>
src/views/knowledge/firstAid/index.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
<template>
  <div>急救知识库</div>
</template>
<script>
export default {
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>
<style lang="scss" scoped></style>
src/views/knowledge/illness/index.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
<template>
  <div>疾病知识库</div>
</template>
<script>
export default {
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>
<style lang="scss" scoped></style>
src/views/patient/propaganda/Missioncreation.vue
@@ -169,18 +169,6 @@
              </el-form>
            </div>
          </div>
        </div>
        <el-button type="success" @click="nextstep('ruleForm')">{{
          quote ? "立即创建" : "任务详情配置"
        }}</el-button>
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </div>
      <!-- ä»»åŠ¡è¯¦æƒ… -->
      <div v-if="Editprogress == 2">
        <el-alert title="在本阶段选择宣教病人" type="success" effect="dark">
        </el-alert>
        <div class="leftvlue-jbxx">
          <div class="examine-jic">
            <div class="headline">
              <div>变量匹配量参</div>
@@ -226,6 +214,19 @@
              </div>
            </div>
          </div>
        </div>
        <el-button type="success" @click="nextstep('ruleForm')">{{
          quote ? "立即创建" : "任务详情配置"
        }}</el-button>
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </div>
      <!-- ä»»åŠ¡è¯¦æƒ… -->
      <div v-if="Editprogress == 2">
        <el-alert title="在本阶段选择宣教病人" type="success" effect="dark">
        </el-alert>
        <div class="leftvlue-jbxx">
          <div class="examine-jic">
            <div class="headline">
              <div>患者列表</div>
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -169,18 +169,6 @@
              </el-form>
            </div>
          </div>
        </div>
        <el-button type="success" @click="nextstep('ruleForm')">{{
          quote ? "立即创建" : "任务详情配置"
        }}</el-button>
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </div>
      <!-- ä»»åŠ¡è¯¦æƒ… -->
      <div v-if="Editprogress == 2">
        <el-alert title="在本阶段选择宣教病人" type="success" effect="dark">
        </el-alert>
        <div class="leftvlue-jbxx">
          <div class="examine-jic">
            <div class="headline">
              <div>变量匹配量参</div>
@@ -226,6 +214,18 @@
              </div>
            </div>
          </div>
        </div>
        <el-button type="success" @click="nextstep('ruleForm')">{{
          quote ? "立即创建" : "任务详情配置"
        }}</el-button>
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </div>
      <!-- ä»»åŠ¡è¯¦æƒ… -->
      <div v-if="Editprogress == 2">
        <el-alert title="在本阶段选择宣教病人" type="success" effect="dark">
        </el-alert>
        <div class="leftvlue-jbxx">
          <div class="examine-jic">
            <div class="headline">
              <div>患者列表</div>
src/views/patient/propaganda/particty.vue
@@ -169,18 +169,6 @@
              </el-form>
            </div>
          </div>
        </div>
        <el-button type="success" @click="nextstep('ruleForm')">{{
          quote ? "立即创建" : "任务详情配置"
        }}</el-button>
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </div>
      <!-- ä»»åŠ¡è¯¦æƒ… -->
      <div v-if="Editprogress == 2">
        <el-alert title="在本阶段选择随访病人" type="success" effect="dark">
        </el-alert>
        <div class="leftvlue-jbxx">
          <div class="examine-jic">
            <div class="headline">
              <div>变量匹配量参</div>
@@ -226,6 +214,18 @@
              </div>
            </div>
          </div>
        </div>
        <el-button type="success" @click="nextstep('ruleForm')">{{
          quote ? "立即创建" : "任务详情配置"
        }}</el-button>
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </div>
      <!-- ä»»åŠ¡è¯¦æƒ… -->
      <div v-if="Editprogress == 2">
        <el-alert title="在本阶段选择随访病人" type="success" effect="dark">
        </el-alert>
        <div class="leftvlue-jbxx">
          <div class="examine-jic">
            <div class="headline">
              <div>患者列表</div>
@@ -994,6 +994,7 @@
    // å¤„理问题层变量
    Variablehandling(arr, type) {
      let Variablist = [];
      this.variableList = []; //变量列表
      if (type == 1) {
        console.log(arr);
        // å¾ªçŽ¯é—®é¢˜
@@ -1010,13 +1011,13 @@
            }
          });
        });
        console.log(Variablist, "Variablist");
        const Aarr = Variablist.filter(
          (obj, index, self) =>
            index ===
            self.findIndex((t) => t.name === obj.name && t.value === obj.value)
        );
        this.variableList = this.transitionList.concat(Aarr);
        console.log(this.variableList, "variableList");
        // this.form.textParam = this.convertFormat2ToFormat1(this.variableList);
      }
    },
src/views/repositoryai/intention/index.vue
@@ -212,7 +212,7 @@
              >
              </el-table-column>
              <el-table-column
              <!-- <el-table-column
                label="正常值范围"
                align="center"
                key="warndown"
@@ -222,7 +222,7 @@
                <template slot-scope="scope">
                  <span>{{ scope.row.warnup }}~{{ scope.row.warndown }}</span>
                </template>
              </el-table-column>
              </el-table-column> -->
              <el-table-column
                label="指标描述"
                align="center"
@@ -297,7 +297,7 @@
                      ><i class="el-icon-edit"></i>修改</span
                    ></el-button
                  >
                  <el-button
                  <!-- <el-button
                    size="medium"
                    type="text"
                    @click="handlemeasurement(scope.row)"
@@ -305,7 +305,7 @@
                    ><span class="button-textcs"
                      ><i class="el-icon-help"></i>测试</span
                    ></el-button
                  >
                  > -->
                  <el-button
                    size="medium"
                    type="text"
@@ -495,8 +495,10 @@
              <el-col :span="24">
                <el-form-item label="适用场景" prop="suitWayList">
                  <el-select
                    class="el-select1"
                    v-model="indexform.suitWayList"
                    multiple
                    @change="changeselect"
                    placeholder="请选择"
                  >
                    <el-option
@@ -513,18 +515,19 @@
            <el-card
              class="box-card"
              style="margin-bottom: 20px"
              v-if="indexform.valueType == 1 || indexform.valueType == 2"
              v-if="indexform.scriptType == 1 || indexform.scriptType == 2"
            >
              <Regular
                :TargetoptionList="testuserList"
                :intent="false"
                :hasValue="hasValue"
                @addoption="addoption"
                @deloption="deloption"
                @syioption="syioption"
                @xiayioption="xiayioption"
              />
            </el-card>
            <div v-if="indexform.valueType == 3">
            <div v-if="indexform.scriptType == 3">
              <el-form-item label="收集信息">
                <el-input
                  type="text"
@@ -707,6 +710,7 @@
      radio: "主分类",
      testvalue: "",
      testgovalue: "",
      hasValue: true,
      classifyform: {
        categoryname: "",
      }, //类别表单
@@ -810,6 +814,10 @@
    getIndexInArray(arr, obj) {
      // è¿”回数组中指定元素的索引
      return arr.indexOf(obj);
    },
    changeselect(row) {
      console.log(row);
      this.hasValue = row.includes('2');
    },
    //删除分类
    deletefenlei(row) {
@@ -954,6 +962,7 @@
        id: this.indexform.id,
        targettype: this.indexform.targettype,
        isoperation: 1,
        isabnormal: 0,
        targetvalue: "",
        targetregex: "",
        targetregex2: "",
@@ -1008,6 +1017,7 @@
          dynamiccruxsJson: item.dynamiccruxsJson,
          nodynamiccruxsJson: item.nodynamiccruxsJson,
          targetoptionid: item.targetoptionid,
          isabnormal: item.isabnormal,
        };
      });
      console.log(this.testuserList);
@@ -1179,6 +1189,7 @@
      this.title = "指标详情";
      this.indexform = {};
      this.indexform = row;
      this.indexform.scriptType = Number(row.scriptType);
      if (!row.targetoptionList[0]) {
        row.targetoptionList = [
          {
@@ -1396,6 +1407,9 @@
    height: 400px;
  }
}
.el-select {
  width: 40%;
}
::v-deep.el-tabs--left,
.el-tabs--right {
  overflow: hidden;