提交 4b71da1f 编写于 作者: kai.wang's avatar kai.wang

Merge branch 'dev-circle-9-1-20210112' of...

Merge branch 'dev-circle-9-1-20210112' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into dev-circle-9-1-20210112
...@@ -173,7 +173,12 @@ ...@@ -173,7 +173,12 @@
<span>1.下载模板,填写信息</span> <span>1.下载模板,填写信息</span>
<br> <br>
<div> <div>
<el-button type="primary" size="small" style="float:left; margin-top: 30px;" @click="download1">下载模板</el-button> <el-button type="primary" size="small" style="float:left; margin-top: 30px;" @click="download1">下载模板1</el-button>
<span style="float:left; margin-top: 72px;margin-left: -90px;">填写人员明细导入</span>
</div>
<div>
<el-button type="primary" size="small" style="margin-top: 30px;margin-left: 48px;" @click="download2">下载模板2</el-button>
<span style="float: right;margin-top:10px;">填写人员ID导入</span>
</div> </div>
</div> </div>
<div style="float:left;margin-left: 40px;width: 1px;height: 100px; background: #c8cbd2;"></div> <div style="float:left;margin-left: 40px;width: 1px;height: 100px; background: #c8cbd2;"></div>
...@@ -361,7 +366,7 @@ export default { ...@@ -361,7 +366,7 @@ export default {
if (!first) { if (!first) {
closeLoading(vm); closeLoading(vm);
} }
if (res.code == "000000") { if (res.code == "000000") {
this.peoplesDtoList = res.data.peoplesDtoList; this.peoplesDtoList = res.data.peoplesDtoList;
this.totalPeople = res.data.total; this.totalPeople = res.data.total;
...@@ -544,6 +549,11 @@ export default { ...@@ -544,6 +549,11 @@ export default {
const url = "https://files.yunqueyi.com/template/import_people_by_name_mobile.xlsx"; const url = "https://files.yunqueyi.com/template/import_people_by_name_mobile.xlsx";
window.location.href = url; window.location.href = url;
}, },
// 下载模板2
download2(){
const url = "https://files.yunqueyi.com/template/import_doctor_by_id.xlsx";
window.location.href = url;
},
// 下载错误数据文件 // 下载错误数据文件
downloadFile(){ downloadFile(){
window.location.href = vm.errorFileUrl; window.location.href = vm.errorFileUrl;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册