Blame view

src/views/highVideo.vue 7.19 KB
651530df   liuqimichale   高位视频
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  <template>
  
    <el-container style="height: 100%;width: 1190px;margin: 0 auto;">
      <el-header class="header-wrap">
        <el-row>
          <el-col :span="4">
            <p>车场:XHZ-002</p>
          </el-col>
  
          <el-col :span="4">
            <p>设备:AAAAAAA</p>
          </el-col>
  
          <el-col :span="3">
            <p>车位:XHZ-002</p>
          </el-col>
  
          <el-col :span="3">
            <p>待审:AAAAAAA</p>
          </el-col>
  
          <el-col :span="4">
            <p>获取数据:AAAAA</p>
          </el-col>
  
          <el-col :span="2">
            <p>刷新</p>
          </el-col>
  
          <el-col :span="4">
            <p>未审总数:AAAAAAA</p>
          </el-col>
        </el-row>
      </el-header>
6d921c99   liuqimichale   高位视频
35
      <el-main style="padding: 0;display: flex">
651530df   liuqimichale   高位视频
36
        <ul class="status-wrap">
73c8d18c   liuqimichale   高位视频 orderExamin...
37
          <li v-for="(i, index) in list" :key="i.id">
651530df   liuqimichale   高位视频
38
39
40
            <el-row>
              <el-col :span="8">
                <p class="status-ifo">
73c8d18c   liuqimichale   高位视频 orderExamin...
41
42
                  <span>{{ i.parkState | parkStateFilter}}</span>
                  <span class="blueText">{{ i.examineState | examineStateFilter }}</span>
651530df   liuqimichale   高位视频
43
44
                </p>
                <p class="status-ifo">
73c8d18c   liuqimichale   高位视频 orderExamin...
45
46
                  <span>车牌号码: {{ i.carNumber }}</span>
                  <span>车牌颜色: {{ i.vplColor }}</span>
651530df   liuqimichale   高位视频
47
48
49
50
51
52
                </p>
                <p class="status-ifo">
                  <span>车辆类型: 轿车</span>
                  <span>车身颜色: 其他</span>
                </p>
                <p class="status-ifo">
73c8d18c   liuqimichale   高位视频 orderExamin...
53
54
                  <span>{{ i.parkTime }}</span>
                  <span>停车事件: {{ i.parkState}}</span>
651530df   liuqimichale   高位视频
55
56
                </p>
              </el-col>
6d921c99   liuqimichale   高位视频
57
              <el-col :span="16" style="overflow-x: auto;width: 570px;">
651530df   liuqimichale   高位视频
58
59
60
61
62
63
64
65
66
67
                <div class="imgBox" :style="{width: attachmentList.length*190+'px'}">
                  <img
                    v-for="(item,index) in attachmentList"
                    :key="index"
                    :src="item"
                    preview="1"
                  />
                </div>
  
              </el-col>
6d921c99   liuqimichale   高位视频
68
69
70
              <!--<el-col :span="4" style="text-align: center;line-height: 120px">-->
                <!--<el-button type="primary">操作</el-button>-->
              <!--</el-col>-->
651530df   liuqimichale   高位视频
71
72
73
  
            </el-row>
          </li>
73c8d18c   liuqimichale   高位视频 orderExamin...
74
  
651530df   liuqimichale   高位视频
75
        </ul>
6d921c99   liuqimichale   高位视频
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
  
        <div class="handle-wrap">
          <el-input v-model="carNumber" maxlength="9">
            <template slot="prepend">改车牌</template>
            <el-button slot="append">确定</el-button>
          </el-input>
          <div>
            <el-date-picker style="width:100%;margin-top:15px;"
              v-model="value1"
              default-value="2021-08-01 00:02:02"
              type="datetime"
              placeholder="选择日期时间">
            </el-date-picker>
  
          </div>
          <div>
            <el-button type="primary" size="medium" style="width:100%;margin-top:15px;">通过</el-button>
          </div>
          <div>
            <el-button type="primary" size="medium" style="width:100%;margin-top:15px;">废弃</el-button>
  
          </div>
  
          <div>
            <el-button type="primary" size="medium" style="width:100%;margin-top:15px;">撤销</el-button>
  
          </div>
  
          <div>
            <el-button type="primary" size="medium" style="width:100%;margin-top:15px;">补录</el-button>
  
          </div>
  
          <div>
            <el-button type="success" size="medium" style="width:100%;margin-top:15px;">确定</el-button>
  
          </div>
  
  
        </div>
651530df   liuqimichale   高位视频
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
      </el-main>
      <el-footer class="footer-wrap" style="height: 40px;">
  
        <el-row>
          <el-col :span="6">
            <p>今日已处理 100 条,通过 80 条,废弃 20 条</p>
          </el-col>
  
          <el-col :span="15" :offset="3">
            <p>操作按钮</p>
          </el-col>
        </el-row>
  
      </el-footer>
  
      <el-dialog
        title="操作"
        :visible.sync="centerDialogVisible"
        width="30%"
        center>
  
        <div class="button">
6d921c99   liuqimichale   高位视频
138
          <el-input v-model="carNumber" maxlength="9">
