diff --git a/src/api/report.ts b/src/api/report.ts new file mode 100644 index 0000000..750ee4a --- /dev/null +++ b/src/api/report.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +export function getReport(query: any) { + return request.get({ url: '/report/list',query }) +} + +export function getReportDetail(params: Record) { + return request.get({ url: '/report/detail?',params}) +} +export function addIntoMail(body) { + return request.post({ url: '/report/addIntoMail', body}) +} +export function addIntoBadMail(body) { + return request.post({ url: '/report/addIntoBadMail', body}) +} +export function typelist() { + return request.get({ url: '/report/typelist'}) +} + +export function naturelist() { + return request.get({ url: '/report/naturelist'}) +} + +export function unitlist() { + return request.get({ url: '/report/unitlist'}) +} \ No newline at end of file diff --git a/src/views/reportpolice/IntoBad.vue b/src/views/reportpolice/IntoBad.vue new file mode 100644 index 0000000..0c3ec31 --- /dev/null +++ b/src/views/reportpolice/IntoBad.vue @@ -0,0 +1,63 @@ + + + \ No newline at end of file diff --git a/src/views/reportpolice/ReportDialog.vue b/src/views/reportpolice/ReportDialog.vue new file mode 100644 index 0000000..91c775d --- /dev/null +++ b/src/views/reportpolice/ReportDialog.vue @@ -0,0 +1,521 @@ + + + \ No newline at end of file diff --git a/src/views/reportpolice/report.vue b/src/views/reportpolice/report.vue new file mode 100644 index 0000000..1a8cea7 --- /dev/null +++ b/src/views/reportpolice/report.vue @@ -0,0 +1,179 @@ + + + \ No newline at end of file