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
提交
483304de
提交
483304de
编写于
5月 04, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/zjx' into 'develop'
Feature/zjx See merge request
!165
上级
b4c86794
ce8bc8a2
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
53 行增加
和
2 行删除
+53
-2
appoint.js
src/api/appoint.js
+10
-0
index.vue
src/views/insurance-Detection-detail-demo/index.vue
+41
-2
index.vue
src/views/sz-home/index.vue
+2
-0
未找到文件。
src/api/appoint.js
浏览文件 @
483304de
...
@@ -65,3 +65,13 @@ export const getCheckInUserInfo = async(data) => {
...
@@ -65,3 +65,13 @@ export const getCheckInUserInfo = async(data) => {
withCredentials
:
true
,
withCredentials
:
true
,
});
});
};
};
// /tis/insurance / save / order / detection / result
export
const
saveOrder
=
async
(
data
)
=>
{
return
request
({
method
:
'post'
,
data
,
url
:
'/tis/insurance/save/order/detection/result'
,
withCredentials
:
true
,
});
};
src/views/insurance-Detection-detail-demo/index.vue
浏览文件 @
483304de
...
@@ -212,6 +212,8 @@
...
@@ -212,6 +212,8 @@
</template>
</template>
<
script
>
<
script
>
import
{
getQuickDetectionDetailProces
,
detectionRecordInfo
}
from
'@/api/detection'
;
import
{
getQuickDetectionDetailProces
,
detectionRecordInfo
}
from
'@/api/detection'
;
import
{
saveOrder
}
from
'@/api/appoint'
;
import
{
createOrder
}
from
'@/api/question'
;
// 0待完善信息、1待采样、2已采样、21已送检、22快递已签收、 25实验室已收样、 27已上机、 3已完成、5样本失效、 6待支付
// 0待完善信息、1待采样、2已采样、21已送检、22快递已签收、 25实验室已收样、 27已上机、 3已完成、5样本失效、 6待支付
export
default
{
export
default
{
filters
:
{
filters
:
{
...
@@ -262,7 +264,8 @@ export default {
...
@@ -262,7 +264,8 @@ export default {
dataList
:
[],
dataList
:
[],
openWebAppBtnName
:
'提交检测结果'
,
openWebAppBtnName
:
'提交检测结果'
,
yunOrderNo
:
''
,
yunOrderNo
:
''
,
imageslist
:[]
imageslist
:
[],
projectEquityNo
:
''
};
};
},
},
created
()
{
created
()
{
...
@@ -317,13 +320,49 @@ export default {
...
@@ -317,13 +320,49 @@ export default {
});
});
},
},
getJumpToWebapp
()
{
getJumpToWebapp
()
{
this
.
saveOrder
();
},
saveOrder
()
{
const
{
yunOrderNo
,
externalOrderNo
}
=
this
.
$route
.
query
;
const
data
=
{};
if
(
this
.
result
)
{
// const data = {
// yunOrderNo,
// resultFlag:this.result
// };
data
.
yunOrderNo
=
yunOrderNo
;
data
.
resultFlag
=
this
.
result
;
}
else
{
this
.
$toast
(
'请选择结果'
);
}
saveOrder
(
data
).
then
(
res
=>
{
console
.
log
(
res
);
this
.
projectEquityNo
=
res
.
data
.
projectEquityNo
;
const
item
=
JSON
.
parse
(
localStorage
.
getItem
(
'chooseInfo'
));
const
data
=
{
hospitalId
:
139136
,
idType
:
1
,
hospitalName
:
'人民医院和平社区健康服务中心'
,
yunOrderNoOne
:
yunOrderNo
,
idCard
:
item
.
idCard
,
externalOrderNo
,
projectEquityNo
:
this
.
projectEquityNo
,
mobilePhone
:
item
.
phoneNum
,
patientName
:
item
.
name
};
createOrder
(
data
).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
===
'000000'
&&
res
.
data
.
questionnaireUrl
)
{
window
.
location
.
href
=
res
.
data
.
questionnaireUrl
;
}
});
});
},
},
showSample
(
index
)
{
showSample
(
index
)
{
this
.
showImg
=
true
;
this
.
showImg
=
true
;
this
.
index
=
1
;
this
.
index
=
1
;
if
(
index
===
1
)
{
if
(
index
===
1
)
{
this
.
imageslist
=
this
.
resultImages
;
this
.
imageslist
=
this
.
resultImages
;
}
else
{
}
else
{
this
.
imageslist
=
this
.
sampleImages
;
this
.
imageslist
=
this
.
sampleImages
;
}
}
...
...
src/views/sz-home/index.vue
浏览文件 @
483304de
...
@@ -108,6 +108,8 @@ export default {
...
@@ -108,6 +108,8 @@ export default {
const
externalOrderNo
=
Math
.
floor
(
new
Date
().
getTime
()
/
1000
);
const
externalOrderNo
=
Math
.
floor
(
new
Date
().
getTime
()
/
1000
);
const
projectEquityNo
=
'SZ202305031000597601'
;
const
projectEquityNo
=
'SZ202305031000597601'
;
console
.
log
(
externalOrderNo
);
console
.
log
(
externalOrderNo
);
const
item
=
this
.
userinfo
.
filter
(
ele
=>
ele
.
name
===
this
.
person
)[
0
];
localStorage
.
setItem
(
'chooseInfo'
,
JSON
.
stringify
(
item
));
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/appoint-demo'
,
path
:
'/appoint-demo'
,
query
:
{
query
:
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录