warehouseReceiptVideoMonitoring.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. //贸易服务管理
  2. <template>
  3. <div class="container">
  4. <div class="content">
  5. <div v-for="(item,index) in dataList" class="item" @click="showInfo(item)">
  6. <iframe :src='"https://live.eliangeyun.com/play.html?serial="+item.DeviceID+"&code="+item.ID+"&aspect=fullscreen"' allowfullscreen ="true"
  7. webkitallowfullscreen="true"
  8. mozallowfullscreen="true"
  9. allow="autoplay; fullscreen; microphone;" class="ifram-item"></iframe>
  10. <div class="mask">
  11. <div class="top">
  12. 黑龙江中天昊元贸易有限公司【鲅鱼圈金信库】
  13. </div>
  14. </div>
  15. <div class="showInfo" v-if="item.check">
  16. <div class="row row1">
  17. <div class="left">
  18. 借款方:
  19. </div>
  20. <div class="right">
  21. 黑龙江中天昊元贸易有限公司
  22. </div>
  23. </div>
  24. <div class="row row2">
  25. <div class="left">
  26. 仓单数量:
  27. </div>
  28. <div class="right">
  29. 15个<img src="../../../public/img/eyes.png" alt="" style="width: 20px;margin-left:10px" @click="toPage(item)">
  30. </div>
  31. </div>
  32. <div class="row row3">
  33. <div class="left">
  34. 金额:
  35. </div>
  36. <div class="right">
  37. 放款100000元/还款10000元/待还90000元
  38. </div>
  39. </div>
  40. <div class="row row4">
  41. <div class="left">
  42. 抵押物:
  43. </div>
  44. <div class="right">
  45. 玉米
  46. </div>
  47. </div>
  48. <div class="row row5">
  49. <div class="left">
  50. 仓库名称:
  51. </div>
  52. <div class="right">
  53. 鲅鱼圈金信库
  54. </div>
  55. </div>
  56. <div class="row row6">
  57. <div class="left">
  58. 借款方:
  59. </div>
  60. <div class="right">
  61. 黑龙江中天昊元贸易有限公司
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. </template>
  69. <script>
  70. import mapDrag from '@/components/mapdrag/warehouseReceiptMap'
  71. import {
  72. getList
  73. } from '@/model/tradeServicesManagement/index'
  74. import {
  75. selectWarehouseSelf,
  76. } from '@/model/houseSelfCollect/index'
  77. export default {
  78. components: {
  79. mapDrag
  80. },
  81. data() {
  82. return {
  83. dataList:[
  84. {
  85. check:false,
  86. },
  87. {
  88. check:false,
  89. }, {
  90. check:false,
  91. }, {
  92. check:false,
  93. }, {
  94. check:false,
  95. }, {
  96. check:false,
  97. }, {
  98. check:false,
  99. }, {
  100. check:false,
  101. }, {
  102. check:false,
  103. }, {
  104. check:false,
  105. }, {
  106. check:false,
  107. }, {
  108. check:false,
  109. }, {
  110. check:false,
  111. }, {
  112. check:false,
  113. }, {
  114. check:false,
  115. }, {
  116. check:false,
  117. }, {
  118. check:false,
  119. }
  120. ],
  121. }
  122. },
  123. activated() {},
  124. beforeCreate() {
  125. },
  126. mounted() {
  127. },
  128. methods: {
  129. showInfo(val){debugger
  130. val.check = !val.check
  131. },
  132. toPage(item){
  133. this.$router.push({name:'stockWarehouseReceiptRegulation',query:{
  134. compId:'1',
  135. bankId:'2',
  136. warehouseId:'3'
  137. }})
  138. }
  139. }
  140. }
  141. </script>
  142. <style lang="scss" scoped>
  143. .content{
  144. .item{
  145. position: relative;
  146. width: calc(25% - 8px);
  147. height: 25vh;
  148. display: inline-block;
  149. margin: 4px;
  150. }
  151. .ifram-item{
  152. width: 100%;
  153. border: 0;
  154. height: 100%;
  155. }
  156. .mask{
  157. width: 100%;
  158. height: 100%;
  159. position: absolute;
  160. top: 0;
  161. .top{
  162. background-color: rgba(15, 21, 58, 0.4);
  163. color: #fff;
  164. font-weight: bold;
  165. padding: 10px;
  166. }
  167. }
  168. .showInfo{
  169. width: 100%;
  170. background: #0F153A;
  171. height: 100%;
  172. position: absolute;
  173. top: 0;
  174. padding: 10px;
  175. .row{
  176. color:#fff;
  177. display: flex;
  178. align-items: center;
  179. margin: 10px;
  180. .right{
  181. display: flex;
  182. align-items: center;
  183. }
  184. }
  185. .row1{
  186. color: #F29C25;
  187. font-size: 18px;
  188. }
  189. }
  190. }
  191. </style>