1234567891011121314151617181920212223242526272829303132333435363738 |
- <template>
- <view>
- <web-view :src="href"></web-view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- // 手写签名H5地址
- href:'',
- mine_code:"",
-
- staff_num:'',
- Authorization:""
- }
- },
- onLoad() {
- // 初始化当前煤矿编码
- this.mine_code = uni.getStorageSync('mine_code')
- // 用户工号
- this.staff_num = uni.getStorageSync('user').staff_num
- this.Authorization = uni.getStorageSync('token_type') + ' ' + uni.getStorageSync('Authorization')
- // console.log(this.Authorization)
- // console.log(this.staff_num)
-
- this.href = "http://anstatic.nxmy.com:8011/assets/html/zhks-quankuang/signature?staff=" + this.staff_num + "&token=" + this.Authorization + "&mine_code=" + this.mine_code
-
- }
- }
- </script>
- <style scoped="true" lang="scss">
-
- </style>
|