diff --git a/hb_client/.env.production b/hb_client/.env.production index a6efc10..87cb653 100644 --- a/hb_client/.env.production +++ b/hb_client/.env.production @@ -2,6 +2,6 @@ ENV = 'production' # base api -VUE_APP_BASE_API = 'http://49.232.14.174:2222/api' +VUE_APP_BASE_API = 'http://hberp.com/api' #VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' diff --git a/hb_client/src/api/hrm.js b/hb_client/src/api/hrm.js index 3aef7e2..6aca137 100644 --- a/hb_client/src/api/hrm.js +++ b/hb_client/src/api/hrm.js @@ -22,11 +22,11 @@ export function notWork(id, data) { }) } -export function getEmployee(data) { +export function getEmployee(query) { return request({ url: '/hrm/employee/', method: 'get', - data + params: query }) } diff --git a/hb_client/src/views/bigScreen/index.vue b/hb_client/src/views/bigScreen/index.vue index ee5698a..b9b7fbb 100644 --- a/hb_client/src/views/bigScreen/index.vue +++ b/hb_client/src/views/bigScreen/index.vue @@ -422,9 +422,9 @@ getUserList() { let that = this; that.listUser = false; - getEmployee({page: 0,type:'big_screen'}).then((response) => { + getEmployee({page: 0,type:'big_screen',show_atwork:true}).then((response) => { if (response.data) { - let list = response.data.results; + let list = response.data; let data = []; list.forEach(item => { let obj = []; diff --git a/hb_client/src/views/inm/product.vue b/hb_client/src/views/inm/product.vue index 871eaec..9c83387 100644 --- a/hb_client/src/views/inm/product.vue +++ b/hb_client/src/views/inm/product.vue @@ -48,6 +48,14 @@ + + + -