Commit 6d255cd2 authored by chenzj's avatar chenzj

Merge branch 'dev' of http://git.local.topsunit.com/mes/mes-ui into dev

parents d9659a3e f97a7075
...@@ -12,7 +12,7 @@ export function listCalholiday(query) { ...@@ -12,7 +12,7 @@ export function listCalholiday(query) {
// 查询上班数据工作单元列表 // 查询上班数据工作单元列表
export function listItem(query) { export function listItem(query) {
return request({ return request({
url: "/md/cal/plan/workunit/list", url: "/mes/cal/shift/listOnWorkShift",
method: "get", method: "get",
params: query, params: query,
}); });
......
...@@ -135,8 +135,10 @@ export default { ...@@ -135,8 +135,10 @@ export default {
submitForm(isWork){ submitForm(isWork){
const datas = this.$refs.itemIndex.selectRow.map(item => { const datas = this.$refs.itemIndex.selectRow.map(item => {
return { return {
id: item.id, isWork,
isWork theDay: item.theDay,
shiftName: item.shiftName,
workunitId: item.workunitId
} }
}) })
addCalholiday(datas).then(response => { addCalholiday(datas).then(response => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment