liuhairui 1 year ago
parent
commit
6663fa47b3
1 changed files with 7 additions and 3 deletions
  1. 7 3
      src/view/performance/08-timesheet/index.vue

+ 7 - 3
src/view/performance/08-timesheet/index.vue

@@ -24,7 +24,7 @@
 							</el-form-item>
 						</el-form>
 						<!-- 数据展示 -->
-						<el-table ref="table" style="width: 100%" tooltip-effect="dark" :data="tableData" row-key="ID"
+						<el-table ref="table" style="width: 100%;height: 62vh;" tooltip-effect="dark" :data="tableData" row-key="ID"
 							highlight-current-row border show-overflow-tooltip="true" :row-style="{ height: '20px' }"
 							:cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
 							:header-cell-style="{ padding: '0px' }" @selection-change="handleSelectionChange"
@@ -297,7 +297,7 @@
 		{
 			prop: 'wgjs_bh1',
 			label: '员工编号1',
-			width: 120
+			width: 115
 		},
 		{
 			prop: 'name1',
@@ -424,7 +424,7 @@
 	const tableData = reactive([])
 	const page = ref(1)
 	const total = ref(0)
-	const limit = ref(10)
+	const limit = ref(50)
 	const searchInfo = ref('')
 	const params = {
 		date: '',
@@ -898,4 +898,8 @@
 	.mab {
 		margin-bottom: 5px;
 	}
+	/* tree组件背景高亮 */
+	:deep(.el-tree-node:focus > .el-tree-node__content){
+		background: #ff80ff !important;
+	}
 </style>