WXL
2024-08-03 d96a7562b2515584fac4dcb57fdbdcadc8f36fef
测试完成
已修改11个文件
196 ■■■■ 文件已修改
src/components/AskRegular/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Regular/index.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/satisfaction/particulars/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/tasklist/FollowupDetails/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/tasklist/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionbank/particulars/index.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/Missioncreation.vue 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/intention/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/verbaltrick/particulars/index.vue 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/AskRegular/index.vue
@@ -13,7 +13,7 @@
            </el-input> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label="预警值">
          ><el-form-item label="预警提醒">
            <el-radio-group v-model="radio">
              <el-radio :label="3">是</el-radio>
              <el-radio :label="6">否</el-radio>
src/components/Regular/index.vue
@@ -1,9 +1,10 @@
<template>
  <div>
    <div class="topicxq" v-for="item in TargetoptionList">
      <el-form :model="ruleForm" :rules="rules">
      <el-row :gutter="10">
        <el-col :span="12"
          ><el-form-item label="选项名称">
            ><el-form-item prop="targetvalue" label="选项名称">
            <el-input
              type="text"
              placeholder="请输入(必填项)"
@@ -13,7 +14,7 @@
            </el-input> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label="预警值">
            ><el-form-item label="预警提醒">
            <el-radio-group v-model="item.isabnormal">
              <el-radio :label="1">是</el-radio>
              <el-radio :label="0">否</el-radio>
@@ -108,7 +109,7 @@
          >
        </div>
      </el-form-item>
      <el-form-item label="关键字(非)" prop="desc" v-if="hasValue">
        <el-form-item label="关键字(非)" prop="adesc" v-if="hasValue">
        <div class="xinz-inf">
          <el-tag
            :key="crux"
@@ -219,6 +220,7 @@
          </div>
        </el-col>
      </el-row>
      </el-form>
    </div>
  </div>
