1.项目立项新增页面去掉分管领导、主要领导两个字段,项目负责人数据源改为当前创建人部门下
2.项目立项信息页面同理去掉分管领导、主要领导字段
This commit is contained in:
parent
ed59ccf7a5
commit
635b0ab4f7
@ -212,9 +212,10 @@ export default {
|
||||
return (this.canEdit && this.projectStep === step)
|
||||
},
|
||||
getAllPeople () {
|
||||
let orgId = JSON.parse(getItem('orgIds'))[1]
|
||||
let params = {
|
||||
path: {
|
||||
id: 0
|
||||
id: orgId
|
||||
}
|
||||
}
|
||||
Api.Administration.getPeers(params).then((result) => {
|
||||
@ -468,32 +469,32 @@ export default {
|
||||
options: this.formProjectAdmin
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'custom-cascader',
|
||||
title: '分管领导',
|
||||
model: 'branchLeaders',
|
||||
rules: [
|
||||
{required: true, message: '分管领导不能为空'}
|
||||
],
|
||||
externalValue: {
|
||||
// disabled: !this.judgeFormEditable('apply'),
|
||||
disable: true,
|
||||
options: this.formBranchLeader
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'custom-cascader',
|
||||
title: '主要领导',
|
||||
model: 'MainLeader',
|
||||
rules: [
|
||||
{required: true, message: '主要领导不能为空'}
|
||||
],
|
||||
externalValue: {
|
||||
// disabled: !this.judgeFormEditable('apply'),
|
||||
disable: true,
|
||||
options: this.formMainLeader
|
||||
}
|
||||
},
|
||||
// {
|
||||
// type: 'custom-cascader',
|
||||
// title: '分管领导',
|
||||
// model: 'branchLeaders',
|
||||
// rules: [
|
||||
// {required: true, message: '分管领导不能为空'}
|
||||
// ],
|
||||
// externalValue: {
|
||||
// // disabled: !this.judgeFormEditable('apply'),
|
||||
// disable: true,
|
||||
// options: this.formBranchLeader
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// type: 'custom-cascader',
|
||||
// title: '主要领导',
|
||||
// model: 'MainLeader',
|
||||
// rules: [
|
||||
// {required: true, message: '主要领导不能为空'}
|
||||
// ],
|
||||
// externalValue: {
|
||||
// // disabled: !this.judgeFormEditable('apply'),
|
||||
// disable: true,
|
||||
// options: this.formMainLeader
|
||||
// }
|
||||
// },
|
||||
{
|
||||
type: 'custom-input',
|
||||
title: '项目来源',
|
||||
|
@ -785,24 +785,24 @@ export default {
|
||||
options: this.formProjectAdmin
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'custom-cascader',
|
||||
title: '分管领导',
|
||||
model: 'branchLeaders',
|
||||
externalValue: {
|
||||
disabled: true,
|
||||
options: this.formBranchLeader
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'custom-cascader',
|
||||
title: '主要领导',
|
||||
model: 'MainLeader',
|
||||
externalValue: {
|
||||
disabled: true,
|
||||
options: this.formMainLeader
|
||||
}
|
||||
},
|
||||
// {
|
||||
// type: 'custom-cascader',
|
||||
// title: '分管领导',
|
||||
// model: 'branchLeaders',
|
||||
// externalValue: {
|
||||
// disabled: true,
|
||||
// options: this.formBranchLeader
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// type: 'custom-cascader',
|
||||
// title: '主要领导',
|
||||
// model: 'MainLeader',
|
||||
// externalValue: {
|
||||
// disabled: true,
|
||||
// options: this.formMainLeader
|
||||
// }
|
||||
// },
|
||||
{
|
||||
type: 'custom-input',
|
||||
title: '项目来源',
|
||||
|
Loading…
x
Reference in New Issue
Block a user