diff --git a/hb_client/src/api/hrm.js b/hb_client/src/api/hrm.js index 6a2a20c..3aef7e2 100644 --- a/hb_client/src/api/hrm.js +++ b/hb_client/src/api/hrm.js @@ -29,3 +29,22 @@ export function getEmployee(data) { data }) } + + +//个人离岗说明 + +export function getNotWorkList(query) { + return request({ + url: '/hrm/not_work_remark/', + method: 'get', + params: query + }) +} + +export function getClockrecordList(query) { + return request({ + url: '/hrm/clock_record/', + method: 'get', + params: query + }) +} diff --git a/hb_client/src/views/mtm/materialDetail.vue b/hb_client/src/views/mtm/materialDetail.vue index 65a4bb0..1bedbef 100644 --- a/hb_client/src/views/mtm/materialDetail.vue +++ b/hb_client/src/views/mtm/materialDetail.vue @@ -228,7 +228,7 @@ height="460" > - + {{ scope.row.name }} @@ -277,11 +277,27 @@ label-position="right" :rules="rule1" > + + + + + + + + + { + if (response.data) { + this.materialoptions = response.data; + } + + }); + }, + +selectmaterial(selval){ + getMaterial(selval).then((response) => { + if (response.data) { + this.packitem.name = response.data.name; + this.packitem.unit = response.data.unit; + this.packitem.specification = response.data.specification; + + + + } + + }); +}, + + handleCreate() { this.packitem = Object.assign({}, defaultpackitem); this.dialogType = "new"; @@ -424,7 +468,7 @@ handleCreate() { } }); } else { - this.packitem.material=this.material; + this.packitem.product=this.material; createpackitem(this.packitem).then((res) => { if (res.code >= 200) { this.getpickList(); @@ -441,7 +485,7 @@ handleCreate() { getpickList() { - getpackitemList({ material: this.material, page: 0 }).then((response) => { + getpackitemList({ product: this.material, page: 0 }).then((response) => { if (response.data) { this.pickList = response.data; //zhuangxiang信息 } diff --git a/hb_client/src/views/personnel/attendance.vue b/hb_client/src/views/personnel/attendance.vue index 9a57c18..e9c60bd 100644 --- a/hb_client/src/views/personnel/attendance.vue +++ b/hb_client/src/views/personnel/attendance.vue @@ -2,156 +2,149 @@ - - - - - {{ scope.row.number }} - - - {{ scope.row.name }} - - - - 在岗 + + + + + {{ scope.row.number }} + + + {{ scope.row.name }} + + + + 在岗 - 离岗 - - + 离岗 + + - {{ scope.row.not_work_remark }} - + {{ + scope.row.not_work_remark + }} + - - {{ - scope.row.dept_.name - }} - - - - 离岗说明 - - - - - - - - - - - - - - - - - 取消 - 确认 - - - - - - - - - + + {{ + scope.row.dept_.name + }} + + + + 离岗说明 + + + + - - 年、月 - - - 查询 - - - - - {{ scope.row.number }} - - - {{ scope.row.name }} - - - - {{ scope.row.dept_name }} - - - {{ scope.row.count }} - - - {{ scope.row.count_workday }} - - - - - - - - - - - {{ data.day.split('-').slice(1).join('-') }} {{dealMyDate(data.day)}} - - - - - - - - - + + + + + + + + + + 取消 + 确认 + + + + + + + + 年、月 + + + 查询 + + + + + {{ scope.row.number }} + + + {{ scope.row.name }} + + + + {{ + scope.row.dept_name + }} + + + {{ scope.row.count }} + + + {{ + scope.row.count_workday + }} + + + + + + + + {{ data.day.split("-").slice(1).join("-") }} + {{ dealMyDate(data.day) }} + + + + + + + @@ -183,9 +176,9 @@ diff --git a/hb_client/src/views/pm/resources.vue b/hb_client/src/views/pm/resources.vue index f82a527..c29f641 100644 --- a/hb_client/src/views/pm/resources.vue +++ b/hb_client/src/views/pm/resources.vue @@ -192,33 +192,29 @@ - - - 禁用 - - 合格 - - - - {{ state_[scope.row.state] }} - - - {{ state_[scope.row.state] }} - - - {{ state_[scope.row.state] }} - - - {{ state_[scope.row.state] }} - - - - - {{ state_[scope.row.state] }} + + + 禁用 + + + 合格 + + + + + {{ state_[scope.row.state] }} + + + {{ state_[scope.row.state] }} + + + {{ state_[scope.row.state] }} + + + {{ state_[scope.row.state] }} + + +
- {{ data.day.split('-').slice(1).join('-') }} {{dealMyDate(data.day)}} -
+ {{ data.day.split("-").slice(1).join("-") }} + {{ dealMyDate(data.day) }} +