video_monitor.vue 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <view>
  3. <web-view :src="href"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. href:""
  11. };
  12. },
  13. onLoad(option) {
  14. // this.href = "http://anstatic.nxmy.com:8011/assets/html/video/?mine_code=" + option.mine_code
  15. this.href = "http://anstatic.nxmy.com:8011/assets/html/zhks-quankuang/ningmeijituan/video_ws/video_login?mine_code=" + option.mine_code + "_jituan" + "&ts=" + Date.now();
  16. // console.log(this.href)
  17. // this.get_product_data_query_power()
  18. },
  19. methods:{
  20. // get_product_data_query_power(){
  21. // this.$p_api.product_data_query_power({
  22. // staff_num: uni.getStorageSync('user').staff_num,
  23. // data_module: "spjk"
  24. // }).then((res)=>{
  25. // if(res.data.content.status){
  26. // console.log("可查看")
  27. // }else{
  28. // uni.showToast({
  29. // icon:"none",
  30. // title:"没有查看权限!"
  31. // })
  32. // setTimeout(()=>{
  33. // uni.navigateBack()
  34. // },1000)
  35. // }
  36. // })
  37. // },
  38. }
  39. }
  40. </script>
  41. <style lang="scss">
  42. </style>