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