WXL
2024-08-19 9bc27231d681cbc1bae6d8f199521d332c9c23f7
src/views/repositoryai/templateku/configurat/index.vue
@@ -825,7 +825,7 @@
                        </el-option>
                      </el-select> </el-form-item
                  ></el-col>
                  <el-col :span="12"
                  <!-- <el-col :span="12"
                    ><el-form-item label="取值类型">
                      <el-select
                        v-model="indexform.valueType"
@@ -840,7 +840,7 @@
                        >
                        </el-option>
                      </el-select> </el-form-item
                  ></el-col>
                  ></el-col> -->
                </el-row>
                <el-row>
                  <el-col :span="6">
@@ -864,7 +864,7 @@
                  </el-col>
                  <el-col :span="6">
                    <span
                      style="font-size: 12px"
                      style="font-size: 18px; margin-top: 10px"
                      v-if="indexform.scriptVoice"
                      >{{
                        indexform.scriptVoice.substring(
@@ -1169,7 +1169,7 @@
import { getToken } from "@/utils/auth";
export default {
  name: "SpeechTemplates",
  name: "Tpuconfigurat",
  components: { Regular, OptionalForm },
  data() {
    return {
@@ -1511,8 +1511,10 @@
    //控制语音文件
    handleChange(response, file, additionalParam) {
      console.log(response);
      console.log(additionalParam);
      if (additionalParam == 1) {
        this.indexform.scriptVoice = response.url;
        console.log(this.indexform.scriptVoice);
      } else if (additionalParam == 2) {
        this.indexform.nomatchvoice = response.url;
        console.log(this.indexform.nomatchvoice);
@@ -1521,6 +1523,7 @@
      } else if (additionalParam == 4) {
        this.indexform.noclearlyvoice = response.url;
      }
      this.$forceUpdate();
    },
    // 文件超出个数限制时的钩子
    handleExceed(files, fileList) {
@@ -1726,7 +1729,7 @@
        .confirm("即将前往模版测试页面,请确认模版数据已保存。")
        .then((res) => {
          this.$router.push({
            path: "/knowledge/templateku/configurat/measurement",
            path: "/knowledge/tpuconfigurat/measurement",
            query: { id: this.id, name: this.ruleForm.templateName },
          });
        })