| | |
| | | :prop="item.prop" |
| | | :sortable="item.sortable" |
| | | :formatter="formatBoolean" |
| | | :width="item.label.length >=4 ?'150':item.label.length==3 ?'120':'90'" |
| | | :show-overflow-tooltip="true" |
| | | align="center" |
| | | > |
| | | <!-- 编辑和展示逻辑 --> |
| | | <!-- <template slot-scope="{ row }">--> |
| | |
| | | this.doLayout(); |
| | | }, |
| | | watch: { |
| | | tableHeadDataFateher:{ |
| | | handler(newval,oldval){ |
| | | this.options=newval.tableDefineVO.seniorQueryColumns |
| | | } |
| | | }, |
| | | codeClassifyOid: { |
| | | handler(newval, oldval) { |
| | | this.codeClassifyOid = newval; |
| | |
| | | ...val, |
| | | }).then((res) => { |
| | | console.log(res); |
| | | this.tableData=res.data.data; |
| | | this.page.total=res.data.total |
| | | }); |
| | | }, |
| | | //相似项查询 |