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
提交
e997ee9f
提交
e997ee9f
编写于
10月 27, 2021
作者:
xiaoping.di
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
裁分新的页面
上级
16d2513e
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
29 行增加
和
12 行删除
+29
-12
serviceSchedule.js
src/api/serviceSchedule.js
+6
-0
newScheduling.vue
src/views/IM/diagnosis-admin/modal/newScheduling.vue
+23
-12
未找到文件。
src/api/serviceSchedule.js
浏览文件 @
e997ee9f
...
@@ -52,3 +52,9 @@ export const saveDutyRoster = async (data) => {
...
@@ -52,3 +52,9 @@ export const saveDutyRoster = async (data) => {
method
:
'post'
,
method
:
'post'
,
});
});
};
};
export
const
getDoctorInfo
=
async
(
data
)
=>
{
return
request
({
url
:
`/diagnose/doctor/work/selectById/
${
data
.
id
}
`
,
method
:
'post'
,
});
};
src/views/IM/diagnosis-admin/modal/newScheduling.vue
浏览文件 @
e997ee9f
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
:class=
"
{ active: index == currentIndex }"
:class=
"
{ active: index == currentIndex }"
@click="handlePriority(index)"
@click="handlePriority(index)"
>
>
{{
item
.
value
}}
{{
item
}}
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -89,7 +89,12 @@
...
@@ -89,7 +89,12 @@
import
dayGridPlugin
from
'@fullcalendar/daygrid'
;
import
dayGridPlugin
from
'@fullcalendar/daygrid'
;
import
timeGridPlugin
from
'@fullcalendar/timegrid'
;
import
timeGridPlugin
from
'@fullcalendar/timegrid'
;
import
interactionPlugin
from
'@fullcalendar/interaction'
;
import
interactionPlugin
from
'@fullcalendar/interaction'
;
import
{
dutyRosterQuery
,
saveDutyRoster
}
from
'@/api/serviceSchedule'
;
import
{
dutyRosterQuery
,
saveDutyRoster
,
getLevel
,
getDoctorInfo
,
}
from
'@/api/serviceSchedule'
;
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
components
:
{
components
:
{
...
@@ -102,19 +107,11 @@
...
@@ -102,19 +107,11 @@
return
{};
return
{};
},
},
},
},
schedulingType
:
{
type
:
String
,
default
:
''
,
// 1 新增 2 编辑 3 查看
},
createList
:
{
type
:
Array
,
default
:
()
=>
{
return
[];
},
},
},
},
data
()
{
data
()
{
return
{
return
{
schedulingType
:
1
,
// 1 新增 2 编辑 3 查看
createList
:
[],
listDate
:
[],
listDate
:
[],
week
:
1
,
// 1:当前周 2:上一周 3:下一周
week
:
1
,
// 1:当前周 2:上一周 3:下一周
currentIndex
:
2
,
currentIndex
:
2
,
...
@@ -198,6 +195,20 @@
...
@@ -198,6 +195,20 @@
}
}
},
},
},
},
created
()
{
this
.
schedulingType
=
this
.
$route
.
query
.
doctorId
||
1
;
const
id
=
this
.
$route
.
query
.
id
||
'77'
;
getDoctorInfo
({
id
:
id
}).
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
console
.
log
(
res
);
}
});
getLevel
().
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
this
.
createList
=
res
.
data
;
}
});
},
mounted
()
{
mounted
()
{
this
.
scrollerHeight
=
this
.
$refs
.
agment
.
clientHeight
+
'px'
;
this
.
scrollerHeight
=
this
.
$refs
.
agment
.
clientHeight
+
'px'
;
// console.log(this.$refs.agment.clientHeight, 'this.$refs.agment.offsetHeight;');
// console.log(this.$refs.agment.clientHeight, 'this.$refs.agment.offsetHeight;');
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录