Commit fb4a6d50 authored by chenzj's avatar chenzj

报工人员修复

parent 6a46ddbb
......@@ -146,7 +146,7 @@ const install = (Vue, vm) => {
//查看人员管理
userQuery: (params = {}) =>
vm.$u.get(config.adminPath + '/mes/md/workstationworker/list', params),
vm.$u.get(config.adminPath + '/mes/md/workunitWorker/list', params),
//增加缺陷记录
addDefectrecord: (params = {}) =>
......
......@@ -33,7 +33,7 @@ export default {
params: {
pageNum: 1,
pageSize: 10,
workstationId: this.data?.workstationId || null
workunitId: this.data?.workunitId || null
},
total: 0,
tableParams: {
......@@ -59,8 +59,8 @@ export default {
},
{
name: 'workstationName',
label: '工作中心',
name: 'workunitName',
label: '工作单元',
width: 160
}
]
......@@ -97,7 +97,7 @@ export default {
this.tableData = res.rows.map((item) => {
return {
...item,
workstationName: this.data?.workstationName || null
workunitName: this.data?.workunitName || null
};
});
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