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