|
@@ -3,7 +3,7 @@
|
|
|
* @Author: Rockery
|
|
|
* @Date: 2021-12-10 10:37:47
|
|
|
* @LastEditors: Rockery
|
|
|
- * @LastEditTime: 2022-02-17 16:49:20
|
|
|
+ * @LastEditTime: 2022-02-18 11:41:59
|
|
|
* @FilePath: \party_construct_web\src\views\PartyBuildingMgr\PartyMemberDevelop\PartyMemberDevelopIndex.vue
|
|
|
* @Copyright: Copyright (c) 2016~2021 Rockery(1113269755@qq.com)
|
|
|
-->
|
|
@@ -26,6 +26,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-tabs v-model="tabsModel" class="develop-main-tabs" @tab-click="handleTabsClick">
|
|
|
+ <el-tab-pane label="全部" name="0"></el-tab-pane>
|
|
|
<el-tab-pane label="一、申请入党" name="1"></el-tab-pane>
|
|
|
<el-tab-pane label="二、入党积极分子的确定和考察" name="2"></el-tab-pane>
|
|
|
<el-tab-pane label="三、发展对象的确定和考察" name="3"></el-tab-pane>
|
|
@@ -61,7 +62,7 @@
|
|
|
<el-option
|
|
|
v-for="minTypeOption in minTypeOptions"
|
|
|
:key="minTypeOption.value"
|
|
|
- :label="minTypeOption.label"
|
|
|
+ :label="minTypeOption.value ? minTypeOption.value + '、' + minTypeOption.label : minTypeOption.label"
|
|
|
:value="minTypeOption.value"
|
|
|
/>
|
|
|
</el-select>
|
|
@@ -80,7 +81,23 @@
|
|
|
@click="resetQueryClick"
|
|
|
>重置</el-button>
|
|
|
</el-form-item>
|
|
|
- <template v-if="tabsModel === '1'">
|
|
|
+ <template v-if="['0'].includes(tabsModel)">
|
|
|
+ <el-form-item class="fr" style="margin-right: 0;">
|
|
|
+ <el-button
|
|
|
+ v-hasPermi="['partybuildingmgr:partymemberdevelop:add']"
|
|
|
+ type="rocpartyprimarybtn"
|
|
|
+ icon="el-icon-plus"
|
|
|
+ @click="handleAddClick"
|
|
|
+ >新增</el-button>
|
|
|
+ <el-button
|
|
|
+ v-hasPermi="['partybuildingmgr:partymemberdevelop:transferin']"
|
|
|
+ type="rocpartyprimaryplainbtn"
|
|
|
+ icon="el-icon-circle-plus-outline"
|
|
|
+ @click="handleTransferInClick"
|
|
|
+ >预备党员转入</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="['1'].includes(tabsModel)">
|
|
|
<el-form-item class="fr" style="margin-right: 0;">
|
|
|
<el-button
|
|
|
v-hasPermi="['partybuildingmgr:partymemberdevelop:add']"
|
|
@@ -90,7 +107,7 @@
|
|
|
>新增</el-button>
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
- <template v-else-if="tabsModel === '5'">
|
|
|
+ <template v-else-if="['5'].includes(tabsModel)">
|
|
|
<el-form-item class="fr" style="margin-right: 0;">
|
|
|
<el-button
|
|
|
v-hasPermi="['partybuildingmgr:partymemberdevelop:transferin']"
|
|
@@ -248,8 +265,7 @@ import {
|
|
|
listPartyMemberDevelop
|
|
|
} from "@/api/PartyBuildingMgr/PartyMemberDevelop";
|
|
|
import {
|
|
|
- delFullPartyMember,
|
|
|
- reactivateFullPartyMember
|
|
|
+ delFullPartyMember
|
|
|
} from "@/api/PartyBuildingMgr/FullPartyMember";
|
|
|
|
|
|
export default {
|
|
@@ -266,13 +282,13 @@ export default {
|
|
|
loading: true,
|
|
|
// 显示搜索条件
|
|
|
showSearch: true,
|
|
|
- tabsModel: '1',
|
|
|
+ tabsModel: '0',
|
|
|
// 待更新节点选项列表
|
|
|
minTypeOptions: [],
|
|
|
total: 10,
|
|
|
queryParams: {
|
|
|
name: undefined,
|
|
|
- maxType: '1',
|
|
|
+ maxType: '0',
|
|
|
minType: undefined,
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
@@ -321,7 +337,7 @@ export default {
|
|
|
* 标签页点击事件
|
|
|
*/
|
|
|
handleTabsClick(targetName) {
|
|
|
- (targetName.name !== '7') && (this.minTypeOptions = this.minTypeOptionObj[targetName.name]);
|
|
|
+ (!['7'].includes(targetName.name)) && (this.minTypeOptions = this.minTypeOptionObj[targetName.name]);
|
|
|
this.queryParams = {
|
|
|
name: undefined,
|
|
|
maxType: targetName.name,
|
|
@@ -351,6 +367,7 @@ export default {
|
|
|
* 新增按钮事件
|
|
|
*/
|
|
|
handleAddClick() {
|
|
|
+ this.currentRow = {};
|
|
|
this.pageType = 'ADD';
|
|
|
this.operateType = 'ADD';
|
|
|
this.updateType = 'ADD';
|
|
@@ -359,6 +376,7 @@ export default {
|
|
|
* 预备党员转入按钮事件
|
|
|
*/
|
|
|
handleTransferInClick() {
|
|
|
+ this.currentRow = {};
|
|
|
this.pageType = 'ADD';
|
|
|
this.operateType = 'ADD';
|
|
|
this.updateType = 'TRANSFERIN';
|