| | |
| | | </template> |
| | | </avue-crud> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="info" @click="sysClear">清空</el-button> |
| | | <el-button type="primary" @click="sysnonymSubmit">确定</el-button> |
| | | <el-button @click="sysnonymCancel">取消</el-button> |
| | | </div> |
| | |
| | | }, |
| | | { |
| | | label: "只读", |
| | | prop: "readonlyFlag", |
| | | prop: "readOnlyFlag", |
| | | }, |
| | | { |
| | | label: "列表排序", |
| | |
| | | }, |
| | | { |
| | | label: "只读", |
| | | prop: "readonlyFlag", |
| | | prop: "readOnlyFlag", |
| | | cell: false, |
| | | edit: "switch" |
| | | }, |
| | |
| | | }, |
| | | { |
| | | label: "多行文本", |
| | | prop: "textareaFlag", |
| | | prop: "textAreaFlag", |
| | | cell: false, |
| | | edit: "switch" |
| | | }, |
| | |
| | | value: 'tableDisplayFlag', |
| | | label: '列表显示' |
| | | }, { |
| | | value: 'readonlyFlag', |
| | | value: 'readOnlyFlag', |
| | | label: '只读' |
| | | }, { |
| | | value: 'sortAttrFlag', |
| | | label: '列表排序' |
| | | }, { |
| | | value: 'textareaFlag', |
| | | value: 'textAreaFlag', |
| | | label: '多行文本' |
| | | }, { |
| | | value: 'imageFlag', |
| | |
| | | this.$set(this.CurrentCell, 'sysonymRuleOids', newString) |
| | | //text |
| | | this.$set(this.CurrentCell, 'sysonymRuleOidsText', newStringName) |
| | | this.$set(this.CurrentCell, 'sysonymRuleOidsData', this.sysSelectData) |
| | | this.AddCellFlag = true; |
| | | this.synonymVisible = false; |
| | | } |
| | | }, |
| | | sysClear(){ |
| | | this.CurrentCell.sysonymRuleOidsText = ""; |
| | | this.CurrentCell.sysonymRuleOidsData = ""; |
| | | this.AddCellFlag = true; |
| | | }, |
| | | sysChange(row) { |
| | | console.log(row) |
| | | this.sysSelectData = row; |
| | | }, |
| | | //新增搜索 |
| | |
| | | //表格行编辑 |
| | | handleCellClicks(row, column) { |
| | | if (this.editOpenFlag) { |
| | | this.AddCellFlag = false; |
| | | this.editingRows = row; |
| | | this.editShows = column.property; |
| | | this.rowOid = row.oid; |
| | |
| | | }).catch(() => { |
| | | this.$message.error('请检查控制台错误信息!') |
| | | }) |
| | | |
| | | this.synonymVisible = true; |
| | | } |
| | | }; |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | /deep/ .el-table__fixed-body-wrapper { |
| | | .el-table__body { |
| | | padding-bottom: 15px; |
| | | } |
| | | } |
| | | |
| | | //固定列高度 |
| | | /deep/ .el-table__fixed { |
| | | height: calc(100vh - 618px) !important; |