|
|
@@ -167,8 +167,6 @@ export default {
|
|
|
],
|
|
|
// 查询条件
|
|
|
searchForm: {
|
|
|
- labelWidth: 60,
|
|
|
- itemWidth: 200,
|
|
|
forms: [
|
|
|
{ prop: '', label: '姓名', fieldType: 'slot', slotName: 'user' },
|
|
|
{ prop: '', label: '部门', fieldType: 'slot', slotName: 'position' },
|
|
|
@@ -309,4 +307,12 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
+<style lang="scss" scoped>
|
|
|
|
|
|
+/* 可选:调整表单标签宽度 */
|
|
|
+::v-deep .el-form-item__label {
|
|
|
+ width: auto !important;
|
|
|
+ // min-width: 40px !important; /* 固定标签宽度使内容对齐 */
|
|
|
+ text-align: left;
|
|
|
+}
|
|
|
+</style>
|