You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1017 B
36 lines
1017 B
<template>
|
|
<view>
|
|
<!-- <view>https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken={{worktoken}}</view> -->
|
|
<web-view :src="'https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken=' + worktoken"></web-view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
const app = getApp();
|
|
export default {
|
|
data() {
|
|
return {
|
|
worktoken: ''
|
|
};
|
|
},
|
|
onLoad: function (options) {
|
|
console.log(options);
|
|
console.log(decodeURIComponent(options.worktoken));
|
|
if (options.token) {
|
|
this.setData({
|
|
worktoken: `${options.worktoken}`
|
|
});
|
|
console.log('url', this.worktoken);
|
|
} else {
|
|
this.setData({
|
|
worktoken: decodeURIComponent(options.worktoken)
|
|
// url:`${options.url}?deptName=${options.deptName}&gridId=${options.gridId}`
|
|
});
|
|
}
|
|
},
|
|
methods: {}
|
|
};
|
|
</script>
|
|
<style>
|
|
/* pages/webView/webView.wxss */
|
|
</style>
|
|
|