fix:日志mlogs显示team_name

This commit is contained in:
shijing 2025-08-05 15:54:13 +08:00
parent ceea2e2674
commit 3e124050c4
2 changed files with 26 additions and 0 deletions

View File

@ -22,6 +22,20 @@
:value="item.value"
/>
</el-select>
<!-- <el-select
v-model="query.defect"
placeholder="不合格项"
clearable
@change="searchDefectChange"
style="width: 250px"
>
<el-option
v-for="item in defectOptions"
:key="item.id"
:label="item.name"
:value="item.id"
/>
</el-select> -->
<el-input
style="margin-right: 5px"
v-model="query.search"
@ -320,6 +334,7 @@ export default {
wmtype:0,
query: {
search: "",
defect: "",
state: null,
},
dialog: {
@ -334,6 +349,7 @@ export default {
wprList:[],
tableData: [],
selection: [],
defectOptions: [],
stateOptions:[
{ value: 10, name: "合格"},
{ value: 20, name: "不合格"},
@ -375,8 +391,13 @@ export default {
that.params.mgroup = that.mgroupId;
that.$TOOL.data.set('bx_deptID',that.deptId);
that.apiObj = that.$API.wpm.wmaterial.list;
that.getDefectOptions();
},
methods: {
//
getDefectOptions(){
},
handleWatch(row) {
let that = this;
that.$API.wpm.batchlog.dag.req({batch:row.batch}).then((res) => {
@ -464,6 +485,9 @@ export default {
this.$nextTick(() => {
this.$refs.scrapDialog.open("add",handoverb,30);
});
},
searchDefectChange(){
},
handleScrapSuccess(){
this.dialog.scrap = false;

View File

@ -89,6 +89,8 @@
{{scope.row.belong_dept_name}}/{{scope.row.mgroup_name}}
</template>
</el-table-column>
<el-table-column label="班组" prop="team_name">
</el-table-column>
<el-table-column label="处理人" prop="handle_user_name" width="80">
<template #default="scope">
<div v-if="scope.row.handle_users_&&scope.row.handle_users_.length>0">