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
提交
047153ae
提交
047153ae
编写于
8月 18, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
for-all
上级
6320d2c3
变更
2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
20 行增加
和
23 行删除
+20
-23
gitPush.sh
gitPush.sh
+1
-1
index.vue
src/views/appointDetails/index.vue
+19
-22
未找到文件。
gitPush.sh
浏览文件 @
047153ae
#!/bin/bash
#!/bin/bash
hasGit
=
`
which git
`
# 判断是否存在git
hasGit
=
`
which git
`
# 判断是否存在git
msg
=
${
1
:-
'auto commit'
}
# 获取终端输入的第一个参数,若为空则为auto commit
msg
=
${
1
:-
'auto commit'
}
# 获取终端输入的第一个参数,若为空则为auto commit
originBranch
=
'origin/
develop
'
originBranch
=
'origin/
release
'
if
[
!
$hasGit
]
;
then
if
[
!
$hasGit
]
;
then
echo
'Please download git first!'
;
echo
'Please download git first!'
;
exit
1
;
exit
1
;
...
...
src/views/appointDetails/index.vue
浏览文件 @
047153ae
...
@@ -186,17 +186,15 @@
...
@@ -186,17 +186,15 @@
}}
}}
<
/div
>
<
/div
>
<
div
<
div
v
-
if
=
"!canReappoint"
class
=
"detail-btn btn-empty reAppoint"
class
=
"detail-btn btn-empty reAppoint"
:
class
=
"{ 'detail-btn-all': bindFlag == 0
}
"
@
click
=
"reAppoint"
@
click
=
"reAppoint"
>
>
重新预约
重新预约
<
/div
>
<
/div
>
<
div
<
div
v
-
if
=
"bindFlag>0"
class
=
"detail-btn"
class
=
"detail-btn"
@
click
=
"bindingCode"
@
click
=
"bindingCode"
>
>
绑定
{{
绑定
{{
insuranceInfo
&&
insuranceInfo
.
detectionKind
==
0
insuranceInfo
&&
insuranceInfo
.
detectionKind
==
0
...
@@ -210,6 +208,7 @@
...
@@ -210,6 +208,7 @@
class
=
"detail-btn-bottom"
class
=
"detail-btn-bottom"
>
>
<
div
<
div
v
-
if
=
"!canReappoint"
class
=
"detail-btn"
class
=
"detail-btn"
@
click
=
"reAppoint"
@
click
=
"reAppoint"
>
>
...
@@ -265,7 +264,7 @@ export default {
...
@@ -265,7 +264,7 @@ export default {
verificationCode
:
''
,
verificationCode
:
''
,
intervalId
:
null
,
intervalId
:
null
,
status
:
''
,
status
:
''
,
bindFlag
:
1
,
// 是否显示绑定条形码的按钮
allowChangeTimes
:
0
}
;
}
;
}
,
}
,
computed
:
{
computed
:
{
...
@@ -276,6 +275,12 @@ export default {
...
@@ -276,6 +275,12 @@ export default {
this
.
detailInfo
.
hospitalRemarks
!==
''
this
.
detailInfo
.
hospitalRemarks
!==
''
);
);
}
,
}
,
canReappoint
()
{
return
(
this
.
detailInfo
.
allowChangeTimes
<=
0
&&
this
.
detailInfo
.
detectionKind
==
1
);
}
}
,
}
,
created
()
{
created
()
{
...
@@ -338,14 +343,14 @@ export default {
...
@@ -338,14 +343,14 @@ export default {
sampleCode
,
sampleCode
,
externalOrderNo
,
externalOrderNo
,
projectEquityNo
,
projectEquityNo
,
bindFlag
,
allowChangeTimes
,
}
=
res
.
data
;
}
=
res
.
data
;
this
.
detailInfo
=
res
.
data
;
this
.
detailInfo
=
res
.
data
;
this
.
expireFlag
=
expireFlag
||
''
;
this
.
expireFlag
=
expireFlag
||
''
;
this
.
isUnderLine
=
res
.
data
.
detectionCategory
==
2
;
this
.
isUnderLine
=
res
.
data
.
detectionCategory
==
2
;
this
.
qrcodeUrl
=
qrCodeUrl
;
this
.
qrcodeUrl
=
qrCodeUrl
;
this
.
verificationCode
=
verificationCode
;
this
.
verificationCode
=
verificationCode
;
this
.
bindFlag
=
bindFlag
;
// 是否展示绑定条形码功能
this
.
allowChangeTimes
=
allowChangeTimes
;
if
(
window
.
_miniprogram
)
{
if
(
window
.
_miniprogram
)
{
if
(
status
!=
'0202'
)
{
if
(
status
!=
'0202'
)
{
let
url
;
let
url
;
...
@@ -413,10 +418,14 @@ export default {
...
@@ -413,10 +418,14 @@ export default {
web_data
:
{
yunOrderNo
:
this
.
yunOrderNo
}
,
web_data
:
{
yunOrderNo
:
this
.
yunOrderNo
}
,
}
);
}
);
const
{
detectionKind
}
=
this
.
insuranceInfo
;
const
{
detectionKind
}
=
this
.
insuranceInfo
;
console
.
log
(
'detectionKind--'
,
detectionKind
);
if
(
window
.
_miniprogram
)
{
if
(
window
.
_miniprogram
)
{
const
u
=
detectionKind
==
1
?
'/pagesInsurance/sz-insurance/appoint'
:
'/pagesInsurance/sz-insurance/screeningAppoint'
;
if
(
this
.
canReappoint
)
{
return
false
;
}
this
.
clear
();
this
.
$rocNative
.
WXInstance
.
miniProgram
.
navigateTo
({
this
.
$rocNative
.
WXInstance
.
miniProgram
.
navigateTo
({
url
:
`
/pagesInsurance/sz-insurance/screeningAppoint?
yunOrderNo=${that.yunOrderNo
}
&projectEquityNo=${this.projectEquityNo
}
`
,
url
:
`
${u
}
?allowChangeFlagType=offline&
yunOrderNo=${that.yunOrderNo
}
&projectEquityNo=${this.projectEquityNo
}
`
,
}
);
}
);
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -534,6 +543,7 @@ export default {
...
@@ -534,6 +543,7 @@ export default {
}
);
}
);
if
(
window
.
_miniprogram
)
{
if
(
window
.
_miniprogram
)
{
const
{
detectionKind
}
=
this
.
insuranceInfo
;
const
{
detectionKind
}
=
this
.
insuranceInfo
;
this
.
clear
();
this
.
$rocNative
.
WXInstance
.
miniProgram
.
navigateTo
({
this
.
$rocNative
.
WXInstance
.
miniProgram
.
navigateTo
({
url
:
`/pages/health/binding-code/index?yunOrderNo=${this.yunOrderNo
}
&projectEquityNo=${this.projectEquityNo
}
&detectionRecordId=${detectionServiceRecordId
}
&pprotocolType=${pprotocolType
}
&channelSource=insurance_channel&detectionKind=${detectionKind
}
`
,
url
:
`/pages/health/binding-code/index?yunOrderNo=${this.yunOrderNo
}
&projectEquityNo=${this.projectEquityNo
}
&detectionRecordId=${detectionServiceRecordId
}
&pprotocolType=${pprotocolType
}
&channelSource=insurance_channel&detectionKind=${detectionKind
}
`
,
}
);
}
);
...
@@ -916,7 +926,6 @@ export default {
...
@@ -916,7 +926,6 @@ export default {
left
:
16
px
;
left
:
16
px
;
right
:
16
px
;
right
:
16
px
;
}
}
}
}
.
insurance
-
detection
{
.
insurance
-
detection
{
background
:
#
ffffff
;
background
:
#
ffffff
;
...
@@ -1002,17 +1011,5 @@ export default {
...
@@ -1002,17 +1011,5 @@ export default {
border
:
1
px
solid
#
c0c0c0
;
border
:
1
px
solid
#
c0c0c0
;
color
:
#
212121
;
color
:
#
212121
;
}
}
.
detail
-
btn
-
all
{
width
:
500
px
;
height
:
40
px
;
background
:
#
00
bda5
;
border
-
radius
:
25
px
;
margin
:
0
auto
;
font
-
size
:
16
px
;
font
-
weight
:
800
;
color
:
#
ffffff
;
text
-
align
:
center
;
line
-
height
:
40
px
;
}
}
}
<
/style
>
<
/style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录