|
|
@ -110,7 +110,7 @@ |
|
|
|
|
|
|
|
<div class="resi-row-btn"> |
|
|
|
<el-button class="diy-button--add" size="small" @click="handleAdd">新增</el-button> |
|
|
|
<!-- <el-button |
|
|
|
<el-button |
|
|
|
class="diy-button--export" |
|
|
|
size="small" |
|
|
|
@click="handleExportModule('room')">下载模板</el-button> |
|
|
@ -129,7 +129,7 @@ |
|
|
|
> |
|
|
|
<el-button size="small" class="diy-button--delete" :loading="importLoading">{{importBtnTitle}}</el-button> |
|
|
|
</el-upload> |
|
|
|
<el-button class="diy-button--reset" size="small" :loading="exportBtn" @click="handleExport">{{ exportBtnTitle }}</el-button> --> |
|
|
|
<el-button class="diy-button--reset" size="small" :loading="exportBtn" @click="handleExport">{{ exportBtnTitle }}</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
@ -540,7 +540,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
async handleExportModule () { |
|
|
|
let url = "/resi/partymember/icpartymemberstyle/import/template-download" |
|
|
|
let url = "/resi/partymember/icPartyMember/downloadTemplate" |
|
|
|
|
|
|
|
|
|
|
|
let params = {} |
|
|
@ -590,7 +590,7 @@ export default { |
|
|
|
const formData = new FormData() //FormData对象,添加参数只能通过append('key', value)的形式添加 |
|
|
|
formData.append('file', file.file) //添加文件对象 |
|
|
|
this.$http |
|
|
|
.post('/resi/partymember/icpartymemberstyle/import', formData).then(res => { |
|
|
|
.post('/resi/partymember/icPartyMember/import', formData).then(res => { |
|
|
|
console.log('res-up', res) |
|
|
|
if (res.data.code == 0 && res.data.msg == 'success') { |
|
|
|
// this.$message.success('导入成功') |
|
|
@ -618,7 +618,7 @@ export default { |
|
|
|
} |
|
|
|
// .post('epmetuser/icresiuser/exportExcel', params) |
|
|
|
await axios({ |
|
|
|
url: window.SITE_CONFIG['apiURL'] + '/resi/partymember/icpartymemberstyle/export', |
|
|
|
url: window.SITE_CONFIG['apiURL'] + '/resi/partymember/icPartyMember/export', |
|
|
|
// url: 'epmetuser/icresiuser/exportExcel', |
|
|
|
method: 'post', |
|
|
|
data: params, |
|
|
|