| | |
| | | // 合并两个表单 |
| | | this.form = Object.assign(addFrom,this.form); |
| | | // console.log("endFilter",this.form.type); |
| | | //console.log(this.form); |
| | | // console.log(this.form); |
| | | }, |
| | | },{ |
| | | label: '是否开启持久化', |
| | |
| | | }, |
| | | }, |
| | | mounted() { |
| | | // 麻的这个地方调死我了 |
| | | // 事件监听,实现表格行编辑点击表格区域外内容时退出编辑状态 |
| | | this.element = document.getElementById('refer-config-form'); |
| | | this.element.addEventListener("click", (e) => { |
| | | //<table cellspacing="0" cellpadding="0" border="0" class="el-table__body" style="width: 911px;"> |
| | |
| | | }, |
| | | /** 排序字段、显示的属性、查询条件的表格行选择之后回显 */ |
| | | echoSelectedAttr(data){ |
| | | console.log(data); |
| | | // console.log(data); |
| | | // 为【排序字段】选取值 |
| | | if(data.condition === 'sortField'){ |
| | | this.form.sortField = data.selectedArrary[0].id; |