zhouwx
2025-10-13 5b5c6374749159db03a14ee645760327930bbb28
src/views/work/qualityManage/performanceAppraisal/components/editDialog.vue
@@ -109,13 +109,14 @@
                  <el-table-column label="责任部门" prop="deptId" align="center" >
                    <template #default="{row,$index}">
                      <div v-for="(i,index) in row.analyses" :key="index">
                        <el-form-item :prop="'types.' + '[' + $index + '].' +'analyses.' + '[' + index + ']' + '.deptId'">
                        <el-form-item :prop="'types.' + '[' + $index + '].' +'analyses.' + '[' + index + ']' + '.deptId'" style="margin-bottom: 10px">
                          <el-select
                              clearable
                              :disabled="title === '查看'"
                              v-model="i.deptId"
                              placeholder="请选择部门"
                              style="width: 240px;margin-bottom: 5px"
                              class="select-same-as-textarea"
                              style="width: 240px;margin-top: 5px"
                          >
                            <el-option
                                v-for="item in state.deptList"
@@ -590,5 +591,17 @@
    flex-direction: column;
    align-items: flex-start;
  }
  /* 同步高度 */
  ::v-deep .select-same-as-textarea {
    height: 90px;
  }
  /* 确保选择器内部区域高度匹配 */
  ::v-deep .select-same-as-textarea .el-input__inner {
    height: 90px;
    line-height: 1.5; /* 保持文字垂直居中 */
    padding-top: 8px; /* 调整文字位置 */
  }
}
</style>