协会导出
This commit is contained in:
@@ -262,6 +262,7 @@ layout("/layouts/platform.html"){
|
||||
|
||||
<div class="pull-right offscreen-right mt5" v-if="userPageForm.radioType === '2'">
|
||||
<el-button icon="el-icon-plus" @click="openUserAdd">录入成员</el-button>
|
||||
<el-button icon="el-icon-download" @click="exportClubMembers">导出</el-button>
|
||||
</div>
|
||||
</el-card>
|
||||
|
||||
@@ -294,6 +295,13 @@ layout("/layouts/platform.html"){
|
||||
<el-lable v-if="scope.row.sf==3">副会长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==4">秘书长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==5">副秘书长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==6">经办人</el-lable>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column align="center" header-align="center" label="入会时间" prop="join_time">
|
||||
<template slot-scope="scope">
|
||||
<span>{{(scope.row.join_time || '').substring(0, 10)}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -578,6 +586,7 @@ layout("/layouts/platform.html"){
|
||||
<el-lable v-if="scope.row.sf==3">副会长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==4">秘书长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==5">副秘书长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==6">经办人</el-lable>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="工号" width="150px" prop="loginname" header-align="center"
|
||||
@@ -973,6 +982,19 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
window.location.href = base + '/platform/sys/club/clubIn/exportImportErrors?cacheKey=' + this.importResult.cacheKey
|
||||
},
|
||||
exportClubMembers() {
|
||||
if (!this.userPageForm.clubid) {
|
||||
this.$message({
|
||||
message: '请先选择协会',
|
||||
type: 'warning'
|
||||
})
|
||||
return
|
||||
}
|
||||
window.location.href = base + '/platform/sys/club/clubIn/exportClubMembers?clubid='
|
||||
+ this.userPageForm.clubid
|
||||
+ '&searchName=' + encodeURIComponent(this.userPageForm.searchName ? this.userPageForm.searchName : '')
|
||||
+ '&searchKeyword=' + encodeURIComponent(this.userPageForm.searchKeyword ? this.userPageForm.searchKeyword : '')
|
||||
},
|
||||
doUserSearch() {
|
||||
this.userTabKey = new Date().getTime()
|
||||
this.userPageForm.pageNumber = 1
|
||||
|
||||
@@ -116,6 +116,9 @@ layout("/layouts/platform.html"){
|
||||
<div class="btn-group tool-button mt5">
|
||||
<el-button type="primary" icon="el-icon-search" @click="doSearch"></el-button>
|
||||
</div>
|
||||
<div class="pull-right offscreen-right mt5">
|
||||
<el-button icon="el-icon-download" @click="exportAllClubMembers">导出</el-button>
|
||||
</div>
|
||||
|
||||
<!--<div class="pull-right offscreen-right mt5">
|
||||
<!–#if(@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')){#–>
|
||||
@@ -292,6 +295,13 @@ layout("/layouts/platform.html"){
|
||||
<el-lable v-if="scope.row.sf==3">副会长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==4">秘书长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==5">副秘书长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==6">经办人</el-lable>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column align="center" header-align="center" label="入会时间" prop="join_time">
|
||||
<template slot-scope="scope">
|
||||
<span>{{(scope.row.join_time || '').substring(0, 10)}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -576,6 +586,7 @@ layout("/layouts/platform.html"){
|
||||
<el-lable v-if="scope.row.sf==3">副会长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==4">秘书长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==5">副秘书长</el-lable>
|
||||
<el-lable v-if="scope.row.sf==6">经办人</el-lable>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="工号" width="150px" prop="loginname" header-align="center"
|
||||
@@ -826,6 +837,9 @@ layout("/layouts/platform.html"){
|
||||
})
|
||||
|
||||
},
|
||||
exportAllClubMembers() {
|
||||
window.location.href = base + '/platform/sys/club/schoolIn/exportAllClubMembers'
|
||||
},
|
||||
doUserSearch() {
|
||||
this.userTabKey = new Date().getTime()
|
||||
this.userPageForm.pageNumber = 1
|
||||
@@ -1265,4 +1279,4 @@ layout("/layouts/platform.html"){
|
||||
</script>
|
||||
<!--#
|
||||
}
|
||||
#-->
|
||||
#-->
|
||||
|
||||
Reference in New Issue
Block a user