| | |
| | | testgovalue: "", |
| | | topicobj: {}, |
| | | indexform: { |
| | | ivrLibaScriptTargetoptionList:[], |
| | | ivrLibaScriptTagList:[] |
| | | ivrLibaScriptTargetoptionList: [], |
| | | ivrLibaScriptTagList: [], |
| | | }, |
| | | mode: [], |
| | | questionclass: [], |
| | |
| | | |
| | | // 保存详细信息 |
| | | 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) { |