WXL
2024-07-10 43bb1026f5e6b04e790662361711c40f3499c2a9
测试完成
已修改12个文件
288 ■■■■■ 文件已修改
src/App.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionbank/index.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionbank/particulars/index.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionnaire/compilequer/index.vue 108 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChain.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwt.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainxj.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/templateku/configurat/index.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/templateku/configurat/measurement.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/verbaltrick/index.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/verbaltrick/particulars/index.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/App.vue
@@ -2,7 +2,7 @@
  <div id="app">
    <router-view />
    <theme-picker />
    <Assistant v-if="" />
    <Assistant v-if="routertf" />
  </div>
</template>
@@ -15,6 +15,22 @@
    ThemePicker,
    Assistant: () => import("./components/Assistant"), //异步组件加载方式
  },
  data() {
    return {
      routers: this.$route.path.split("/").pop(),
      routertf: true,
    };
  },
  created() {
    console.log(this.routers);
    if (
      this.routers == "outsideChainxj" ||
      this.routers == "outsideChain" ||
      this.routers == "outsideChainwt"
    ) {
      this.routertf = false;
    }
  },
  metaInfo() {
    return {
      title:
src/views/knowledge/questionbank/index.vue
@@ -180,16 +180,16 @@
                label="题目标题"
                fixed
                align="center"
                key="topic"
                prop="topic"
                key="scriptTopic"
                prop="scriptTopic"
                width="200"
                :show-overflow-tooltip="true"
              />
              <el-table-column
                label="题目内容"
                align="center"
                key="script"
                prop="script"
                key="scriptContent"
                prop="scriptContent"
                width="200"
                :show-overflow-tooltip="true"
              />
@@ -461,7 +461,7 @@
      haoquestionnaire: "",
      idds: "",
      topicform: {
        questionText: "",
        scriptContent: "",
      },
      amendtag: false, //是否修改类别
      dialogFormVisible: false, //修改添加类别弹框
src/views/knowledge/questionbank/particulars/index.vue
@@ -71,7 +71,7 @@
              <el-col :span="8"
                ><el-form-item label="题目标题">
                  <el-input
                    v-model="topicobj.topic"
                    v-model="topicobj.scriptTopic"
                    placeholder="请输入标题"
                  ></el-input> </el-form-item
              ></el-col>
@@ -134,7 +134,7 @@
              <el-col :span="8"
                ><el-form-item label="题目类型">
                  <el-select
                    v-model="topicobj.scripttype"
                    v-model="topicobj.scriptType"
                    size="medium"
                    filterable
                    placeholder="请选择分类"
@@ -172,9 +172,9 @@
              <el-input
                style="width: 40vw"
                type="textarea"
                id="script"
                v-model="topicobj.script"
                @focus="handleInput('script')"
                id="scriptContent"
                v-model="topicobj.scriptContent"
                @focus="handleInput('scriptContent')"
                placeholder="请输入题目内容"
              ></el-input>
            </el-form-item>
@@ -182,7 +182,7 @@
              <el-input
                style="width: 40vw"
                type="textarea"
                v-model="topicobj.scriptContent"
                v-model="topicobj.scriptDesc"
                placeholder="请输入说明"
              ></el-input>
            </el-form-item>
@@ -322,7 +322,7 @@
              </el-col></el-row
            > -->
          </div>
          <div v-if="topicobj.valueType == 1">
          <div v-if="topicobj.scriptType != 3">
            <div class="headline">
              选项设置<span style="margin-left: 30px"
                ><el-button type="primary" round @click="addoption"
@@ -534,9 +534,9 @@
        isavailable: "",
      },
      optionlist: [
        { value: "topic", table: "topic" },
        { value: "topic", table: "topic" },
        { value: "topic", table: "topic" },
        { value: "scriptTopic", table: "scriptTopic" },
        { value: "scriptTopic", table: "scriptTopic" },
        { value: "scriptTopic", table: "scriptTopic" },
      ],
      inputValueillness: "",
      required: [],
@@ -704,6 +704,8 @@
            return false;
          }
          return true;
        } else if (this.topicobj.scriptType == 3) {
          return true;
        } else {
          this.$message({
            message: "选项分值未设置",
@@ -759,7 +761,7 @@
        .then(() => {
          console.log(row);
          console.log(this.topicobj);
          this.topicobj.topic = row.targetname;
          this.topicobj.scriptTopic = row.targetname;
          this.topicobj.valueType = row.valueType;
          this.topicobj.scriptContent = row.targetdesc;
          this.topicobj.isavailable = "0";
@@ -896,8 +898,8 @@
      let inputValueArr = "";
      let el = document.querySelector("#" + this.currentInputId);
      //el.selectionStart; 这就是当前光标所在的位置(字符串中字符的index)
      if (this.currentInputId == "script") {
        inputValueArr = this.topicobj.script.split("");
      if (this.currentInputId == "scriptContent") {
        inputValueArr = this.topicobj.scriptContent.split("");
        console.log(123);
      } else if (this.currentInputId == "nomatchtext") {
        inputValueArr = this.topicobj.nomatchtext.split("");
@@ -919,8 +921,8 @@
      // 把数组重新转换为字符串并赋值
      inputValueArr = inputValueArr.join("");
      console.log(inputValueArr);
      if (this.currentInputId == "script") {
        this.topicobj.script = inputValueArr;
      if (this.currentInputId == "scriptContent") {
        this.topicobj.scriptContent = inputValueArr;
      } else if (this.currentInputId == "nomatchtext") {
        this.topicobj.nomatchtext = inputValueArr;
      } else if (this.currentInputId == "sliencetext") {
@@ -1075,7 +1077,7 @@
  border: 1px solid #dcdfe6;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
    0 0 6px 0 rgba(0, 0, 0, 0.04);
  .topic-dev {
  .scriptTopic-dev {
    margin-bottom: 25px;
    font-size: 20px !important;
    .dev-text {
src/views/knowledge/questionnaire/compilequer/index.vue
@@ -316,7 +316,10 @@
        <div class="presentation">
          <div class="presentation-left">
            <el-card class="box-card" style="min-height: 688px">
              <el-table v-loading="loading" :data="ruleForm.svyLibScripts">
              <el-table
                v-loading="loading"
                :data="ruleForm.svyTemplateLibScripts"
              >
                <el-table-column
                  label="序号"
                  align="center"
@@ -326,15 +329,15 @@
                <el-table-column
                  label="题目标题"
                  align="center"
                  key="topic"
                  prop="topic"
                  key="scriptTopic"
                  prop="scriptTopic"
                  :show-overflow-tooltip="true"
                />
                <el-table-column
                  label="题目内容"
                  align="center"
                  key="script"
                  prop="script"
                  key="scriptContent"
                  prop="scriptContent"
                  :show-overflow-tooltip="true"
                />
@@ -391,7 +394,7 @@
                </div>
                <el-form-item label="题目标题">
                  <el-input
                    v-model="topicobj.topic"
                    v-model="topicobj.scriptTopic"
                    placeholder="请输入标题"
                  ></el-input>
                </el-form-item>
@@ -427,6 +430,7 @@
                      </el-select> </el-form-item
                  ></el-col>
                </el-row>
                <div v-if="topicobj.scriptType != 3">
                <div class="headline">选项设置</div>
                <div
                  class="topicxq"
@@ -434,7 +438,10 @@
                >
                  <el-row :gutter="10">
                    <el-col :span="11">
                      <el-form-item v-if="topicobj.scoretype == 1" label="分值">
                        <el-form-item
                          v-if="topicobj.scoretype == 1"
                          label="分值"
                        >
                        <el-input
                          type="text"
                          placeholder="请输入选项分值"
@@ -508,6 +515,23 @@
                    ></el-form-item>
                  </el-row>
                </div>
                </div>
                <div v-else>
                  <div class="topicxq">
                    <el-row :gutter="10">
                      <el-form-item label="选中提示">
                        <el-input
                          style="width: 20vw"
                          type="textarea"
                          autosize
                          placeholder="请输入内容"
                          v-model="item.prompt"
                        >
                        </el-input
                      ></el-form-item>
                    </el-row>
                  </div>
                </div>
              </el-form>
            </el-card>
          </div>
@@ -528,7 +552,7 @@
        <el-divider></el-divider>
        <div class="preview-left">
          <!-- 单选 -->
          <div class="topic-dev" v-for="item in valssu" :key="item.aaa">
          <div class="scriptTopic-dev" v-for="item in valssu" :key="item.aaa">
            <div class="dev-text">
              {{ item.idd }}、[单选]<span>{{ item.wssd }}</span>
            </div>
@@ -544,7 +568,7 @@
            </div>
          </div>
          <!-- 多选 -->
          <div class="topic-dev" v-for="item in valssu" :key="item.aaa">
          <div class="scriptTopic-dev" v-for="item in valssu" :key="item.aaa">
            <div class="dev-text">
              {{ item.idd }}、[多选]<span>{{ item.wssd }}</span>
            </div>
@@ -561,7 +585,7 @@
            </div>
          </div>
          <!-- 填空 -->
          <div class="topic-dev" v-for="item in valssu" :key="item.aaa">
          <div class="scriptTopic-dev" v-for="item in valssu" :key="item.aaa">
            <div class="dev-text">
              {{ item.idd }}、[填空]<span>{{ item.wssd }}</span>
            </div>
@@ -591,9 +615,9 @@
          :inline="true"
          label-width="98px"
        >
          <el-form-item label="问题标题" prop="topic">
          <el-form-item label="问题标题" prop="scriptTopic">
            <el-input
              v-model="queryParams.topic"
              v-model="queryParams.scriptTopic"
              placeholder="请输入"
              clearable
              style="width: 200px"
@@ -618,15 +642,15 @@
          <el-table-column
            label="标题"
            align="center"
            key="topic"
            prop="topic"
            key="scriptTopic"
            prop="scriptTopic"
            width="100"
          />
          <el-table-column
            label="问题内容"
            align="center"
            key="script"
            prop="script"
            key="scriptContent"
            prop="scriptContent"
            width="200"
            :show-overflow-tooltip="true"
          />
@@ -697,14 +721,15 @@
      topicobj: {},
      // 总条数
      total: 1,
      ruleForm: { svyLibScripts: [], tempDetpRelevances: [] },
      ruleForm: { svyTemplateLibScripts: [], tempDetpRelevances: [] },
      rules: {},
      rulesa: {},
      optionsclass: [], //分类列表
      optionlist: [
        { value: "topic", table: "topic" },
        { value: "topic", table: "topic" },
        { value: "scriptTopic", table: "scriptTopic" },
        { value: "scriptTopic", table: "scriptTopic" },
      ],
      appraiselist: [
        { label: "分数", value: "1" },
        { label: "ABC等级", value: "2" },
@@ -801,7 +826,7 @@
    this.required = store.getters.required;
    this.valuetype = store.getters.valuetype;
    this.courtyardlist = store.getters.courtyardlist;
    this.test();
    // this.test();
  },
  methods: {
@@ -885,9 +910,8 @@
    Departmenttreatment() {
      this.ruleForm.deptNames = JSON.stringify(this.tempDetpRelevanceslist);
      console.log(this.tempDetpRelevanceslist);
      this.ruleForm.svyLibScripts = this.ruleForm.svyLibScripts.concat(
        this.delScriptVOList
      );
      this.ruleForm.svyTemplateLibScripts =
        this.ruleForm.svyTemplateLibScripts.concat(this.delScriptVOList);
      console.log(this.tempDetpRelevanceslist, "this.tempDetpRelevanceslist");
      const result = this.tempDetpRelevanceslist.map(
        (subArr) => subArr[subArr.length - 1]
@@ -963,39 +987,49 @@
        item.isoperation = 1;
      });
      row.svyLibTemplateTargetoptions = row.svyLibScriptOptions;
      this.ruleForm.svyLibScripts.push(row);
      this.ruleForm.svyTemplateLibScripts.push(row);
      this.sortFn();
      this.$modal.msgSuccess("新增成功");
    },
    handleDelete(row) {
      let index = this.ruleForm.svyLibScripts.indexOf(row);
      this.ruleForm.svyLibScripts.splice(index, 1);
      let index = this.ruleForm.svyTemplateLibScripts.indexOf(row);
      this.ruleForm.svyTemplateLibScripts.splice(index, 1);
      row.isoperation = 3;
      this.delScriptVOList.push(row);
      this.sortFn();
    },
    handleUpdate(row) {
      console.log(row);
      this.topicobj = row;
      console.log(this.topicobj, "看数据");
      // getissuelist({ svyid: row.svyid }).then((res) => {
      // });
    },
    syioption(row) {
      const index = this.getIndexInArray(this.ruleForm.svyLibScripts, row);
      const item = this.ruleForm.svyLibScripts.splice(index, 1)[0]; // 移除指定索引处的元素,并保存到item变量中
      this.ruleForm.svyLibScripts.splice(index - 1, 0, item); // 将item插入到索引位置的前一位
      const index = this.getIndexInArray(
        this.ruleForm.svyTemplateLibScripts,
        row
      );
      const item = this.ruleForm.svyTemplateLibScripts.splice(index, 1)[0]; // 移除指定索引处的元素,并保存到item变量中
      this.ruleForm.svyTemplateLibScripts.splice(index - 1, 0, item); // 将item插入到索引位置的前一位
      this.sortFn();
    },
    xiayioption(row) {
      const index = this.getIndexInArray(this.ruleForm.svyLibScripts, row);
      const item = this.ruleForm.svyLibScripts.splice(index, 1)[0]; // 移除指定索引处的元素,并保存到item变量中
      this.ruleForm.svyLibScripts.splice(index + 1, 0, item); // 将item插入到索引位置的前一位
      const index = this.getIndexInArray(
        this.ruleForm.svyTemplateLibScripts,
        row
      );
      const item = this.ruleForm.svyTemplateLibScripts.splice(index, 1)[0]; // 移除指定索引处的元素,并保存到item变量中
      this.ruleForm.svyTemplateLibScripts.splice(index + 1, 0, item); // 将item插入到索引位置的前一位
      this.sortFn();
    },
    sortFn() {
      this.ruleForm.svyLibScripts.forEach((item, index) => {
      this.ruleForm.svyTemplateLibScripts.forEach((item, index) => {
        item.sort = index + 1;
        item.svyLibTemplateTargetoptions.forEach((items) => {
          items.nextQuestion = Number(item.sort) + 1;
      });
      console.log(this.ruleForm.svyLibScripts);
      });
      console.log(this.ruleForm.svyTemplateLibScripts);
    },
    // 修改题目信息
@@ -1324,7 +1358,7 @@
  border: 1px solid #dcdfe6;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
    0 0 6px 0 rgba(0, 0, 0, 0.04);
  .topic-dev {
  .scriptTopic-dev {
    margin-bottom: 25px;
    font-size: 20px !important;
    .dev-text {
@@ -1419,7 +1453,7 @@
  width: 22px;
  height: 22px;
}
// ::v-deep.topic-dev.el-radio__label {
// ::v-deep.scriptTopic-dev.el-radio__label {
//   font-size: 24px;
// }
::v-deep.el-radio-group {
src/views/outsideChain.vue
@@ -10,7 +10,7 @@
          :key="item.aaa"
        >
          <div class="dev-text">
            {{ index + 1 }}、<span>{{ item.questionText }}</span>
            {{ index + 1 }}、<span>{{ item.scriptContent }}</span>
          </div>
          <div class="dev-xx" v-if="item.valueType == 1">
@@ -130,7 +130,7 @@
        let ivrTaskcalldetail = {
          asrtext: item.asrtext,
          valueType: item.valueType,
          questiontext: item.questionText,
          scriptContent: item.scriptContent,
          targetoptions: optionarr.join(","),
        };
        form.ivrTaskcalldetailList.push(ivrTaskcalldetail);
src/views/outsideChainwt.vue
@@ -10,7 +10,7 @@
          :key="item.aaa"
        >
          <div class="dev-text">
            {{ index + 1 }}、<span>{{ item.questionText }}</span>
            {{ index + 1 }}、<span>{{ item.scriptContent }}</span>
          </div>
          <div class="dev-xx" v-if="item.valueType == 1">
@@ -123,7 +123,7 @@
        let ivrTaskcalldetail = {
          asrtext: item.asrtext,
          valueType: item.valueType,
          questiontext: item.questionText,
          scriptContent: item.scriptContent,
          targetoptions: optionarr.join(","),
        };
        form.ivrTaskcalldetailList.push(ivrTaskcalldetail);
src/views/outsideChainxj.vue
@@ -118,7 +118,7 @@
        let ivrTaskcalldetail = {
          asrtext: item.asrtext,
          valueType: item.valueType,
          questiontext: item.questionText,
          scriptContent: item.scriptContent,
          targetoptions: optionarr.join(","),
        };
        form.ivrTaskcalldetailList.push(ivrTaskcalldetail);
src/views/patient/propaganda/particty.vue
@@ -248,7 +248,7 @@
                    <el-form-item label="患者范围" prop="status">
                      <el-select
                        v-model="topqueryParams.topic"
                        v-model="topqueryParams.scriptTopic"
                        placeholder="请选择"
                      >
                        <el-option
@@ -263,7 +263,7 @@
                    <el-form-item label="患者状态" prop="status">
                      <el-select
                        v-model="topqueryParams.topic"
                        v-model="topqueryParams.scriptTopic"
                        placeholder="请选择"
                      >
                        <el-option
@@ -277,7 +277,7 @@
                    </el-form-item>
                    <el-form-item label="随访结果" prop="status">
                      <el-select
                        v-model="topqueryParams.topic"
                        v-model="topqueryParams.scriptTopic"
                        placeholder="请选择"
                      >
                        <el-option
@@ -412,7 +412,7 @@
              <el-form-item label="就诊科室" prop="status">
                <el-select
                  v-model="patientqueryParams.topic"
                  v-model="patientqueryParams.scriptTopic"
                  placeholder="请选择"
                >
                  <el-option-group
@@ -479,12 +479,12 @@
      <div class="preview-left">
        <!-- 单选 -->
        <div
          class="topic-dev"
          class="scriptTopic-dev"
          v-for="(item, index) in questionList"
          :key="item.aaa"
        >
          <div class="dev-text">
            {{ index + 1 }}、<span>{{ item.questionText }}</span>
            {{ index + 1 }}、<span>{{ item.scriptContent }}</span>
          </div>
          <div class="dev-xx" v-if="item.valueType == 1">
@@ -501,7 +501,7 @@
            <el-input
              type="textarea"
              placeholder="未获取到信息"
              v-model.sync="item.questionResult"
              v-model.sync="item.scriptResult"
              :rows="2"
            />
          </div>
@@ -557,7 +557,10 @@
                prop="status"
                v-if="currenttype == 1 || currenttype == 8"
              >
                <el-select v-model="topqueryParams.topic" placeholder="请选择">
                <el-select
                  v-model="topqueryParams.scriptTopic"
                  placeholder="请选择"
                >
                  <el-option
                    v-for="item in taskoptions"
                    :key="item.value"
@@ -572,7 +575,10 @@
                prop="status"
                v-if="currenttype == 4 || currenttype == 5"
              >
                <el-select v-model="topqueryParams.topic" placeholder="请选择">
                <el-select
                  v-model="topqueryParams.scriptTopic"
                  placeholder="请选择"
                >
                  <el-option
                    v-for="item in taskoptions"
                    :key="item.value"
@@ -587,7 +593,10 @@
                prop="status"
                v-if="currenttype == 2 || currenttype == 3 || currenttype == 7"
              >
                <el-select v-model="topqueryParams.topic" placeholder="请选择">
                <el-select
                  v-model="topqueryParams.scriptTopic"
                  placeholder="请选择"
                >
                  <el-option
                    v-for="item in taskoptions"
                    :key="item.value"
@@ -1405,7 +1414,7 @@
  border: 1px solid #dcdfe6;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
    0 0 6px 0 rgba(0, 0, 0, 0.04);
  .topic-dev {
  .scriptTopic-dev {
    margin-bottom: 25px;
    font-size: 20px !important;
    .dev-text {
@@ -1469,7 +1478,7 @@
  width: 22px;
  height: 22px;
}
// ::v-deep.topic-dev.el-radio__label {
// ::v-deep.scriptTopic-dev.el-radio__label {
//   font-size: 24px;
// }
::v-deep.el-radio-group {
src/views/repositoryai/templateku/configurat/index.vue
@@ -388,15 +388,15 @@
                <el-table-column
                  label="标题"
                  align="center"
                  key="questiontitle"
                  prop="questiontitle"
                  key="scriptTopic"
                  prop="scriptTopic"
                  :show-overflow-tooltip="true"
                />
                <el-table-column
                  label="问题话术"
                  align="center"
                  key="questionText"
                  prop="questionText"
                  key="scriptContent"
                  prop="scriptContent"
                  :show-overflow-tooltip="true"
                />
@@ -453,7 +453,7 @@
                </div>
                <el-form-item label="题目标题">
                  <el-input
                    v-model="topicobj.questiontitle"
                    v-model="topicobj.scriptTopic"
                    placeholder="请从左侧列表选择"
                  ></el-input>
                </el-form-item>
@@ -704,7 +704,7 @@
            :key="item.aaa"
          >
            <div class="dev-text">
              {{ index + 1 }}、[单选]<span>{{ item.questionText }}</span>
              {{ index + 1 }}、[单选]<span>{{ item.scriptContent }}</span>
            </div>
            <div class="dev-xx">
              <el-radio-group v-model="radio">
@@ -724,7 +724,7 @@
            :key="item.aaa"
          >
            <div class="dev-text">
              {{ index + 1 }}、[多选]<span>{{ item.questionText }}</span>
              {{ index + 1 }}、[多选]<span>{{ item.scriptContent }}</span>
            </div>
            <div class="dev-xx">
              <el-checkbox-group v-model="radios">
@@ -771,7 +771,7 @@
        >
          <el-form-item label="标题" prop="userName">
            <el-input
              v-model="queryParams.questiontitle"
              v-model="queryParams.scriptTopic"
              placeholder="请输入"
              clearable
              style="width: 200px"
@@ -796,15 +796,15 @@
          <el-table-column
            label="标题"
            align="center"
            key="questiontitle"
            prop="questiontitle"
            key="scriptTopic"
            prop="scriptTopic"
            width="100"
          />
          <el-table-column
            label="问题话术"
            align="center"
            key="questionText"
            prop="questionText"
            key="scriptContent"
            prop="scriptContent"
            width="200"
            :show-overflow-tooltip="true"
          />
@@ -1269,7 +1269,7 @@
      console.log(row);
      if (
        this.ruleForm.ivrLibaTemplateScriptVOList.some(
          (obj) => obj.questiontitle == row.questiontitle
          (obj) => obj.scriptTopic == row.scriptTopic
        )
      ) {
        this.$modal.msgError("该题目已存在");
@@ -1289,7 +1289,7 @@
    },
    handleDelete(row) {
      this.$modal
        .confirm('是否确认删除问题:"' + row.questiontitle + '"?')
        .confirm('是否确认删除问题:"' + row.scriptTopic + '"?')
        .then(() => {
          this.ruleForm.ivrLibaTemplateScriptVOList.splice(
            this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row),
src/views/repositoryai/templateku/configurat/measurement.vue
@@ -66,7 +66,7 @@
            :key="item.aaa"
          >
            <div class="dev-text">
              {{ index + 1 }}、<span>{{ item.questionText }}</span>
              {{ index + 1 }}、<span>{{ item.scriptContent }}</span>
            </div>
            <div class="dev-xx" v-if="item.valueType == 1">
@@ -158,7 +158,7 @@
      };
      // 发起ws请求
      sendWebsocket(
        "ws://localhost:8089/chat?userId=1",
        "ws://localhost:8095/chat?userId=1",
        obj,
        this.wsMessage,
        this.wsError
@@ -190,9 +190,9 @@
          value: dataJson.jsy,
          isEat: 1,
        });
      } else if (dataJson.nowQuestion.questionText) {
      } else if (dataJson.nowQuestion.scriptContent) {
        this.Answerline.push({
          value: dataJson.nowQuestion.questionText,
          value: dataJson.nowQuestion.scriptContent,
          isEat: 1,
        });
      }
@@ -224,7 +224,7 @@
      console.log(obj, "入参");
      // 发起ws请求
      sendWebsocket(
        "ws://localhost:8089/chat?userId=1",
        "ws://localhost:8095/chat?userId=1",
        obj,
        this.wsMessage,
        this.wsError
src/views/repositoryai/verbaltrick/index.vue
@@ -192,15 +192,15 @@
                label="问题主题"
                fixed
                align="center"
                key="questiontitle"
                prop="questiontitle"
                key="scriptTopic"
                prop="scriptTopic"
                :show-overflow-tooltip="true"
              />
              <el-table-column
                label="问题文本"
                align="center"
                key="questionText"
                prop="questionText"
                key="scriptContent"
                prop="scriptContent"
                width="200"
                :show-overflow-tooltip="true"
              />
@@ -208,8 +208,8 @@
              <el-table-column
                label="问题语音"
                align="center"
                key="questionvoice"
                prop="questionvoice"
                key="scriptVoice"
                prop="scriptVoice"
                width="200"
              /><el-table-column
                label="关联指标"
@@ -609,7 +609,6 @@
      getbaltrickclassify({}).then((res) => {
        this.deptOptions = res.rows;
        this.dialogFormVisible = false;
      });
    },
src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -104,9 +104,9 @@
          </el-row>
          <el-row :gutter="20">
            <el-col :span="20">
              <el-form-item label="问题主旨" prop="questiontitle">
              <el-form-item label="问题主旨" prop="scriptTopic">
                <el-input
                  v-model="indexform.questiontitle"
                  v-model="indexform.scriptTopic"
                  placeholder="请输入问题主旨"
                  maxlength="80"
                />
@@ -256,7 +256,7 @@
          </el-row>
          <el-row>
            <el-col :span="24">
              <el-form-item label="问题变量" prop="questionText">
              <el-form-item label="问题变量" prop="scriptContent">
                <div style="display: flex; margin-bottom: 10px">
                  <div
                    v-for="item in variablelist"
@@ -274,15 +274,15 @@
          >
          <el-row>
            <el-col :span="24">
              <el-form-item label="问题文本" prop="questionText">
              <el-form-item label="问题文本" prop="scriptContent">
                <el-input
                  :rows="2"
                  type="textarea"
                  id="questionText"
                  id="scriptContent"
                  show-word-limit
                  placeholder="请输入内容"
                  v-model.sync="indexform.questionText"
                  @focus="handleInput('questionText')"
                  v-model.sync="indexform.scriptContent"
                  @focus="handleInput('scriptContent')"
                />
              </el-form-item> </el-col
          ></el-row>
@@ -694,7 +694,7 @@
          .confirm('是否添加"' + res.rows[0].targetname + '"指标的选项?')
          .then(() => {
            this.indexform.valueType = res.rows[0].valueType;
            this.indexform.questiontitle = res.rows[0].targetname;
            this.indexform.scriptTopic = res.rows[0].targetname;
            this.indexform.targetname = res.rows[0].targetname;
            this.indexform.targetdesc = res.rows[0].targetdesc;
            this.indexform.isAvailable = "0";
@@ -911,8 +911,8 @@
      let inputValueArr = "";
      let el = document.querySelector("#" + this.currentInputId);
      //el.selectionStart; 这就是当前光标所在的位置(字符串中字符的index)
      if (this.currentInputId == "questionText") {
        inputValueArr = this.indexform.questionText.split("");
      if (this.currentInputId == "scriptContent") {
        inputValueArr = this.indexform.scriptContent.split("");
      } else if (this.currentInputId == "noMatchText") {
        inputValueArr = this.indexform.noMatchText.split("");
      } else if (this.currentInputId == "slienceText") {
@@ -933,8 +933,8 @@
      // 把数组重新转换为字符串并赋值
      inputValueArr = inputValueArr.join("");
      console.log(inputValueArr);
      if (this.currentInputId == "questionText") {
        this.indexform.questionText = inputValueArr;
      if (this.currentInputId == "scriptContent") {
        this.indexform.scriptContent = inputValueArr;
      } else if (this.currentInputId == "noMatchText") {
        this.indexform.noMatchText = inputValueArr;
      } else if (this.currentInputId == "slienceText") {