| | |
| | | <p class="tableTopLabel">查询模板名称:</p> |
| | | <el-select v-model="form.itemQtName" placeholder="请选择查询模板" size="mini"> |
| | | <el-option v-for="(item,index) in searchQtNameList" :key="index" :label="item.qtName" |
| | | :value="item.qtName"></el-option> |
| | | :value="item.qtName"></el-option> |
| | | </el-select> |
| | | </span> |
| | | |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | searchQtNameList:[], |
| | | searchQtNameList: [], |
| | | customAttrRow: {}, |
| | | customAttrOption: { |
| | | ...basicOption, |
| | |
| | | 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']); |
| | | }, |
| | | |
| | | // 模板类型为表单 |