| | |
| | | const params = { |
| | | text: data.text, |
| | | oid: data.oid, |
| | | itemType: 'text' |
| | | itemType: 'text', |
| | | itemName:data.data.name |
| | | } |
| | | console.log(data); |
| | | const isDuplicate = this.formList.some(item => item.text === data.text); |
| | | |
| | | if (isDuplicate) { |
| | |
| | | this.activeItem = item; |
| | | this.activeItemIndex = index; |
| | | this.form = {...item}; |
| | | console.log(item); |
| | | |
| | | // console.log(item,index); |
| | | this.topForm.position = index += 1; |
| | |
| | | // 模板类型为树表 |
| | | templateTypeTreeTable(val) { |
| | | if (!val) return; |
| | | this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'expandCols', 'zkfs']); |
| | | this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'expandCols', 'expandMode']); |
| | | }, |
| | | |
| | | // 模板类型为表单 |