WXL
2024-04-08 32d69fcb07f2325d9b93ce1a8b3716eec73ae70f
src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -605,8 +605,8 @@
      testgovalue: "",
      topicobj: {},
      indexform: {
        ivrLibaScriptTargetoptionList:[],
        ivrLibaScriptTagList:[]
        ivrLibaScriptTargetoptionList: [],
        ivrLibaScriptTagList: [],
      },
      mode: [],
      questionclass: [],
@@ -696,18 +696,20 @@
    // 保存详细信息
    Saveproblem() {
      console.log(this.variablelist);
      console.log(this.indexform);
      this.indexform.otherdata = JSON.stringify(this.variablelist);
      this.indexform.suitway = this.indexform.suitway.join(",");
      if (this.indexform.suitway) {
        this.indexform.suitway = this.indexform.suitway.join(",");
      }
      if (this.indexform.id) {
        this.indexform.ivrLibaScriptTargetoptionList =
        this.indexform.ivrLibaScriptTargetoptionList.map((res) => {
          if (res.isoperation!=1) {
            res.isoperation = 2;
          }
          return res;
        });
          this.indexform.ivrLibaScriptTargetoptionList.map((res) => {
            if (res.isoperation != 1) {
              res.isoperation = 2;
            }
            return res;
          });
        this.indexform.isoperation = 2;
        compileverbaltrick(this.indexform).then((res) => {
          if (res.code == 200) {