|
|
@@ -17,8 +17,8 @@ |
|
|
|
:on-exceed="handleExceed" :show-file-list="false" :multiple="false"> |
|
|
|
<el-button type="primary" class="btn" icon="Upload">导入网点</el-button> |
|
|
|
</el-upload> |
|
|
|
<el-button type="warning" icon="Download" @click="templateDownload" class="btn">网点模板下载</el-button> |
|
|
|
<el-button type="warning" icon="Download" @click="handleFileName()">办理点模板下载</el-button> |
|
|
|
<el-button type="warning" icon="Download" @click="handleFileName(1)" class="btn">网点模板下载</el-button> |
|
|
|
<el-button type="warning" icon="Download" @click="handleFileName(2)">办理点模板下载</el-button> |
|
|
|
</template> |
|
|
|
<template #CustomButton> |
|
|
|
<el-button type="success" @click="getItmeLiet()"> |
|
|
@@ -467,7 +467,7 @@ function refreshLeft2() { |
|
|
|
|
|
|
|
// 导出 |
|
|
|
function downloadHandle() { |
|
|
|
exportFn('/invw/api/cardBatch/export', searchForm.value, '网点导出') |
|
|
|
exportFn('/userw/serviceHall/serviceHallExport', searchForm.value, '网点导出') |
|
|
|
} |
|
|
|
|
|
|
|
//获取列表 |
|
|
@@ -872,11 +872,18 @@ function handleImport(row) { |
|
|
|
serviceHallId.value = row.serviceHallId |
|
|
|
} |
|
|
|
//模板下载 |
|
|
|
function handleFileName() { |
|
|
|
BaseService.getDownload( |
|
|
|
import.meta.env.VITE_APP_EXPORT_URL_NEW + 'zhywpt-issuer/template/userw/办理地址信息导入模板.xlsx', |
|
|
|
'办理地址信息导入模板' |
|
|
|
) |
|
|
|
function handleFileName(type) { |
|
|
|
if (type === 2) { |
|
|
|
BaseService.getDownload( |
|
|
|
import.meta.env.VITE_APP_EXPORT_URL_NEW + 'zhywpt-issuer/template/userw/办理地址信息导入模板.xlsx', |
|
|
|
'办理地址信息导入模板' |
|
|
|
) |
|
|
|
}else { |
|
|
|
BaseService.getDownload( |
|
|
|
import.meta.env.VITE_APP_EXPORT_URL_NEW + 'zhywpt-issuer/template/userw/网点信息导入模板.xlsx', |
|
|
|
'网点信息导入模板' |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
//编辑 |
|
|
|
function handleEdit(row: IObject) { |