|
|
|
|
@@ -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) {
|
|
|
|
|
|