|
@@ -322,20 +322,28 @@
|
|
|
},
|
|
|
setColumn(){
|
|
|
if (this.type == 'max') {
|
|
|
- this.columns.push({ title:'单价(最大值)', align:"center", dataIndex: 'maxDanjia', fixed: 'right', width: 120 })
|
|
|
- this.columns.push({ title:'价格(最大值)', align:"center", dataIndex: 'maxPrice', fixed: 'right', width: 120 })
|
|
|
+ this.columns.push(
|
|
|
+ { title:'单价(最大值)', align:"center", dataIndex: 'maxDanjia', fixed: 'right', width: 120 },
|
|
|
+ { title:'价格(最大值)', align:"center", dataIndex: 'maxPrice', fixed: 'right', width: 120 }
|
|
|
+ )
|
|
|
}
|
|
|
if (this.type == 'min') {
|
|
|
- this.columns.push({ title:'单价(最小值)', align:"center", dataIndex: 'minDanjia', fixed: 'right', width: 120 })
|
|
|
- this.columns.push({ title:'价格(最小值)', align:"center", dataIndex: 'minPrice', fixed: 'right', width: 120 })
|
|
|
+ this.columns.push(
|
|
|
+ { title:'单价(最小值)', align:"center", dataIndex: 'minDanjia', fixed: 'right', width: 120 },
|
|
|
+ { title:'价格(最小值)', align:"center", dataIndex: 'minPrice', fixed: 'right', width: 120 }
|
|
|
+ )
|
|
|
}
|
|
|
if (this.type == 'ave') {
|
|
|
- this.columns.push({ title:'单价(平均值)', align:"center", dataIndex: 'aveDanjia', fixed: 'right', width: 120 })
|
|
|
- this.columns.push({ title:'价格(平均值)', align:"center", dataIndex: 'avePrice', fixed: 'right', width: 120 })
|
|
|
+ this.columns.push(
|
|
|
+ { title:'单价(平均值)', align:"center", dataIndex: 'aveDanjia', fixed: 'right', width: 120 },
|
|
|
+ { title:'价格(平均值)', align:"center", dataIndex: 'avePrice', fixed: 'right', width: 120 }
|
|
|
+ )
|
|
|
}
|
|
|
if (this.type == 'recent') {
|
|
|
- this.columns.push({ title:'单价(近期值)', align:"center", dataIndex: 'recentDanjia', fixed: 'right', width: 120 })
|
|
|
- this.columns.push({ title:'价格(近期值)', align:"center", dataIndex: 'recentPrice', fixed: 'right', width: 120 })
|
|
|
+ this.columns.push(
|
|
|
+ { title:'单价(近期值)', align:"center", dataIndex: 'recentDanjia', fixed: 'right', width: 120 },
|
|
|
+ { title:'价格(近期值)', align:"center", dataIndex: 'recentPrice', fixed: 'right', width: 120 }
|
|
|
+ )
|
|
|
}
|
|
|
},
|
|
|
initDictConfig(){
|