feat:日志添加处理人搜索
This commit is contained in:
parent
048a00b916
commit
5d5b091ed8
|
|
@ -23,10 +23,26 @@
|
|||
</div>
|
||||
|
||||
<div class="right-panel">
|
||||
<el-select
|
||||
v-model="query.handle_user"
|
||||
placeholder="处理人"
|
||||
clearable
|
||||
filterable
|
||||
style="width: 110px;"
|
||||
@change="handleQuery"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in users"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
<el-input
|
||||
style="margin-right: 5px"
|
||||
style="width: 150px;margin-right: 5px"
|
||||
v-model="query.search"
|
||||
placeholder="名称"
|
||||
placeholder="物料名称"
|
||||
clearable
|
||||
></el-input>
|
||||
<el-button
|
||||
|
|
@ -312,6 +328,7 @@ export default {
|
|||
detail: false,
|
||||
monitor:false,
|
||||
},
|
||||
users: [],
|
||||
tableData: [],
|
||||
selection: [],
|
||||
mtask: "",
|
||||
|
|
@ -338,9 +355,15 @@ export default {
|
|||
that.route_code = this.$route.path.split("/")[2];
|
||||
that.params.mgroup =that.mgroupId;
|
||||
that.apiObj = that.$API.wpm.mlog.list;
|
||||
// this.getMgroupInfo();
|
||||
this.getDeptUsers();
|
||||
},
|
||||
methods: {
|
||||
getDeptUsers(){
|
||||
let that = this;
|
||||
that.$API.system.user.list.req({belong_dept:that.deptId,page:0}).then((res) => {
|
||||
that.users = res;
|
||||
});
|
||||
},
|
||||
getMgroupInfo(){
|
||||
let that = this;
|
||||
that.$API.mtm.mgroup.item.req(that.mgroupId).then((res) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue