|
@@ -311,7 +311,7 @@ const operateDetailColumns=[
|
|
|
dataIndex: 'quarters',
|
|
|
align: 'center',
|
|
|
scopedSlots: { customRender: 'quarters' },
|
|
|
- sorter:()=>{},
|
|
|
+
|
|
|
width:120
|
|
|
},
|
|
|
{
|
|
@@ -319,7 +319,7 @@ const operateDetailColumns=[
|
|
|
dataIndex: 'projectName',
|
|
|
align: 'center',
|
|
|
scopedSlots: { customRender: 'projectName' },
|
|
|
- sorter:()=>{},
|
|
|
+
|
|
|
width:150
|
|
|
},
|
|
|
{
|
|
@@ -327,7 +327,7 @@ const operateDetailColumns=[
|
|
|
dataIndex: 'authName',
|
|
|
align: 'center',
|
|
|
scopedSlots: { customRender: 'authName' },
|
|
|
- sorter:()=>{},
|
|
|
+
|
|
|
width:300,
|
|
|
},
|
|
|
{
|
|
@@ -335,7 +335,7 @@ const operateDetailColumns=[
|
|
|
dataIndex: 'cost',
|
|
|
align: 'center',
|
|
|
scopedSlots: { customRender: 'cost' },
|
|
|
- sorter:()=>{}
|
|
|
+
|
|
|
},
|
|
|
]
|
|
|
|
|
@@ -392,7 +392,7 @@ const saleDetailColumns = [
|
|
|
dataIndex: 'totalCost',
|
|
|
align: 'center',
|
|
|
scopedSlots: { customRender: 'totalCost' },
|
|
|
- sorter:()=>{}
|
|
|
+
|
|
|
},
|
|
|
]
|
|
|
|
|
@@ -424,7 +424,7 @@ const designDetailColumns = [
|
|
|
dataIndex: 'materialCost',
|
|
|
align: 'center',
|
|
|
scopedSlots: { customRender: 'materialCost' },
|
|
|
- sorter:()=>{},
|
|
|
+
|
|
|
width:100,
|
|
|
},
|
|
|
{
|
|
@@ -432,8 +432,17 @@ const designDetailColumns = [
|
|
|
dataIndex: 'personCost',
|
|
|
align: 'center',
|
|
|
scopedSlots: { customRender: 'personCost' },
|
|
|
- sorter:()=>{},
|
|
|
- width:100,
|
|
|
+
|
|
|
+ width:100,
|
|
|
+ filterDropdown: true, // 自定义的列筛选功能,我们占位为信息提示Icon的位置
|
|
|
+ filterIcon: () => {
|
|
|
+ return (
|
|
|
+ <Tooltip placement="top" onVisibleChange={() => onVisibleChange(1)}>
|
|
|
+ <Icon type="question-circle" theme="outlined" />
|
|
|
+ </Tooltip>
|
|
|
+ );
|
|
|
+ },
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
title: '设计负责人',
|
|
@@ -773,7 +782,18 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
-
|
|
|
+ onVisibleChange (key) { //Tooltip 显示隐藏的回调,类似onmouseenter 进入离开事件,用来显示我们不同的信息提醒
|
|
|
+ let str = '';
|
|
|
+ switch (key) {
|
|
|
+ case 1:
|
|
|
+ str = '你的姓名';
|
|
|
+ default:
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // this.filterTitleKey=str
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getInfoHttp();
|