Commit fb4a6d50 authored by chenzj's avatar chenzj

报工人员修复

parent 6a46ddbb
...@@ -146,7 +146,7 @@ const install = (Vue, vm) => { ...@@ -146,7 +146,7 @@ const install = (Vue, vm) => {
//查看人员管理 //查看人员管理
userQuery: (params = {}) => userQuery: (params = {}) =>
vm.$u.get(config.adminPath + '/mes/md/workstationworker/list', params), vm.$u.get(config.adminPath + '/mes/md/workunitWorker/list', params),
//增加缺陷记录 //增加缺陷记录
addDefectrecord: (params = {}) => addDefectrecord: (params = {}) =>
......
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
params: { params: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
workstationId: this.data?.workstationId || null workunitId: this.data?.workunitId || null
}, },
total: 0, total: 0,
tableParams: { tableParams: {
...@@ -59,8 +59,8 @@ export default { ...@@ -59,8 +59,8 @@ export default {
}, },
{ {
name: 'workstationName', name: 'workunitName',
label: '工作中心', label: '工作单元',
width: 160 width: 160
} }
] ]
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
this.tableData = res.rows.map((item) => { this.tableData = res.rows.map((item) => {
return { return {
...item, ...item,
workstationName: this.data?.workstationName || null workunitName: this.data?.workunitName || null
}; };
}); });
this.total = res.total; this.total = res.total;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment