diff --git a/ruoyi-ui/src/views/videoReview/index.vue b/ruoyi-ui/src/views/videoReview/index.vue
index 069a5b1c..730b0017 100644
--- a/ruoyi-ui/src/views/videoReview/index.vue
+++ b/ruoyi-ui/src/views/videoReview/index.vue
@@ -28,7 +28,7 @@
+
+ 导出
+
+
+
+
@@ -261,11 +272,11 @@
行驶方向:
- {{getEventDirection (currentEvent.direction )}}
+ {{ getEventDirection(currentEvent.direction) }}
事件类型:
- {{getEventTypeDescription(currentEvent.warningSubclass)}}
+ {{ getEventTypeDescription(currentEvent.warningSubclass) }}
高速名称:
@@ -452,6 +463,27 @@ export default {
}
},
methods: {
+ /** 导出按钮操作 */
+ handleExport() {
+ if (this.filterType === 'time') {
+ this.download('/business/warning/videoReviewListExport', {
+ ...this.queryParams,
+ startDate: this.queryParams.dateTime ? this.queryParams.dateTime : moment().startOf('month').format("YYYY-MM"),
+ type: this.queryParams.type ? this.queryParams.type : '1',
+ }, `视频审核事件.xlsx`)
+
+ } else {
+ this.download('/business/warning/videoReviewEventSourceListExport', {
+ ...this.queryParams,
+ startDate: this.queryParams.typeDateRange ? this.queryParams.typeDateRange[0] : null,
+ endDate: this.queryParams.typeDateRange ? this.queryParams.typeDateRange[1] : null,
+ startStakeMark: this.formatStakeMark(this.queryParams.stakeMarkArry),
+ endStakeMark: this.formatStakeMark(this.queryParams.endMark)
+ }, `视频审核事件.xlsx`)
+ }
+
+
+ },
handleDateChange(value) {
if (!value) return;
@@ -471,7 +503,7 @@ export default {
this.$set(this.queryParams, 'dateTime', formattedDate);
},
- getEventDirection(state){
+ getEventDirection(state) {
const stateMap = {
1: '菏泽方向',
3: '济南方向',
@@ -989,14 +1021,24 @@ export default {
.value {
flex: 1;
}
+
.el-dialog__header {
cursor: move;
}
+
.selectRoad {
width: 90px;
}
+
::v-deep .el-input--mini .el-input__inner {
height: 35px;
line-height: 28px;
}
+
+.table-container {
+ position: relative;
+ overflow-y: auto;
+ height: 480px; /* 调整高度以适应其他UI元素如按钮等 */
+ margin-bottom: 1em; /* 根据需要调整底部间距 */
+}