video_monitor.vue 997 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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://webdevelop.nxjiewei.com/assets/html/video/?mine_code=" + option.mine_code
  15. this.href = "http://static.nxjiewei.com:8011/assets/html/zhks-quankuang/ningmeijituan/video_ws/?mine_code=" + option.mine_code
  16. // this.get_product_data_query_power()
  17. },
  18. methods:{
  19. // get_product_data_query_power(){
  20. // this.$p_api.product_data_query_power({
  21. // staff_num: uni.getStorageSync('user').staff_num,
  22. // data_module: "spjk"
  23. // }).then((res)=>{
  24. // if(res.data.content.status){
  25. // console.log("可查看")
  26. // }else{
  27. // uni.showToast({
  28. // icon:"none",
  29. // title:"没有查看权限!"
  30. // })
  31. // setTimeout(()=>{
  32. // uni.navigateBack()
  33. // },1000)
  34. // }
  35. // })
  36. // },
  37. }
  38. }
  39. </script>
  40. <style lang="scss">
  41. </style>