提交 849ae50a 编写于 作者: 张敬贤's avatar 张敬贤

Merge branch 'develop' of...

Merge branch 'develop' of http://192.168.110.53/com.pica.cloud.frontend/pica-insurance into feature/zjx
<template> <template>
<div class="insurance-binding-code-container"> <div class="insurance-binding-code-container" :class="picaWechat == 'wechat' && 'mt20'">
<page-model <page-model
v-if="picaWechat != 'wechat'" v-if="picaWechat != 'wechat'"
ref="PageModel" ref="PageModel"
:header-info="headerInfo" :header-info="headerInfo"
/> />
<div class="code-container" :class="picaWechat == 'wechat' && 'mt20'"> <div class="code-container">
<div class="code-content"> <div class="code-content">
<div class="code-input-item-l detection-container"> <div class="code-input-item-l detection-container">
<div class="input-title"> <div class="input-title">
...@@ -270,7 +270,7 @@ export default { ...@@ -270,7 +270,7 @@ export default {
if(this.isCheck && this.barCode) { if(this.isCheck && this.barCode) {
const o = { const o = {
projectId: this.recordInfo.projectId, projectId: this.recordInfo.projectId,
sampleCode: this.barCode, sampleCode: String(this.barCode).toUpperCase(),
hospitalId:this.recordInfo.hospitalId hospitalId:this.recordInfo.hospitalId
}; };
this.$loading.show(); this.$loading.show();
...@@ -383,6 +383,8 @@ export default { ...@@ -383,6 +383,8 @@ export default {
console.log('--obj--', obj); console.log('--obj--', obj);
bindingSampleCode(obj).then(res => { bindingSampleCode(obj).then(res => {
if (res.code !== '000000') { if (res.code !== '000000') {
return this.$toast(res.message);
} else {
this.$router.push( this.$router.push(
{ {
path: '/insuranceBindCodeSuccess', path: '/insuranceBindCodeSuccess',
...@@ -392,8 +394,6 @@ export default { ...@@ -392,8 +394,6 @@ export default {
}, },
} }
); );
return this.$toast(res.message);
} else {
this.$toast('提交成功'); this.$toast('提交成功');
} }
}); });
...@@ -722,7 +722,7 @@ export default { ...@@ -722,7 +722,7 @@ export default {
white-space: nowrap; white-space: nowrap;
} }
} }
.mt20{margin-top: 20px}
} }
.mt20{padding-top: 20px}
</style> </style>
...@@ -61,12 +61,12 @@ ...@@ -61,12 +61,12 @@
:key="index" :key="index"
class="express-step" class="express-step"
:class="{ :class="{
hideCircle: item.status == dataDetail.status, hideCircle: item.completed,
last: index == dataList.length - 1, last: index == dataList.length - 1,
}" }"
> >
<div <div
v-if="item.status == dataDetail.status || item.complate" v-if="item.completed"
class="express-step-icon" class="express-step-icon"
> >
<img <img
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册