|
|
|
@ -10,9 +10,9 @@ |
|
|
|
<!-- 弹窗的内容 --> |
|
|
|
<div class="popup-content"> |
|
|
|
<div class="subsearch"> |
|
|
|
<input class="searchbox" v-model="searchKey" placeholder="请输入部门名称"/> |
|
|
|
<input class="searchbox" v-model="searchParam.deptName" placeholder="请输入部门名称"/> |
|
|
|
<van-icon class="ibtn-reset" name="clear" @click="cancel()" title="重置"/> |
|
|
|
<button class='btn-search' @click="queryUserList()">搜索</button> |
|
|
|
<button class='btn-search' @click="queryList()">搜索</button> |
|
|
|
<button class='btn-search' @click="selectData()">确定</button> |
|
|
|
</div> |
|
|
|
<div class="search-result"> |
|
|
|
@ -88,6 +88,7 @@ |
|
|
|
dataScopeId: useCommon.userId, |
|
|
|
deptName: '', |
|
|
|
parentId: '0', |
|
|
|
deptName:"", |
|
|
|
}, |
|
|
|
searchKey: "", |
|
|
|
dataList: [], |
|
|
|
@ -112,6 +113,7 @@ |
|
|
|
next() { |
|
|
|
if (null != this.nextParentId) { |
|
|
|
this.searchParam.parentId = this.nextParentId; |
|
|
|
this.searchParam.deptName = ""; |
|
|
|
nextDeptByparentId(this.searchParam, success => { |
|
|
|
this.nextParentId = success.data.parentId; |
|
|
|
this.queryList(); |
|
|
|
|