123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- //贸易服务管理
- <template>
- <div class="container">
- <div class="content">
- <div v-for="(item,index) in dataList" class="item" @click="showInfo(item)">
- <iframe :src='"https://live.eliangeyun.com/play.html?serial="+item.DeviceID+"&code="+item.ID+"&aspect=fullscreen"' allowfullscreen ="true"
- webkitallowfullscreen="true"
- mozallowfullscreen="true"
- allow="autoplay; fullscreen; microphone;" class="ifram-item"></iframe>
- <div class="mask">
- <div class="top">
- 黑龙江中天昊元贸易有限公司【鲅鱼圈金信库】
- </div>
- </div>
- <div class="showInfo" v-if="item.check">
- <div class="row row1">
- <div class="left">
- 借款方:
- </div>
- <div class="right">
- 黑龙江中天昊元贸易有限公司
- </div>
- </div>
- <div class="row row2">
- <div class="left">
- 仓单数量:
- </div>
- <div class="right">
- 15个<img src="../../../public/img/eyes.png" alt="" style="width: 20px;margin-left:10px" @click="toPage(item)">
- </div>
- </div>
- <div class="row row3">
- <div class="left">
- 金额:
- </div>
- <div class="right">
- 放款100000元/还款10000元/待还90000元
- </div>
- </div>
- <div class="row row4">
- <div class="left">
- 抵押物:
- </div>
- <div class="right">
- 玉米
- </div>
- </div>
- <div class="row row5">
- <div class="left">
- 仓库名称:
- </div>
- <div class="right">
- 鲅鱼圈金信库
- </div>
- </div>
- <div class="row row6">
- <div class="left">
- 借款方:
- </div>
- <div class="right">
- 黑龙江中天昊元贸易有限公司
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import mapDrag from '@/components/mapdrag/warehouseReceiptMap'
- import {
- getList
- } from '@/model/tradeServicesManagement/index'
- import {
- selectWarehouseSelf,
- } from '@/model/houseSelfCollect/index'
- export default {
- components: {
- mapDrag
- },
- data() {
- return {
- dataList:[
- {
- check:false,
- },
- {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }, {
- check:false,
- }
-
- ],
- }
- },
- activated() {},
- beforeCreate() {
- },
- mounted() {
- },
- methods: {
- showInfo(val){debugger
- val.check = !val.check
- },
- toPage(item){
- this.$router.push({name:'stockWarehouseReceiptRegulation',query:{
- compId:'1',
- bankId:'2',
- warehouseId:'3'
- }})
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .content{
- .item{
- position: relative;
- width: calc(25% - 8px);
- height: 25vh;
- display: inline-block;
- margin: 4px;
-
- }
- .ifram-item{
- width: 100%;
- border: 0;
- height: 100%;
- }
- .mask{
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- .top{
- background-color: rgba(15, 21, 58, 0.4);
- color: #fff;
- font-weight: bold;
- padding: 10px;
- }
- }
- .showInfo{
- width: 100%;
- background: #0F153A;
- height: 100%;
- position: absolute;
- top: 0;
- padding: 10px;
- .row{
- color:#fff;
- display: flex;
- align-items: center;
- margin: 10px;
- .right{
- display: flex;
- align-items: center;
- }
- }
- .row1{
- color: #F29C25;
- font-size: 18px;
-
- }
- }
- }
- </style>
|