提交 2b56e3aa 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 8e975692
...@@ -78,13 +78,11 @@ ...@@ -78,13 +78,11 @@
class="appoint-form-title" class="appoint-form-title"
/> />
<van-field <van-field
v-model="username"
class="appoint-form-items" class="appoint-form-items"
label="省市区" label="省市区"
disabled disabled
right-icon="arrow" right-icon="arrow"
placeholder="请选择省市区" placeholder="请选择省市区"
:rules="[{ required: true, message: '请选择省市区' }]"
@click="showAreaFn" @click="showAreaFn"
> >
<template #input> <template #input>
...@@ -133,6 +131,7 @@ ...@@ -133,6 +131,7 @@
label="预约时间" label="预约时间"
required required
right-icon="arrow" right-icon="arrow"
@click="showPopup('showSelectTime')" @click="showPopup('showSelectTime')"
> >
<template #input> <template #input>
......
...@@ -182,15 +182,8 @@ export default { ...@@ -182,15 +182,8 @@ export default {
}, },
}; };
}, },
computed: {
...mapGetters(['hasAccount']),
},
mounted() { mounted() {
// setTimeout(() => { this.$loading.show();
// this.locationAreaCode = [330, 330400000000, 330424000000];
// }, 3000);
const { yunOrderNo, projectEquityNo} = this.$route.query; const { yunOrderNo, projectEquityNo} = this.$route.query;
this.yunOrderNo = yunOrderNo; this.yunOrderNo = yunOrderNo;
this.projectEquityNo = projectEquityNo; this.projectEquityNo = projectEquityNo;
...@@ -204,11 +197,10 @@ export default { ...@@ -204,11 +197,10 @@ export default {
getDetailByYunOrderNo(yunOrderNo).then(res => { getDetailByYunOrderNo(yunOrderNo).then(res => {
console.log(res); console.log(res);
this.detailInfo = res.data; this.detailInfo = res.data;
this.$loading.hide();
}); });
}, },
checkDetail() {
},
reAppoint() { reAppoint() {
this.$router.push({ this.$router.push({
path: '/appoint', path: '/appoint',
......
...@@ -46,6 +46,7 @@ export default { ...@@ -46,6 +46,7 @@ export default {
this.query = this.$route.query; this.query = this.$route.query;
this.projectEquityNo = projectEquityNo; this.projectEquityNo = projectEquityNo;
this.externalOrderNo = externalOrderNo; this.externalOrderNo = externalOrderNo;
this.$loading.show();
// get geolocation // get geolocation
// var that = this; // var that = this;
// var geolocation = new qq.maps.Geolocation(); // var geolocation = new qq.maps.Geolocation();
...@@ -110,6 +111,7 @@ export default { ...@@ -110,6 +111,7 @@ export default {
this.dectionForm.detectName = dectionData.detectionName; this.dectionForm.detectName = dectionData.detectionName;
this.dectionForm.goodsId = dectionData.goodsId; this.dectionForm.goodsId = dectionData.goodsId;
this.$store.dispatch('home/setInsuranceInfo', dectionData); this.$store.dispatch('home/setInsuranceInfo', dectionData);
this.$loading.hide();
} }
}); });
}, },
...@@ -127,6 +129,7 @@ export default { ...@@ -127,6 +129,7 @@ export default {
// https://dev-sc.yunqueyi.com/tis/insurance/create/order // https://dev-sc.yunqueyi.com/tis/insurance/create/order
this.createOrder(data); this.createOrder(data);
} }
this.$loading.hide();
} }
}); });
}, },
...@@ -164,6 +167,7 @@ export default { ...@@ -164,6 +167,7 @@ export default {
createOrder(data).then(res => { createOrder(data).then(res => {
if (res.code == '000000') { if (res.code == '000000') {
this.checkStatus(res); this.checkStatus(res);
this.$loading.hide();
} }
}); });
}, },
......
...@@ -64,37 +64,9 @@ export default { ...@@ -64,37 +64,9 @@ export default {
}; };
}, },
created() { created() {
console.log('123123');
}, },
methods: { methods: {
// evaluationResults(id) {
// evaluationResults(id).then(res => {
// console.log('evaluationResults', res);
// if (res.code === '000000') {
// console.log('evaluationResults', res);
// this.evaluationInfo = res.data;
// }
// });
// const questionInfo_MX = JSON.parse(localStorage.getItem('questionInfo_MX'));
// getDetailByUnionId(questionInfo_MX.patientId).then( res => {
// if (res.code === '000000') {
// const { status, detectionServiceRecord} = res.data;
// const data = JSON.parse(localStorage.getItem('extraData_MX'));
// const d = {userId: questionInfo_MX.patientId, detectionDetailID:detectionServiceRecord.id, ...data};
// this.openWebAppConfig.extraData = JSON.stringify(d);
// if(status == 0) {
// console.log('111');
// }
// if(status == 1 || status == 5) {
// this.openWebAppConfig.path = 'pagesUserCenter/insurance/insurance-detection-detail';
// }
// if(status == 2 || status == 3 || status == 4) {
// this.openWebAppConfig.path = 'pages/health/detection-detail/index';
// }
// }
// console.log('--this.openWebAppConfig', this.openWebAppConfig);
// });
// },
}, },
}; };
</script> </script>
......
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
mounted() { mounted() {
const { query } = this.$route; const { query } = this.$route;
this.$loading.show();
this.query = query; this.query = query;
this.needDetect = !(query.needDetect == '1'); this.needDetect = !(query.needDetect == '1');
console.log('query', this.needDetect); console.log('query', this.needDetect);
...@@ -120,6 +120,7 @@ export default { ...@@ -120,6 +120,7 @@ export default {
console.log('dectionData.detectionName', dectionData.detectionName); console.log('dectionData.detectionName', dectionData.detectionName);
this.detectionName = dectionData.detectionName; this.detectionName = dectionData.detectionName;
this.$store.dispatch('home/setInsuranceInfo', dectionData); this.$store.dispatch('home/setInsuranceInfo', dectionData);
this.$loading.hide();
} }
}); });
}, },
...@@ -139,6 +140,7 @@ export default { ...@@ -139,6 +140,7 @@ export default {
console.log(res); console.log(res);
this.buttonStatus = res.data.buttonStatus; this.buttonStatus = res.data.buttonStatus;
this.buttonText = res.data.statusDesc; this.buttonText = res.data.statusDesc;
this.$loading.hide();
}); });
} }
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册