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
提交
cd6cdabf
提交
cd6cdabf
编写于
2月 21, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update guide app
上级
0bbd196f
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
90 行增加
和
76 行删除
+90
-76
httpExtension.js
src/plugins/httpExtension.js
+2
-2
index.vue
src/views/appoint/index.vue
+1
-9
index.vue
src/views/home/index.vue
+10
-1
insurance-bind-code.vue
src/views/insurance-bind-code/insurance-bind-code.vue
+33
-25
insurance-bindCode-success.vue
...insurance-bindCode-success/insurance-bindCode-success.vue
+5
-4
insurance-detection-detail.vue
...insurance-detection-detail/insurance-detection-detail.vue
+39
-35
未找到文件。
src/plugins/httpExtension.js
浏览文件 @
cd6cdabf
import
$http
from
'mn-template/plugins/http'
;
import
$http
from
'mn-template/plugins/http'
;
import
{
Toast
}
from
'vant'
;
//
import { Toast } from 'vant';
// 设置axios默认属性
// 设置axios默认属性
$http
.
setDefaults
({
$http
.
setDefaults
({
headers
:
{}
headers
:
{}
...
@@ -19,7 +19,7 @@ $http.addBeforeHook(config => console.log('我是新增的前置钩子', config)
...
@@ -19,7 +19,7 @@ $http.addBeforeHook(config => console.log('我是新增的前置钩子', config)
$http
.
addAfterHook
(
response
=>
{
$http
.
addAfterHook
(
response
=>
{
if
(
response
.
code
!==
'000000'
)
{
if
(
response
.
code
!==
'000000'
)
{
Toast
(
response
.
data
.
message
);
//
Toast(response.data.message);
}
}
console
.
log
(
'我是新增的后置钩子'
,
response
);
console
.
log
(
'我是新增的后置钩子'
,
response
);
},
0
);
},
0
);
src/views/appoint/index.vue
浏览文件 @
cd6cdabf
...
@@ -399,7 +399,6 @@ export default {
...
@@ -399,7 +399,6 @@ export default {
this
.
dectionForm
.
beneficiaryPhone
=
res
.
data
.
beneficiaryPhone
;
this
.
dectionForm
.
beneficiaryPhone
=
res
.
data
.
beneficiaryPhone
;
this
.
dectionForm
.
beneficiaryIdNum
=
res
.
data
.
beneficiaryIdNum
;
this
.
dectionForm
.
beneficiaryIdNum
=
res
.
data
.
beneficiaryIdNum
;
this
.
$store
.
dispatch
(
'home/setOrderInfo'
,
res
.
data
);
this
.
$store
.
dispatch
(
'home/setOrderInfo'
,
res
.
data
);
});
});
},
},
selectTimes
(
times
)
{
selectTimes
(
times
)
{
...
@@ -447,14 +446,7 @@ export default {
...
@@ -447,14 +446,7 @@ export default {
yunOrderNo
:
this
.
yunOrderNo
,
yunOrderNo
:
this
.
yunOrderNo
,
};
};
appointment
(
data
).
then
(
res
=>
{
appointment
(
data
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
)
{
console
.
log
(
'confirm'
,
res
);
this
.
$router
.
push
({
path
:
'/appoint-details'
,
query
:
{
yunOrderNo
:
this
.
yunOrderNo
}
});
}
});
});
},
},
...
...
src/views/home/index.vue
浏览文件 @
cd6cdabf
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<
script
>
<
script
>
import
{
getJumpPageStatus
}
from
'@/api/question'
;
import
{
getJumpPageStatus
}
from
'@/api/question'
;
import
{
getOrderInfo
}
from
'@/api/appoint'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -26,6 +27,7 @@ export default {
...
@@ -26,6 +27,7 @@ export default {
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
query
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
query
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
getOrderInfo
(
res
.
data
.
yunOrderNo
);
this
.
status
=
res
.
data
.
status
;
this
.
status
=
res
.
data
.
status
;
switch
(
res
.
data
.
status
)
{
switch
(
res
.
data
.
status
)
{
case
'0001'
:
case
'0001'
:
...
@@ -63,7 +65,14 @@ export default {
...
@@ -63,7 +65,14 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
,
query
path
,
query
});
});
}
},
getOrderInfo
(
yunOrderNo
)
{
getOrderInfo
(
yunOrderNo
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
this
.
$store
.
dispatch
(
'home/setOrderInfo'
,
res
.
data
);
}
});
},
}
}
};
};
</
script
>
</
script
>
...
...
src/views/insurance-bind-code/insurance-bind-code.vue
浏览文件 @
cd6cdabf
...
@@ -18,14 +18,6 @@
...
@@ -18,14 +18,6 @@
>
>
{{
insuranceInfo
.
checkName
||
''
}}
{{
insuranceInfo
.
checkName
||
''
}}
</div>
</div>
<div
class=
"code-input-item-r"
>
<div
class=
"scan-qr-img-container"
@
click=
"triggerEditModal"
>
修改
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -101,7 +93,8 @@
...
@@ -101,7 +93,8 @@
<span
<span
class=
"notification-text2"
class=
"notification-text2"
@
click=
"goProtocol"
@
click=
"goProtocol"
>
《
{{
protocolName
}}
》
</span>
>
《
{{
protocolName
}}
》
</span>
</div>
</div>
</div>
</div>
<div
class=
"submit-button-top"
>
<div
class=
"submit-button-top"
>
...
@@ -196,6 +189,7 @@
...
@@ -196,6 +189,7 @@
<
script
>
<
script
>
import
{
mapGetters
}
from
'vuex'
;
import
{
mapGetters
}
from
'vuex'
;
import
{
signDetection
,
getProtocolContent
,
getProtocolName
,
sampleCodeValidate
,
detectionRecordInfo
,
bindingSampleCode
}
from
'@/api/detection.js'
;
import
{
signDetection
,
getProtocolContent
,
getProtocolName
,
sampleCodeValidate
,
detectionRecordInfo
,
bindingSampleCode
}
from
'@/api/detection.js'
;
import
{
getDetectionName
}
from
'@/api/appoint'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -225,10 +219,12 @@ export default {
...
@@ -225,10 +219,12 @@ export default {
date
:
''
,
date
:
''
,
checkName
:
''
checkName
:
''
},
},
insuranceInfo
:
{},
pprotocolType
:
''
};
};
},
},
computed
:
{
computed
:
{
...
mapGetters
([
'
insuranceInfo'
,
'
orderInfo'
]),
...
mapGetters
([
'orderInfo'
]),
},
},
created
()
{
created
()
{
console
.
log
(
'--window._picaWechat'
,
window
.
_picaWechat
);
console
.
log
(
'--window._picaWechat'
,
window
.
_picaWechat
);
...
@@ -248,9 +244,12 @@ export default {
...
@@ -248,9 +244,12 @@ export default {
validateIdNo
:
0
,
validateIdNo
:
0
,
};
};
this
.
insuranceInfo
=
mock
;
this
.
insuranceInfo
=
mock
;
const
{
pprotocolType
,
detectionRecordId
}
=
this
.
$route
.
query
;
const
{
pprotocolType
,
detectionRecordId
,
yunOrderNo
}
=
this
.
$route
.
query
;
this
.
getProtocolName
(
pprotocolType
||
31
);
this
.
pprotocolType
=
pprotocolType
||
31
;
this
.
detectionRecordId
=
detectionRecordId
;
this
.
getProtocolName
();
this
.
getRecordInfo
(
detectionRecordId
||
11077
);
this
.
getRecordInfo
(
detectionRecordId
||
11077
);
this
.
getDetectionName
(
yunOrderNo
);
},
},
methods
:
{
methods
:
{
clearCode
()
{
clearCode
()
{
...
@@ -258,7 +257,6 @@ export default {
...
@@ -258,7 +257,6 @@ export default {
},
},
scanCode
()
{
scanCode
()
{
const
that
=
this
;
const
that
=
this
;
console
.
log
(
'--$rocNative'
,
this
.
$rocNative
);
const
p
=
{
const
p
=
{
needResult
:
1
,
// 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
needResult
:
1
,
// 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
scanType
:
[
'barCode'
],
// 可以指定扫二维码还是一维码,默认二者都有
scanType
:
[
'barCode'
],
// 可以指定扫二维码还是一维码,默认二者都有
...
@@ -274,7 +272,7 @@ export default {
...
@@ -274,7 +272,7 @@ export default {
});
});
},
},
toggleBindingInfo
()
{
toggleBindingInfo
()
{
if
(
!
this
.
isCheck
&&
this
.
insuranceInfo
.
pprotocolType
)
{
if
(
!
this
.
isCheck
&&
this
.
pprotocolType
)
{
this
.
goProtocol
();
this
.
goProtocol
();
}
else
{
}
else
{
if
(
this
.
isCheck
&&
this
.
barCode
)
{
if
(
this
.
isCheck
&&
this
.
barCode
)
{
...
@@ -299,9 +297,10 @@ export default {
...
@@ -299,9 +297,10 @@ export default {
}
}
},
},
setSignDetection
()
{
setSignDetection
()
{
// const {beneficiaryPatientId } = this.orderInfo;
const
obj
=
{
const
obj
=
{
protocolType
:
this
.
insuranceInfo
.
pprotocolType
,
protocolType
:
this
.
pprotocolType
,
patientId
:
this
.
orderInfo
.
beneficiaryPatientId
||
212773027
patientId
:
212773027
};
};
signDetection
(
obj
).
then
(
res
=>
{
signDetection
(
obj
).
then
(
res
=>
{
if
(
res
.
code
!==
'000000'
)
{
if
(
res
.
code
!==
'000000'
)
{
...
@@ -311,9 +310,18 @@ export default {
...
@@ -311,9 +310,18 @@ export default {
this
.
isCheck
=
!
this
.
isCheck
;
this
.
isCheck
=
!
this
.
isCheck
;
});
});
},
},
getDetectionName
(
yunOrderNo
)
{
getDetectionName
(
yunOrderNo
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
&&
res
.
data
)
{
const
dectionData
=
res
.
data
[
0
]
||
{};
this
.
insuranceInfo
=
dectionData
;
}
});
},
goProtocol
()
{
goProtocol
()
{
const
obj
=
{
const
obj
=
{
id
:
this
.
insuranceInfo
.
pprotocolType
,
id
:
this
.
pprotocolType
,
};
};
getProtocolContent
(
obj
).
then
(
res
=>
{
getProtocolContent
(
obj
).
then
(
res
=>
{
if
(
res
.
code
!==
'000000'
)
{
if
(
res
.
code
!==
'000000'
)
{
...
@@ -325,19 +333,21 @@ export default {
...
@@ -325,19 +333,21 @@ export default {
},
},
getProtocolName
()
{
getProtocolName
()
{
const
d
=
{
const
d
=
{
id
:
this
.
insuranceInfo
.
pprotocolType
id
:
this
.
pprotocolType
};
};
getProtocolName
(
d
).
then
(
res
=>
{
getProtocolName
(
d
).
then
(
res
=>
{
if
(
res
.
code
!==
'000000'
)
{
if
(
res
.
code
!==
'000000'
)
{
return
this
.
$toast
(
res
.
message
);
return
this
.
$toast
(
res
.
message
);
}
}
console
.
log
(
'--res'
,
res
.
data
);
this
.
protocolName
=
res
.
data
;
this
.
protocolName
=
res
.
data
;
});
});
},
},
subProtocol
()
{
subProtocol
()
{
// const {beneficiaryPatientId } = this.orderInfo;
const
obj
=
{
const
obj
=
{
protocolType
:
this
.
insuranceInfo
.
pprotocolType
,
protocolType
:
this
.
pprotocolType
,
patientId
:
this
.
orderInfo
.
beneficiaryPatientId
||
212773027
patientId
:
212773027
};
};
signDetection
(
obj
).
then
(
res
=>
{
signDetection
(
obj
).
then
(
res
=>
{
if
(
res
.
code
!==
'000000'
)
{
if
(
res
.
code
!==
'000000'
)
{
...
@@ -352,14 +362,11 @@ export default {
...
@@ -352,14 +362,11 @@ export default {
getRecordInfo
(
id
)
{
getRecordInfo
(
id
)
{
const
i
=
id
||
11074
;
const
i
=
id
||
11074
;
detectionRecordInfo
(
i
).
then
(
res
=>
{
detectionRecordInfo
(
i
).
then
(
res
=>
{
console
.
log
(
'--res'
,
res
);
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
this
.
recordInfo
.
sex
=
res
.
data
.
sex
===
1
?
'男'
:
'女'
;
this
.
recordInfo
.
sex
=
res
.
data
.
sex
===
1
?
'男'
:
'女'
;
this
.
recordInfo
.
date
=
res
.
data
.
birthday
;
this
.
recordInfo
.
date
=
res
.
data
.
birthday
;
this
.
recordInfo
.
checkName
=
res
.
data
.
checkName
;
this
.
recordInfo
.
checkName
=
res
.
data
.
checkName
;
// this.status = res.data.data.status;
// this.goodsId = res.data.data.goodsId;
}
}
});
});
...
@@ -369,7 +376,7 @@ export default {
...
@@ -369,7 +376,7 @@ export default {
const
obj
=
{
const
obj
=
{
barCode
:
this
.
barCode
,
barCode
:
this
.
barCode
,
id
:
this
.
recordID
,
id
:
this
.
recordID
,
prototypeId
:
this
.
insuranceInfo
.
pprotocolType
?
this
.
insuranceInfo
.
pprotocolType
:
0
,
prototypeId
:
this
.
pprotocolType
?
this
.
pprotocolType
:
0
,
prototypeLogId
:
this
.
prototypeLogId
?
this
.
prototypeLogId
:
0
,
prototypeLogId
:
this
.
prototypeLogId
?
this
.
prototypeLogId
:
0
,
};
};
bindingSampleCode
(
obj
).
then
(
res
=>
{
bindingSampleCode
(
obj
).
then
(
res
=>
{
...
@@ -385,7 +392,8 @@ export default {
...
@@ -385,7 +392,8 @@ export default {
{
{
path
:
'/insuranceBindCodeSuccess'
,
path
:
'/insuranceBindCodeSuccess'
,
query
:
{
query
:
{
id
:
this
.
projectId
,
projectId
:
this
.
projectId
||
9
,
detectionRecordId
:
this
.
detectionRecordId
},
},
}
}
);
);
...
...
src/views/insurance-bindCode-success/insurance-bindCode-success.vue
浏览文件 @
cd6cdabf
...
@@ -98,19 +98,20 @@ export default {
...
@@ -98,19 +98,20 @@ export default {
style
:
'backgroundColor:#ffffff;zIndex:100;'
,
style
:
'backgroundColor:#ffffff;zIndex:100;'
,
background
:
''
,
background
:
''
,
},
},
id
:
''
,
dataDetail
:
{},
dataDetail
:
{},
detectionRecordId
:
''
};
};
},
},
created
()
{
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
||
11073
;
const
{
detectionRecordId
}
=
this
.
$route
.
query
;
this
.
detectionRecordId
=
detectionRecordId
;
this
.
init
();
this
.
init
();
},
},
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
getDetectionDetail
(
this
.
i
d
).
then
((
res
)
=>
{
getDetectionDetail
(
this
.
detectionRecordI
d
).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
dataDetail
=
res
.
data
;
this
.
dataDetail
=
res
.
data
;
}
else
{
}
else
{
...
@@ -123,7 +124,7 @@ export default {
...
@@ -123,7 +124,7 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/insuranceDetectionDetail'
,
path
:
'/insuranceDetectionDetail'
,
query
:
{
query
:
{
id
:
11073
,
detectionRecordId
:
this
.
detectionRecordId
,
},
},
});
});
},
},
...
...
src/views/insurance-detection-detail/insurance-detection-detail.vue
浏览文件 @
cd6cdabf
...
@@ -21,11 +21,10 @@
...
@@ -21,11 +21,10 @@
<div>
{{
dataDetail
.
status
|
statusFilter
}}
</div>
<div>
{{
dataDetail
.
status
|
statusFilter
}}
</div>
</div>
</div>
<div
<div
v-if=
"dataDetail.status != 0 && dataDetail.status != 1"
class=
"content"
class=
"content"
>
>
<div
<div
v-if=
"![1,3,5].includes(dataDetail.status)"
v-if=
"![
0,
1,3,5].includes(dataDetail.status)"
class=
"p30"
class=
"p30"
>
>
<div
<div
...
@@ -96,7 +95,7 @@
...
@@ -96,7 +95,7 @@
<div
<div
class=
"step-time"
class=
"step-time"
>
>
{{
item
.
nodeTime
||
'未开始'
}}
{{
item
.
nodeTime
?
item
.
nodeTime
:
item
.
completed
?
'暂无数据'
:
'未开始'
}}
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -161,7 +160,7 @@
...
@@ -161,7 +160,7 @@
:class=
"[3].includes(dataDetail.status) && 'multi-sub-wrap'"
:class=
"[3].includes(dataDetail.status) && 'multi-sub-wrap'"
@
click=
"bottomBtnFun(dataDetail.reportUrl)"
@
click=
"bottomBtnFun(dataDetail.reportUrl)"
>
>
查看报告
查看报告
</div>
</div>
<!-- v-if="[3].includes(dataDetail.status)"-->
<!-- v-if="[3].includes(dataDetail.status)"-->
<div
<div
...
@@ -176,12 +175,16 @@
...
@@ -176,12 +175,16 @@
:extra-data=
"openWebAppConfig.extraData"
:extra-data=
"openWebAppConfig.extraData"
>
>
<script
type=
"text/wxtag-template"
>
<script
type=
"text/wxtag-template"
>
<style>
.btn
{position:absolute; top: 0; color: #ffffff;text-align: center;line-height: 40px; left: 0; width:100%; height: 100%;}
</style>
<div
class=
"btn"
>
{{
dataDetail
.
status
|
showBtnTextFilter
}}
</div>
<style>
.btn
{position:absolute; top: 0; color: #ffffff;text-align: center;line-height: 40px; left: 0; width:100%; height: 100%;}
</style>
<div
class=
"btn"
>
{{
dataDetail
.
status
|
showBtnTextFilter
}}
</div>
</script>
</script>
</wx-open-launch-weapp>
</wx-open-launch-weapp>
</div>
</div>
<div
v-else
class=
"submit-button"
@
click=
"getJumpToWebapp"
>
<div
{{
dataDetail
.
status
|
showBtnTextFilter
}}
v-else
class=
"submit-button"
@
click=
"getJumpToWebapp"
>
{{
mapStatus
(
dataDetail
.
inquiryStatus
)
}}
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -230,7 +233,7 @@ export default {
...
@@ -230,7 +233,7 @@ export default {
style
:
'backgroundColor:#ffffff;zIndex:100;'
,
style
:
'backgroundColor:#ffffff;zIndex:100;'
,
background
:
''
,
background
:
''
,
},
},
i
d
:
''
,
detectionRecordI
d
:
''
,
dataDetail
:
{},
dataDetail
:
{},
dataList
:
[],
dataList
:
[],
openWebAppConfig
:{
openWebAppConfig
:{
...
@@ -242,7 +245,7 @@ export default {
...
@@ -242,7 +245,7 @@ export default {
};
};
},
},
created
()
{
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
||
11073
;
this
.
detectionRecordId
=
this
.
$route
.
query
.
detectionRecordId
;
this
.
init
();
this
.
init
();
},
},
mounted
()
{
mounted
()
{
...
@@ -253,10 +256,10 @@ export default {
...
@@ -253,10 +256,10 @@ export default {
const
ed
=
{
const
ed
=
{
channelSource
:
'insurance_channel'
,
channelSource
:
'insurance_channel'
,
targetPath
:
'pagesInsurance/all-entrance/index'
,
targetPath
:
'pagesInsurance/all-entrance/index'
,
query
:
{
detectionRecordId
:
this
.
i
d
,
status
:
this
.
dataDetail
.
status
},
query
:
{
detectionRecordId
:
this
.
detectionRecordI
d
,
status
:
this
.
dataDetail
.
status
},
fromOriginPage
:
'insuranceDetectionDetail'
,
fromOriginPage
:
'insuranceDetectionDetail'
,
};
};
getDetectionDetail
(
this
.
i
d
).
then
((
res
)
=>
{
getDetectionDetail
(
this
.
detectionRecordI
d
).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
dataDetail
=
res
.
data
;
this
.
dataDetail
=
res
.
data
;
this
.
getDetailProces
();
this
.
getDetailProces
();
...
@@ -274,7 +277,6 @@ export default {
...
@@ -274,7 +277,6 @@ export default {
}
}
that
.
openWebAppConfig
.
extraData
=
JSON
.
stringify
(
ed
);
that
.
openWebAppConfig
.
extraData
=
JSON
.
stringify
(
ed
);
that
.
openWebAppBtnName
=
n
;
that
.
openWebAppBtnName
=
n
;
console
.
log
(
res
,
'eeeeeeeeeee'
,
this
.
dataDetail
);
}
else
{
}
else
{
that
.
$toast
(
res
.
message
);
that
.
$toast
(
res
.
message
);
}
}
...
@@ -293,39 +295,25 @@ export default {
...
@@ -293,39 +295,25 @@ export default {
},
},
// 检测详情
// 检测详情
getDetailProces
()
{
getDetailProces
()
{
getDetectionDetailProces
({
id
:
this
.
i
d
,
channel
:
4
}
).
then
((
res
)
=>
{
getDetectionDetailProces
({
id
:
this
.
detectionRecordI
d
,
channel
:
4
}
).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
var
flag
=
false
;
this
.
dataList
=
res
.
data
||
[];
const
data
=
res
.
data
||
[];
console
.
log
(
this
.
dataDetail
);
data
.
forEach
((
item
)
=>
{
if
(
item
.
status
==
this
.
dataDetail
.
status
)
{
item
.
complate
=
false
;
flag
=
true
;
}
else
{
console
.
log
(
flag
,
'flag'
);
if
(
!
flag
)
{
item
.
complate
=
true
;
}
else
{
item
.
complate
=
false
;
}
}
});
this
.
dataList
=
data
;
console
.
log
(
this
.
dataList
,
'res111111'
);
}
else
{
}
else
{
this
.
$toast
(
res
.
message
);
this
.
$toast
(
res
.
message
);
}
}
});
});
},
},
bottomBtnFun
(
u
)
{
bottomBtnFun
(
u
)
{
// const p = s == 1 ? '/insuranceBindCode' : '/pdf-preview';
if
(
!
u
)
{
this
.
$toast
(
'reportUrl--为空'
,
u
);
return
false
;
}
const
p
=
'/pdf-preview'
;
const
p
=
'/pdf-preview'
;
this
.
$router
.
push
(
this
.
$router
.
push
(
{
{
path
:
p
,
path
:
p
,
query
:
{
query
:
{
url
:
u
||
'https://file.yunqueyi.com/bioHope/reports/202302/20230215165058_2axd021dy0.pdf?response-content-type=application/pdf&1676514088161'
,
url
:
u
,
},
},
}
}
);
);
...
@@ -334,11 +322,27 @@ export default {
...
@@ -334,11 +322,27 @@ export default {
if
(
this
.
picaWechat
==
'wechat'
)
{
if
(
this
.
picaWechat
==
'wechat'
)
{
return
false
;
return
false
;
}
}
const
p
=
{
params
:{
path
:
'pagesInsurance/all-entrance/index'
,
query
:{
channelSource
:
'insurance_channel'
,
detectionRecordId
:
this
.
id
}},
type
:
2
};
const
p
=
{
params
:{
path
:
'pagesInsurance/all-entrance/index'
,
query
:{
channelSource
:
'insurance_channel'
,
detectionRecordId
:
this
.
detectionRecordId
,
status
:
this
.
dataDetail
.
status
}},
type
:
2
};
getJumpToWebapp
(
p
).
then
(
res
=>
{
getJumpToWebapp
(
p
).
then
(
res
=>
{
console
.
log
(
'--res'
,
res
);
console
.
log
(
'--res'
,
res
);
window
.
location
.
href
=
res
.
data
;
if
(
res
.
data
)
{
window
.
location
.
href
=
res
.
data
;
}
else
{
this
.
$toast
(
res
.
message
);
}
});
});
},
mapStatus
(
inquiryStatus
)
{
let
m
=
'报告解读'
;
if
(
inquiryStatus
==
0
)
{
m
=
'报告解读'
;
}
else
if
([
4
,
6
].
includes
(
inquiryStatus
))
{
m
=
'查看专家建议'
;
}
else
{
m
=
'已预约待咨询'
;
}
return
m
;
}
}
},
},
};
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录