|
|
@@ -152,6 +152,8 @@
|
|
|
</el-row>
|
|
|
<el-row :gutter="10">
|
|
|
<span style="margin-top:10px;">
|
|
|
+ <el-input size="mini" style="width: 150px;" v-model="selectName" placeholder="请输入用户名"></el-input>
|
|
|
+ <el-button size="small" @click="getauditerbydept(setroledepid)" type="primary">查 询</el-button>
|
|
|
<el-button size="small" @click="adminadduser = false">取 消</el-button>
|
|
|
<el-button type="primary" size="small" @click="toggleSelection()">确 定</el-button>
|
|
|
</span>
|
|
|
@@ -174,6 +176,8 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<span style="float: right;margin-top:-10px;">
|
|
|
+ <el-input size="mini" style="width: 150px;" v-model="selectName" placeholder="请输入用户名"></el-input>
|
|
|
+ <el-button size="small" @click="getauditerbydept(setroledepid)" type="primary">查 询</el-button>
|
|
|
<el-button size="small" @click="addUserShow = false">取 消</el-button>
|
|
|
<el-button type="primary" size="small" @click="adduerinrole()">确 定</el-button>
|
|
|
</span>
|
|
|
@@ -371,6 +375,7 @@
|
|
|
currentPerIdForAddRoleToOps: '',
|
|
|
appclient: '',
|
|
|
Roleids: '',
|
|
|
+ selectName: ''
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
@@ -523,7 +528,8 @@
|
|
|
this.userOptions = []
|
|
|
const params = {
|
|
|
_currentPage: this.currentSetRolePage,
|
|
|
- _size: this.setrolesize
|
|
|
+ _size: this.setrolesize,
|
|
|
+ userName: this.selectName,
|
|
|
}
|
|
|
this.$axios.get('role/getauditerbydept/' + deptid, {params}).then(res => {
|
|
|
this.userOptions = res.data.items
|