Browse Source

2021-12-27 人员违规报警图片缩小,时间问题

East 3 năm trước cách đây
mục cha
commit
79deb82720
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      src/views/Alarm/ViolationUser.vue

+ 4 - 3
src/views/Alarm/ViolationUser.vue

@@ -38,9 +38,10 @@
     <el-dialog
       title="人员违规报警图片"
       :visible.sync="dialogVisible"
-      width="50%"
+      width="25%"
+      style="text-align:center"
     >
-      <img :src="imgUrl" alt="人员违规报警图片" width="100%" />
+      <img :src="imgUrl" alt="人员违规报警图片" height="50%" />
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible = false">取 消</el-button>
         <el-button type="primary" @click="dialogVisible = false">
@@ -143,7 +144,7 @@ export default {
         pageNum: this.pageNum,
         pageSize: this.pageSize,
         startSwingTime: this.form.time ? this.form.time[0] : "",
-        endSwingTime: this.form.time ? this.form.time[1] : "",
+        endSwingTime: this.form.time ? this.form.time[1] + " 23:59:59" : "",
       };
       postPerson(params).then((res) => {
         if (res.code === 0) {