651530df   liuqimichale   高位视频
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
            <template slot="prepend">修改车牌</template>
          </el-input>
          <div style="margin-bottom: 15px;"></div>
          <el-button type="primary">通过</el-button>
          <el-button type="primary">废弃</el-button>
          <el-button type="primary">通过</el-button>
          <el-button type="primary">废弃</el-button>
          <el-button type="primary">通过</el-button>
          <el-button type="primary">废弃</el-button>
          <el-button type="primary">通过</el-button>
          <el-button type="primary">废弃</el-button>
        </div>
        <span slot="footer" class="dialog-footer">
      <el-button @click="centerDialogVisible = false">取 消</el-button>
      <el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
    </span>
      </el-dialog>
  
    </el-container>
  
  </template>
  
  <script>
  
6d921c99   liuqimichale   高位视频
163
164
  import { orderExamine } from '@/api/highVideo'
  
651530df   liuqimichale   高位视频
165
166
167
168
  export default {
    name: 'highVideo',
    data() {
      return {
73c8d18c   liuqimichale   高位视频 orderExamin...
169
        list:[],
6d921c99   liuqimichale   高位视频
170
171
172
173
174
175
        value1: '2021-08-01 00:02:02',
        centerDialogVisible: false,
        carNumber: '京A123312',
        swiperOption: {
          autoplay: 5000,//可选选项,自动滑动
          loop: true,//可选选项,开启循环
651530df   liuqimichale   高位视频
176
        },
6d921c99   liuqimichale   高位视频
177
        attachmentList: [
651530df   liuqimichale   高位视频
178
179
180
181
182
183
184
185
          'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png',
          'https://img-blog.csdnimg.cn/20190504154805438.png',
          'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png',
          'https://img-blog.csdnimg.cn/20190504154805438.png',
          'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png',
          'https://img-blog.csdnimg.cn/20190504154805438.png',
        ]
      }
73c8d18c   liuqimichale   高位视频 orderExamin...
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
    },
    created() {
      this.orderExamine()
    },
    methods:{
      orderExamine(){
        let jsondata = {}
        orderExamine(jsondata).then(response => {
          console.log(response)
          this.list = response.data.dataList
        })
      }
    },
    filters: {
      parkStateFilter(val){
        if(val===10){
          return '在场'
        }else if(val===20){
          return '离场'
        }else{
          return '预定'
        }
      },
      examineStateFilter(val){
  
        if(val===1){
          return '通过'
        }else if(val===0){
          return '需审核'
        }else{
          return '废弃'
        }
      }
651530df   liuqimichale   高位视频
219
220
221
222
223
224
225
226
227
228
229
230
231
    }
  }
  </script>
  
  <style scoped lang="scss">
  
    .header-wrap {
      line-height: 60px;
      background: #409EFF;
      font-size: 16px;
      color: #fff;
    }
  
6d921c99   liuqimichale   高位视频
232
233
234
    .status-wrap {
      flex: 1;
    }
651530df   liuqimichale   高位视频
235
  
6d921c99   liuqimichale   高位视频
236
237
238
239
240
    .handle-wrap {
      width: 300px;
      padding: 15px;
      border-left: 1px solid #ddd;
      border-right: 1px solid #ddd;
651530df   liuqimichale   高位视频
241
242
    }
  
6d921c99   liuqimichale   高位视频
243
    .status-wrap > li {
651530df   liuqimichale   高位视频
244
245
246
247
      height: 130px;
      border-bottom: 1px solid #ddd;
    }
  
6d921c99   liuqimichale   高位视频
248
249
    .status-wrap > li:last-child {
      border-bottom: 0;
651530df   liuqimichale   高位视频
250
251
    }
  
6d921c99   liuqimichale   高位视频
252
    .status-ifo {
651530df   liuqimichale   高位视频
253
254
255
      display: flex;
      margin-top: 10px;
    }
6d921c99   liuqimichale   高位视频
256
257
  
    .status-ifo span {
651530df   liuqimichale   高位视频
258
259
260
      flex: 1;
    }
  
6d921c99   liuqimichale   高位视频
261
    .blueText {
651530df   liuqimichale   高位视频
262
263
264
      color: blue;
    }
  
6d921c99   liuqimichale   高位视频
265
    .redText {
651530df   liuqimichale   高位视频
266
267
268
      color: red;
    }
  
6d921c99   liuqimichale   高位视频
269
    .imgBox {
651530df   liuqimichale   高位视频
270
271
272
273
274
      /*width: 590px;*/
      height: 120px;
      padding-top: 10px;
      overflow-y: hidden;
      overflow-x: auto;
6d921c99   liuqimichale   高位视频
275
      white-space: nowrap
651530df   liuqimichale   高位视频
276
    }
6d921c99   liuqimichale   高位视频
277
278
279
  
    .imgBox > img {
      display: inline-block;
651530df   liuqimichale   高位视频
280
281
282
283
284
      width: 180px;
      height: 110px;
      float: left;
      margin-right: 10px;
    }
6d921c99   liuqimichale   高位视频
285
286
  
    .imgBox > img:last-child {
651530df   liuqimichale   高位视频
287
288
289
      margin-right: 0;
    }
  
6d921c99   liuqimichale   高位视频
290
    .button button {
651530df   liuqimichale   高位视频
291
292
293
294
295
      margin-left: 0;
      margin-right: 10px;
      margin-bottom: 10px;
    }
  
6d921c99   liuqimichale   高位视频
296
    .footer-wrap {
651530df   liuqimichale   高位视频
297
298
299
300
301
302
      line-height: 40px;
      background: #f5f5f5;
    }
  
  
  </style>