| | |
| | | }, |
| | | changeselect(row) { |
| | | console.log(row); |
| | | this.hasValue = row.includes('2'); |
| | | this.hasValue = row.includes("2"); |
| | | }, |
| | | //删除分类 |
| | | deletefenlei(row) { |
| | |
| | | console.log(this.dynamicTags.indexOf(tag)); |
| | | const lindex = this.dynamicTags.indexOf(tag); |
| | | this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1); |
| | | this.indexform.baseTagList[lindex].isoperation = 3; |
| | | this.indexform.ivrLibaTargetTagList[lindex].delFlag = 3; |
| | | }, |
| | | handleInputConfirm() { |
| | | let tagvalue = {}; |
| | |
| | | }; |
| | | } |
| | | console.log(tagvalue); |
| | | this.indexform.baseTagList.push(tagvalue); |
| | | this.indexform.ivrLibaTargetTagList.push(tagvalue); |
| | | this.dynamicTags.push(tagvalue); |
| | | console.log(this.indexform.baseTagList); |
| | | console.log(this.indexform.ivrLibaTargetTagList); |
| | | console.log(this.dynamicTags); |
| | | }); |
| | | } |
| | |
| | | suitWayList: undefined, |
| | | id: undefined, |
| | | targetdesc: undefined, |
| | | baseTagList: [], |
| | | ivrLibaTargetTagList: [], |
| | | targetoptionList: [], |
| | | }; |
| | | // this.resetForm("indexform"); |
| | |
| | | this.reset(); |
| | | this.title = "新增指标"; |
| | | this.indexform = { |
| | | baseTagList: [], |
| | | ivrLibaTargetTagList: [], |
| | | targetoptionList: [], |
| | | }; |
| | | this.dynamicTags = []; |
| | |
| | | }, |
| | | ]; |
| | | } |
| | | this.dynamicTags = row.baseTagList.map(this.processElement); |
| | | this.dynamicTags = row.ivrLibaTargetTagList.map(this.processElement); |
| | | this.testuserList = row.targetoptionList; |
| | | console.log(this.testuserList, "bbbb"); |
| | | this.testvalue = ""; |