| | |
| | | @click="addvariable(item)" |
| | | ></el-button> |
| | | <el-button |
| | | v-if="item" |
| | | v-if="item" |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | circle |
| | |
| | | ], |
| | | qyoptions: [], |
| | | options: [], |
| | | variablelist: [ |
| | | |
| | | ], |
| | | variablelist: [], |
| | | |
| | | addvalue: "添加题目", |
| | | languagelist: [], //语言列表 |
| | |
| | | getverbaltrick({ id: id }).then((res) => { |
| | | this.indexform = res.data; |
| | | this.indexform.assortid = parseInt(this.indexform.assortid); |
| | | this.variablelist = JSON.parse(this.indexform.parameter)?JSON.parse(this.indexform.parameter):[{name:'',value:''}]; |
| | | this.variablelist = JSON.parse(this.indexform.parameter) |
| | | ? JSON.parse(this.indexform.parameter) |
| | | : [{ name: "", value: "" }]; |
| | | this.dynamicTags = this.indexform.ivrLibaScriptTagList.map( |
| | | this.processElement |
| | | ); |
| | |
| | | if (this.indexform.ivrLibaScriptTargetoptionList.length) { |
| | | return this.Editprogress++; |
| | | } |
| | | gettargetInfo({ targetID: this.indexform.targetid }).then((res) => { |
| | | gettargetInfo({ targetid: this.indexform.targetid }).then((res) => { |
| | | this.indexform.isenable = res.rows[0].isenable; |
| | | this.indexform.targetname = res.rows[0].targetname; |
| | | res.rows[0].targetoptionList.forEach((item) => { |