✨ 项目变更可编辑业务部门/平台公司,组织名称列左对齐
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -224,7 +224,7 @@
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
clearable
|
||||
:disabled="isBasicInfoReadonly"
|
||||
:disabled="dialogReadonly"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="平台公司" prop="undertakeDeptId">
|
||||
@@ -236,7 +236,7 @@
|
||||
collapse-tags-tooltip
|
||||
clearable
|
||||
filterable
|
||||
:disabled="isBasicInfoReadonly"
|
||||
:disabled="dialogReadonly"
|
||||
@change="handleUndertakeDeptChange"
|
||||
>
|
||||
<el-option
|
||||
@@ -2493,7 +2493,8 @@ export default {
|
||||
loadDeptOptions() {
|
||||
getDeptTree().then(res => {
|
||||
const deptTree = res.data.data || [];
|
||||
const businessDeptTree = ['add', 'edit', 'majorSupplement'].includes(this.dialogType)
|
||||
// 新增/编辑/重大补录/项目变更均可选择业务部门,排除外部组织
|
||||
const businessDeptTree = ['add', 'edit', 'majorSupplement', 'change'].includes(this.dialogType)
|
||||
? this.excludeExternalOrganization(deptTree)
|
||||
: deptTree;
|
||||
this.deptOptions = this.flattenDept(businessDeptTree);
|
||||
|
||||
@@ -299,6 +299,8 @@ export default {
|
||||
label: '组织名称',
|
||||
prop: 'deptName',
|
||||
minWidth: 320,
|
||||
align: 'left',
|
||||
headerAlign: 'left',
|
||||
order: 80,
|
||||
search: true,
|
||||
searchOrder: 2,
|
||||
@@ -1518,6 +1520,12 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
/* 覆盖全站表格居中:树形组织名称需左对齐,展开后缩进才可读 */
|
||||
:deep(.el-table th.el-table__cell.is-left .cell),
|
||||
:deep(.el-table td.el-table__cell.is-left .cell) {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.carrier-search-form {
|
||||
padding: 12px 12px 4px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
||||
|
||||
Reference in New Issue
Block a user