jiangyy 4 years ago
parent
commit
62c683ef69
  1. 14
      src/views/modules/communityParty/orgActivity/activivityList/addActivity.vue
  2. 8
      src/views/modules/communityParty/orgActivity/activivityList/addRule.vue

14
src/views/modules/communityParty/orgActivity/activivityList/addActivity.vue

@ -230,7 +230,7 @@ export default {
publishPartyOrgName: '',//
publishOrgPid: '',// ID
publishOrgType: '',// 0,1,2,3,4,56
publishOrgPath: '',//PUBLISH_PARTY_ORG_ID便
publishOrgPathShow: '',//PUBLISH_PARTY_ORG_ID便
joinUserType: '',//01
isAutoInform: '',// 01
introduce: '',//
@ -298,13 +298,13 @@ export default {
this.formData.publishPartyOrgName = obj.partyOrgName//
this.formData.publishOrgPid = obj.pid//ID
this.formData.publishOrgType = obj.partyOrgType// 0,1,2,3,4,56
this.formData.publishOrgPath = value.join(':')//PUBLISH_PARTY_ORG_ID便
this.formData.publishOrgPathShow = value.join(':')//PUBLISH_PARTY_ORG_ID便
} else {
this.formData.publishPartyOrgId = ''
this.formData.publishPartyOrgName = ''
this.formData.publishOrgPid = ''
this.formData.publishOrgType = ''
this.formData.publishOrgPath = ''
this.formData.publishOrgPathShow = ''
}
},
@ -322,7 +322,7 @@ export default {
joinOrgId: element.data.id,
orgType: element.data.partyOrgType,
pid: element.data.pid,
joinOrgPath: element.path.join(':'),
joinOrgPathShow: element.path.join(':'),
joinOrgName: element.data.partyOrgName,
}
this.formData.joinOrgList.push(obj)
@ -393,11 +393,11 @@ export default {
if (code === 0) {
this.formData = { ...data }
this.formData.publichIdArray = data.publishOrgPath.split(':')
this.formData.publichIdArray = data.publishOrgPathShow.split(':')
this.formData.joinIdArray = []
this.formData.joinNames = ''
data.joinOrgList.forEach(element => {
this.formData.joinIdArray.push(element.joinOrgPath.split(':'))
this.formData.joinIdArray.push(element.joinOrgPathShow.split(':'))
this.formData.joinNames = this.formData.joinNames + element.joinOrgName + ','
});
@ -596,7 +596,7 @@ export default {
publishPartyOrgName: '',//
publishOrgPid: '',// ID
publishOrgType: '',// 0,1,2,3,4,56
publishOrgPath: '',//PUBLISH_PARTY_ORG_ID便
publishOrgPathShow: '',//PUBLISH_PARTY_ORG_ID便
joinUserType: '',//01
isAutoInform: '',// 01
introduce: '',//

8
src/views/modules/communityParty/orgActivity/activivityList/addRule.vue

@ -361,11 +361,11 @@ export default {
tempArray = []
item.activityList.forEach(actItem => {
actItem.publichIdArray = actItem.publishOrgPath.split(':')
actItem.publichIdArray = actItem.publishOrgPathShow.split(':')
actItem.joinIdArray = []
actItem.joinOrgList.forEach(element => {
actItem.joinIdArray.push(element.joinOrgPath.split(':'))
actItem.joinIdArray.push(element.joinOrgPathShow.split(':'))
});
item.isAutoInform = item.isAutoInform == '1'
@ -437,7 +437,7 @@ export default {
orgType: joinItem.data.partyOrgType,
pid: joinItem.data.pid,
joinOrgName: joinItem.data.partyOrgName,
joinOrgPath: joinItem.path.join(':'),
joinOrgPathShow: joinItem.path.join(':'),
}
tableItem.joinOrgList.push(obj)
});
@ -542,7 +542,7 @@ export default {
publishPartyOrgName: this.defaultPublishParty.defaultPartyOrgName,//
publishOrgPid: this.defaultPublishParty.defaultPartyOrgPid,// ID
publishOrgType: this.defaultPublishParty.orgType,// 0,1,2,3,4,56
publishOrgPath: this.defaultPublishParty.defaultPartyOrgPath,//PUBLISH_PARTY_ORG_ID便
publishOrgPathShow: this.defaultPublishParty.defaultPartyOrgPath,//PUBLISH_PARTY_ORG_ID便
joinUserType: '',//01
isAutoInform: '',// 01
introduce: '',//

Loading…
Cancel
Save