魏志佳 %!s(int64=5) %!d(string=hai) anos
pai
achega
4a46df8fbb

+ 24 - 30
src/views/modules/Statistics/performanceRelated/performanceRelated.vue

@@ -117,7 +117,7 @@
         </div>
          <!-- 明细表 -->
         <div class="detailBoxPerform">
-            <a-modal v-model="visibleDetail" title="详细信息" width="55%" :footer="null" id="detailBoxPerform">
+            <a-modal v-model="visibleDetail" title="详细信息" width="70%" :footer="null" id="detailBoxPerform">
                 <!-- <a-button type="default" @click="exportExcel" id="mybtn">导出报表</a-button> -->
                 <div class="myTable">
                     <a-table
@@ -163,7 +163,7 @@
             </a-modal>
         </div>
         
-        <a-modal v-model="Videovisible" title="视频详情" @ok="videoOk" :footer="null" width="60%">
+        <a-modal v-model="Videovisible" title="视频详情" @ok="videoOk" :footer="null" width="50%">
             <video
                 @click.stop
                 class="video"
@@ -312,7 +312,7 @@ const operateDetailColumns=[
         align: 'center',
         scopedSlots: { customRender: 'quarters' },
        
-        width:120
+        width:200
     },
     {
         title: '项目',
@@ -320,7 +320,7 @@ const operateDetailColumns=[
         align: 'center',
         scopedSlots: { customRender: 'projectName' },
       
-        width:150
+        width:200
     },
     {
         title: '账户名称',
@@ -335,7 +335,7 @@ const operateDetailColumns=[
         dataIndex: 'cost',
         align: 'center',
         scopedSlots: { customRender: 'cost' },
-        width:100,
+        width:150,
   },
 ]
 
@@ -431,30 +431,21 @@ const designDetailColumns = [
         title: '个人消耗(素材消耗*绩效占比)',
         dataIndex: 'personCost',
         align: 'center',
-        scopedSlots: { customRender: 'personCost' },
-        // filterDropdown: true, // 自定义的列筛选功能,我们占位为信息提示Icon的位置
-        // filterIcon: () => {
-        //     return (
-        //     <Tooltip placement="top" onVisibleChange={() => onVisibleChange(1)}>           
-        //         <Icon type="question-circle" theme="outlined" />
-        //     </Tooltip>
-        //     );
-        // },
-       
+        scopedSlots: { customRender: 'personCost' },      
     },
     {
         title: '设计负责人',
         dataIndex: 'leaderName',
         align: 'center',
         scopedSlots: { customRender: 'leaderName' },
-        width:105,
+        width:110,
     },
     {
         title: '职位',
         dataIndex: 'roleName',
         align: 'center',
         scopedSlots: { customRender: 'roleName' },
-        width:90,
+        width:100,
     },
     
     {
@@ -462,7 +453,7 @@ const designDetailColumns = [
         dataIndex: 'percent',
         align: 'center',
         scopedSlots: { customRender: 'percent' },
-        width:90,
+        width:100,
   },
 ]
     
@@ -472,7 +463,9 @@ export default {
     mixins:[JeecgListMixin],
     data() {
         return {
-            selectOption:{},
+            selectOption:{
+                company:{}
+            },
             yearsArr:[],
             quarterArr:[],
             company:'',
@@ -785,17 +778,18 @@ export default {
                 })
         },
 
-        // onVisibleChange (key) { //Tooltip 显示隐藏的回调,类似onmouseenter 进入离开事件,用来显示我们不同的信息提醒
-        //     let str = '';
-        //     switch (key) {
-        //         case 1:
-        //         str = '你的姓名';
-        //         default:
-        //         break;
-        //     }
-           
-        //     // this.filterTitleKey=str        
-        // }
+        onVisibleChange (key) { //Tooltip 显示隐藏的回调,类似onmouseenter 进入离开事件,用来显示我们不同的信息提醒
+        console.log(key)
+            let str = '';
+            switch (key) {
+                case 1:
+                str = '你的姓名';
+                default:
+                break;
+            }
+
+            // this.filterTitleKey=str        
+        }
 
     },
     mounted() {