WXL
2024-07-29 40bdf0b225257391ae33b9e934d51d9eabd04f5d
测试完成
已修改3个文件
47 ■■■■ 文件已修改
src/views/knowledge/questionbank/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionbank/particulars/index.vue 39 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/intention/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionbank/index.vue
@@ -504,7 +504,7 @@
      illnesslistapi: [],
      illnesslist: [],
      defaultProps: {
        children: "svyLibTopicCategoryList",
        children: "svyLibScriptCategoryList",
        label: "name",
      },
      mode: [],
@@ -656,7 +656,7 @@
          (obj) => obj.id == this.classifyform.pid
        );
        calssvalue = this.deptOptions[index];
        console.log(calssvalue,'calssvalue');
        console.log(calssvalue, "calssvalue");
        calssvalue.svyLibScriptCategoryList.push(this.classifyform);
      } else if (this.radio == "主分类" && this.classifyform.name) {
        this.classifyform.pid = null;
src/views/knowledge/questionbank/particulars/index.vue
@@ -423,7 +423,7 @@
          :inline="true"
          label-width="98px"
        >
          <el-form-item label="标题" prop="userName">
          <el-form-item label="指标名称" prop="userName">
            <el-input
              v-model="queryParams.targetname"
              placeholder="请输入"
@@ -466,14 +466,14 @@
        </el-form>
        <el-table v-loading="loading" :data="targetList">
          <el-table-column
            label="标题"
            label="指标名称"
            align="center"
            key="targetname"
            prop="targetname"
            width="100"
          />
          <el-table-column
            label="问题内容"
            label="指标说明"
            align="center"
            key="targetdesc"
            prop="targetdesc"
@@ -483,16 +483,36 @@
          <el-table-column
            label="语言"
            align="center"
            key="targetdesc"
            prop="targetdesc"
            key="language"
            prop="language"
            width="200"
            :show-overflow-tooltip="true"
          />
          <el-table-column
            label="问题内容"
            label="是否可用"
            align="center"
            key="targetdesc"
            prop="targetdesc"
            key="isAvailable"
            prop="isAvailable"
          >
            <template slot-scope="scope">
              <dict-tag :options="usable" :value="scope.row.isAvailable" />
            </template>
          </el-table-column>
          <el-table-column
            label="问题类型"
            align="center"
            key="scriptType"
            prop="scriptType"
          >
            <template slot-scope="scope">
              <dict-tag :options="valuetype" :value="scope.row.scriptType" />
            </template>
          </el-table-column>
          <el-table-column
            label="选项说明"
            align="center"
            key="optionDesc"
            prop="optionDesc"
            width="200"
            :show-overflow-tooltip="true"
          />
@@ -764,8 +784,7 @@
          ) {
            console.log(score, "错误分值");
            this.$message({
              message:
                "选项分值必须在0到" + this.topicobj.score + "分之间",
              message: "选项分值必须在0到" + this.topicobj.score + "分之间",
              type: "warning",
            });
            return false;
src/views/repositoryai/intention/index.vue
@@ -1247,6 +1247,10 @@
          }
        });
        if (valid) {
          this.indexform.optionDesc = this.testuserList
            .filter((item) => item.isoperation != 3)
            .map((item) => item.targetvalue)
            .join(", ");
          if (!this.indexform.version) this.indexform.version = "1.0";
          if (this.indexform.id != undefined) {
            this.indexform.isoperation = 2;