diff --git a/src/api/callCase/callCase.js b/src/api/callCase/callCase.js index 7500fc7..195f5f9 100644 --- a/src/api/callCase/callCase.js +++ b/src/api/callCase/callCase.js @@ -85,3 +85,12 @@ params }) } + +// 根据举报人电话分页查询历史案件 +export function getHistoryList(params) { + return request({ + url: '/case/historyByPhoneListPage', + method: 'get', + params + }) +} diff --git a/src/api/callCase/callCase.js b/src/api/callCase/callCase.js index 7500fc7..195f5f9 100644 --- a/src/api/callCase/callCase.js +++ b/src/api/callCase/callCase.js @@ -85,3 +85,12 @@ params }) } + +// 根据举报人电话分页查询历史案件 +export function getHistoryList(params) { + return request({ + url: '/case/historyByPhoneListPage', + method: 'get', + params + }) +} diff --git a/src/components/CaseCommon/caseList.vue b/src/components/CaseCommon/caseList.vue index 9486ff1..79d5b7a 100644 --- a/src/components/CaseCommon/caseList.vue +++ b/src/components/CaseCommon/caseList.vue @@ -145,6 +145,10 @@ } } } + .table-container >>> td { + padding-top: 12px; + padding-bottom: 12px; + } .edit_btns{ .edit_btn{ float:right; diff --git a/src/api/callCase/callCase.js b/src/api/callCase/callCase.js index 7500fc7..195f5f9 100644 --- a/src/api/callCase/callCase.js +++ b/src/api/callCase/callCase.js @@ -85,3 +85,12 @@ params }) } + +// 根据举报人电话分页查询历史案件 +export function getHistoryList(params) { + return request({ + url: '/case/historyByPhoneListPage', + method: 'get', + params + }) +} diff --git a/src/components/CaseCommon/caseList.vue b/src/components/CaseCommon/caseList.vue index 9486ff1..79d5b7a 100644 --- a/src/components/CaseCommon/caseList.vue +++ b/src/components/CaseCommon/caseList.vue @@ -145,6 +145,10 @@ } } } + .table-container >>> td { + padding-top: 12px; + padding-bottom: 12px; + } .edit_btns{ .edit_btn{ float:right; diff --git a/src/router/modules/common.js b/src/router/modules/common.js index 794613a..3e252fd 100644 --- a/src/router/modules/common.js +++ b/src/router/modules/common.js @@ -45,6 +45,13 @@ component: () => import('@/views/deptAccess/assessDeptCaseList'), hidden: true, meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseList'] } + }, + { + path: '/historyCaseList', + name: 'HistoryCaseList', + component: () => import('@/views/callCase/historyCaseList'), + hidden: true, + meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseDetail'] } } ] } diff --git a/src/api/callCase/callCase.js b/src/api/callCase/callCase.js index 7500fc7..195f5f9 100644 --- a/src/api/callCase/callCase.js +++ b/src/api/callCase/callCase.js @@ -85,3 +85,12 @@ params }) } + +// 根据举报人电话分页查询历史案件 +export function getHistoryList(params) { + return request({ + url: '/case/historyByPhoneListPage', + method: 'get', + params + }) +} diff --git a/src/components/CaseCommon/caseList.vue b/src/components/CaseCommon/caseList.vue index 9486ff1..79d5b7a 100644 --- a/src/components/CaseCommon/caseList.vue +++ b/src/components/CaseCommon/caseList.vue @@ -145,6 +145,10 @@ } } } + .table-container >>> td { + padding-top: 12px; + padding-bottom: 12px; + } .edit_btns{ .edit_btn{ float:right; diff --git a/src/router/modules/common.js b/src/router/modules/common.js index 794613a..3e252fd 100644 --- a/src/router/modules/common.js +++ b/src/router/modules/common.js @@ -45,6 +45,13 @@ component: () => import('@/views/deptAccess/assessDeptCaseList'), hidden: true, meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseList'] } + }, + { + path: '/historyCaseList', + name: 'HistoryCaseList', + component: () => import('@/views/callCase/historyCaseList'), + hidden: true, + meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseDetail'] } } ] } diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index df579df..5d6937d 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -13,7 +13,7 @@ - 历史记录 + 历史记录 地图查询 @@ -639,6 +639,18 @@ } else { this.$message.warning(response.message) } + }, + showHistoryList() { + if (!this.caseForm.reporterPhone) { + this.$message.error('请填写举报人电话!') + return + } + this.$router.push({ + path: '/historyCaseList', + query: { + reporterPhone: this.caseForm.reporterPhone + } + }) } } } diff --git a/src/api/callCase/callCase.js b/src/api/callCase/callCase.js index 7500fc7..195f5f9 100644 --- a/src/api/callCase/callCase.js +++ b/src/api/callCase/callCase.js @@ -85,3 +85,12 @@ params }) } + +// 根据举报人电话分页查询历史案件 +export function getHistoryList(params) { + return request({ + url: '/case/historyByPhoneListPage', + method: 'get', + params + }) +} diff --git a/src/components/CaseCommon/caseList.vue b/src/components/CaseCommon/caseList.vue index 9486ff1..79d5b7a 100644 --- a/src/components/CaseCommon/caseList.vue +++ b/src/components/CaseCommon/caseList.vue @@ -145,6 +145,10 @@ } } } + .table-container >>> td { + padding-top: 12px; + padding-bottom: 12px; + } .edit_btns{ .edit_btn{ float:right; diff --git a/src/router/modules/common.js b/src/router/modules/common.js index 794613a..3e252fd 100644 --- a/src/router/modules/common.js +++ b/src/router/modules/common.js @@ -45,6 +45,13 @@ component: () => import('@/views/deptAccess/assessDeptCaseList'), hidden: true, meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseList'] } + }, + { + path: '/historyCaseList', + name: 'HistoryCaseList', + component: () => import('@/views/callCase/historyCaseList'), + hidden: true, + meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseDetail'] } } ] } diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index df579df..5d6937d 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -13,7 +13,7 @@ - 历史记录 + 历史记录 地图查询 @@ -639,6 +639,18 @@ } else { this.$message.warning(response.message) } + }, + showHistoryList() { + if (!this.caseForm.reporterPhone) { + this.$message.error('请填写举报人电话!') + return + } + this.$router.push({ + path: '/historyCaseList', + query: { + reporterPhone: this.caseForm.reporterPhone + } + }) } } } diff --git a/src/views/callCase/historyCaseList.vue b/src/views/callCase/historyCaseList.vue new file mode 100644 index 0000000..f279b4b --- /dev/null +++ b/src/views/callCase/historyCaseList.vue @@ -0,0 +1,94 @@ + + + + diff --git a/src/api/callCase/callCase.js b/src/api/callCase/callCase.js index 7500fc7..195f5f9 100644 --- a/src/api/callCase/callCase.js +++ b/src/api/callCase/callCase.js @@ -85,3 +85,12 @@ params }) } + +// 根据举报人电话分页查询历史案件 +export function getHistoryList(params) { + return request({ + url: '/case/historyByPhoneListPage', + method: 'get', + params + }) +} diff --git a/src/components/CaseCommon/caseList.vue b/src/components/CaseCommon/caseList.vue index 9486ff1..79d5b7a 100644 --- a/src/components/CaseCommon/caseList.vue +++ b/src/components/CaseCommon/caseList.vue @@ -145,6 +145,10 @@ } } } + .table-container >>> td { + padding-top: 12px; + padding-bottom: 12px; + } .edit_btns{ .edit_btn{ float:right; diff --git a/src/router/modules/common.js b/src/router/modules/common.js index 794613a..3e252fd 100644 --- a/src/router/modules/common.js +++ b/src/router/modules/common.js @@ -45,6 +45,13 @@ component: () => import('@/views/deptAccess/assessDeptCaseList'), hidden: true, meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseList'] } + }, + { + path: '/historyCaseList', + name: 'HistoryCaseList', + component: () => import('@/views/callCase/historyCaseList'), + hidden: true, + meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseDetail'] } } ] } diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index df579df..5d6937d 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -13,7 +13,7 @@ - 历史记录 + 历史记录 地图查询 @@ -639,6 +639,18 @@ } else { this.$message.warning(response.message) } + }, + showHistoryList() { + if (!this.caseForm.reporterPhone) { + this.$message.error('请填写举报人电话!') + return + } + this.$router.push({ + path: '/historyCaseList', + query: { + reporterPhone: this.caseForm.reporterPhone + } + }) } } } diff --git a/src/views/callCase/historyCaseList.vue b/src/views/callCase/historyCaseList.vue new file mode 100644 index 0000000..f279b4b --- /dev/null +++ b/src/views/callCase/historyCaseList.vue @@ -0,0 +1,94 @@ + + + + diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 3baca36..7a18a96 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -208,6 +208,7 @@ right: 35px; color: #ffffff; font-size: 40px; + z-index: 9999; } .outSystem:hover{ color: #22a7f0;