Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-consultation
提交
65c38f8f
提交
65c38f8f
编写于
10月 26, 2021
作者:
xiaoping.di
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改排班
上级
b280758b
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
15 行增加
和
14 行删除
+15
-14
index.scss
src/views/IM/diagnosis-admin/modal/index.scss
+7
-7
newScheduling.vue
src/views/IM/diagnosis-admin/modal/newScheduling.vue
+8
-7
未找到文件。
src/views/IM/diagnosis-admin/modal/index.scss
浏览文件 @
65c38f8f
...
@@ -22,19 +22,19 @@
...
@@ -22,19 +22,19 @@
// display:flex;
// display:flex;
// z-index:1;
// z-index:1;
div
{
div
{
width
:
130px
;
width
:
9%
;
height
:
40
px
;
height
:
55
px
;
//
border: 1px solid #ccc;
border
:
1px
solid
#ccc
;
}
}
.ag-left1
{
.ag-left1
{
position
:
absolute
;
position
:
absolute
;
right
:
1
40px
;
right
:
1
2%
;
top
:
20
px
;
top
:
18
px
;
}
}
.ag-left2
{
.ag-left2
{
position
:
absolute
;
position
:
absolute
;
right
:
20px
;
right
:
1%
;
top
:
20
px
;
top
:
18
px
;
}
}
}
}
.agment-left-con
{
.agment-left-con
{
...
...
src/views/IM/diagnosis-admin/modal/newScheduling.vue
浏览文件 @
65c38f8f
...
@@ -132,10 +132,11 @@
...
@@ -132,10 +132,11 @@
defaultDate
:
new
Date
(),
defaultDate
:
new
Date
(),
datesSet
:
this
.
handleDatesSet
,
datesSet
:
this
.
handleDatesSet
,
events
:
[],
events
:
[],
slotEventOverlap
:
false
,
header
:
{
header
:
{
center
:
'month,agendaFourDay'
,
// buttons for switching between views
center
:
'month,agendaFourDay'
,
// buttons for switching between views
},
},
firstDay
:
new
Date
().
getDay
()
,
// 设置一周中显示的第一天是哪天,周日是0,周一是1,类推
firstDay
:
1
,
// 设置一周中显示的第一天是哪天,周日是0,周一是1,类推
locale
:
'zh-cn'
,
// 切换语言,当前为中文
locale
:
'zh-cn'
,
// 切换语言,当前为中文
eventColor
:
'#fff'
,
// 全部日历日程背景色3BB2E3
eventColor
:
'#fff'
,
// 全部日历日程背景色3BB2E3
eventBackgroundColor
:
'#E7F4F5'
,
eventBackgroundColor
:
'#E7F4F5'
,
...
@@ -186,7 +187,6 @@
...
@@ -186,7 +187,6 @@
},
},
watch
:
{
watch
:
{
week
(
newV
)
{
week
(
newV
)
{
console
.
log
(
newV
);
if
(
this
.
haveWeek
.
indexOf
(
newV
)
==
-
1
)
{
if
(
this
.
haveWeek
.
indexOf
(
newV
)
==
-
1
)
{
this
.
haveWeek
.
push
(
newV
);
this
.
haveWeek
.
push
(
newV
);
this
.
handleInitSearch
();
this
.
handleInitSearch
();
...
@@ -255,18 +255,19 @@
...
@@ -255,18 +255,19 @@
const
oneHour
=
1
*
60
*
60
*
1000
*
24
;
const
oneHour
=
1
*
60
*
60
*
1000
*
24
;
const
timeDifference
=
(
cz
/
oneHour
)
|
0
;
const
timeDifference
=
(
cz
/
oneHour
)
|
0
;
const
headObj
=
this
.
calendarOptions
.
customButtons
.
myCustomButton
;
const
headObj
=
this
.
calendarOptions
.
customButtons
.
myCustomButton
;
if
(
timeDifference
>
0
)
{
console
.
log
(
timeDifference
,
'sjsjsjsj'
,
cz
);
if
(
timeDifference
>
0
&&
timeDifference
<
7
)
{
// 过去
// 过去
this
.
week
=
2
;
this
.
week
=
1
;
headObj
.
text
=
'
上
周'
;
headObj
.
text
=
'
本
周'
;
}
else
if
(
timeDifference
<
0
)
{
}
else
if
(
timeDifference
<
0
)
{
// 未来
// 未来
this
.
week
=
3
;
this
.
week
=
3
;
headObj
.
text
=
'下周'
;
headObj
.
text
=
'下周'
;
}
else
{
}
else
{
// 现在
// 现在
headObj
.
text
=
'
本
周'
;
headObj
.
text
=
'
下
周'
;
this
.
week
=
1
;
this
.
week
=
2
;
}
}
},
},
eventResize
(
event
)
{
eventResize
(
event
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录