|
@ -24,7 +24,7 @@ |
|
|
size="small" |
|
|
size="small" |
|
|
class="div-table-button--detail">{{'查看党员'}}</el-button> |
|
|
class="div-table-button--detail">{{'查看党员'}}</el-button> |
|
|
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)" |
|
|
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)" |
|
|
@click="addOrUpdateHandle('', scope.row.orgPids)" |
|
|
@click="addOrUpdateHandle('', scope.row.id)" |
|
|
type="text" |
|
|
type="text" |
|
|
size="small" |
|
|
size="small" |
|
|
class="div-table-button--add">新增下级</el-button> |
|
|
class="div-table-button--add">新增下级</el-button> |
|
@ -106,12 +106,12 @@ |
|
|
this.tableLoading = false |
|
|
this.tableLoading = false |
|
|
}, |
|
|
}, |
|
|
// 新增 / 修改 |
|
|
// 新增 / 修改 |
|
|
addOrUpdateHandle (id, orgPids) { |
|
|
addOrUpdateHandle (id, orgId) { |
|
|
this.addOrUpdateVisible = true |
|
|
this.addOrUpdateVisible = true |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.$refs.addOrUpdate.dataForm.id = id |
|
|
this.$refs.addOrUpdate.dataForm.id = id |
|
|
// 新增下级需要传 |
|
|
// 新增下级需要传 |
|
|
this.$refs.addOrUpdate.dataForm.orgPids = orgPids // 党组织 |
|
|
this.$refs.addOrUpdate.dataForm.orgId = orgId // 党组织 |
|
|
|
|
|
|
|
|
this.$refs.addOrUpdate.init() |
|
|
this.$refs.addOrUpdate.init() |
|
|
}) |
|
|
}) |
|
|