组织换届

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() { created() {
let {organizationId: id, organizationName: name} = this.user.info let {organizationId: id, organizationName: name} = this.user.info
this.selected = {id, name} this.selected = {id, name}
// this.dict.load("portalUserStatus", "enterpriseStatus", "userEnterpriseStatus","enterpriseType")
} }
} }
</script> </script>

View File

@@ -62,27 +62,13 @@ export default {
orgName: '', orgName: '',
loading: false, loading: false,
total: 0, 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: [], tableData: [],
ids: '', ids: '',
tabs: [ tabs: [
{label: '当前届次', name: 'moment', comp: moment, permission: ''}, {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: { components: {
@@ -94,20 +80,20 @@ export default {
orgTree() { orgTree() {
return this.$refs.tree?.$refs?.partyTree return this.$refs.tree?.$refs?.partyTree
}, },
exportQuery() { // exportQuery() {
let {id: partyOrgId} = this.selected // let {id: partyOrgId} = this.selected
return { // return {
ids: this.ids ? this.ids.split(',') : [], // ids: this.ids ? this.ids.split(',') : [],
...this.search, partyOrgId // ...this.search, partyOrgId
} // }
}, // },
isShowAddBtn() { // isShowAddBtn() {
return this.selected.isLeaf == 1 // return this.selected.isLeaf == 1
} // }
}, },
created() { created() {
this.dict.load('disciplinary', 'partyType', 'sex', 'nation', 'education', 'partyStatus', 'partyPosition', 'flowStatus', 'auditStatus') // this.dict.load('disciplinary', 'partyType', 'sex', 'nation', 'education', 'partyStatus', 'partyPosition', 'flowStatus', 'auditStatus')
this.getList() // this.getList()
}, },
methods: { methods: {
showNeighbourSetting(id) { 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>