Commit 47d82da3 authored by 沈翠玲's avatar 沈翠玲

用户管理工作单元接口更换

parent c8059fe3
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import { listByUser } from "@/api/system/user"; import { listWorkunit } from "@/api/mes/md/workunit";
export default { export default {
name: "WorkunitSelectSingle", name: "WorkunitSelectSingle",
components: {}, components: {},
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
/** 查询生产工单列表 */ /** 查询生产工单列表 */
getList() { getList() {
this.loading = true; this.loading = true;
listByUser(this.queryParams).then((response) => { listWorkunit(this.queryParams).then((response) => {
this.workunitList = response.rows; this.workunitList = response.rows;
this.loading = false; this.loading = false;
this.total = response.total this.total = response.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