WXL
2024-05-11 47efee4e578552c77390411d37b5427811999211
测试完成
已添加2个文件
已修改10个文件
236 ■■■■■ 文件已修改
src/api/AiCentre/indicator.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/smartor/patphysical.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/system/menu.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Regular/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/tasklist/FollowupDetails/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/tasklist/index.vue 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionnaire/compilequer/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/intention/index.vue 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/outsideChain/publicity.vue 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/outsideChain/questionnaire.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/verbaltrick/particulars/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/indicator.js
@@ -132,4 +132,12 @@
    data:data,
  });
}
// æµ‹è¯•指标
export function testtagerlist(data) {
  return request({
    url: "/smartor/target/targetQuesMate",
    method: "post",
    data:data,
  });
}
src/api/smartor/patphysical.js
@@ -4,7 +4,7 @@
export function listPatphysical(query) {
  return request({
    url: '/smartor/patphysical/selectPatMedPhysicalList',
    method: 'get',
    method: 'post',
    data: query
  })
}
src/api/system/menu.js
@@ -36,7 +36,7 @@
// æ–°å¢žèœå•
export function addMenu(data) {
  return request({
    url: '/system/menu',
    url: '/system/menu/add',
    method: 'post',
    data: data
  })
@@ -57,4 +57,4 @@
    url: '/system/menu/remove/' + menuId,
    method: 'get'
  })
}
}
src/components/Regular/index.vue
@@ -255,8 +255,12 @@
      }
      regex = regex.slice(0, -1);
      regexno = regexno.slice(0, -1);
      if (regexno) {
        hostregexno = "^(?!.*(?:" + `${regexno}` + ")).*$";
      } else {
        hostregexno = "";
      }
      hostregex = "(?=.*(?:" + `${regex}` + ")).*$";
      hostregexno = "^(?!.(?:" + `${regexno}` + ")).*$";
      this.TargetoptionList[index].targetregex = hostregex;
      this.TargetoptionList[index].targetregex2 = hostregexno;
      console.log(hostregex, "确定字匹配");
src/views/followvisit/tasklist/FollowupDetails/index.vue
@@ -930,8 +930,8 @@
              <el-table-column
                label="患者来源"
                align="center"
                key="source"
                prop="source"
                key="sourcefrom"
                prop="sourcefrom"
              />
              <el-table-column
                label="手机号码"
