Commit f139d357 authored by 张海景's avatar 张海景

update:修改节假日设置的接口和传参

parent 10a5157b
...@@ -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,
}); });
......
...@@ -136,7 +136,9 @@ export default { ...@@ -136,7 +136,9 @@ export default {
const datas = this.$refs.itemIndex.selectRow.map(item => { const datas = this.$refs.itemIndex.selectRow.map(item => {
return { return {
id: item.id, id: item.id,
isWork isWork,
theDay: item.theDay,
shiftName: item.shiftName,
} }
}) })
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