互助医疗,导出会员台账
This commit is contained in:
@@ -86,6 +86,9 @@ layout("/layouts/platform.html"){
|
||||
</el-radio-group>
|
||||
|
||||
<el-button type="primary" size="small" icon="el-icon-plus" @click="openAdd">新增</el-button>
|
||||
|
||||
<el-button @click="exportAllMember" size="small" type="primary">导出全部会员信息
|
||||
</el-button>
|
||||
</template>
|
||||
</table-tool>
|
||||
<el-table :data="tableData" :size="tableSize"
|
||||
@@ -248,6 +251,32 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
exportAllMember() {
|
||||
const {mutualGoldStartTime, keyWord, unionId, unitId, userState, checkMode} = this.pageForm
|
||||
let url = loc() + '/exportAllMember?'
|
||||
const params = []
|
||||
|
||||
if (mutualGoldStartTime !== undefined && mutualGoldStartTime !== null) {
|
||||
params.push('mutualGoldStartTime=' + mutualGoldStartTime)
|
||||
}
|
||||
if (keyWord) {
|
||||
params.push('keyWord=' + encodeURIComponent(keyWord))
|
||||
}
|
||||
if (unionId) {
|
||||
params.push('unionId=' + unionId)
|
||||
}
|
||||
if (unitId) {
|
||||
params.push('unitId=' + unitId)
|
||||
}
|
||||
if (userState) {
|
||||
params.push('userState=' + encodeURIComponent(userState))
|
||||
}
|
||||
if (checkMode !== undefined && checkMode !== null && checkMode !== '') {
|
||||
params.push('checkMode=' + checkMode)
|
||||
}
|
||||
|
||||
window.open(url + params.join('&'))
|
||||
},
|
||||
async doDelete(id) {
|
||||
const confirm = await this.$confirm('删除后补助数据可能会受到影响,您确定要删除吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
@@ -306,4 +335,4 @@ layout("/layouts/platform.html"){
|
||||
|
||||
<!--#
|
||||
}
|
||||
#-->
|
||||
#-->
|
||||
|
||||
Reference in New Issue
Block a user