fix:日志mlogs显示team_name
This commit is contained in:
parent
ceea2e2674
commit
3e124050c4
|
|
@ -22,6 +22,20 @@
|
||||||
:value="item.value"
|
:value="item.value"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</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
|
<el-input
|
||||||
style="margin-right: 5px"
|
style="margin-right: 5px"
|
||||||
v-model="query.search"
|
v-model="query.search"
|
||||||
|
|
@ -320,6 +334,7 @@ export default {
|
||||||
wmtype:0,
|
wmtype:0,
|
||||||
query: {
|
query: {
|
||||||
search: "",
|
search: "",
|
||||||
|
defect: "",
|
||||||
state: null,
|
state: null,
|
||||||
},
|
},
|
||||||
dialog: {
|
dialog: {
|
||||||
|
|
@ -334,6 +349,7 @@ export default {
|
||||||
wprList:[],
|
wprList:[],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
selection: [],
|
selection: [],
|
||||||
|
defectOptions: [],
|
||||||
stateOptions:[
|
stateOptions:[
|
||||||
{ value: 10, name: "合格"},
|
{ value: 10, name: "合格"},
|
||||||
{ value: 20, name: "不合格"},
|
{ value: 20, name: "不合格"},
|
||||||
|
|
@ -375,8 +391,13 @@ export default {
|
||||||
that.params.mgroup = that.mgroupId;
|
that.params.mgroup = that.mgroupId;
|
||||||
that.$TOOL.data.set('bx_deptID',that.deptId);
|
that.$TOOL.data.set('bx_deptID',that.deptId);
|
||||||
that.apiObj = that.$API.wpm.wmaterial.list;
|
that.apiObj = that.$API.wpm.wmaterial.list;
|
||||||
|
that.getDefectOptions();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//获取缺陷项
|
||||||
|
getDefectOptions(){
|
||||||
|
|
||||||
|
},
|
||||||
handleWatch(row) {
|
handleWatch(row) {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.$API.wpm.batchlog.dag.req({batch:row.batch}).then((res) => {
|
that.$API.wpm.batchlog.dag.req({batch:row.batch}).then((res) => {
|
||||||
|
|
@ -464,6 +485,9 @@ export default {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.scrapDialog.open("add",handoverb,30);
|
this.$refs.scrapDialog.open("add",handoverb,30);
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
searchDefectChange(){
|
||||||
|
|
||||||
},
|
},
|
||||||
handleScrapSuccess(){
|
handleScrapSuccess(){
|
||||||
this.dialog.scrap = false;
|
this.dialog.scrap = false;
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,8 @@
|
||||||
{{scope.row.belong_dept_name}}/{{scope.row.mgroup_name}}
|
{{scope.row.belong_dept_name}}/{{scope.row.mgroup_name}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="班组" prop="team_name">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="处理人" prop="handle_user_name" width="80">
|
<el-table-column label="处理人" prop="handle_user_name" width="80">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div v-if="scope.row.handle_users_&&scope.row.handle_users_.length>0">
|
<div v-if="scope.row.handle_users_&&scope.row.handle_users_.length>0">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue