| | |
| | | prop: "field", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | // blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "列名(*)", |
| | | prop: "title", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | // blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "字段类型(*)", |
| | | prop: "fieldTypeText", |
| | |
| | | }, { |
| | | value: 'textarea', label: '文本域' |
| | | }], |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | // blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "列表可排序", |
| | | prop: "sort", |
| | |
| | | type:"switch", |
| | | width: '80px', |
| | | value: true, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | // blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "排序字段", |
| | | prop: "attrSortField", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | // blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "字段宽度", |
| | | prop: "width", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | // blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "列固定位置", |
| | | prop: "fixedPosition", |
| | |
| | | clearable: false, |
| | | value: 'noFixed', |
| | | dicData: [{value: 'noFixed', label: '不固定'}, {value: 'left', label: '左边'}, {value: 'right', label: '右边'}], |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | // blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "js显示代码", |
| | | prop: "templet", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | // blur: (value) => this.updateAttrBlur(value), |
| | | }, |
| | | ] |
| | | }, |
| | |
| | | }else{ |
| | | // 选择显示字段 |
| | | data.selectedArrary.forEach(item => { |
| | | console.log(item); |
| | | // console.log(item); |
| | | this.codeShowFieldConfigVOS.push( |
| | | { |
| | | field: item.id, |