组织换届

This commit is contained in:
shijingjing
2022-10-13 17:57:48 +08:00
parent 2f01516cff
commit f9411b7278
4 changed files with 45 additions and 34 deletions

View File

@@ -48,7 +48,6 @@ export default {
created() {
let {organizationId: id, organizationName: name} = this.user.info
this.selected = {id, name}
// this.dict.load("portalUserStatus", "enterpriseStatus", "userEnterpriseStatus","enterpriseType")
}
}
</script>

View File

@@ -16,11 +16,11 @@
</template>
<template slot="content">
<el-tabs v-model="currIndex">
<el-tab-pane v-for="(tab,i) in tabs" :key="i" :label="tab.label">
<component :ref="String(i)" v-if="currIndex == i" :is="tab.comp" lazy :instance="instance"
:dict="dict" :permissions="permissions" v-on="$listeners"/>
</el-tab-pane>
</el-tabs>
<el-tab-pane v-for="(tab,i) in tabs" :key="i" :label="tab.label">
<component :ref="String(i)" v-if="currIndex == i" :is="tab.comp" lazy :instance="instance"
:dict="dict" :permissions="permissions" v-on="$listeners"/>
</el-tab-pane>
</el-tabs>
</template>
</ai-list>
</template>
@@ -62,27 +62,13 @@ export default {
orgName: '',
loading: false,
total: 0,
colConfigs: [
{type: 'selection', label: ''},
{prop: 'name', label: '姓名', align: 'center'},
{prop: 'sex', label: '性别', align: 'center', dict: 'sex'},
{prop: 'age', label: '年龄', align: 'center'},
// {
// prop: 'auditStatus', label: '审核状态', align: 'center',
// render: (h, {row}) => h('span', {class: `audit-${row.auditStatus}`}, this.dict.getLabel('auditStatus', row.auditStatus))
// },
{prop: 'partyStatus', label: '党籍状态', align: 'center', dict: 'partyStatus'},
{prop: 'joinPartyTime', label: '入党日期', align: 'center'},
{prop: 'partyPosition', label: '党内职务', align: 'center', dict: 'partyPosition'},
{prop: 'flowStatus', label: '流动状态', align: 'center', dict: 'flowStatus'},
],
tableData: [],
ids: '',
tabs: [
{label: '当前届次', name: 'moment', comp: moment, permission: ''},
{label: '历史届次', name: 'history', comp: history, permission: 'app_appgirdmemberapply_detail'}
{label: '历史届次', name: 'history', comp: history, permission: ''}
],
currIndex: 0
currIndex: '0'
}
},
components: {
@@ -94,20 +80,20 @@ export default {
orgTree() {
return this.$refs.tree?.$refs?.partyTree
},
exportQuery() {
let {id: partyOrgId} = this.selected
return {
ids: this.ids ? this.ids.split(',') : [],
...this.search, partyOrgId
}
},
isShowAddBtn() {
return this.selected.isLeaf == 1
}
// exportQuery() {
// let {id: partyOrgId} = this.selected
// return {
// ids: this.ids ? this.ids.split(',') : [],
// ...this.search, partyOrgId
// }
// },
// isShowAddBtn() {
// return this.selected.isLeaf == 1
// }
},
created() {
this.dict.load('disciplinary', 'partyType', 'sex', 'nation', 'education', 'partyStatus', 'partyPosition', 'flowStatus', 'auditStatus')
this.getList()
// this.dict.load('disciplinary', 'partyType', 'sex', 'nation', 'education', 'partyStatus', 'partyPosition', 'flowStatus', 'auditStatus')
// this.getList()
},
methods: {
showNeighbourSetting(id) {

View File

@@ -0,0 +1,13 @@
<template>
<div>历史届次</div>
</template>
<script>
export default {
}
</script>
<style>
</style>

View File

@@ -0,0 +1,13 @@
<template>
<div>当前届次</div>
</template>
<script>
export default {
}
</script>
<style>
</style>