diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/views/caseManage/caseCommon/caseSearch.vue b/src/views/caseManage/caseCommon/caseSearch.vue index b4cc2b4..f36871a 100644 --- a/src/views/caseManage/caseCommon/caseSearch.vue +++ b/src/views/caseManage/caseCommon/caseSearch.vue @@ -30,27 +30,27 @@
- + - + - + - + - + @@ -120,7 +120,19 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + this.listQuery.reporterName = '' + this.listQuery.state = '' + this.listQuery.caseState = '' + this.listQuery.isDelay = '' + this.listQuery.source = '' + this.listQuery.caseLevel = '' + this.timeRange = [] + + // this.$message.success('clearInput') }, search() { this.$emit('search', this.listQuery) diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/views/caseManage/caseCommon/caseSearch.vue b/src/views/caseManage/caseCommon/caseSearch.vue index b4cc2b4..f36871a 100644 --- a/src/views/caseManage/caseCommon/caseSearch.vue +++ b/src/views/caseManage/caseCommon/caseSearch.vue @@ -30,27 +30,27 @@
- + - + - + - + - + @@ -120,7 +120,19 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + this.listQuery.reporterName = '' + this.listQuery.state = '' + this.listQuery.caseState = '' + this.listQuery.isDelay = '' + this.listQuery.source = '' + this.listQuery.caseLevel = '' + this.timeRange = [] + + // this.$message.success('clearInput') }, search() { this.$emit('search', this.listQuery) diff --git a/src/views/caseManage/caseManage.vue b/src/views/caseManage/caseManage.vue index bd0505f..264a0eb 100644 --- a/src/views/caseManage/caseManage.vue +++ b/src/views/caseManage/caseManage.vue @@ -123,6 +123,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -133,7 +134,7 @@ this.listLoading = true searchList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/views/caseManage/caseCommon/caseSearch.vue b/src/views/caseManage/caseCommon/caseSearch.vue index b4cc2b4..f36871a 100644 --- a/src/views/caseManage/caseCommon/caseSearch.vue +++ b/src/views/caseManage/caseCommon/caseSearch.vue @@ -30,27 +30,27 @@
- + - + - + - + - + @@ -120,7 +120,19 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + this.listQuery.reporterName = '' + this.listQuery.state = '' + this.listQuery.caseState = '' + this.listQuery.isDelay = '' + this.listQuery.source = '' + this.listQuery.caseLevel = '' + this.timeRange = [] + + // this.$message.success('clearInput') }, search() { this.$emit('search', this.listQuery) diff --git a/src/views/caseManage/caseManage.vue b/src/views/caseManage/caseManage.vue index bd0505f..264a0eb 100644 --- a/src/views/caseManage/caseManage.vue +++ b/src/views/caseManage/caseManage.vue @@ -123,6 +123,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -133,7 +134,7 @@ this.listLoading = true searchList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/views/caseManage/caseReportManage/myReportList.vue b/src/views/caseManage/caseReportManage/myReportList.vue index 60feae4..4d29fa1 100644 --- a/src/views/caseManage/caseReportManage/myReportList.vue +++ b/src/views/caseManage/caseReportManage/myReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true myReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/views/caseManage/caseCommon/caseSearch.vue b/src/views/caseManage/caseCommon/caseSearch.vue index b4cc2b4..f36871a 100644 --- a/src/views/caseManage/caseCommon/caseSearch.vue +++ b/src/views/caseManage/caseCommon/caseSearch.vue @@ -30,27 +30,27 @@
- + - + - + - + - + @@ -120,7 +120,19 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + this.listQuery.reporterName = '' + this.listQuery.state = '' + this.listQuery.caseState = '' + this.listQuery.isDelay = '' + this.listQuery.source = '' + this.listQuery.caseLevel = '' + this.timeRange = [] + + // this.$message.success('clearInput') }, search() { this.$emit('search', this.listQuery) diff --git a/src/views/caseManage/caseManage.vue b/src/views/caseManage/caseManage.vue index bd0505f..264a0eb 100644 --- a/src/views/caseManage/caseManage.vue +++ b/src/views/caseManage/caseManage.vue @@ -123,6 +123,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -133,7 +134,7 @@ this.listLoading = true searchList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/views/caseManage/caseReportManage/myReportList.vue b/src/views/caseManage/caseReportManage/myReportList.vue index 60feae4..4d29fa1 100644 --- a/src/views/caseManage/caseReportManage/myReportList.vue +++ b/src/views/caseManage/caseReportManage/myReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true myReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue index 83881fb..752b5f4 100644 --- a/src/views/caseManage/caseReportManage/searchReportList.vue +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true searchReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/views/caseManage/caseCommon/caseSearch.vue b/src/views/caseManage/caseCommon/caseSearch.vue index b4cc2b4..f36871a 100644 --- a/src/views/caseManage/caseCommon/caseSearch.vue +++ b/src/views/caseManage/caseCommon/caseSearch.vue @@ -30,27 +30,27 @@
- + - + - + - + - + @@ -120,7 +120,19 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + this.listQuery.reporterName = '' + this.listQuery.state = '' + this.listQuery.caseState = '' + this.listQuery.isDelay = '' + this.listQuery.source = '' + this.listQuery.caseLevel = '' + this.timeRange = [] + + // this.$message.success('clearInput') }, search() { this.$emit('search', this.listQuery) diff --git a/src/views/caseManage/caseManage.vue b/src/views/caseManage/caseManage.vue index bd0505f..264a0eb 100644 --- a/src/views/caseManage/caseManage.vue +++ b/src/views/caseManage/caseManage.vue @@ -123,6 +123,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -133,7 +134,7 @@ this.listLoading = true searchList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/views/caseManage/caseReportManage/myReportList.vue b/src/views/caseManage/caseReportManage/myReportList.vue index 60feae4..4d29fa1 100644 --- a/src/views/caseManage/caseReportManage/myReportList.vue +++ b/src/views/caseManage/caseReportManage/myReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true myReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue index 83881fb..752b5f4 100644 --- a/src/views/caseManage/caseReportManage/searchReportList.vue +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true searchReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/workReportList.vue b/src/views/caseManage/caseReportManage/workReportList.vue index cb791b4..d09e96b 100644 --- a/src/views/caseManage/caseReportManage/workReportList.vue +++ b/src/views/caseManage/caseReportManage/workReportList.vue @@ -210,7 +210,7 @@ this.listLoading = true workReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -226,16 +226,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/views/caseManage/caseCommon/caseSearch.vue b/src/views/caseManage/caseCommon/caseSearch.vue index b4cc2b4..f36871a 100644 --- a/src/views/caseManage/caseCommon/caseSearch.vue +++ b/src/views/caseManage/caseCommon/caseSearch.vue @@ -30,27 +30,27 @@
- + - + - + - + - + @@ -120,7 +120,19 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + this.listQuery.reporterName = '' + this.listQuery.state = '' + this.listQuery.caseState = '' + this.listQuery.isDelay = '' + this.listQuery.source = '' + this.listQuery.caseLevel = '' + this.timeRange = [] + + // this.$message.success('clearInput') }, search() { this.$emit('search', this.listQuery) diff --git a/src/views/caseManage/caseManage.vue b/src/views/caseManage/caseManage.vue index bd0505f..264a0eb 100644 --- a/src/views/caseManage/caseManage.vue +++ b/src/views/caseManage/caseManage.vue @@ -123,6 +123,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -133,7 +134,7 @@ this.listLoading = true searchList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/views/caseManage/caseReportManage/myReportList.vue b/src/views/caseManage/caseReportManage/myReportList.vue index 60feae4..4d29fa1 100644 --- a/src/views/caseManage/caseReportManage/myReportList.vue +++ b/src/views/caseManage/caseReportManage/myReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true myReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue index 83881fb..752b5f4 100644 --- a/src/views/caseManage/caseReportManage/searchReportList.vue +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true searchReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/workReportList.vue b/src/views/caseManage/caseReportManage/workReportList.vue index cb791b4..d09e96b 100644 --- a/src/views/caseManage/caseReportManage/workReportList.vue +++ b/src/views/caseManage/caseReportManage/workReportList.vue @@ -210,7 +210,7 @@ this.listLoading = true workReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -226,16 +226,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/completedList.vue b/src/views/caseManage/completedList.vue index 487f29a..a55bfcb 100644 --- a/src/views/caseManage/completedList.vue +++ b/src/views/caseManage/completedList.vue @@ -54,6 +54,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -64,7 +65,7 @@ this.listLoading = true completedList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/views/caseManage/caseCommon/caseSearch.vue b/src/views/caseManage/caseCommon/caseSearch.vue index b4cc2b4..f36871a 100644 --- a/src/views/caseManage/caseCommon/caseSearch.vue +++ b/src/views/caseManage/caseCommon/caseSearch.vue @@ -30,27 +30,27 @@
- + - + - + - + - + @@ -120,7 +120,19 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + this.listQuery.reporterName = '' + this.listQuery.state = '' + this.listQuery.caseState = '' + this.listQuery.isDelay = '' + this.listQuery.source = '' + this.listQuery.caseLevel = '' + this.timeRange = [] + + // this.$message.success('clearInput') }, search() { this.$emit('search', this.listQuery) diff --git a/src/views/caseManage/caseManage.vue b/src/views/caseManage/caseManage.vue index bd0505f..264a0eb 100644 --- a/src/views/caseManage/caseManage.vue +++ b/src/views/caseManage/caseManage.vue @@ -123,6 +123,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -133,7 +134,7 @@ this.listLoading = true searchList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/views/caseManage/caseReportManage/myReportList.vue b/src/views/caseManage/caseReportManage/myReportList.vue index 60feae4..4d29fa1 100644 --- a/src/views/caseManage/caseReportManage/myReportList.vue +++ b/src/views/caseManage/caseReportManage/myReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true myReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue index 83881fb..752b5f4 100644 --- a/src/views/caseManage/caseReportManage/searchReportList.vue +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true searchReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/workReportList.vue b/src/views/caseManage/caseReportManage/workReportList.vue index cb791b4..d09e96b 100644 --- a/src/views/caseManage/caseReportManage/workReportList.vue +++ b/src/views/caseManage/caseReportManage/workReportList.vue @@ -210,7 +210,7 @@ this.listLoading = true workReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -226,16 +226,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/completedList.vue b/src/views/caseManage/completedList.vue index 487f29a..a55bfcb 100644 --- a/src/views/caseManage/completedList.vue +++ b/src/views/caseManage/completedList.vue @@ -54,6 +54,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -64,7 +65,7 @@ this.listLoading = true completedList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/views/caseManage/delayApplyList.vue b/src/views/caseManage/delayApplyList.vue index 1ae9537..d1e563c 100644 --- a/src/views/caseManage/delayApplyList.vue +++ b/src/views/caseManage/delayApplyList.vue @@ -143,7 +143,7 @@ this.listLoading = true applyList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -159,17 +159,21 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - description: '', // 事件内容 - reporterPhone: '', // 联系方式 - offset: 1, - limit: 20, - sort: 'applyTime', - order: 'desc' - } - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + // this.listQuery = { + // caseId: '', // 事件编号 + // title: '', // 事件标题 + // description: '', // 事件内容 + // reporterPhone: '', // 联系方式 + // offset: 1, + // limit: 20, + // sort: 'applyTime', + // order: 'desc' + // } + // this.$message.success('clearInput') }, // 查看详情 goDetail(row) { diff --git a/src/api/callCase.js b/src/api/callCase.js index 191680d..d24c507 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -24,6 +24,22 @@ }) } +export function revisitList(params) { + return request({ + url: 'case/revisitList', + method: 'get', + params + }) +} + +export function reviewList(params) { + return request({ + url: 'case/reviewList', + method: 'get', + params + }) +} + export function caseDetail(id) { return request({ url: 'case/detail', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index 2745e93..c4854ca 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -37,6 +37,18 @@ meta: { title: '事件查询', icon: '', permission: '/case/queryListPage' } }, { + path: '/revisitList', + name: 'RevisitList', + component: () => import('@/views/caseManage/revisitList'), + meta: { title: '回访事件', icon: '' } + }, + { + path: '/reviewList', + name: 'ReviewList', + component: () => import('@/views/caseManage/reviewList'), + meta: { title: '审查事件', icon: '' } + }, + { path: '/delayApplyList', name: 'delayApplyList', component: () => import('@/views/caseManage/delayApplyList'), diff --git a/src/views/caseManage/caseCommon/caseSearch.vue b/src/views/caseManage/caseCommon/caseSearch.vue index b4cc2b4..f36871a 100644 --- a/src/views/caseManage/caseCommon/caseSearch.vue +++ b/src/views/caseManage/caseCommon/caseSearch.vue @@ -30,27 +30,27 @@
- + - + - + - + - + @@ -120,7 +120,19 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + this.listQuery.reporterName = '' + this.listQuery.state = '' + this.listQuery.caseState = '' + this.listQuery.isDelay = '' + this.listQuery.source = '' + this.listQuery.caseLevel = '' + this.timeRange = [] + + // this.$message.success('clearInput') }, search() { this.$emit('search', this.listQuery) diff --git a/src/views/caseManage/caseManage.vue b/src/views/caseManage/caseManage.vue index bd0505f..264a0eb 100644 --- a/src/views/caseManage/caseManage.vue +++ b/src/views/caseManage/caseManage.vue @@ -123,6 +123,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -133,7 +134,7 @@ this.listLoading = true searchList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/views/caseManage/caseReportManage/myReportList.vue b/src/views/caseManage/caseReportManage/myReportList.vue index 60feae4..4d29fa1 100644 --- a/src/views/caseManage/caseReportManage/myReportList.vue +++ b/src/views/caseManage/caseReportManage/myReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true myReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue index 83881fb..752b5f4 100644 --- a/src/views/caseManage/caseReportManage/searchReportList.vue +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -148,7 +148,7 @@ this.listLoading = true searchReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -164,16 +164,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/caseReportManage/workReportList.vue b/src/views/caseManage/caseReportManage/workReportList.vue index cb791b4..d09e96b 100644 --- a/src/views/caseManage/caseReportManage/workReportList.vue +++ b/src/views/caseManage/caseReportManage/workReportList.vue @@ -210,7 +210,7 @@ this.listLoading = true workReportList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -226,16 +226,9 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - startTime: '', - endTime: '', - offset: 1, - limit: 20, - sort: 'reportTime', - order: 'desc' - } + this.listQuery.caseId = '' + this.listQuery.title = '' + this.timeRange = [] }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/completedList.vue b/src/views/caseManage/completedList.vue index 487f29a..a55bfcb 100644 --- a/src/views/caseManage/completedList.vue +++ b/src/views/caseManage/completedList.vue @@ -54,6 +54,7 @@ methods: { search(listQuery) { console.log('search') + this.listQuery.offset = 1 this.fetchData() }, changePage(listQuery) { @@ -64,7 +65,7 @@ this.listLoading = true completedList(this.listQuery).then(response => { this.list = response.data.rows - this.total = response.data.totalt + this.total = response.data.total this.listLoading = false }) }, diff --git a/src/views/caseManage/delayApplyList.vue b/src/views/caseManage/delayApplyList.vue index 1ae9537..d1e563c 100644 --- a/src/views/caseManage/delayApplyList.vue +++ b/src/views/caseManage/delayApplyList.vue @@ -143,7 +143,7 @@ this.listLoading = true applyList(this.listQuery).then(res => { this.list = res.data.rows - this.total = res.total + this.total = res.data.total this.listLoading = false }) }, @@ -159,17 +159,21 @@ }, // 重置后的操作, 若不需要显示重置按钮则不需要写 clearInput() { - this.listQuery = { - caseId: '', // 事件编号 - title: '', // 事件标题 - description: '', // 事件内容 - reporterPhone: '', // 联系方式 - offset: 1, - limit: 20, - sort: 'applyTime', - order: 'desc' - } - this.$message.success('clearInput') + this.listQuery.caseId = '' + this.listQuery.title = '' + this.listQuery.description = '' + this.listQuery.reporterPhone = '' + // this.listQuery = { + // caseId: '', // 事件编号 + // title: '', // 事件标题 + // description: '', // 事件内容 + // reporterPhone: '', // 联系方式 + // offset: 1, + // limit: 20, + // sort: 'applyTime', + // order: 'desc' + // } + // this.$message.success('clearInput') }, // 查看详情 goDetail(row) { diff --git a/src/views/caseManage/delayList.vue b/src/views/caseManage/delayList.vue index 34667dc..0cc090c 100644 --- a/src/views/caseManage/delayList.vue +++ b/src/views/caseManage/delayList.vue @@ -1,6 +1,6 @@