Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-insurance
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.frontend
pica-insurance
提交
9b524add
提交
9b524add
编写于
3月 15, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
quick detect
上级
d01f6cc1
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
22 行增加
和
20 行删除
+22
-20
package.json
package.json
+1
-1
index.vue
src/components/selectTime/index.vue
+6
-9
index.vue
src/views/appoint/index.vue
+8
-9
index.vue
src/views/appointDetails/index.vue
+7
-1
未找到文件。
package.json
浏览文件 @
9b524add
...
...
@@ -24,7 +24,7 @@
"
@amap/amap-jsapi-loader
"
:
"
^1.0.1
"
,
"
axios
"
:
"
^0.19.2
"
,
"
core-js
"
:
"
^3.6.5
"
,
"
dayjs
"
:
"
^1.
8.30
"
,
"
dayjs
"
:
"
^1.
11.7
"
,
"
dingtalk-jsapi
"
:
"
^3.0.12
"
,
"
dsbridge
"
:
"
^3.1.4
"
,
"
lodash
"
:
"
^4.17.15
"
,
...
...
src/components/selectTime/index.vue
浏览文件 @
9b524add
...
...
@@ -83,7 +83,8 @@ export default {
am
:
'上午'
,
pm
:
'下午'
,
},
currentItem
:
''
currentItem
:
''
,
currentItemChoosed
:{}
};
},
watch
:
{
...
...
@@ -106,30 +107,24 @@ export default {
}
},
mounted
()
{
// this.getTimes();d
},
methods
:
{
// 获取机构列表
getScheduling
()
{
const
{
projectEquityNo
,
hospitalId
}
=
this
;
getScheduling
({
projectEquityNo
,
hospitalId
}).
then
(
res
=>
{
console
.
log
(
res
);
this
.
timsArray
=
res
.
data
;
// this.selectTimes = res.data[0].appointmentDate;
// this.currentItem = res.data[0];
});
},
selectItem
()
{
if
(
this
.
selectTimes
===
''
)
{
// this.$toast('请选择日期');
return
;
}
if
(
this
.
selectTimeBucket
===
''
)
{
// this.$toast('请选择时间段');
return
;
}
this
.
$emit
(
'change'
,
this
.
selectTimes
+
' '
+
this
.
selectTimeBucket
);
this
.
$emit
(
'change'
,
{
value
:
(
this
.
selectTimes
+
' '
+
this
.
selectTimeBucket
),
currentItemChoosed
:
this
.
currentItemChoosed
});
},
cancel
()
{
this
.
finished
=
false
;
...
...
@@ -171,6 +166,8 @@ export default {
return
;
}
this
.
selectTimeBucket
=
item
===
'am'
?
this
.
currentItem
[
'amTimeBegin'
]
:
this
.
currentItem
[
'pmTimeBegin'
];
this
.
currentItemChoosed
=
{...
this
.
currentItem
,
timeBucket
:
item
};
console
.
log
(
'-selectTimeB'
,
this
.
currentItem
,
this
.
currentItemChoosed
);
this
.
selectItem
();
}
}
...
...
src/views/appoint/index.vue
浏览文件 @
9b524add
...
...
@@ -149,18 +149,12 @@
v-else
class=
"appoint-form-value"
>
{{
dectionForm
.
appointmentTime
}}
{{
appointmentTimeShadow
}}
</div>
</
template
>
</van-field>
</van-form>
</div>
<!-- <van-button
@click="submit"
>
提交1
</van-button> -->
<van-button
round
block
...
...
@@ -215,6 +209,7 @@ import SelectTime from '@/components/selectTime/index.vue';
import
PickArea
from
'@/components/pickArea/index.vue'
;
import
{
getJumpPageStatus
,
getButtonStatus
}
from
'@/api/question'
;
import
storejs
from
'storejs'
;
import
dayjs
from
'dayjs'
;
import
AMapLoader
from
'@amap/amap-jsapi-loader'
;
export
default
{
components
:
{
...
...
@@ -286,6 +281,7 @@ export default {
stock
:
false
,
buttonStatus
:
false
,
buttonText
:
''
,
appointmentTimeShadow
:
''
,
};
},
computed
:
{
...
...
@@ -303,7 +299,6 @@ export default {
this
.
buttonStatus
);
},
},
mounted
()
{
this
.
$loading
.
show
();
...
...
@@ -432,8 +427,12 @@ export default {
},
selectTimes
(
times
)
{
console
.
log
(
times
);
this
.
dectionForm
.
appointmentTime
=
times
;
const
{
value
,
currentItemChoosed
}
=
times
;
this
.
dectionForm
.
appointmentTime
=
value
;
this
.
closePopup
(
'showSelectTime'
);
// appointmentTimeShadow
const
m
=
(
Number
(
dayjs
(
currentItemChoosed
.
appointmentDate
).
month
())
+
1
)
+
'月'
+
(
Number
(
dayjs
(
currentItemChoosed
.
appointmentDate
).
date
()))
+
'日'
;
this
.
appointmentTimeShadow
=
m
+
' '
+
currentItemChoosed
[
currentItemChoosed
.
timeBucket
+
'TimeContent'
];
},
getTimes
()
{
this
.
timsArray
=
[];
...
...
src/views/appointDetails/index.vue
浏览文件 @
9b524add
...
...
@@ -24,9 +24,12 @@
<div
class=
"detection-title"
>
您的
{{
isUnderLine
?
'领取'
:
'检测'
}}
时间
</div>
<div
class=
"detection-time"
>
<div
class=
"detection-time
mb5
"
>
{{
detailInfo
.
appointmentTimeStr
}}
</div>
<div
class=
"detection-time"
>
{{
detailInfo
.
appointmentTimeStr2
}}
</div>
<div
class=
"detail-top-info"
>
<div
class=
"detail-top-address"
>
<div
class=
"detail-top-address-name"
>
...
...
@@ -763,6 +766,9 @@ export default {
text-align
:
center
;
margin-bottom
:
15px
;
}
.mb5
{
margin-bottom
:
5px
;
}
}
.appoint-detail-tel
{
margin-top
:
25px
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录