Commit 5c05924f by crushh

update: 通讯录导出

parent 0f815272
......@@ -23,7 +23,7 @@
<div class="flex">
<el-input placeholder="请输入姓名/手机号" maxlength="50" v-model="searchInput" class="w-274" @keyup.native="value => toInput(value, searchInput)" clearable @clear="clearInput"></el-input>
<el-select v-model="activeFlag" placeholder="所有状态" class="m-l-6" @change="changeStatus"> <el-option v-for="item in statusOptions" :key="item.value" :label="item.label" :value="item.value"> </el-option> </el-select><el-button class="m-l-10 export-btn" style="margin-left: 10px;padding: 7px 12px;" type="primary" @click="exportExcel"><i class="iconfont icon-icon_yunxiazai p-r-6"></i>导出通讯录</el-button>
<el-tooltip content="默认导出企业全部通讯录,与筛选结果无关。如需获取最新通讯录,请刷新企业成功后,再进行导出。" placement="top">
<el-tooltip content="如需获取最新通讯录,请刷新企业成功后,再进行导出。" placement="top">
<!-- <button type="button" class="el-button el-button--text" style="margin-left: 10px;"><span class="font-12" style="border-bottom: 1px dashed #2F54EB;">导出提示</span></button> -->
<i class="el-icon-info" style="margin-top:10px;margin-left:10px;color:#909399;"></i>
</el-tooltip>
......@@ -164,7 +164,7 @@ export default {
* 导出
*/
exportExcel: _debounce(function() {
window.open(`/haoban-manage3-web/staff-export?departmentId=${this.departObj.departmentId}`);
window.open(`/haoban-manage3-web/staff-export?departmentId=${this.departObj.departmentId}&activeFlag=${this.activeFlag}`);
}, 300),
/**
......
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