From 46f17e67b7bd21cea33891bf44aa70e81d05ad55 Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Mon, 6 Jan 2025 18:41:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=8F=B0=E8=B4=A6=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/books.ts | 8 + src/api/data/petitionComplaint.ts | 28 +- src/api/data/videoInspection.ts | 8 + src/api/work/negativeTask.ts | 6 + src/api/work/news.ts | 28 + src/components/data/distrbute.vue | 34 +- src/components/data/gab-import.vue | 284 +++++++++ src/components/data/gj-import.vue | 247 ++++++++ src/components/data/import.vue | 568 ------------------ src/components/home/work/my-alarm.vue | 2 +- src/views/books/Ajhc.vue | 378 +++++------- src/views/books/Gabxf.vue | 12 +- src/views/books/Gjxf.vue | 12 +- src/views/data/Gabxf.vue | 12 +- src/views/data/Gjxf.vue | 4 +- src/views/data/Mail12337.vue | 158 +++-- src/views/data/VideoInspection.vue | 162 +++++ .../sensitivePerception/ModelClueTask.vue | 3 - src/views/system/DepartMaping.vue | 222 +++++-- src/views/work/BatchDistribute.vue | 89 ++- src/views/work/News.vue | 272 +++++++++ 21 files changed, 1537 insertions(+), 1000 deletions(-) create mode 100644 src/api/data/videoInspection.ts create mode 100644 src/api/work/news.ts create mode 100644 src/components/data/gab-import.vue create mode 100644 src/components/data/gj-import.vue delete mode 100644 src/components/data/import.vue create mode 100644 src/views/data/VideoInspection.vue create mode 100644 src/views/work/News.vue diff --git a/src/api/books.ts b/src/api/books.ts index 71d2ee9..c621384 100644 --- a/src/api/books.ts +++ b/src/api/books.ts @@ -20,4 +20,12 @@ export function listNegativeXf(query, problemSourcesCode) { url: `/negative/books/xf/${problemSourcesCode}`, query }); +} + +// 案件核查 +export function listNegativeAjhc(query) { + return request.get({ + url: `/negative/books/ajhc`, + query + }); } \ No newline at end of file diff --git a/src/api/data/petitionComplaint.ts b/src/api/data/petitionComplaint.ts index 44b9e68..f09f653 100644 --- a/src/api/data/petitionComplaint.ts +++ b/src/api/data/petitionComplaint.ts @@ -1,8 +1,23 @@ import request from "@/api/request"; +export function importPetitionComplaintGab(body) { + return request.post({ + url: '/data/petitionComplaint/gab/import', + body + }); +} + +export function importPetitionComplaintGj(body) { + return request.post({ + url: '/data/petitionComplaint/gj/import', + body + }); +} + + export function importPetitionComplaint(body) { return request.post({ - url: '/data/petitionComplaint/import', + url: '/data/petitionComplaint/gab/import', body }); } @@ -14,9 +29,16 @@ export function listPetitionComplaint(query) { }); } -export function addPetitionComplaint(body) { +export function addPetitionComplaintGab(body) { + return request.post({ + url: `/data/petitionComplaint/gab`, + body + }); +} + +export function addPetitionComplaintGj(body) { return request.post({ - url: `/data/petitionComplaint`, + url: `/data/petitionComplaint/gj`, body }); } diff --git a/src/api/data/videoInspection.ts b/src/api/data/videoInspection.ts new file mode 100644 index 0000000..5ea1332 --- /dev/null +++ b/src/api/data/videoInspection.ts @@ -0,0 +1,8 @@ +import request from "@/api/request"; + +export function listVideoInspection(query) { + return request.get({ + url: `/videoInspection`, + query: query + }); +} \ No newline at end of file diff --git a/src/api/work/negativeTask.ts b/src/api/work/negativeTask.ts index 9fe51a6..03dbc17 100644 --- a/src/api/work/negativeTask.ts +++ b/src/api/work/negativeTask.ts @@ -26,4 +26,10 @@ export function distributeNegative(body) { url: `/negativeTask/distribute`, body }); +} + +export function listGroupByDepart(id) { + return request.get({ + url: `/negativeTask/${id}/byDepart` + }); } \ No newline at end of file diff --git a/src/api/work/news.ts b/src/api/work/news.ts new file mode 100644 index 0000000..2490f5c --- /dev/null +++ b/src/api/work/news.ts @@ -0,0 +1,28 @@ +import request from "@/api/request"; + +export function listNews(query) { + return request.get({ + url: '/news', + query + }); +} + +export function addNews(body) { + return request.post({ + url: '/news', + body + }); +} + +export function updateNews(body) { + return request.put({ + url: '/news', + body + }); +} + +export function delNews(id) { + return request.del({ + url: '/news/' + id + }); +} diff --git a/src/components/data/distrbute.vue b/src/components/data/distrbute.vue index 2f592b1..4aad5a0 100644 --- a/src/components/data/distrbute.vue +++ b/src/components/data/distrbute.vue @@ -22,16 +22,6 @@ prop="discoveryTime" show-overflow-tooltip /> - - - - - + + + + +
+ + + + + +
+
+ + + +
+
+ 上一步 + {{ activeStep === 2 ? "确定" : "下一步" }} +
+
+ + + \ No newline at end of file diff --git a/src/components/data/gj-import.vue b/src/components/data/gj-import.vue new file mode 100644 index 0000000..2cb5da3 --- /dev/null +++ b/src/components/data/gj-import.vue @@ -0,0 +1,247 @@ + + + \ No newline at end of file diff --git a/src/components/data/import.vue b/src/components/data/import.vue deleted file mode 100644 index 2a0213a..0000000 --- a/src/components/data/import.vue +++ /dev/null @@ -1,568 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/home/work/my-alarm.vue b/src/components/home/work/my-alarm.vue index 65295bf..ac38395 100644 --- a/src/components/home/work/my-alarm.vue +++ b/src/components/home/work/my-alarm.vue @@ -45,7 +45,7 @@ defineProps({ const emit = defineEmits(['update']) const show = ref(false); -const activeRow = ref(""); +const activeRow = ref({}); function handleEdit(row) { show.value = true; diff --git a/src/views/books/Ajhc.vue b/src/views/books/Ajhc.vue index 47bf626..9103321 100644 --- a/src/views/books/Ajhc.vue +++ b/src/views/books/Ajhc.vue @@ -1,250 +1,145 @@ \ No newline at end of file diff --git a/src/views/books/Gjxf.vue b/src/views/books/Gjxf.vue index e4167b4..0f374f7 100644 --- a/src/views/books/Gjxf.vue +++ b/src/views/books/Gjxf.vue @@ -93,9 +93,9 @@
- + >
@@ -171,7 +171,7 @@ getInvolveProblem( row.involveProblem, dict.suspectProblem - ) || "/" + ) }} @@ -179,6 +179,7 @@ label="业务类别" prop="businessTypeName" width="200" + show-overflow-tooltip /> \ No newline at end of file diff --git a/src/views/data/Gabxf.vue b/src/views/data/Gabxf.vue index 7bad35e..c65b2ea 100644 --- a/src/views/data/Gabxf.vue +++ b/src/views/data/Gabxf.vue @@ -60,7 +60,7 @@
- 数据导入
- @@ -230,7 +228,6 @@ import { BASE_PATH } from "@/api/request"; import { importPetitionComplaint, listPetitionComplaint, - addPetitionComplaint, delPetitionComplaint, } from "@/api/data/petitionComplaint"; import { ProblemSources, DistributionState } from "@/enums/dictEnums"; @@ -307,6 +304,11 @@ function handleAction(row) { negativeShow.value = true; activeNegativeId.value = row.negativeId; } + +function handleShowImport() { + console.log('handleShowImport') + show.value = true +} \ No newline at end of file diff --git a/src/views/data/Gjxf.vue b/src/views/data/Gjxf.vue index 18b43c4..4b23d74 100644 --- a/src/views/data/Gjxf.vue +++ b/src/views/data/Gjxf.vue @@ -206,10 +206,8 @@
- diff --git a/src/views/data/Mail12337.vue b/src/views/data/Mail12337.vue index 1c70af5..b9eb6af 100644 --- a/src/views/data/Mail12337.vue +++ b/src/views/data/Mail12337.vue @@ -84,16 +84,17 @@ label="信件编号" prop="onlyId" show-overflow-tooltip + width="180" /> - + - + \ No newline at end of file diff --git a/src/views/work/News.vue b/src/views/work/News.vue new file mode 100644 index 0000000..281f965 --- /dev/null +++ b/src/views/work/News.vue @@ -0,0 +1,272 @@ + + + \ No newline at end of file