diff --git a/src/api/basic/workPlace/SysWorkplaceQueue.js b/src/api/basic/workPlace/SysWorkplaceQueue.js index cca7f1ae..8ee03e97 100644 --- a/src/api/basic/workPlace/SysWorkplaceQueue.js +++ b/src/api/basic/workPlace/SysWorkplaceQueue.js @@ -53,6 +53,17 @@ export function getByCode(query) { }); } +export function printQueueLabel(query) { + return axios({ + url: "/udiwms/sysWorkplaceQueue/label/print", + method: "post", + data: query, + headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, + responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf + }); +} + + diff --git a/src/views/basic/workplace/addPlaidDialog.vue b/src/views/basic/workplace/addPlaidDialog.vue index 098dba8d..682e161b 100644 --- a/src/views/basic/workplace/addPlaidDialog.vue +++ b/src/views/basic/workplace/addPlaidDialog.vue @@ -6,7 +6,7 @@ > - + - + {{ workPlaceClasss[scope.row.workPlaceClass] }} + + + @@ -147,7 +152,7 @@ - +