Commit b761a1ea by caoyanzhi

调整模板下载

parent 7d9abea7
...@@ -632,12 +632,9 @@ export default { ...@@ -632,12 +632,9 @@ export default {
// 导出 excel 模板 // 导出 excel 模板
downloadExcelTemp() { downloadExcelTemp() {
const tHeader = ['手机号', '卡号']; let origin = window.location.host;
const data = [ origin = origin.indexOf('localhost') >= 0 ? 'http://http://gicdev.demogic.com/' : origin;
['17098078224', 'jhdm2018071315'], window.location.href = `${origin}/gic-member-tag-web/memberTag/member-import-template-download?requestProject=gic-member-tag-web`;
['13100000055', 'jhdm20180608000000003']
];
export_json_to_excel(tHeader, data, '导入 excel 模板');
}, },
// 获取三级分类列表 // 获取三级分类列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment