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

da ka

上级 3837d450
......@@ -154,13 +154,15 @@ export default {
component_tag: '7802847#0#0#查看我的检测',
web_data:{yunOrderNo: this.yunOrderNo},
});
this.$router.push({
path: url,
query: {
detectionRecordId: this.detectionRecordId,
yunOrderNo: this.yunOrderNo
},
});
const u = window.location.origin + '/pica-insurance' + url;
window.location.href = u;
// this.$router.push({
// path: url,
// query: {
// detectionRecordId: this.detectionRecordId,
// yunOrderNo: this.yunOrderNo
// },
// });
},
copyText(item) {
const input = document.createElement('input');
......
......@@ -170,6 +170,7 @@
:username="openWebAppConfig.username"
:path="openWebAppConfig.path"
:extra-data="openWebAppConfig.extraData"
:env-version="envVersion"
>
<script type="text/wxtag-template">
<style>.btn {position:absolute; top: 0; color: #ffffff;text-align: center;line-height: 40px; left: 0; width:100%; height: 100%;}</style> <div class="btn">{{ openWebAppBtnName }}</div>
......@@ -198,6 +199,7 @@
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%"
:username="openWebAppConfigPositive.username"
:path="openWebAppConfigPositive.path"
:env-version="envVersion"
>
<script type="text/wxtag-template">
<style>.btn {position:absolute; top: 0; color: #ffffff;text-align: center;line-height: 40px; left: 0; width:100%; height: 100%;}</style> <div class="btn">{{ openWebAppBtnName }}</div>
......@@ -222,6 +224,7 @@
</template>
<script>
import { getDetectionDetailProces, getJumpToWebapp, detectionRecordInfo } from '@/api/detection';
const { VUE_APP_ENV } = process.env;
// 0待完善信息、1待采样、2已采样、21已送检、22快递已签收、 25实验室已收样、 27已上机、 3已完成、5样本失效、 6待支付
export default {
filters: {
......@@ -255,6 +258,7 @@ export default {
},
data() {
return {
envVersion: VUE_APP_ENV == 'production' ? 'release' : 'trial',
picaWechat:window._picaWechat,
status: '',
headerInfo: {
......@@ -289,6 +293,7 @@ export default {
this.init();
},
mounted() {
console.log('--VUE_APP_ENV', VUE_APP_ENV);
this.$sendBuriedData({
action: 'ACTION_WEB_AFTER',
component_tag: '7802848#0#0#检测详情页面',
......
......@@ -132,7 +132,7 @@
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%"
:username="openWebAppConfig.username"
:path="openWebAppConfig.path"
env-version="trial"
:env-version="envVersion"
:extra-data="openWebAppConfig.extraData"
>
<script type="text/wxtag-template">
......@@ -151,6 +151,7 @@
</div>
</template>
<script>
const { VUE_APP_ENV } = process.env;
import { getQuickDetectionDetailProces, getJumpToWebapp, detectionRecordInfo } from '@/api/detection';
// 0待完善信息、1待采样、2已采样、21已送检、22快递已签收、 25实验室已收样、 27已上机、 3已完成、5样本失效、 6待支付
export default {
......@@ -177,6 +178,7 @@ export default {
},
data() {
return {
envVersion: VUE_APP_ENV == 'production' ? 'release' : 'trial',
picaWechat:window._picaWechat,
status: '',
headerInfo: {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册