diff --git a/hb_client/.env.development b/hb_client/.env.development index ef83e12..003a43c 100644 --- a/hb_client/.env.development +++ b/hb_client/.env.development @@ -2,8 +2,8 @@ ENV = 'development' # base api -VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' -#VUE_APP_BASE_API = 'http://47.95.0.242:2222/api' +#VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' +VUE_APP_BASE_API = 'http://47.95.0.242:2222/api' # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, diff --git a/hb_client/src/api/workflow.js b/hb_client/src/api/workflow.js index 1b6189c..f5a13de 100644 --- a/hb_client/src/api/workflow.js +++ b/hb_client/src/api/workflow.js @@ -153,6 +153,15 @@ export function createTicket(data) { method: 'post', data }) +} + //详情 +export function ticketread(id) { + return request({ + url: `/wf/ticket/${id}/`, + method: 'get', + + }) + } //接单 export function ticketAccpet(id,data) { diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js index 0c16a1c..723bede 100644 --- a/hb_client/src/api/wpm.js +++ b/hb_client/src/api/wpm.js @@ -313,6 +313,14 @@ export function getRetrial(id) { method: 'GET', }) } +//玻璃审批工单 +export function getwproductticketList(query) { + return request({ + url: '/wpm/wproduct_ticket/', + method: 'get', + params: query + }) +} diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js index 10fe313..e98d1ae 100644 --- a/hb_client/src/router/index.js +++ b/hb_client/src/router/index.js @@ -360,6 +360,14 @@ export const asyncRoutes = [ hidden: true } , + { + path: 'wproduct/:id', + name: 'wproduct', + component: () => import('@/views/qm/wproduct'), + meta: { title: '工序玻璃', perms: ['vendor_manage'] }, + hidden: true + } + , { path: 'taskrecordfrom/:id', name: 'taskrecordfrom', diff --git a/hb_client/src/views/qm/processtest.vue b/hb_client/src/views/qm/processtest.vue index 04fbd61..5e86257 100644 --- a/hb_client/src/views/qm/processtest.vue +++ b/hb_client/src/views/qm/processtest.vue @@ -1,91 +1,244 @@ - + + @@ -237,15 +238,19 @@ - + + +