Browse Source

导入导出

shibei_master
jiangyy 4 years ago
parent
commit
8bb4f634b8
  1. 19
      src/views/modules/communityParty/regionalParty/activitys.vue

19
src/views/modules/communityParty/regionalParty/activitys.vue

@ -82,6 +82,10 @@
type="green" type="green"
size="small" size="small"
@click="handleAdd">新增</el-button> @click="handleAdd">新增</el-button>
<el-button style="float:left"
type="yellow"
size="small"
@click="handleExport">导出</el-button>
<el-upload ref="upload" <el-upload ref="upload"
:multiple='false' :multiple='false'
:show-file-list='false' :show-file-list='false'
@ -95,11 +99,6 @@
size="small" size="small"
type="red">导入</el-button> type="red">导入</el-button>
<el-button style="float:left"
type="yellow"
size="small"
@click="handleExport">导出</el-button>
</el-upload> </el-upload>
</div> </div>
@ -470,14 +469,14 @@ export default {
// //
async handleExport () { async handleExport () {
let title = '联建活动列表' let title = '联建活动列表'
const url = "/heart/icpartyactivity/export" const url = "/heart/icpartyactivity/export"
let params = { let params = {
ownerName: this.ownerName, agencyId: this.agencyId,
ownerPhone: this.ownerPhone,
level: this.agencyObj.level, ...this.formData
id: this.agencyObj.id
} }
app.ajax.exportFilePost( app.ajax.exportFilePost(

Loading…
Cancel
Save