|
|
@ -15,8 +15,8 @@ |
|
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" |
|
|
|
:header-cell-style="{background:'#2195FE',color:'#FFFFFF'}" |
|
|
|
:height="tableHeight"> |
|
|
|
<el-table-column prop="partyOrgName" label="党组织名称"></el-table-column> |
|
|
|
<el-table-column prop="partyOrgType" label="类别"> |
|
|
|
<el-table-column prop="partyOrgName" min-width="250" label="党组织名称"></el-table-column> |
|
|
|
<el-table-column prop="partyOrgType" min-width="150" label="类别"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-for="(item, index) in partyOrgTypes" |
|
|
|
:key="item.value" |
|
|
@ -25,8 +25,8 @@ |
|
|
|
{{ item.label }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="principal" label="负责人"></el-table-column> |
|
|
|
<el-table-column prop="principalMobile" label="联系方式"></el-table-column> |
|
|
|
<el-table-column prop="principal" width="120" label="负责人"></el-table-column> |
|
|
|
<el-table-column prop="principalMobile" width="150" label="联系方式"></el-table-column> |
|
|
|
<el-table-column label="操作" align="center" width="300"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button v-if="scope.row.partyOrgType != '6'" |
|
|
@ -78,7 +78,7 @@ |
|
|
|
top="5vh" |
|
|
|
class="dialog-h" |
|
|
|
:before-close="handleClose"> |
|
|
|
<el-form ref="ref_form" |
|
|
|
<el-form ref="principalRules" |
|
|
|
:inline="true" |
|
|
|
:model="editPrincipalData" |
|
|
|
:rules="principalRules" |
|
|
@ -220,6 +220,10 @@ |
|
|
|
this.editPrincipalData.principalMobile = s.mobile |
|
|
|
} |
|
|
|
}) |
|
|
|
this.$refs['principalRules'].validate((valid) => { |
|
|
|
if (!valid) { |
|
|
|
return false |
|
|
|
} |
|
|
|
this.$http.post('/resi/partymember/icPartyOrg/editPrincipal',this.editPrincipalData).then(({ data: res }) =>{ |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.internalMsg ? res.internalMsg : res.msg ? res.msg : '查询失败') |
|
|
@ -229,6 +233,7 @@ |
|
|
|
this.resetEditPrincipalData() |
|
|
|
} |
|
|
|
}).catch(() => {}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleClose() { |
|
|
|
this.principalShow = false |
|
|
|