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

auto commit

上级 f8fa35e0
......@@ -16,7 +16,7 @@
type="text"
class="code"
>
{{ insuranceInfo.checkName || '' }}
{{ insuranceInfo.detectionName || '' }}
</div>
</div>
</div>
......@@ -228,22 +228,6 @@ export default {
},
created() {
console.log('--window._picaWechat', window._picaWechat);
// 11073
const mock = {
checkName: '博厚检测2',
doctorId: 0,
equipmentVariety: null,
examQuestionnaireId: 0,
goodsId: 23911,
goodsName: null,
hospitalId: 439487,
hospitalProjectId: 678,
pprotocolType: 31,
projectId: 9,
serviceCheckType: 1,
validateIdNo: 0,
};
this.insuranceInfo = mock;
const { pprotocolType, detectionRecordId, yunOrderNo } = this.$route.query;
this.pprotocolType = pprotocolType || 31;
this.detectionRecordId = detectionRecordId;
......@@ -312,9 +296,10 @@ export default {
},
getDetectionName(yunOrderNo) {
getDetectionName(yunOrderNo).then(res => {
console.log('res', res);
if (res.code === '000000' && res.data) {
const dectionData = res.data[0] || {};
this.insuranceInfo = dectionData;
this.insuranceInfo = res.data[0];
console.log('----', this.insuranceInfo);
}
});
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册