|
@@ -338,6 +338,7 @@
|
|
|
<a-icon type="exclamation-circle" />
|
|
|
</a-tooltip>
|
|
|
</a-checkbox>
|
|
|
+ <a-checkbox value="5">上级部门负责人</a-checkbox>
|
|
|
</a-checkbox-group>
|
|
|
</a-form-item>
|
|
|
<!-- 0角色 1用户 2部门 3发起人 4发起人的部门负责人-->
|
|
@@ -531,6 +532,7 @@ export default {
|
|
|
departmentIds: '',
|
|
|
chooseSponsor: false,
|
|
|
chooseDepHeader: false,
|
|
|
+ headSuperiorDepartment:false,
|
|
|
tbTableInfoId:null
|
|
|
},
|
|
|
lcModa: {
|
|
@@ -594,7 +596,9 @@ export default {
|
|
|
console.log('onChange:', node)
|
|
|
this.current = index
|
|
|
this.editNode = node
|
|
|
- /* 0角色 1用户 2部门 3发起人 4发起人的部门负责人*/
|
|
|
+ /* 0角色 1用户 2部门 3发起人 4发起人的部门负责人 5上级部门负责人*/
|
|
|
+ this.spry.headSuperiorDepartment=node.headSuperiorDepartment||false
|
|
|
+ if(this.spry.headSuperiorDepartment) this.spryTypes.push('5')
|
|
|
this.spry.chooseDepHeader = node.chooseDepHeader || false
|
|
|
if (this.spry.chooseDepHeader) this.spryTypes.push('4')
|
|
|
this.spry.chooseSponsor = node.chooseSponsor || false
|
|
@@ -636,7 +640,8 @@ export default {
|
|
|
this.spry.chooseSponsor = this.spryTypes.indexOf('3') > -1
|
|
|
//是否选中发起人的部门领导
|
|
|
this.spry.chooseDepHeader = this.spryTypes.indexOf('4') > -1
|
|
|
-
|
|
|
+ //是否选中上级部门负责人
|
|
|
+ this.spry.headSuperiorDepartment = this.spryTypes.indexOf('5') > -1
|
|
|
console.log('this.spry', this.spry)
|
|
|
},
|
|
|
sprySubmit() {
|