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
提交
0ee15d9f
提交
0ee15d9f
编写于
2月 17, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
a9d1a3f9
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
48 行增加
和
13 行删除
+48
-13
index.vue
src/components/selectHospital/index.vue
+1
-1
index.vue
src/views/appoint/index.vue
+40
-10
insuranceQuestionResult.vue
...ews/insurance-question-result/insuranceQuestionResult.vue
+7
-2
未找到文件。
src/components/selectHospital/index.vue
浏览文件 @
0ee15d9f
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</div>
</div>
<div
class=
"select-hospital-list"
>
<div
class=
"select-hospital-list"
>
<van-list
<van-list
v-if=
"list.length >0"
v-if=
"list
&& list
.length >0"
v-model=
"loading"
v-model=
"loading"
:finished=
"finished"
:finished=
"finished"
finished-text=
"没有更多了"
finished-text=
"没有更多了"
...
...
src/views/appoint/index.vue
浏览文件 @
0ee15d9f
...
@@ -144,9 +144,9 @@
...
@@ -144,9 +144,9 @@
round
round
block
block
type=
"info"
type=
"info"
:disabled=
"!c
heckValue
"
:disabled=
"!c
anSubmit
"
class=
"appoint-form-submit "
class=
"appoint-form-submit "
:class=
"c
heckValue
? 'appoint-form-submit-active':''"
:class=
"c
anSubmit
? 'appoint-form-submit-active':''"
@
click=
"appointment"
@
click=
"appointment"
>
>
提交
提交
...
@@ -239,14 +239,31 @@ export default {
...
@@ -239,14 +239,31 @@ export default {
};
};
},
},
computed
:
{
computed
:
{
checkValue
()
{
canSubmit
()
{
return
true
;
// appointmentTime: this.dectionForm.appointmentTime,
// goodsId: this.dectionForm.goodsId,
// hospitalId: this.hospitalId,
// hospitalName: this.dectionForm.hospitalName,
// patientIdNo: this.dectionForm.beneficiaryIdNum,
// patientMobile: this.dectionForm.beneficiaryPhone,
// patientName: this.dectionForm.beneficiaryName,
// yunOrderNo:this.yunOrderNo,
return
(
this
.
dectionForm
.
appointmentTime
&&
this
.
dectionForm
.
goodsId
&&
this
.
dectionForm
.
hospitalName
&&
this
.
hospitalId
&&
this
.
dectionForm
.
beneficiaryIdNum
&&
this
.
dectionForm
.
beneficiaryName
&&
this
.
dectionForm
.
beneficiaryPhone
&&
this
.
yunOrderNo
);
},
},
},
},
mounted
()
{
mounted
()
{
setTimeout
(()
=>
{
this
.
locationAreaCode
=
[
120
,
120100000000
,
120102000000
];
},
3000
);
const
{
yunOrderNo
,
projectEquityNo
}
=
this
.
$route
.
query
;
const
{
yunOrderNo
,
projectEquityNo
}
=
this
.
$route
.
query
;
this
.
yunOrderNo
=
yunOrderNo
;
this
.
yunOrderNo
=
yunOrderNo
;
this
.
projectEquityNo
=
projectEquityNo
;
this
.
projectEquityNo
=
projectEquityNo
;
...
@@ -261,6 +278,14 @@ export default {
...
@@ -261,6 +278,14 @@ export default {
// 高德地图导航只有在线上环境才能使用
// 高德地图导航只有在线上环境才能使用
initMap
()
{
initMap
()
{
var
that
=
this
;
var
that
=
this
;
// latitude: 70
// longitude: 50.2
const
data
=
{
projectEquityNo
:
that
.
projectEquityNo
,
latitude
:
70
,
longitude
:
50.2
,
};
that
.
getHospitalList
(
data
);
AMapLoader
.
load
({
AMapLoader
.
load
({
key
:
'd22c1f112c97cb93b8d343b18420b98d'
,
// 申请好的Web端开发者Key,首次调用 load 时必填
key
:
'd22c1f112c97cb93b8d343b18420b98d'
,
// 申请好的Web端开发者Key,首次调用 load 时必填
version
:
'2.0'
,
// 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
version
:
'2.0'
,
// 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
...
@@ -293,11 +318,16 @@ export default {
...
@@ -293,11 +318,16 @@ export default {
});
});
});
});
},
},
// 根据坐标获取最近的机构id
// 根据坐标获取最近的机构id
getHospitalList
(
data
)
{
getHospitalList
(
data
)
{
getHospitalList
(
data
).
then
(
res
=>
{
getHospitalList
(
data
).
then
(
res
=>
{
console
.
log
(
res
);
console
.
log
(
'getHospitalList'
,
res
);
const
{
provinceId
,
countyId
,
cityId
,
hospitalName
,
hospitalId
}
=
res
.
data
.
data
[
0
];
this
.
locationAreaCode
=
[
provinceId
,
cityId
,
countyId
];
this
.
dectionForm
.
hospitalName
=
hospitalName
;
this
.
hospitalId
=
hospitalId
;
});
});
},
},
// 目前是配置一个检测信息,可能会拓展,所以返回的是一个list
// 目前是配置一个检测信息,可能会拓展,所以返回的是一个list
...
@@ -361,8 +391,8 @@ export default {
...
@@ -361,8 +391,8 @@ export default {
const
data
=
{
const
data
=
{
appointmentTime
:
this
.
dectionForm
.
appointmentTime
,
appointmentTime
:
this
.
dectionForm
.
appointmentTime
,
goodsId
:
this
.
dectionForm
.
goodsId
,
goodsId
:
this
.
dectionForm
.
goodsId
,
hospitalId
:
'12746'
,
hospitalId
:
this
.
hospitalId
,
hospitalName
:
'1111'
,
hospitalName
:
this
.
dectionForm
.
hospitalName
,
patientIdNo
:
this
.
dectionForm
.
beneficiaryIdNum
,
patientIdNo
:
this
.
dectionForm
.
beneficiaryIdNum
,
patientMobile
:
this
.
dectionForm
.
beneficiaryPhone
,
patientMobile
:
this
.
dectionForm
.
beneficiaryPhone
,
patientName
:
this
.
dectionForm
.
beneficiaryName
,
patientName
:
this
.
dectionForm
.
beneficiaryName
,
...
...
src/views/insurance-question-result/insuranceQuestionResult.vue
浏览文件 @
0ee15d9f
...
@@ -64,8 +64,8 @@ export default {
...
@@ -64,8 +64,8 @@ export default {
result
:
{},
result
:
{},
detailInfo
:
{},
detailInfo
:
{},
isLoading
:
true
,
isLoading
:
true
,
projectEquityNo
:
'
CX202302091000154321
'
,
projectEquityNo
:
''
,
orderNo
:
'
12746
'
,
orderNo
:
''
,
yunOrderNo
:
''
,
yunOrderNo
:
''
,
// 无问卷-0001 有问卷未填写-0101 已填写问卷未出结果-0102 已出结果无需领用-0401 已出结果未预约-0201 已预约未采样-0301 已预约已采样-0302
// 无问卷-0001 有问卷未填写-0101 已填写问卷未出结果-0102 已出结果无需领用-0401 已出结果未预约-0201 已预约未采样-0301 已预约已采样-0302
routerMap
:
{
routerMap
:
{
...
@@ -101,6 +101,7 @@ export default {
...
@@ -101,6 +101,7 @@ export default {
};
};
return
m
[
status
];
return
m
[
status
];
},
},
// 获取跳转状态
getJumpPageStatus
()
{
getJumpPageStatus
()
{
getJumpPageStatus
(
this
.
orderNo
,
this
.
projectEquityNo
).
then
(
res
=>
{
getJumpPageStatus
(
this
.
orderNo
,
this
.
projectEquityNo
).
then
(
res
=>
{
// console.log('res', getJumpPageStatus);
// console.log('res', getJumpPageStatus);
...
@@ -108,10 +109,13 @@ export default {
...
@@ -108,10 +109,13 @@ export default {
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
;
this
.
needDetect
=
this
.
status
===
'0401'
;
this
.
getButtonStatus
(
res
.
data
.
yunOrderNo
);
this
.
getButtonStatus
(
res
.
data
.
yunOrderNo
);
}
}
});
});
},
},
// 去预约
toAppoint
()
{
toAppoint
()
{
if
(
this
.
buttonStatus
)
{
if
(
this
.
buttonStatus
)
{
const
{
projectEquityNo
,
orderNo
,
yunOrderNo
}
=
this
;
const
{
projectEquityNo
,
orderNo
,
yunOrderNo
}
=
this
;
...
@@ -121,6 +125,7 @@ export default {
...
@@ -121,6 +125,7 @@ export default {
});
});
}
}
},
},
// 获取按钮状态
getButtonStatus
(
yunOrderNo
)
{
getButtonStatus
(
yunOrderNo
)
{
getButtonStatus
(
yunOrderNo
).
then
(
res
=>
{
getButtonStatus
(
yunOrderNo
).
then
(
res
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录