@@ -1088,7 +1088,7 @@
  created() {
    this.Addsubtask();
    this.Getsubtask();
  },
  methods: {
src/views/followvisit/tasklist/index.vue
@@ -105,7 +105,7 @@
            size="medium"
            :disabled="single"
            @click="handleUpdate"
            v-hasPermi="['system:user:edit']"
            >修改</el-button
          >
        </el-col>
@@ -149,54 +149,39 @@
        @selection-change="handleSelectionChange"
      >
        <el-table-column type="selection" width="50" align="center" />
        <el-table-column label="序号" fixed align="center" key="id" prop="id" />
        <el-table-column label="序号" fixed align="center" key="taskid" prop="taskid" />
        <el-table-column
          label="任务名称"
          fixed
          align="center"
          sortable
          key="name"
          prop="name"
          key="taskName"
          prop="taskName"
          :show-overflow-tooltip="true"
        />
        <el-table-column
          label="任务描述"
          align="center"
          key="describe"
          prop="describe"
          key="taskDesc"
          prop="taskDesc"
        />
        <el-table-column
          label="待执行/总任务"
          align="center"
          key="nickName"
          prop="nickName"
        />
        <!-- <el-table-column
          label="审核人"
          align="center"
          key="create_by"
          prop="create_by"
          width="120"
          :show-overflow-tooltip="true"
        />
        <el-table-column
          label="审核时间"
          sortable
          align="center"
          prop="create_time"
          width="160"
        >
          <template slot-scope="scope">
            <span>{{ parseTime(scope.row.create_time) }}</span>
            <span>{{ scope.row.wfs}}/{{ scope.row.yfs }}</span>
          </template>
        </el-table-column> -->
        </el-table-column>
        <el-table-column
          label="创建人"
          align="center"
          key="create_by"
          prop="create_by"
          key="createBy"
          prop="createBy"
          width="120"
          :show-overflow-tooltip="true"
        />
@@ -204,11 +189,11 @@
          label="创建时间"
          sortable
          align="center"
          prop="create_time"
          prop="createTime"
          width="160"
        >
          <template slot-scope="scope">
            <span>{{ parseTime(scope.row.create_time) }}</span>
            <span>{{ parseTime(scope.row.createTime) }}</span>
          </template>
        </el-table-column>
@@ -232,9 +217,18 @@
              size="medium"
              type="text"
              @click="handleUpdate(scope.row)"
              v-hasPermi="['system:user:edit']"
              ><span class="button-zx"
                ><i class="el-icon-s-promotion"></i>开始执行</span
                ><i class="el-icon-s-promotion"></i>任务发起</span
              ></el-button
            >
            <el-button
              size="medium"
              type="text"
              @click="handleUpdate(scope.row)"
              ><span class="button-zx"
                ><i class="el-icon-s-promotion"></i>依照新增</span
              ></el-button
            >
          </template>
@@ -284,7 +278,7 @@
        <el-row :gutter="20">
          <el-col :span="12"
            ><el-form-item label="任务名称">
              <el-input v-model="form.name"></el-input> </el-form-item
              <el-input v-model="form.taskName"></el-input> </el-form-item
          ></el-col>
        </el-row>
        <el-row :gutter="20">
@@ -717,7 +711,7 @@
    handleUpdate(row) {
      this.$router.push({
        path: "/followvisit/particty",
        query: { type: row.type, id: row.taskid },
        query: { type: row.hospType, id: row.taskid },
      });
    },
    // åˆ é™¤ä»»åŠ¡
src/views/knowledge/questionnaire/compilequer/index.vue
@@ -541,9 +541,9 @@
          :inline="true"
          label-width="98px"
        >
          <el-form-item label="标题" prop="userName">
          <el-form-item label="问题标题" prop="topic">
            <el-input
              v-model="queryParams.userName"
              v-model="queryParams.topic"
              placeholder="请输入"
              clearable
              style="width: 200px"
src/views/patient/propaganda/particty.vue
@@ -7,7 +7,7 @@
          <el-step
            icon="el-icon-edit"
            title="基础信息"
            description="选择宣教模版、形式等基础信息"
            description="选择模版、形式等基础信息"
          ></el-step>
          <el-step
            icon="el-icon-user"
@@ -22,11 +22,7 @@
    <div class="leftvlue" style="margin: 0 20px">
      <!-- åŸºæœ¬ä¿¡æ¯ -->
      <div v-if="Editprogress == 1">
        <el-alert
          title="选择宣教模版、形式等基础信息"
          type="success"
          effect="dark"
        >
        <el-alert title="选择模版、形式等基础信息" type="success" effect="dark">
        </el-alert>
        <div class="leftvlue-jbxx">
          <!-- åŸºç¡€ä¿¡æ¯ -->
@@ -576,20 +572,7 @@
              <el-form-item label="患者名称:">
                <el-input v-model="patientqueryParams.name"></el-input>
              </el-form-item>
              <!-- <el-form-item label="患者来源" prop="status">
                <el-select
                  v-model="patientqueryParams.topic"
                  placeholder="请选择"
                >
                  <el-option
                    v-for="item in topicoptions"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item> -->
              <el-form-item label="就诊科室" prop="status">
                <el-select
                  v-model="patientqueryParams.topic"
@@ -1114,6 +1097,19 @@
      });
      this.form.patTaskRelevances.push(...this.SelectPatientslist);
      this.dialogVisiblepatient = false;
      this.assignedVariable()
    },
    // å˜é‡å¤„理赋值服务
    assignedVariable() {
      // èŽ·å–æ‚£è€…åˆ—è¡¨ä¿¡æ¯å¾ªçŽ¯
      console.log(this.variableList,'this.variableList');
      this.form.patTaskRelevances.forEach((item) => {
        this.variableList.forEach((item1) => {
        })
      })
      // å–数据填充变量数组
      // æ•°ç»„转对象存入
    },
    // å˜é‡---------------
