✨ 项目变更可编辑业务部门/平台公司,组织名称列左对齐
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -224,7 +224,7 @@
|
|||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
filterable
|
filterable
|
||||||
clearable
|
clearable
|
||||||
:disabled="isBasicInfoReadonly"
|
:disabled="dialogReadonly"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="平台公司" prop="undertakeDeptId">
|
<el-form-item label="平台公司" prop="undertakeDeptId">
|
||||||
@@ -236,7 +236,7 @@
|
|||||||
collapse-tags-tooltip
|
collapse-tags-tooltip
|
||||||
clearable
|
clearable
|
||||||
filterable
|
filterable
|
||||||
:disabled="isBasicInfoReadonly"
|
:disabled="dialogReadonly"
|
||||||
@change="handleUndertakeDeptChange"
|
@change="handleUndertakeDeptChange"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -2493,7 +2493,8 @@ export default {
|
|||||||
loadDeptOptions() {
|
loadDeptOptions() {
|
||||||
getDeptTree().then(res => {
|
getDeptTree().then(res => {
|
||||||
const deptTree = res.data.data || [];
|
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)
|
? this.excludeExternalOrganization(deptTree)
|
||||||
: deptTree;
|
: deptTree;
|
||||||
this.deptOptions = this.flattenDept(businessDeptTree);
|
this.deptOptions = this.flattenDept(businessDeptTree);
|
||||||
|
|||||||
@@ -299,6 +299,8 @@ export default {
|
|||||||
label: '组织名称',
|
label: '组织名称',
|
||||||
prop: 'deptName',
|
prop: 'deptName',
|
||||||
minWidth: 320,
|
minWidth: 320,
|
||||||
|
align: 'left',
|
||||||
|
headerAlign: 'left',
|
||||||
order: 80,
|
order: 80,
|
||||||
search: true,
|
search: true,
|
||||||
searchOrder: 2,
|
searchOrder: 2,
|
||||||
@@ -1518,6 +1520,12 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<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 {
|
.carrier-search-form {
|
||||||
padding: 12px 12px 4px;
|
padding: 12px 12px 4px;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
||||||
|
|||||||
Reference in New Issue
Block a user