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
提交
b1cd7177
提交
b1cd7177
编写于
11月 14, 2021
作者:
qian.jie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
外呼设置
上级
e915e012
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
17 行增加
和
4 行删除
+17
-4
diagnosis-doctor.vue
src/components/common/diagnosis-doctor.vue
+2
-2
diagnosis-time.vue
src/components/common/diagnosis-time.vue
+15
-2
未找到文件。
src/components/common/diagnosis-doctor.vue
浏览文件 @
b1cd7177
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
v-model=
"chooseTime"
v-model=
"chooseTime"
type=
"date"
type=
"date"
:clearable=
"false"
:clearable=
"false"
placeholder=
"选择日期"
:disabled=
"formData.receptionName == ''"
placeholder=
"日期-请先选择医生"
@
change=
"getNowDate"
@
change=
"getNowDate"
/>
/>
</div>
</div>
...
@@ -380,7 +381,6 @@
...
@@ -380,7 +381,6 @@
},
},
methods
:
{
methods
:
{
getChooseTimeValue
(
value
,
index
)
{
getChooseTimeValue
(
value
,
index
)
{
console
.
log
(
value
,
index
);
this
.
chooseTimeIndex
=
index
;
this
.
chooseTimeIndex
=
index
;
this
.
startTime
=
value
.
startDate
;
this
.
startTime
=
value
.
startDate
;
this
.
endTime
=
value
.
endDate
;
this
.
endTime
=
value
.
endDate
;
...
...
src/components/common/diagnosis-time.vue
浏览文件 @
b1cd7177
...
@@ -136,6 +136,8 @@
...
@@ -136,6 +136,8 @@
assistantRemark
:
''
,
assistantRemark
:
''
,
},
},
rangeTime
:
''
,
rangeTime
:
''
,
startDate
:
''
,
endDate
:
''
,
chooseTime
:
dayjs
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
chooseTime
:
dayjs
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
timeChoosetList
:
[],
timeChoosetList
:
[],
chooseTimeIndex
:
1000
,
chooseTimeIndex
:
1000
,
...
@@ -198,18 +200,29 @@
...
@@ -198,18 +200,29 @@
this
.
getLeisureTime
(
this
.
chooseTime
);
this
.
getLeisureTime
(
this
.
chooseTime
);
},
},
getChooseTimeValue
(
value
,
index
)
{
getChooseTimeValue
(
value
,
index
)
{
console
.
log
(
value
,
index
);
this
.
startDate
=
value
.
startDate
;
this
.
endDate
=
value
.
endDate
;
if
(
value
.
isFull
==
2
)
{
if
(
value
.
isFull
==
2
)
{
return
;
return
;
}
}
this
.
chooseTimeIndex
=
index
;
this
.
chooseTimeIndex
=
index
;
},
},
confirm
()
{
confirm
()
{
if
(
this
.
startDate
==
''
)
{
this
.
$message
({
message
:
'请选择排班时间'
,
type
:
'warning'
,
duration
:
1000
,
});
return
false
;
}
vm
.
isClick
=
true
;
vm
.
isClick
=
true
;
const
req
=
{
const
req
=
{
id
:
this
.
diagnoseLogId
,
id
:
this
.
diagnoseLogId
,
bizType
:
this
.
bizType
,
bizType
:
this
.
bizType
,
assistantBeginTime
:
this
.
rangeTime
[
0
]
,
assistantBeginTime
:
this
.
startDate
,
assistantEndTime
:
this
.
rangeTime
[
1
]
,
assistantEndTime
:
this
.
endDate
,
assistantRemark
:
this
.
model
.
assistantRemark
,
assistantRemark
:
this
.
model
.
assistantRemark
,
};
};
updateDiagnosis
(
req
)
updateDiagnosis
(
req
)
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录