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
提交
3144bb45
提交
3144bb45
编写于
2月 22, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/zjx' into 'develop'
Feature/zjx See merge request
!51
上级
f13bcb7d
aec1e160
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
25 行增加
和
10 行删除
+25
-10
index.vue
src/views/appointDetails/index.vue
+1
-1
index.vue
src/views/home/index.vue
+1
-1
insuranceQuestionResult.vue
...ews/insurance-question-result/insuranceQuestionResult.vue
+23
-8
未找到文件。
src/views/appointDetails/index.vue
浏览文件 @
3144bb45
...
@@ -278,7 +278,7 @@ export default {
...
@@ -278,7 +278,7 @@ export default {
console
.
log
(
'window.miniProgram'
,
window
.
_miniprogram
);
console
.
log
(
'window.miniProgram'
,
window
.
_miniprogram
);
if
(
window
.
_miniprogram
)
{
if
(
window
.
_miniprogram
)
{
this
.
$rocNative
.
WXInstance
.
miniProgram
.
navigateTo
({
this
.
$rocNative
.
WXInstance
.
miniProgram
.
navigateTo
({
url
:
`/pagesInsurance/binding-code/index?yunOrderNo=
${
this
.
yunOrderNo
}
&detectionRecordId=
${
detectionServiceRecordId
}
&pprotocolType=
${
pprotocolType
}
&channelSource=insurance_channel`
url
:
`/pagesInsurance/binding-code/index?yunOrderNo=
${
this
.
yunOrderNo
}
&
projectEquityNo=
${
this
.
projectEquityNo
}
&
detectionRecordId=
${
detectionServiceRecordId
}
&pprotocolType=
${
pprotocolType
}
&channelSource=insurance_channel`
});
});
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
src/views/home/index.vue
浏览文件 @
3144bb45
...
@@ -133,7 +133,7 @@ export default {
...
@@ -133,7 +133,7 @@ export default {
checkStatus
(
res
)
{
checkStatus
(
res
)
{
this
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
query
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
query
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
status
=
res
.
data
.
status
;
this
.
status
=
res
.
data
.
status
Code
;
this
.
getDetectionName
(
this
.
yunOrderNo
);
this
.
getDetectionName
(
this
.
yunOrderNo
);
switch
(
this
.
status
)
{
switch
(
this
.
status
)
{
...
...
src/views/insurance-question-result/insuranceQuestionResult.vue
浏览文件 @
3144bb45
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
建议您进行以下防癌筛查:
建议您进行以下防癌筛查:
</div>
</div>
<div
class=
"ad-fs"
>
<div
class=
"ad-fs"
>
{{
result
.
detect
Name
||
''
}}
{{
detection
Name
||
''
}}
</div>
</div>
</div>
</div>
<div
<div
...
@@ -63,7 +63,8 @@
...
@@ -63,7 +63,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getButtonStatus
}
from
'@/api/question'
;
import
{
getButtonStatus
}
from
'@/api/question'
;
import
{
getDetectionName
}
from
'@/api/appoint'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -76,7 +77,7 @@ export default {
...
@@ -76,7 +77,7 @@ export default {
background
:
''
,
background
:
''
,
},
},
needDetect
:
false
,
needDetect
:
false
,
result
:
{}
,
detectionName
:
''
,
detailInfo
:
{},
detailInfo
:
{},
isLoading
:
true
,
isLoading
:
true
,
projectEquityNo
:
''
,
projectEquityNo
:
''
,
...
@@ -90,11 +91,14 @@ export default {
...
@@ -90,11 +91,14 @@ export default {
},
},
mounted
()
{
mounted
()
{
console
.
log
(
11223
);
const
{
query
}
=
this
.
$route
;
const
{
query
}
=
this
.
$route
;
this
.
query
=
query
;
this
.
query
=
query
;
this
.
needDetect
=
query
.
needDetect
===
1
;
this
.
needDetect
=
!
(
query
.
needDetect
==
'1'
);
console
.
log
(
'query'
,
this
.
needDetect
);
this
.
getButtonStatus
(
query
.
yunOrderNo
);
this
.
getButtonStatus
(
query
.
yunOrderNo
);
this
.
getDetectionName
(
query
.
yunOrderNo
);
},
},
methods
:
{
methods
:
{
statusMap
(
status
)
{
statusMap
(
status
)
{
...
@@ -108,14 +112,24 @@ export default {
...
@@ -108,14 +112,24 @@ export default {
};
};
return
m
[
status
];
return
m
[
status
];
},
},
// 目前是配置一个检测信息,可能会拓展,所以返回的是一个list
getDetectionName
(
yunOrderNo
)
{
getDetectionName
(
yunOrderNo
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
&&
res
.
data
)
{
const
dectionData
=
res
.
data
[
0
]
||
{};
console
.
log
(
'dectionData.detectionName'
,
dectionData
.
detectionName
);
this
.
detectionName
=
dectionData
.
detectionName
;
this
.
$store
.
dispatch
(
'home/setInsuranceInfo'
,
dectionData
);
}
});
},
// 去预约
// 去预约
toAppoint
()
{
toAppoint
()
{
if
(
this
.
buttonStatus
)
{
if
(
this
.
buttonStatus
)
{
const
{
projectEquityNo
,
o
rderNo
,
yunOrderNo
}
=
this
.
query
;
const
{
projectEquityNo
,
externalO
rderNo
,
yunOrderNo
}
=
this
.
query
;
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/appoint'
,
path
:
'/appoint'
,
query
:
{
projectEquityNo
,
o
rderNo
,
yunOrderNo
},
query
:
{
projectEquityNo
,
externalO
rderNo
,
yunOrderNo
},
});
});
}
}
},
},
...
@@ -180,6 +194,7 @@ background: #fff;
...
@@ -180,6 +194,7 @@ background: #fff;
font-size
:
12px
;
font-size
:
12px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#999999
;
color
:
#999999
;
margin-bottom
:
6px
;
}
}
.ad-fs
{
.ad-fs
{
font-size
:
18px
;
font-size
:
18px
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录