|
|
@ -134,7 +134,7 @@ |
|
|
|
:options="joinOptions" |
|
|
|
:props="joinOptionProps" |
|
|
|
:show-all-levels="false" |
|
|
|
@change="handleChangeJoinOrg(scope.$index)"></el-cascader> |
|
|
|
@change="((value)=>{handleChangeJoinOrg(value,scope.$index)})"></el-cascader> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -294,8 +294,9 @@ export default { |
|
|
|
|
|
|
|
handleChangeScope (index) { |
|
|
|
let onePublish = this.publishOptions[index] |
|
|
|
debugger |
|
|
|
|
|
|
|
let obj = this.$refs["myCascader" + index].getCheckedNodes()[0].data |
|
|
|
console.log('obj', obj) |
|
|
|
if (obj) { |
|
|
|
onePublish.publishPartyOrgId = obj.id//发布活动党组织id |
|
|
|
onePublish.publishPartyOrgName = obj.partyOrgName//发布活动党组织名称 |
|
|
@ -311,15 +312,17 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
handleChangeJoinOrg (index) { |
|
|
|
handleChangeJoinOrg (value, index) { |
|
|
|
|
|
|
|
this.tableData[index].joinOrgList = [] |
|
|
|
|
|
|
|
let selArray = this.$refs["myCascader_join" + index].getCheckedNodes() |
|
|
|
|
|
|
|
console.log('value', value) |
|
|
|
console.log('index', index) |
|
|
|
console.log('selArray', selArray) |
|
|
|
|
|
|
|
selArray.forEach((element, index) => { |
|
|
|
selArray.forEach(element => { |
|
|
|
|
|
|
|
let obj = { |
|
|
|
joinOrgId: element.data.id, |
|
|
@ -501,7 +504,7 @@ export default { |
|
|
|
|
|
|
|
// publichIdArray: this.defaultPublishParty.defaultPartyOrgPath.split(':'), |
|
|
|
publichIdArray: ['1536584227130798081'], |
|
|
|
joinIdArray: ['1536584227130798081'], |
|
|
|
joinIdArray: [], |
|
|
|
isAutoInformShow: true |
|
|
|
|
|
|
|
} |
|
|
|