|
|
@@ -226,7 +226,7 @@ export default {
|
|
|
columnConfig: model.columns.map((c, i) => {
|
|
|
return {
|
|
|
columnName: c.name,
|
|
|
- columnLable: c.alias,
|
|
|
+ columnLable: c.alias || c.description || c.name,
|
|
|
dataType: c.dataType,
|
|
|
columnType: c.columnType,
|
|
|
isGroup: c.groupable?'1':'0',
|
|
|
@@ -337,7 +337,7 @@ export default {
|
|
|
key: i,
|
|
|
using: true,
|
|
|
name: d.columnName,
|
|
|
- alias: d.remarks?d.remarks.substring(0, 10):'',
|
|
|
+ alias: d.remarks ? d.remarks.substring(0, 10) : (d.columnName),
|
|
|
dataType: d.columnType,
|
|
|
columnType: getColumnType(d.columnType),
|
|
|
groupable: d.columnType === 'VARCHAR2',
|
|
|
@@ -410,7 +410,7 @@ export default {
|
|
|
columnConfig: model.columns ? model.columns.map((c, i) => {
|
|
|
return {
|
|
|
columnName: c.name,
|
|
|
- columnLable: c.alias,
|
|
|
+ columnLable: c.alias || c.description || c.name,
|
|
|
dataType: c.dataType,
|
|
|
columnType: c.columnType,
|
|
|
isGroup: c.groupable?'1':'0',
|