|
@@ -22,7 +22,7 @@
|
|
|
<div class="select-box--item">
|
|
<div class="select-box--item">
|
|
|
<span>违规类型:</span>
|
|
<span>违规类型:</span>
|
|
|
<el-select
|
|
<el-select
|
|
|
- v-model="searchData.violationType"
|
|
|
|
|
|
|
+ v-model="searchData.violateType"
|
|
|
placeholder="请选择违规类型"
|
|
placeholder="请选择违规类型"
|
|
|
class="select-box--select"
|
|
class="select-box--select"
|
|
|
clearable
|
|
clearable
|
|
@@ -90,12 +90,24 @@
|
|
|
@update:pageNumber="handleCurrentChange"
|
|
@update:pageNumber="handleCurrentChange"
|
|
|
@update:selection="handleSelectionChange"
|
|
@update:selection="handleSelectionChange"
|
|
|
>
|
|
>
|
|
|
|
|
+ <template #violateName="scope">
|
|
|
|
|
+ <span>{{ scope.row.violateName || '-' }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #deptName="scope">
|
|
|
|
|
+ <span>{{ scope.row.deptName || '-' }}</span>
|
|
|
|
|
+ </template>
|
|
|
<template #violateType="scope">
|
|
<template #violateType="scope">
|
|
|
<span>{{ ACT_VIOLATION_TYPE_LABEL[scope.row.violateType] }}</span>
|
|
<span>{{ ACT_VIOLATION_TYPE_LABEL[scope.row.violateType] }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template #speed="scope">
|
|
|
|
|
+ <span>{{ scope.row.speed || '-' }}</span>
|
|
|
|
|
+ </template>
|
|
|
<template #capturePhotos="scope">
|
|
<template #capturePhotos="scope">
|
|
|
<ImageViewer :file-list="scope.row.capturePhotos" />
|
|
<ImageViewer :file-list="scope.row.capturePhotos" />
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template #violateLocation="scope">
|
|
|
|
|
+ <span>{{ scope.row.violateLocation || '-' }}</span>
|
|
|
|
|
+ </template>
|
|
|
<template #createSource="scope">
|
|
<template #createSource="scope">
|
|
|
<span>{{ ACT_NOTICE_DATA_SOURCE_LABEL[scope.row.createSource] }}</span>
|
|
<span>{{ ACT_NOTICE_DATA_SOURCE_LABEL[scope.row.createSource] }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -210,8 +222,8 @@
|
|
|
if (searchData.isNotice) {
|
|
if (searchData.isNotice) {
|
|
|
tabelQuery.queryParam.isNotice = searchData.isNotice;
|
|
tabelQuery.queryParam.isNotice = searchData.isNotice;
|
|
|
}
|
|
}
|
|
|
- if (searchData.violationType) {
|
|
|
|
|
- tabelQuery.queryParam.violationType = searchData.violationType;
|
|
|
|
|
|
|
+ if (searchData.violateType) {
|
|
|
|
|
+ tabelQuery.queryParam.violateType = searchData.violateType;
|
|
|
}
|
|
}
|
|
|
if (searchData.searchTime) {
|
|
if (searchData.searchTime) {
|
|
|
tabelQuery.queryParam.startTime = dayjs(searchData.searchTime[0]).format('YYYY-MM-DD HH:MM:ss');
|
|
tabelQuery.queryParam.startTime = dayjs(searchData.searchTime[0]).format('YYYY-MM-DD HH:MM:ss');
|
|
@@ -229,7 +241,7 @@
|
|
|
searchData.carNumber = undefined;
|
|
searchData.carNumber = undefined;
|
|
|
searchData.violateName = undefined;
|
|
searchData.violateName = undefined;
|
|
|
searchData.deptName = undefined;
|
|
searchData.deptName = undefined;
|
|
|
- searchData.violationType = undefined;
|
|
|
|
|
|
|
+ searchData.violateType = undefined;
|
|
|
searchData.searchTime = undefined;
|
|
searchData.searchTime = undefined;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -316,7 +328,7 @@
|
|
|
const batchImportVisible = ref(false);
|
|
const batchImportVisible = ref(false);
|
|
|
const { urlPrefix } = useGlobSetting();
|
|
const { urlPrefix } = useGlobSetting();
|
|
|
const importApiUrl = ref(urlJoin(urlPrefix, '/trafficViolation/importTrafficViolationList'));
|
|
const importApiUrl = ref(urlJoin(urlPrefix, '/trafficViolation/importTrafficViolationList'));
|
|
|
- const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-vehicle-template.xlsx');
|
|
|
|
|
|
|
+ const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-violation-template.xlsx');
|
|
|
|
|
|
|
|
const handleUpdate = () => {
|
|
const handleUpdate = () => {
|
|
|
batchImportVisible.value = false;
|
|
batchImportVisible.value = false;
|