提交 bcf89565 编写于 作者: qian.jie's avatar qian.jie

Merge branch 'feature/jq_1' into 'develop'

Feature/jq 1

See merge request !203
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
} }
.show-work-set { .show-work-set {
margin-top: 100px; margin-top: 100px;
padding: 10px;
} }
.agment-left-con { .agment-left-con {
padding: 15px; padding: 15px;
...@@ -312,7 +313,7 @@ ...@@ -312,7 +313,7 @@
} }
@media screen and (min-width: 1000px) and (max-width: 1300px) { @media screen and (min-width: 1000px) and (max-width: 1300px) {
/deep/.fc-header-toolbar { /deep/.fc-header-toolbar {
right: 6%; right: 3%;
} }
.ag-left1 { .ag-left1 {
width: 12% !important; width: 12% !important;
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
], ],
// timeZone: 'UTC', // timeZone: 'UTC',
locale: 'zh-cn', locale: 'zh-cn',
aspectRatio: 4.5, // 设置日历单元格宽度与高度的比例。 aspectRatio: 3, // 设置日历单元格宽度与高度的比例。
schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives', schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives',
initialView: 'resourceTimeGridDay', initialView: 'resourceTimeGridDay',
resources: [], resources: [],
...@@ -151,6 +151,7 @@ ...@@ -151,6 +151,7 @@
meridiem: 'short', meridiem: 'short',
hour12: false, // 设置时间为24小时 hour12: false, // 设置时间为24小时
}, },
expandRows: true,
}, },
workingTicketVisible: false, // 工作表票详情页面 workingTicketVisible: false, // 工作表票详情页面
scrollerHeight: 0, scrollerHeight: 0,
...@@ -268,15 +269,17 @@ ...@@ -268,15 +269,17 @@
}; };
} }
); );
const dutyWorkList = (res.data.dutyWorkList || []).map((item, index) => { const dutyWorkList = (res.data.dutyWorkList || []).map(
return { (item, index) => {
id: index, return {
resourceId: item.doctorId, id: index,
end: item.endTime, resourceId: item.doctorId,
start: item.startTime, end: item.endTime,
color: '#E7F4F5', start: item.startTime,
}; color: '#E7F4F5',
}); };
}
);
// this.getWidth = this.$refs.agmentSelect.scrollWidth + 'px'; // this.getWidth = this.$refs.agmentSelect.scrollWidth + 'px';
// this.getWidth = 3000 + 'px'; // this.getWidth = 3000 + 'px';
this.calendarOptions.events = [].concat( this.calendarOptions.events = [].concat(
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册