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
提交
bf493b2f
提交
bf493b2f
编写于
3月 01, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop2' into 'release'
auto commit See merge request
!134
上级
4ae9a313
33d481a7
变更
9
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
736 行增加
和
322 行删除
+736
-322
gitPush.sh
gitPush.sh
+1
-1
index.vue
src/components/selectTime/index.vue
+12
-1
index.vue
src/views/appoint/index.vue
+34
-5
index.vue
src/views/appointDetails/index.vue
+350
-82
index.vue
src/views/geoNavigation/index.vue
+10
-71
insurance-bind-code.vue
src/views/insurance-bind-code/insurance-bind-code.vue
+46
-4
index.scss
src/views/insurance-bindCode-success/index.scss
+24
-9
insurance-bindCode-success.vue
...insurance-bindCode-success/insurance-bindCode-success.vue
+31
-27
insuranceQuestionResult.vue
...ews/insurance-question-result/insuranceQuestionResult.vue
+228
-122
未找到文件。
gitPush.sh
浏览文件 @
bf493b2f
...
@@ -7,7 +7,7 @@ if [ ! $hasGit ];then
...
@@ -7,7 +7,7 @@ if [ ! $hasGit ];then
else
else
git fetch
--all
git fetch
--all
result
=
`
git symbolic-ref
--short
-q
HEAD
`
# 获取分支名
result
=
`
git symbolic-ref
--short
-q
HEAD
`
# 获取分支名
current_id
=
`
git log
-n
1 origin/
develop
--pretty
=
format:
"%H"
`
current_id
=
`
git log
-n
1 origin/
release
--pretty
=
format:
"%H"
`
git reset
--soft
$current_id
git reset
--soft
$current_id
git add
.
git add
.
git commit
-m
"
$msg
"
git commit
-m
"
$msg
"
...
...
src/components/selectTime/index.vue
浏览文件 @
bf493b2f
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
:key=
"item"
:key=
"item"
class=
"text"
class=
"text"
:class=
"selectTimes === item.appointmentDate ?'selected':''"
:class=
"selectTimes === item.appointmentDate ?'selected':''"
:style=
"item.amAppointmentFlag && item.pmAppointmentFlag?'color:#999999':''"
@
click=
"selectTime(item.appointmentDate,item)"
@
click=
"selectTime(item.appointmentDate,item)"
>
>
{{
item
.
appointmentDate
}}
{{
item
.
appointmentDate
}}
...
@@ -29,6 +30,7 @@
...
@@ -29,6 +30,7 @@
v-show=
"currentItem.amTimeBegin !='' && currentItem.amTimeEnd !=''"
v-show=
"currentItem.amTimeBegin !='' && currentItem.amTimeEnd !=''"
class=
"text"
class=
"text"
:class=
"selectTimeBucket === currentItem.amTimeBegin ?'selected':''"
:class=
"selectTimeBucket === currentItem.amTimeBegin ?'selected':''"
:style=
"currentItem.amAppointmentFlag?'':'color:#212121'"
@
click=
"selectTimeB('am')"
@
click=
"selectTimeB('am')"
>
>
{{
currentItem
.
amTimeContent
}}
{{
currentItem
.
amTimeContent
}}
...
@@ -37,6 +39,7 @@
...
@@ -37,6 +39,7 @@
v-if=
"currentItem.pmTimeBegin !='' && currentItem.pmTimeEnd!=''"
v-if=
"currentItem.pmTimeBegin !='' && currentItem.pmTimeEnd!=''"
class=
"text"
class=
"text"
:class=
"selectTimeBucket === currentItem.pmTimeBegin ?'selected':''"
:class=
"selectTimeBucket === currentItem.pmTimeBegin ?'selected':''"
:style=
"currentItem.pmAppointmentFlag?'':'color:#212121'"
@
click=
"selectTimeB('pm')"
@
click=
"selectTimeB('pm')"
>
>
{{
currentItem
.
pmTimeContent
}}
{{
currentItem
.
pmTimeContent
}}
...
@@ -117,6 +120,7 @@ export default {
...
@@ -117,6 +120,7 @@ export default {
});
});
},
},
selectItem
()
{
selectItem
()
{
if
(
this
.
selectTimes
===
''
)
{
if
(
this
.
selectTimes
===
''
)
{
// this.$toast('请选择日期');
// this.$toast('请选择日期');
return
;
return
;
...
@@ -155,6 +159,9 @@ export default {
...
@@ -155,6 +159,9 @@ export default {
return
num
>
9
?
num
+
''
:
'0'
+
num
;
return
num
>
9
?
num
+
''
:
'0'
+
num
;
},
},
selectTime
(
selectTimes
,
item
)
{
selectTime
(
selectTimes
,
item
)
{
if
(
item
.
amAppointmentFlag
&&
item
.
pmAppointmentFlag
)
{
return
;
}
console
.
log
(
item
);
console
.
log
(
item
);
this
.
selectTimes
=
selectTimes
;
this
.
selectTimes
=
selectTimes
;
this
.
currentItem
=
item
;
this
.
currentItem
=
item
;
...
@@ -228,11 +235,15 @@ export default {
...
@@ -228,11 +235,15 @@ export default {
font-size
:
16px
;
font-size
:
16px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#
666666
;
color
:
#
999999
;
line-height
:
41px
;
line-height
:
41px
;
}
}
}
}
}
}
.canselect
{
color
:
#02120F
;
}
.selected
{
.selected
{
color
:
#00BDA5
!
important
;
color
:
#00BDA5
!
important
;
background
:
#FFFFFF
background
:
#FFFFFF
...
...
src/views/appoint/index.vue
浏览文件 @
bf493b2f
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
:header-info=
"headerInfo"
:header-info=
"headerInfo"
/>
/>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<div
class=
"title-1"
>
<
!--
<
div
class=
"title-1"
>
检测预约
检测预约
</div>
</div>
<div
class=
"title-2"
>
<div
class=
"title-2"
>
及时接受检测结果检测报告
及时接受检测结果检测报告
</div>
</div>
-->
<div
class=
"choose-section"
>
<div
class=
"choose-section"
>
<van-form
<van-form
ref=
"dectionForm"
ref=
"dectionForm"
...
@@ -173,6 +173,12 @@
...
@@ -173,6 +173,12 @@
>
>
提交
提交
</van-button>
</van-button>
<div
class=
"appoint-tel"
>
客服电话:
<a
style=
"font-weight:550"
href=
"tel:400-006-5252"
>
400-006-5252
</a>
</div>
</div>
</div>
<SelectHospital
<SelectHospital
:external-data=
"externalData"
:external-data=
"externalData"
...
@@ -561,6 +567,7 @@ export default {
...
@@ -561,6 +567,7 @@ export default {
overflow
:
auto
;
overflow
:
auto
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#ffffff
;
color
:
#ffffff
;
background
:
#F3FCFF
;
.bg-img
{
.bg-img
{
width
:
100%
;
width
:
100%
;
...
@@ -572,9 +579,6 @@ export default {
...
@@ -572,9 +579,6 @@ export default {
.wrap
{
.wrap
{
padding
:
0
12px
;
padding
:
0
12px
;
overflow
:
auto
;
overflow
:
auto
;
background
:
url('https://files.yunqueyi.com/image/png/common/20221213160647748.png')
no-repeat
top
left
;
background-size
:
100%
281px
;
}
}
.title-1
{
.title-1
{
font-size
:
20px
;
font-size
:
20px
;
...
@@ -648,11 +652,25 @@ export default {
...
@@ -648,11 +652,25 @@ export default {
}
}
}
}
.appoint-form-items
{
.appoint-form-items
{
font-weight
:
550px
;
/
deep
/
.van-field__label
{
/
deep
/
.van-field__label
{
color
:
#999999
;
color
:
#999999
;
}
}
/
deep
/
.van-field__control
{
font-weight
:
550
;
}
/
deep
/ .
van-field__control
:
:
placeholder
{
font-weight
:
450
;
}
.appoint-form-placeholder
{
font-weight
:
450
;
}
}
}
.appoint-form-value
{
font-weight
:
550
;
}
.appoint-form-placeholder
{
.appoint-form-placeholder
{
color
:
#999999
;
color
:
#999999
;
}
}
...
@@ -793,6 +811,7 @@ export default {
...
@@ -793,6 +811,7 @@ export default {
.appoint-form-submit
{
.appoint-form-submit
{
margin-top
:
30px
;
margin-top
:
30px
;
height
:
40px
;
height
:
40px
;
font-weight
:
550
;
background
:
#D9D9D9
;
background
:
#D9D9D9
;
border-radius
:
20px
;
border-radius
:
20px
;
border
:
1px
solid
#D9D9D9
;
border
:
1px
solid
#D9D9D9
;
...
@@ -800,6 +819,16 @@ export default {
...
@@ -800,6 +819,16 @@ export default {
.appoint-form-submit-active
{
.appoint-form-submit-active
{
background
:
#00BDA5
;
background
:
#00BDA5
;
}
}
.appoint-tel
{
margin-top
:
25px
;
height
:
22px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
22px
;
text-align
:
center
;
}
}
}
::v-deep
{
::v-deep
{
.address-wrap
{
.address-wrap
{
...
...
src/views/appointDetails/index.vue
浏览文件 @
bf493b2f
此差异已折叠。
点击以展开。
src/views/geoNavigation/index.vue
浏览文件 @
bf493b2f
<
template
>
<
template
>
<div>
<van-uploader
<div
v-model=
"fileList"
id=
"navigation"
capture=
"user"
@
click=
"openGeoApp"
accept=
"image/*"
/>
/>
<van-button
type=
"primary"
block
class=
"navigation-button"
@
click=
"openGeoApp"
>
块级元素
</van-button>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
AMapLoader
from
'@amap/amap-jsapi-loader'
;
export
default
{
export
default
{
mounted
()
{
data
()
{
this
.
initMap
();
return
{
window
.
location
.
href
=
'amapuri://route'
;
fileList
:[]
},
};
methods
:
{
data
()
{
return
{
geoNavigation
:
null
};
},
initMap
()
{
var
that
=
this
;
AMapLoader
.
load
({
key
:
'd22c1f112c97cb93b8d343b18420b98d'
,
// 申请好的Web端开发者Key,首次调用 load 时必填
version
:
'2.0'
,
// 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
plugins
:[
''
],
// 需要使用的的插件列表,如比例尺'AMap.Scale'等
}).
then
((
AMap
)
=>
{
var
map
=
new
AMap
.
Map
(
'navigation'
,
{
resizeEnable
:
true
});
AMap
.
plugin
(
'AMap.Driving'
,
function
()
{
that
.
geoNavigation
=
new
AMap
.
Driving
({
// 驾车路线规划策略,AMap.DrivingPolicy.LEAST_TIME是最快捷模式
policy
:
AMap
.
DrivingPolicy
.
LEAST_TIME
,
map
:
map
});
var
startLngLat
=
[
116.379028
,
39.865042
];
var
endLngLat
=
[
116.427281
,
39.903719
];
that
.
geoNavigation
.
search
(
startLngLat
,
endLngLat
,
function
(
status
,
result
)
{
// 未出错时,result即是对应的路线规划方案
console
.
log
(
status
,
result
);
});
});
// geolocation.getCurrentPosition((status, result) => {
// console.log('geolocation,', status, result);
// });
});
},
openGeoApp
()
{
var
target
=
document
.
querySelector
(
'#navigation'
).
parentElement
.
previousElementSibling
.
previousElementSibling
.
innerHTML
;
console
.
log
(
target
);
window
.
location
.
href
=
`iosamap://plan
${
target
}
`
;
}
}
}
};
};
</
script
>
</
script
>
<
style
>
<
style
>
#navigation
{
width
:
100vw
;
height
:
100vh
;
}
.navigation-button
{
position
:
fixed
;
bottom
:
0
;
z-index
:
99
;
}
</
style
>
</
style
>
src/views/insurance-bind-code/insurance-bind-code.vue
浏览文件 @
bf493b2f
<
template
>
<
template
>
<div
class=
"insurance-binding-code-container"
:class=
"picaWechat == 'wechat' && 'mt20'"
>
<div
class=
"insurance-binding-code-container"
:class=
"picaWechat == 'wechat' && 'mt20'"
>
<page-model
<page-model
v-if=
"picaWechat != 'wechat'"
v-if=
"picaWechat != 'wechat'"
ref=
"PageModel"
ref=
"PageModel"
...
@@ -106,6 +109,20 @@
...
@@ -106,6 +109,20 @@
提交
提交
</div>
</div>
</div>
</div>
<div
class=
"tel-wrap"
>
<div
class=
"l-left"
>
客服电话:
</div>
<div
class=
"l-right"
>
<!--
<img-->
<!-- class="l-right-img"-->
<!-- src="https://files.yunqueyi.com/image/png/common/20230207134347503.png"-->
<!-- />-->
<a
href=
"tel:400-006-5252"
>
400-006-5252
</a>
</div>
</div>
<van-popup
<van-popup
v-model=
"showProtocol"
v-model=
"showProtocol"
position=
"bottom"
position=
"bottom"
...
@@ -398,6 +415,7 @@ export default {
...
@@ -398,6 +415,7 @@ export default {
}
}
});
});
},
},
callPhone
()
{}
}
}
};
};
...
@@ -608,7 +626,8 @@ export default {
...
@@ -608,7 +626,8 @@ export default {
line-height
:
30px
;
line-height
:
30px
;
text-align
:
center
;
text-align
:
center
;
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
bold
;
color
:
#212121
;
font-weight
:
600
;
}
}
.protocol-text
{
.protocol-text
{
height
:
400
PX
;
height
:
400
PX
;
...
@@ -629,10 +648,11 @@ export default {
...
@@ -629,10 +648,11 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
font-weight
:
5
00
;
font-weight
:
6
00
;
margin
:
0
auto
;
margin
:
0
auto
;
position
:
absolute
;
position
:
absolute
;
bottom
:
10px
;
bottom
:
10px
;
font-size
:
16px
;
left
:
calc
(
50%
-
150px
);
left
:
calc
(
50%
-
150px
);
}
}
}
}
...
@@ -672,7 +692,7 @@ export default {
...
@@ -672,7 +692,7 @@ export default {
flex
:
1
;
flex
:
1
;
height
:
50px
;
height
:
50px
;
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
5
00
;
font-weight
:
6
00
;
line-height
:
50px
;
line-height
:
50px
;
letter-spacing
:
3px
;
letter-spacing
:
3px
;
color
:
#00BDA5
;
color
:
#00BDA5
;
...
@@ -723,6 +743,28 @@ export default {
...
@@ -723,6 +743,28 @@ export default {
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
}
}
.tel-wrap
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
width
:
100%
;
text-align
:
center
;
margin-top
:
200px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
.l-right
{
color
:
#00BDA5
;
display
:
flex
;
align-items
:
center
;
}
.l-right-img
{
width
:
12px
;
height
:
12px
;
position
:
relative
;
//top: 1px;
}
}
}
}
.mt20
{
padding-top
:
20px
}
.mt20
{
padding-top
:
20px
}
</
style
>
</
style
>
...
...
src/views/insurance-bindCode-success/index.scss
浏览文件 @
bf493b2f
...
@@ -13,13 +13,14 @@
...
@@ -13,13 +13,14 @@
z-index
:
1
;
z-index
:
1
;
.status
{
.status
{
padding
:
16px
0
;
padding
:
16px
0
;
display
:
flex
;
align-items
:
center
;
img
{
img
{
width
:
27px
;
width
:
57px
;
height
:
66px
;
margin
:
0
auto
;
}
}
div
{
.text
{
padding-left
:
9px
;
text-align
:
center
;
margin
:
0
auto
;
width
:
120px
;
width
:
120px
;
height
:
20px
;
height
:
20px
;
font-size
:
20px
;
font-size
:
20px
;
...
@@ -30,14 +31,16 @@
...
@@ -30,14 +31,16 @@
}
}
.content
{
.content
{
height
:
auto
;
height
:
auto
;
position
:
relative
;
top
:
20px
;
box-shadow
:
0px
15px
10px
0px
rgba
(
229
,
248
,
245
,
0
.4
);
border-radius
:
20px
;
.info
{
.info
{
width
:
100%
;
width
:
100%
;
height
:
auto
;
height
:
auto
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
10px
;
border-radius
:
10px
;
margin-bottom
:
10px
;
padding-bottom
:
20px
;
padding-top
:
20px
;
padding-bottom
:
40px
;
.success-title
{
.success-title
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
700
;
font-weight
:
700
;
...
@@ -70,7 +73,7 @@
...
@@ -70,7 +73,7 @@
width
:
auto
;
width
:
auto
;
height
:
auto
;
height
:
auto
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
5
00
;
font-weight
:
6
00
;
color
:
#212121
;
color
:
#212121
;
flex
:
1
;
flex
:
1
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -151,6 +154,18 @@
...
@@ -151,6 +154,18 @@
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
.wechat-wrap
{
position
:
absolute
;
bottom
:
50px
;
left
:
calc
(
50%
-
175px
);
margin
:
0
auto
;
width
:
350px
;
height
:
80px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
}
}
src/views/insurance-bindCode-success/insurance-bindCode-success.vue
浏览文件 @
bf493b2f
...
@@ -8,17 +8,28 @@
...
@@ -8,17 +8,28 @@
<div
class=
"detail-box"
>
<div
class=
"detail-box"
>
<div
class=
"status"
>
<div
class=
"status"
>
<img
<img
src=
"https://files.yunqueyi.com/image/png/common/202
20816135250298
.png"
src=
"https://files.yunqueyi.com/image/png/common/202
30301101427839
.png"
alt=
"success"
alt=
"success"
>
>
<div>
提交成功
</div>
<div
class=
"text"
>
提交成功
</div>
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"info"
>
<div
class=
"info"
>
<!--
<div
class=
"success-title"
>
-->
<!-- 请将以下信息展示给采样医生-->
<!--
</div>
-->
<div
class=
"blue-wrap"
>
<div
class=
"blue-wrap"
>
<div
class=
"list"
>
<div
class=
"l-left"
>
条形码:
</div>
<div
class=
"l-right"
>
{{
dataDetail
.
sampleCode
||
'--'
}}
<div
class=
"l-copy"
@
click=
"copyText(dataDetail.sampleCode)"
>
复制
</div>
</div>
</div>
<div
class=
"list"
>
<div
class=
"list"
>
<p
class=
"l-left"
>
<p
class=
"l-left"
>
受检人:
受检人:
...
@@ -39,28 +50,15 @@
...
@@ -39,28 +50,15 @@
{{
dataDetail
.
checkName
||
'--'
}}
{{
dataDetail
.
checkName
||
'--'
}}
</p>
</p>
</div>
</div>
<div
class=
"list"
>
<!--
<div
class=
"list"
>
-->
<p
class=
"l-left"
>
<!--
<p
class=
"l-left"
>
-->
检测编号:
<!-- 检测编号:-->
</p>
<!--
</p>
-->
<p
class=
"l-right"
>
<!--
<p
class=
"l-right"
>
-->
{{
dataDetail
.
recordNo
||
'--'
}}
<!--
{{
dataDetail
.
recordNo
||
'--'
}}
-->
</p>
<!--
</p>
-->
</div>
<!--
</div>
-->
<div
class=
"list"
>
<div
class=
"l-left"
>
条形码:
</div>
<div
class=
"l-right"
>
{{
dataDetail
.
sampleCode
||
'--'
}}
<div
class=
"l-copy"
@
click=
"copyText(dataDetail.sampleCode)"
>
复制
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -76,6 +74,9 @@
...
@@ -76,6 +74,9 @@
查看我的检测
查看我的检测
</div>
</div>
</div>
</div>
<div
class=
"wechat-wrap"
@
click=
"towechat"
>
<img
src=
"https://files.yunqueyi.com/image/gif/common/20230301171528895.gif"
alt=
""
>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -141,6 +142,9 @@ export default {
...
@@ -141,6 +142,9 @@ export default {
document
.
body
.
removeChild
(
input
);
document
.
body
.
removeChild
(
input
);
this
.
$toast
(
'已复制'
);
this
.
$toast
(
'已复制'
);
},
},
towechat
()
{
window
.
location
.
href
=
'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIyOTY2MTI0MQ==#wechat_redirect'
;
}
},
},
};
};
</
script
>
</
script
>
...
...
src/views/insurance-question-result/insuranceQuestionResult.vue
浏览文件 @
bf493b2f
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录