diff --git a/src/api/role.js b/src/api/role.js index 4d2a51b..3f28695 100644 --- a/src/api/role.js +++ b/src/api/role.js @@ -10,7 +10,7 @@ import request from '@/utils/request' // 获取角色详细信息 export function getRoleInfo(data) { return request({ - url: `/upms/role/get`, + url: `/api/upms/role/get`, method: 'post', data }) @@ -18,7 +18,7 @@ export function getRoleInfo(data) { export function RoleCode() { // 获取code return request({ - url: '/upms/role/get-code', + url: '/api/upms/role/get-code', method: 'post' }) } @@ -26,7 +26,7 @@ export function RoleCode() { // 获取code // 获取角色列表 export function getRoleList(data) { return request({ - url: '/upms/role/list', + url: '/api/upms/role/list', method: 'post', data }) @@ -35,7 +35,7 @@ export function getRoleList(data) { // 添加角色 export function addRole(data) { return request({ - url: '/upms/role/add', + url: '/api/upms/role/add', method: 'post', data }) @@ -44,7 +44,7 @@ export function addRole(data) { // 修改角色 export function updateRole(data) { return request({ - url: '/upms/role/update', + url: '/api/upms/role/update', method: 'post', data }) @@ -53,7 +53,7 @@ export function updateRole(data) { // 删除角色 export function deleteRole(data) { return request({ - url: `/upms/role/delete`, + url: `/api/upms/role/delete`, method: 'post', data }) @@ -62,7 +62,7 @@ export function deleteRole(data) { // 启停角色 export function enableRole(data) { return request({ - url: `/upms/role/enabled`, + url: `/api/upms/role/enabled`, method: 'post', data }) @@ -71,7 +71,7 @@ export function enableRole(data) { // 用户-角色关联授权 export function saveUserRole(data) { return request({ - url: '/upms/role/saveUserRole', + url: '/api/upms/role/saveUserRole', method: 'post', data }) @@ -80,7 +80,7 @@ export function saveUserRole(data) { // 用户-角色关联获取 export function listByUser(id) { return request({ - url: '/upms/role/listByUser', + url: '/api/upms/role/listByUser', method: 'post', data: { id } }) diff --git a/src/lang/i18n/en/module/basicData.js b/src/lang/i18n/en/module/basicData.js index af28a1d..ef36529 100644 --- a/src/lang/i18n/en/module/basicData.js +++ b/src/lang/i18n/en/module/basicData.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:13:51 * @LastEditors: zwq - * @LastEditTime: 2022-03-09 15:14:15 + * @LastEditTime: 2022-03-09 16:34:56 * @Description: file content */ export default { @@ -296,15 +296,20 @@ export default { TaskLocation: 'Task Location', TargetLocation: 'Target Location', OrderName: 'Order Name', + OrderType: 'Order Type', OrderCode: 'Order Code', IssueOrderTime: 'Issue Order Time', + startProduceTime: 'Start Produce Time', TotalProcessName: 'Total Process Name', Priority: 'Priority', OrderStatus: 'Order Status', + triggerOrigin: 'Trigger Origin', ProcessOrNot: 'Process Or Not', Unit: 'Unit', + scrapQuantity: 'Scrap Quantity', RelateProcess: 'Relate Process', PlanProcessQuantity: 'Plan Process Quantity', + actualProcessQuantity: 'Actual Process Quantity', SubProcessName: 'Sub Process Name', TaskBoxNumber: 'Task Box Number', FullBoxNumber: 'Full Box Number', diff --git a/src/lang/i18n/zh/module/basicData.js b/src/lang/i18n/zh/module/basicData.js index 2646129..7a2ce2b 100644 --- a/src/lang/i18n/zh/module/basicData.js +++ b/src/lang/i18n/zh/module/basicData.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:13:51 * @LastEditors: zwq - * @LastEditTime: 2022-03-09 15:14:07 + * @LastEditTime: 2022-03-09 16:34:50 */ export default { visual: { @@ -310,15 +310,20 @@ export default { TaskLocation: '任务库位', TargetLocation: '目标库位', OrderName: '工单名', + OrderType: '工单类型', OrderCode: '工单编码', IssueOrderTime: '下发工单时间', + startProduceTime: '开始生产时间', TotalProcessName: '总工艺名称', Priority: '优先级', + scrapQuantity: '废片数量', OrderStatus: '工单状态', + triggerOrigin: '工单发起方', ProcessOrNot: '是否关联工艺', Unit: '单位', RelateProcess: '关联工艺', PlanProcessQuantity: '计划加工数量', + actualProcessQuantity: '实际加工数量', SubProcessName: '分工艺', TaskBoxNumber: '任务箱号', FullBoxNumber: '空箱号', diff --git a/src/views/QualityManager/scrap/ScrapInfo-add.vue b/src/views/QualityManager/scrap/ScrapInfo-add.vue index 7f4ba1f..d203afc 100644 --- a/src/views/QualityManager/scrap/ScrapInfo-add.vue +++ b/src/views/QualityManager/scrap/ScrapInfo-add.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2020-12-29 16:37:56 * @LastEditors: zwq - * @LastEditTime: 2022-03-09 14:38:36 + * @LastEditTime: 2022-03-09 14:59:52 * @Description: -->