src/views/repositoryai/intention/index.vue
@@ -517,7 +517,7 @@
                  v-model="indexform.reply"
                  maxlength="50"
                  show-word-limit
                >
                >
                </el-input
              ></el-form-item>
            </div>
@@ -535,14 +535,16 @@
              <el-col :span="12">
                <el-form-item label="测试输入" prop="nickName">
                  <el-input
                    v-model="testvalue"
                    v-model="indexform.content"
                    placeholder="请输入测试内容"
                    maxlength="40"
                  />
                </el-form-item>
              </el-col>
              <el-col :span="4">
                <el-button type="success">开始测试</el-button>
                <el-button type="success" @click="testtagerlist"
                  >开始测试</el-button
                >
              </el-col>
            </el-row>
          </el-form>
@@ -652,6 +654,7 @@
  gettargetInfo,
  particulartarget,
  gettargetInfoedit,
  testtagerlist,
  addtarget,
  deletetarget,
  getillnesslist,
@@ -706,9 +709,7 @@
      }, //类别表单
      // è¡¨æ ¼æ•°æ®
      targetList: null,
      testuserList: [
      ],
      testuserList: [],
      // å¼¹å‡ºå±‚标题
      title: "",
      // æ˜¯å¦æ˜¾ç¤ºå¼¹å‡ºå±‚
@@ -1158,18 +1159,20 @@
      console.log(row);
      this.title = "指标详情";
      this.indexform = row;
      if(!row.targetoptionList[0]){
        row.targetoptionList=[{
          targettype: "1",
          targetvalue: "",
          targetregex: "",
          targetregex2: "",
          isoperation: 1,
          dynamiccruxs: [],
          nodynamiccruxs: [],
          dynamiccruxsJson: "",
          nodynamiccruxsJson: "",
        },]
      if (!row.targetoptionList[0]) {
        row.targetoptionList = [
          {
            targettype: "1",
            targetvalue: "",
            targetregex: "",
            targetregex2: "",
            isoperation: 1,
            dynamiccruxs: [],
            nodynamiccruxs: [],
            dynamiccruxsJson: "",
            nodynamiccruxsJson: "",
          },
        ];
      }
      this.dynamicTags = row.baseTagList.map(this.processElement);
      this.testuserList = row.targetoptionList;
@@ -1224,6 +1227,21 @@
        }
      });
    },
    // æµ‹è¯•表单
    testtagerlist() {
      if (this.indexform.content) {
        let data = this.indexform;
        data.targetoptionList = this.testuserList.concat(this.targetoptionList);
        testtagerlist(data).then((res) => {
          this.$modal.msgSuccess("测试成功");
          this.testgovalue = res.msg;
          this.getList();
        });
      } else {
        this.$modal.msgError("请填写测试内容");
        return;
      }
    },
    /** åˆ é™¤æŒ‰é’®æ“ä½œ */
    handleDelete(row) {
      const userIds = row.id || this.ids;
src/views/repositoryai/outsideChain/publicity.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,35 @@
<template>
  <div>
    <div>
      <!-- æ ‡é¢˜åŠæ‚£è€…信息 -->
      <div>宣教外链</div>
      <!-- æ–‡æœ¬å±•示 -->
      <div></div>
      <!-- å›¾ç‰‡åŠè§†é¢‘展示 -->
      <div></div>
    </div>
  </div>
</template>
<script>
export default {
  data () {
    return {
    }
  },
  created () {
  },
  methods: {
  }
}
</script>
<style lang='scss' scoped>
</style>
src/views/repositoryai/outsideChain/questionnaire.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
<template>
  <div>问卷外链</div>
</template>
<script>
export default {
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>
<style lang="scss" scoped></style>
src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -364,7 +364,7 @@
                  id="noClearlyText"
                  :rows="2"
                  placeholder="请输入内容"
                  @focus="handleInput('noClearlyText')"
                  @focus="handleInput('noClearlyText')"
                  v-model.sync="indexform.noClearlyText"
                  show-word-limit
                />
@@ -482,8 +482,8 @@
<script>
import { listtag } from "@/api/system/label";
import {
  getverbaltricklist,
  verbaltrickinfo,
  gettagerlist,
  testtagerlist,
  delverbaltrickinfo,
  compileverbaltrick,
  getverbaltrick,