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

add all entrance for insurance

上级 c418775e
......@@ -26,3 +26,12 @@ export const createOrder = (data) => {
withCredentials: true,
});
};
// tis/insurance/makeAppointmentStatus?yunOrderNo=PCX2023021608340000000709043
export const getAppointmentStatus = (yunOrderNo) => {
return request({
method: 'get',
url: `/tis/insurance/makeAppointmentStatus?yunOrderNo=${yunOrderNo}`,
withCredentials: true,
});
};
......@@ -28,16 +28,16 @@
<div
v-show="currentItem.amTimeBegin !='' && currentItem.amTimeEnd !=''"
class="text"
:class="selectTimeBucket === 'amTimeBegin' ?'selected':''"
@click="selectTimeB('amTimeBegin')"
:class="selectTimeBucket === 'am' ?'selected':''"
@click="selectTimeB('am')"
>
{{ currentItem.amTimeContent }}
</div>
<div
v-if="currentItem.pmTimeBegin !='' && currentItem.pmTimeEnd!=''"
class="text"
:class="selectTimeBucket === 'pmTimeBegin' ?'selected':''"
@click="selectTimeB('pmTimeBegin')"
:class="selectTimeBucket === 'pm' ?'selected':''"
@click="selectTimeB('pm')"
>
{{ currentItem.pmTimeContent }}
</div>
......
......@@ -224,6 +224,7 @@ export default {
},
insuranceInfo: {},
pprotocolType: '',
yunOrderNo: ''
};
},
computed: {
......@@ -234,6 +235,7 @@ export default {
if(pprotocolType && detectionRecordId && yunOrderNo) {
this.pprotocolType = pprotocolType;
this.detectionRecordId = detectionRecordId;
this.yunOrderNo = yunOrderNo;
this.getProtocolName();
this.getRecordInfo(detectionRecordId);
this.getDetectionName(yunOrderNo);
......@@ -392,7 +394,7 @@ export default {
{
path: '/insuranceBindCodeSuccess',
query: {
projectId: this.projectId,
yunOrderNo: this.yunOrderNo,
detectionRecordId: this.detectionRecordId
},
}
......
......@@ -99,12 +99,14 @@ export default {
background: '',
},
dataDetail: {},
detectionRecordId: ''
detectionRecordId: '',
yunOrderNo: ''
};
},
created() {
const {detectionRecordId} = this.$route.query;
const {detectionRecordId, yunOrderNo} = this.$route.query;
this.detectionRecordId = detectionRecordId;
this.yunOrderNo = yunOrderNo;
this.init();
},
mounted() {
......@@ -125,6 +127,7 @@ export default {
path: '/insuranceDetectionDetail',
query: {
detectionRecordId: this.detectionRecordId,
yunOrderNo: this.yunOrderNo
},
});
},
......
......@@ -241,11 +241,14 @@ export default {
path:'pagesInsurance/all-entrance/index', // 打开页面
extraData: JSON.stringify({})
},
openWebAppBtnName: '报告解读'
openWebAppBtnName: '报告解读',
yunOrderNo: ''
};
},
created() {
this.detectionRecordId = this.$route.query.detectionRecordId;
const {detectionRecordId, yunOrderNo} = this.$route.query;
this.detectionRecordId = detectionRecordId;
this.yunOrderNo = yunOrderNo;
this.init();
},
mounted() {
......@@ -256,8 +259,7 @@ export default {
const ed = {
channelSource: 'insurance_channel',
targetPath: 'pagesInsurance/all-entrance/index',
query: {detectionRecordId:this.detectionRecordId, status: this.dataDetail.status},
fromOriginPage:'insuranceDetectionDetail',
query: {detectionRecordId:this.detectionRecordId, status: this.dataDetail.status, yunOrderNo: this.yunOrderNo},
};
getDetectionDetail(this.detectionRecordId).then((res) => {
if (res.code === '000000') {
......@@ -322,7 +324,7 @@ export default {
if(this.picaWechat == 'wechat') {
return false;
}
const p = {params:{path:'pagesInsurance/all-entrance/index', query:{channelSource:'insurance_channel', detectionRecordId:this.detectionRecordId, status: this.dataDetail.status }}, type: 2};
const p = {params:{path:'pagesInsurance/all-entrance/index', query:`yunOrderNo=${this.yunOrderNo}&channelSource=insurance_channel`}, type: 2};
getJumpToWebapp(p).then(res => {
console.log('--res', res);
if(res.data) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册