1234567891011121314151617181920212223242526272829303132 |
- <template>
- <view>
- <web-view :src="url"></web-view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- staff_num: "",
- url: ""
- };
- },
- onLoad() {
- this.staff_num = uni.getStorageSync('user').staff_num
- this.set_user()
- },
- methods: {
- set_user() {
- this.url = "http://pan.nxjiewei.com/index.php/login?user=" + this.staff_num
- }
- }
- }
- </script>
- <style lang="scss">
- </style>
|