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

da ka

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