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
提交
d69873ed
提交
d69873ed
编写于
2月 21, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
29525f23
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
21 行增加
和
4 行删除
+21
-4
index.vue
src/views/appointDetails/index.vue
+2
-1
index.vue
src/views/home/index.vue
+19
-3
未找到文件。
src/views/appointDetails/index.vue
浏览文件 @
d69873ed
...
...
@@ -262,7 +262,8 @@ export default {
path
:
'/insuranceBindCode'
,
query
:
{
pprotocolType
,
detectionRecordId
:
detectionServiceRecordId
,
detectionRecordId
:
detectionServiceRecordId
,
yunOrderNo
:
this
.
yunOrderNo
}
});
},
...
...
src/views/home/index.vue
浏览文件 @
d69873ed
...
...
@@ -3,7 +3,8 @@
</
template
>
<
script
>
import
{
getJumpPageStatus
}
from
'@/api/question'
;
import
{
getJumpPageStatus
}
from
'@/api/question'
;
import
{
getDetectionName
}
from
'@/api/appoint'
;
export
default
{
data
()
{
return
{
...
...
@@ -16,10 +17,24 @@ export default {
'0201'
:
'/appoint'
,
'0301'
:
'/appoint-details'
,
'0302'
:
'/insuranceBindCode'
,
}
},
dectionData
:{}
};
},
methods
:
{
// 目前是配置一个检测信息,可能会拓展,所以返回的是一个list
getDetectionName
(
yunOrderNo
)
{
getDetectionName
(
yunOrderNo
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
&&
res
.
data
)
{
const
dectionData
=
res
.
data
[
0
]
||
{};
console
.
log
(
'getDetectionName'
,
dectionData
);
this
.
dectionData
=
dectionData
;
this
.
dectionForm
.
detectName
=
dectionData
.
detectionName
;
this
.
dectionForm
.
goodsId
=
dectionData
.
goodsId
;
this
.
$store
.
dispatch
(
'home/setInsuranceInfo'
,
dectionData
);
}
});
},
// 获取跳转状态
getJumpPageStatus
()
{
getJumpPageStatus
(
this
.
orderNo
,
this
.
projectEquityNo
).
then
(
res
=>
{
...
...
@@ -27,6 +42,7 @@ export default {
this
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
query
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
status
=
res
.
data
.
status
;
this
.
getDetectionName
(
this
.
yunOrderNo
);
switch
(
res
.
data
.
status
)
{
case
'0001'
:
this
.
turnToPage
(
this
.
routerMap
[
this
.
status
],
this
.
query
);
...
...
@@ -50,7 +66,7 @@ export default {
case
'0301'
:
this
.
turnToPage
(
this
.
routerMap
[
this
.
status
],
this
.
query
);
break
;
case
'0302'
:
case
'0302'
:
this
.
turnToPage
(
this
.
routerMap
[
this
.
status
],
this
.
query
);
break
;
default
:
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录