提交 01f08411 编写于 作者: 张磊's avatar 张磊

change jump page

上级 c09a28d5
......@@ -5,7 +5,7 @@
ref="PageModel"
:header-info="headerInfo"
/>
<div class="code-container">
<div class="code-container" :class="picaWechat == 'wechat' && 'mt20'">
<div class="code-content">
<div class="code-input-item-l detection-container">
<div class="input-title">
......@@ -136,7 +136,7 @@
show-cancel-button="true"
confirm-button-text="确认提交"
cancel-button-text="返回修改"
@confirm="toBindSuccess"
@confirm="bindingCode"
>
<div class="binding-code-showInfo">
<div class="title">
......@@ -375,7 +375,7 @@ export default {
// 绑定条形码
bindingCode() {
const obj = {
barCode: this.barCode,
barCode: String(this.barCode).toUpperCase(),
id: this.detectionRecordId,
prototypeId: this.pprotocolType,
prototypeLogId: this.prototypeLogId,
......@@ -383,23 +383,21 @@ export default {
console.log('--obj--', obj);
bindingSampleCode(obj).then(res => {
if (res.code !== '000000') {
this.$router.push(
{
path: '/insuranceBindCodeSuccess',
query: {
yunOrderNo: this.yunOrderNo,
detectionRecordId: this.detectionRecordId
},
}
);
return this.$toast(res.message);
} else {
this.$toast('提交成功');
}
});
},
toBindSuccess() {
this.$router.push(
{
path: '/insuranceBindCodeSuccess',
query: {
yunOrderNo: this.yunOrderNo,
detectionRecordId: this.detectionRecordId
},
}
);
}
}
};
......@@ -724,6 +722,7 @@ export default {
white-space: nowrap;
}
}
.mt20{margin-top: 20px}
}
</style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册