fix: 修复bug
This commit is contained in:
parent
a87c690293
commit
fe60927baf
|
@ -65,7 +65,6 @@
|
|||
v-model="departmentId"
|
||||
placeholder="所在部门"
|
||||
clearable
|
||||
@change="getTableDataByDept(year, month)"
|
||||
>
|
||||
<el-option
|
||||
v-for="(dep, index) in departmentList"
|
||||
|
@ -2185,22 +2184,23 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
.el-form {
|
||||
display: flex;
|
||||
flex-wrap: nowrap; /* 防止下拉框换行 */
|
||||
}
|
||||
// .el-form {
|
||||
// display: flex;
|
||||
// flex-wrap: nowrap; /* 防止下拉框换行 */
|
||||
// }
|
||||
|
||||
.el-form-item {
|
||||
// margin-right: 10px; /* 为每个下拉框添加一些间距 */
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
/* 如果需要,可以添加媒体查询来调整响应式布局 */
|
||||
@media (max-width: 600px) {
|
||||
.el-form-item {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
// /* 如果需要,可以添加媒体查询来调整响应式布局 */
|
||||
// @media (max-width: 600px) {
|
||||
// .el-form-item {
|
||||
// flex-direction: column;
|
||||
// }
|
||||
// }
|
||||
|
||||
.table-header{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
<el-table-column prop="gid" label="工程师GID" width="110" align="center" class-name="leave-alone" />
|
||||
<el-table-column prop="phone" label="联系方式" width="120" align="center" class-name="leave-alone" />
|
||||
<el-table-column prop="workPlace" label="工作地" width="110" align="center" class-name="leave-alone" />
|
||||
<el-table-column prop="userSkill" label="技能详情" width="auto" align="center" class-name="leave-alone">
|
||||
<el-table-column prop="userSkill" label="技能详情" width="auto" align="left">
|
||||
<template slot-scope="{ row }">
|
||||
<div v-for="(skill, index) in row.userSkill" :key="index" class="emphasis-box" :style="{ border: '2px solid ' + skillColor(skill.skilltypeId).border, color: skillColor(skill.skilltypeId).text }" @mouseover="$event.target.style.backgroundColor = skillColor(skill.skilltypeId).hover" @mouseout="$event.target.style.backgroundColor = ''">
|
||||
{{ skill.name }}
|
||||
|
@ -183,7 +183,12 @@
|
|||
@removeBtn="remove"
|
||||
>
|
||||
<!--此处可以解决左侧数据显示不全的bug-->
|
||||
<div slot="left-footer">左下角</div>
|
||||
<div slot="left-footer">
|
||||
<div style="width: 100%;height: 20px;" />
|
||||
</div>
|
||||
<div slot="right-footer">
|
||||
<div style="width: 100%;height: 20px;" />
|
||||
</div>
|
||||
</tree-transfer>
|
||||
<div slot="footer">
|
||||
<el-button type="primary" :loading="loadingOfSaveUserSkillButton" @click="saveButtonOfEditDialog()">保 存</el-button>
|
||||
|
|
Loading…
Reference in New Issue