stockHandle.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <div class="container" id="container">
  3. <iframe
  4. height="100%"
  5. width="100%"
  6. src="/marketfront/static/views/stockHandle.html"
  7. frameborder="0"
  8. :strategyid="strategyId"
  9. :usrname="usrName"
  10. :sts="sts"
  11. :countyFlag="countyFlag"
  12. :fillFlag = "fillFlag"
  13. :regionName = "regionName"
  14. :woName = "woName"
  15. id="iframeBox"
  16. ></iframe>
  17. </div>
  18. <!-- <div class="container" id="container">
  19. <iframe
  20. height="100%"
  21. width="100%"
  22. src="/static/views/stockHandle.html"
  23. frameborder="0"
  24. :strategyid="strategyId"
  25. :usrname="usrName"
  26. :sts="sts"
  27. :countyFlag="countyFlag"
  28. :fillFlag = "fillFlag"
  29. :regionName = "regionName"
  30. :woName = "woName"
  31. id="iframeBox"
  32. ></iframe>
  33. </div> -->
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. strategyId: '',
  40. usrName:'',
  41. sts:'',
  42. query: {},
  43. countyFlag: '',
  44. fillFlag:'',
  45. regionName: '',
  46. woName: ''
  47. }
  48. },
  49. mounted() {
  50. if (JSON.stringify(this.$route.query) != "{}") {
  51. this.strategyId = this.$route.query.strategyId;
  52. this.usrName = this.$route.query.usrName;
  53. this.sts = this.$route.query.sts;
  54. this.countyFlag = this.$route.query.countyFlag;
  55. this.fillFlag = this.$route.query.fillFlag;
  56. this.regionName = this.$route.query.regionName;
  57. this.woName = this.$route.query.woName;
  58. // this.query = this.$route.query
  59. }
  60. }
  61. };
  62. </script>
  63. <style scoped>
  64. .containerr {
  65. background: #fff;
  66. height: calc(100vh);
  67. width: calc(100vw);
  68. position: fixed;
  69. left: 0;
  70. top: 0;
  71. overflow: hidden;
  72. }
  73. </style>