Commit 052123a9 by 匡雅琴

Merge branch 'huy_dev_v2.3.0' into kuangyq_dev_v2.3.0

2 parents 55ff0850 8b6358ea
......@@ -49,7 +49,7 @@ export default {
return {
loading: false,
visible: false,
dialogTitle: '选择商户账户',
dialogTitle: '选择企业微信',
listHeight: 220,
departmentList: [],
parentMerchantList: [],
......
......@@ -118,8 +118,7 @@ export default {
}, 300),
// 根据输入内容搜索企微门店数据
getSearchList(val) {
this.loading = true
console.log(this.searchValue)
this.visible = true
var params = JSON.parse(JSON.stringify(this.pageParams))
params.departmentName = val
console.log(params)
......@@ -141,7 +140,6 @@ export default {
} else {
this.searchList = []
}
this.visible = true
},
// 根据输入内容搜索商户账户数据
getMerchantSearchList(val) {
......@@ -195,6 +193,7 @@ export default {
this.$emit('getCurMerchant', val.first)
},
handleBlur() {
this.searchKey.departmentName = ''
this.visible = false
// this.searchKey = {}
this.searchList = []
......
......@@ -187,7 +187,7 @@ export default {
getCurDepartment(val) {
console.log(val, '---')
this.tempDepart = {
departmentId: val.departmentId,
departmentId: val.id,
departmentName: val.departmentName
}
// let ids = val[val.length - 1]
......
......@@ -19,7 +19,7 @@
</div>
</div>
<!-- 表格区域 开始 -->
<GLTable ref="employeeRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="$globalState.session.accountLevel == 4 || $globalState.session.isMerchantStaffAdmin ? tableParams1 : tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun" @paginationlisteners="paginationlisteners">
<GLTable ref="employeeRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="$globalState.session.accountLevel == 4 || $globalState.session.isMerchantStaffAdmin ? tableParams1 : tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div slot="optionBtns" slot-scope="scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <el-button type="text" @click="handleDetail(scope.scope)">查看</el-button>
......@@ -536,7 +536,7 @@ export default {
return this.$message.error('您未选中需要批量操作的员工。')
}
if (name == '角色') {
const hasRole = selectArr.some(item => item.statusName == '启用')
const hasRole = selectArr.some(item => item.roleName)
if (hasRole) {
this.$confirm(`您选中的员工中包含已设置 “角色” 账号。请去除选中已设置 “角色” 员工账号。`, '', {
confirmButtonText: '确定',
......@@ -616,10 +616,6 @@ export default {
this.roleVisible = false
this.roleForm = {}
this.$refs.roleForm.resetFields()
},
// 表格分页穿透事件
paginationlisteners(val) {
console.log(val)
}
}
}
......
......@@ -15,7 +15,7 @@
<div class="header-text">跟进专员列表</div>
<div class="table-btn">
<GLButton fn="新增" size="small" type="primary" plain @click="openDrawer">跟进专员</GLButton>
<el-button size="small" type="primary" plain @click="openDrawer">跟进专员</el-button>
<!-- <el-button size="small" type="primary" plain @click="openDrawer">跟进专员</el-button> -->
</div>
</div>
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="handleSearch">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!