Commit f269eea4 authored by 康振飞's avatar 康振飞

设备日历

parent 66090bb9
...@@ -106,33 +106,32 @@ export default { ...@@ -106,33 +106,32 @@ export default {
}, },
laodaction(){ laodaction(){
let parmse ={ let parmse ={
pageIndex:0, pageIndex:1,
cont:0,
conditions: [], conditions: [],
pageSize: 0 pageSize: 10
} }
let url = `${systemUrl}/calendarwork/list`, let url = `${systemUrl}/mesdailyworksched/list`,//paged
that = this; that = this;
service.post(`${url}`, parmse).then(res => { service.post(`${url}`, parmse).then(res => {
let selectdata = res.result; let selectdata = res.result;
//console.log(selectdata) // console.log(selectdata)
selectdata.forEach(item => { selectdata.forEach(item => {
that.cityList.push({ that.cityList.push({
value: item.title, value: item.calName,
label: item.title, label: item.calName,
id: item.id, id: item.id,
}) })
// console.log(that.cityList) // console.log(that.cityList)
}); });
}); });
let url1 = `${systemUrl}/calendarovertime/list`; let url1 = `${systemUrl}/mesholidaycal/list`;
service.post(`${url1}`,parmse).then(res => { service.post(`${url1}`,parmse).then(res => {
let selectdata1 = res.result; let selectdata1 = res.result;
console.log(selectdata1) // console.log(selectdata1)
selectdata1.forEach(item => { selectdata1.forEach(item => {
this.cityList1.push({ this.cityList1.push({
value: item.title, value: item.holidayCalName,
label: item.title, label: item.holidayCalName,
id: item.id, id: item.id,
}) })
// console.log(that.cityList) // console.log(that.cityList)
......
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