</template>
@@ -251,6 +253,17 @@
      noregular: [],
      nodynamiccruxs: ["别", "不"],
      dynamiccruxs: ["好"],
      rules: {
        targetvalue: [
          { required: true, message: "请输入选项名称", trigger: "blur" },
          {
            min: 1,
            max: 20,
            message: "长度在 1 到 20 个字符",
            trigger: "blur",
          },
        ],
      },
    };
  },
  props: {
src/views/followvisit/satisfaction/particulars/index.vue
@@ -342,7 +342,7 @@
    </div>
    <!-- 添加患者 -->
    <el-dialog
      title="添加派发患者"
      title="选择患者"
      :visible.sync="dialogVisiblepatient"
      width="70%"
      :before-close="handleClosehz"
@@ -450,7 +450,6 @@
</template>
<script>
import { messagelistpatient } from "@/api/patient/homepage";
import SFtable from "@/components/SFtable"; //表格组件
src/views/followvisit/tasklist/FollowupDetails/index.vue
@@ -825,7 +825,7 @@
    </el-dialog>
    <!-- 添加患者 -->
    <el-dialog
      title="添加派发患者"
      title="选择患者"
      :visible.sync="dialogVisiblepatient"
      width="70%"
      :before-close="handleClosehz"
@@ -992,9 +992,6 @@
</template>
<script>
export default {
  data() {
    return {
@@ -1088,7 +1085,6 @@
  created() {
    this.Addsubtask();
    this.Getsubtask();
  },
  methods: {
src/views/followvisit/tasklist/index.vue
@@ -35,7 +35,7 @@
          ></el-date-picker>
        </el-form-item>
        <el-form-item label="模版名称" prop="status">
        <el-form-item label="服务项目" prop="status">
          <el-input
            v-model="topqueryParams.templatename"
            @keyup.enter.native="handleQuery"
@@ -116,13 +116,13 @@
              :columns="columns"
            ></right-toolbar> -->
      <el-table v-loading="loading" :data="userList">
        <el-table-column
        <!-- <el-table-column
          label="序号"
          fixed
          align="center"
          key="taskid"
          prop="taskid"
        />
        /> -->
        <el-table-column
          label="任务名称"
@@ -139,6 +139,12 @@
          prop="taskDesc"
        />
        <el-table-column
          label="服务项目"
          align="center"
          key="templatename"
          prop="templatename"
        />
        <el-table-column
          label="待执行/总任务"
          align="center"
          key="nickName"
src/views/knowledge/questionbank/particulars/index.vue
@@ -132,6 +132,7 @@
                ><el-form-item label="题目类型">
                  <el-select
                    v-model="topicobj.scriptType"
                    @change="changefn"
                    size="medium"
                    filterable
                    placeholder="请选择分类"
@@ -375,7 +376,7 @@
                </el-col>
              </el-row>
              <el-row :gutter="10">
                <el-form-item label="预警值">
                <el-form-item label="预警提醒">
                  <el-radio-group v-model="item.isabnormal">
                    <el-radio :label="1">是</el-radio>
                    <el-radio :label="0">否</el-radio>
@@ -591,6 +592,7 @@
      inputVisible: false,
      inputValue: "",
      currentInputId: "",
      scriptTypels: "",
      total: 0,
      drawer: false,
      loading: false,
@@ -825,6 +827,19 @@
        this.compileissue();
      }
    },
    // 判断指标
    changefn(item) {
      if (this.topicobj.targetname) {
        this.$modal
          .confirm("更改类型后选项将清空是否继续?")
          .then(() => {
            this.scriptTypels = this.topicobj.scriptType;
          })
          .catch(() => {
            this.topicobj.scriptType=this.scriptTypels
          });
      }
    },
    // 删除选项
    deletexuanx(row) {
src/views/patient/propaganda/Missioncreation.vue
@@ -345,7 +345,7 @@
    </div>
    <!-- 添加患者 -->
    <el-dialog
      title="添加派发患者"
      title="选择患者"
      :visible.sync="dialogVisiblepatient"
      width="70%"
      :before-close="handleClosehz"
@@ -367,7 +367,7 @@
                <el-input v-model="patientqueryParams.name"></el-input>
              </el-form-item>
              <el-form-item label="就诊科室" prop="status">
              <!-- <el-form-item label="就诊科室" prop="status">
                <el-select
                  v-model="patientqueryParams.topic"
                  placeholder="请选择"
@@ -386,7 +386,7 @@
                    </el-option>
                  </el-option-group>
                </el-select>
              </el-form-item>
              </el-form-item> -->
              <el-form-item>
                <el-button
@@ -961,6 +961,29 @@
      this.overallCase.forEach((item) => {
        this.allpids.push(item.patid);
      });
      if (this.patientqueryParams.allhosp == 1) {
        this.tableLabelhz = [
          { label: "序号", width: "", prop: "patid" },
          { label: "患者名称", width: "", prop: "name" },
          { label: "性别", width: "", prop: "sex" },
          { label: "年龄", width: "", prop: "age" },
          { label: "主任医师", width: "", prop: "drname" },
          { label: "就诊科室", width: "", prop: "deptName" },
          { label: "入院日期", width: "", prop: "inhosptime" },
          { label: "创建人", width: "", prop: "createBy" },
        ];
      } else if (this.patientqueryParams.allhosp == 2) {
        this.tableLabelhz = [
          { label: "序号", width: "", prop: "patid" },
          { label: "患者名称", width: "", prop: "name" },
          { label: "性别", width: "", prop: "sex" },
          { label: "年龄", width: "", prop: "age" },
          { label: "诊断", width: "", prop: "diagname" },
          { label: "就诊科室", width: "", prop: "deptName" },
          { label: "入院日期", width: "", prop: "inhosptime" },
          { label: "创建人", width: "", prop: "createBy" },
        ];
      }
      if (this.allpids[0]) {
        this.patientqueryParams.pids = this.allpids;
        console.log(this.patientqueryParams.pids);
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -389,7 +389,7 @@
    </div>
    <!-- 添加患者 -->
    <el-dialog
      title="添加派发患者"
      title="选择患者"
      :visible.sync="dialogVisiblepatient"
      width="70%"
      :before-close="handleClosehz"
@@ -411,7 +411,7 @@
                <el-input v-model="patientqueryParams.name"></el-input>
              </el-form-item>
              <el-form-item label="就诊科室" prop="status">
              <!-- <el-form-item label="就诊科室" prop="status">
                <el-select
                  v-model="patientqueryParams.topic"
                  placeholder="请选择"
@@ -430,7 +430,7 @@
                    </el-option>
                  </el-option-group>
                </el-select>
              </el-form-item>
              </el-form-item> -->
              <el-form-item>
                <el-button
@@ -1046,6 +1046,29 @@
      this.overallCase.forEach((item) => {
        this.allpids.push(item.patid);
      });
      if (this.patientqueryParams.allhosp == 1) {
        this.tableLabelhz = [
          { label: "序号", width: "", prop: "patid" },
          { label: "患者名称", width: "", prop: "name" },
          { label: "性别", width: "", prop: "sex" },
          { label: "年龄", width: "", prop: "age" },
          { label: "主任医师", width: "", prop: "drname" },
          { label: "就诊科室", width: "", prop: "deptName" },
          { label: "入院日期", width: "", prop: "inhosptime" },
          { label: "创建人", width: "", prop: "createBy" },
        ];
      } else if (this.patientqueryParams.allhosp == 2) {
        this.tableLabelhz = [
          { label: "序号", width: "", prop: "patid" },
          { label: "患者名称", width: "", prop: "name" },
          { label: "性别", width: "", prop: "sex" },
          { label: "年龄", width: "", prop: "age" },
          { label: "诊断", width: "", prop: "diagname" },
          { label: "就诊科室", width: "", prop: "deptName" },
          { label: "入院日期", width: "", prop: "inhosptime" },
          { label: "创建人", width: "", prop: "createBy" },
        ];
      }
      if (this.allpids[0]) {
        this.patientqueryParams.pids = this.allpids;
        console.log(this.patientqueryParams.pids);
src/views/patient/propaganda/particty.vue
@@ -389,7 +389,7 @@
    </div>
    <!-- 添加患者 -->
    <el-dialog
      title="添加派发患者"
      title="选择患者"
      :visible.sync="dialogVisiblepatient"
      width="70%"
      :before-close="handleClosehz"
@@ -411,7 +411,7 @@
                <el-input v-model="patientqueryParams.name"></el-input>
              </el-form-item>
              <el-form-item label="就诊科室" prop="status">
              <!-- <el-form-item label="就诊科室" prop="status">
                <el-select
                  v-model="patientqueryParams.scriptTopic"
                  placeholder="请选择"
@@ -430,7 +430,7 @@
                    </el-option>
                  </el-option-group>
                </el-select>
              </el-form-item>
              </el-form-item> -->
              <el-form-item>
                <el-button
@@ -999,6 +999,29 @@
      this.overallCase.forEach((item) => {
        this.allpids.push(item.patid);
      });
      if (this.patientqueryParams.allhosp == 1) {
        this.tableLabelhz = [
          { label: "序号", width: "", prop: "patid" },
          { label: "患者名称", width: "", prop: "name" },
          { label: "性别", width: "", prop: "sex" },
          { label: "年龄", width: "", prop: "age" },
          { label: "主任医师", width: "", prop: "drname" },
          { label: "就诊科室", width: "", prop: "deptName" },
          { label: "入院日期", width: "", prop: "inhosptime" },
          { label: "创建人", width: "", prop: "createBy" },
        ];
      } else if (this.patientqueryParams.allhosp == 2) {
        this.tableLabelhz = [
          { label: "序号", width: "", prop: "patid" },
          { label: "患者名称", width: "", prop: "name" },
          { label: "性别", width: "", prop: "sex" },
          { label: "年龄", width: "", prop: "age" },
          { label: "诊断", width: "", prop: "diagname" },
          { label: "就诊科室", width: "", prop: "deptName" },
          { label: "入院日期", width: "", prop: "inhosptime" },
          { label: "创建人", width: "", prop: "createBy" },
        ];
      }
      if (this.allpids[0]) {
        this.patientqueryParams.pids = this.allpids;
        console.log(this.patientqueryParams.pids);
src/views/repositoryai/intention/index.vue
@@ -876,6 +876,7 @@
      });
      // 把数组重新转换为字符串并赋值
      inputValueArr = inputValueArr.join("");
      console.log(inputValueArr);
      if (this.currentInputId == "targetdesc") {
        this.indexform.targetdesc = inputValueArr;
src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -537,14 +537,16 @@
              <el-col :span="12">
                <el-form-item label="测试输入" prop="targetvalue">
                  <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>
            <div style="margin-bottom: 20px">
@@ -750,7 +752,6 @@
    getverbaltrick() {
      let id = this.$route.query.id;
      if (id) {
        getverbaltrick({ id: id }).then((res) => {
          this.indexform = res.data;
@@ -820,33 +821,21 @@
      }
    },
    // targetchange(res) {
    //   console.log(res);
    //   gettargetInfo({ id: res }).then((res) => {
    //     console.log(res.rows[0]);
    //     this.$modal
    //       .confirm('是否添加"' + res.rows[0].targetname + '"指标的选项?')
    //       .then(() => {
    //         this.indexform.valueType = res.rows[0].valueType;
    //         this.indexform.scriptType = res.rows[0].scriptType;
    //         this.indexform.scriptTopic = res.rows[0].targetname;
    //         this.indexform.targetname = res.rows[0].targetname;
    //         this.indexform.targetid = res.rows[0].id;
    //         this.indexform.targetdesc = res.rows[0].targetdesc;
    //         this.indexform.isAvailable = "0";
    //         this.indexform.language = "普通话";
    //         this.indexform.isenable = res.rows[0].isenable;
    //         this.$forceUpdate();
    //         res.rows[0].targetoptionList.forEach((item) => {
    //           item.isoperation = 1;
    //           this.indexform.ivrLibaScriptTargetoptionList.push(item);
    //         });
    //       })
    //       .catch(() => {
    //         this.$modal.msgSuccess("已取消");
    //       });
    //   });
    // },
    testtagerlist() {
      if (this.indexform.content) {
        let data = this.indexform;
        data.targetoptionList =
          this.indexform.ivrLibaScriptTargetoptionList.concat(this.dellist);
        testtagerlist(data).then((res) => {
          this.$modal.msgSuccess("测试成功");
          this.testgovalue = res.msg;
          this.getList();
        });
      } else {
        this.$modal.msgError("请填写测试内容");
        return;
      }
    },
    // 选择指标
    selectlabel(row) {
      this.$modal