Commit c702847e by wangzhihui

```

fix(residentManage): 优化员工管理页面UI显示

- 为北森同步按钮添加size属性保持样式一致
- 移除入职门店信息项的固定宽度设置
- 注释掉手机号码显示字段
- 添加开关文本样式类并调整样式
- 调整添加分配按钮的左边距
- 重构工资导入导出对话框组件结构
- 优化薪资表格组件样式布局
- 调整同步北森对话框的空状态边距
- 修复北森同步对话框中单选框文字颜色问题
```
1 parent ff5a4151
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-form :model="detail" ref="staffInfoForm" :rules="rules"> <el-form :model="detail" ref="staffInfoForm" :rules="rules">
<div class="header"> <div class="header">
<h2 class="flex">基础信息 <h2 class="flex">基础信息
<el-button @click="syncBeiSen" style="margin-left: 8px;">北森同步</el-button> <el-button size="small" @click="syncBeiSen" style="margin-left: 8px;">北森同步</el-button>
</h2> </h2>
<div class="info-wrap"> <div class="info-wrap">
<div class="info-item flex"> <div class="info-item flex">
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
detail.staffBeisenBaseInfoDTO.jobLevel || "-" detail.staffBeisenBaseInfoDTO.jobLevel || "-"
}}</span> }}</span>
</div> </div>
<div class="info-item flex" style="width: 66%"> <div class="info-item flex">
<label>入职门店:</label> <label>入职门店:</label>
<span>{{ <span>{{
detail.staffBeisenBaseInfoDTO.merchantName || "-" detail.staffBeisenBaseInfoDTO.merchantName || "-"
...@@ -173,12 +173,12 @@ ...@@ -173,12 +173,12 @@
"-" "-"
}}</span> }}</span>
</div> </div>
<div class="info-item flex"> <!-- <div class="info-item flex">
<label>手机号码:</label> <label>手机号码:</label>
<span>{{ <span>{{
detail.staffBeisenBaseInfoDTO.staffPhone || "-" detail.staffBeisenBaseInfoDTO.staffPhone || "-"
}}</span> }}</span>
</div> </div> -->
<div class="info-item flex"> <div class="info-item flex">
<label>转正日期:</label> <label>转正日期:</label>
<span>{{ <span>{{
...@@ -208,7 +208,8 @@ ...@@ -208,7 +208,8 @@
<!-- N:未删除;I:禁用 --> <!-- N:未删除;I:禁用 -->
<el-switch v-model="scope.scope.deletedFlag" active-value="N" inactive-value="I" <el-switch v-model="scope.scope.deletedFlag" active-value="N" inactive-value="I"
@change="(e) => switchChange(scope.scope)"></el-switch> @change="(e) => switchChange(scope.scope)"></el-switch>
<span>{{ scope.scope.deletedFlag === 'N' ? '禁用账号' : '启用账号' }}</span> <span class="switch-text">{{ scope.scope.deletedFlag === 'N' ? '禁用账号' : '启用账号'
}}</span>
</template> </template>
</d2-table> </d2-table>
...@@ -1786,7 +1787,7 @@ export default { ...@@ -1786,7 +1787,7 @@ export default {
} }
.add-allocate { .add-allocate {
margin: 0 0 20px 138px; margin: 0 0 20px 20px;
} }
} }
...@@ -2002,4 +2003,10 @@ export default { ...@@ -2002,4 +2003,10 @@ export default {
border-bottom: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5;
} }
} }
.switch-text {
color: #333333;
font-size: 14px;
margin-left: 8px;
}
</style> </style>
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
} }
.empty-state { .empty-state {
margin-top: 40px; margin-top: 16px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
...@@ -164,5 +164,10 @@ export default { ...@@ -164,5 +164,10 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 15px; gap: 15px;
::v-deep .el-radio {
color: #333333;
}
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!