From 74b7fc34a3f46be050e1e81685dfb14d2485d310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Fri, 23 Sep 2022 17:32:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=9C=E4=B8=9A=E6=89=A7=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/lawEnforcement/index.js | 10 +- src/router/index.js | 1 + .../caseAllocation/caseAllocation.vue | 4 +- .../caseAllocation/caseDetail.vue | 92 ++++++++---- .../caseAllocation/caseDistribution.vue | 121 +++++++++++----- .../caseAllocation/caseLawEnforcer.vue | 135 +++++++++++------- 6 files changed, 248 insertions(+), 115 deletions(-) diff --git a/src/api/lawEnforcement/index.js b/src/api/lawEnforcement/index.js index cc52b2eb..40981546 100644 --- a/src/api/lawEnforcement/index.js +++ b/src/api/lawEnforcement/index.js @@ -499,5 +499,11 @@ export function listSurvey(query) { params: query }) } - - +// 查询执法人员管理列表 +export function listEnforcer(query) { + return request({ + url: '/enforce/enforcer/list', + method: 'get', + params: query + }) +} diff --git a/src/router/index.js b/src/router/index.js index 75b05afc..ca32b4a1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3473,6 +3473,7 @@ export const constantRoutes = [ meta: { title: '分配案件', hidden: true, + keepAlive: true }, component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseDistribution'], resolve) }, diff --git a/src/views/lawEnforcement/caseAllocation/caseAllocation.vue b/src/views/lawEnforcement/caseAllocation/caseAllocation.vue index f4a22e76..e38cd2e2 100644 --- a/src/views/lawEnforcement/caseAllocation/caseAllocation.vue +++ b/src/views/lawEnforcement/caseAllocation/caseAllocation.vue @@ -21,7 +21,7 @@ @load="getList" > - + @@ -37,7 +37,7 @@ - + diff --git a/src/views/lawEnforcement/caseAllocation/caseDetail.vue b/src/views/lawEnforcement/caseAllocation/caseDetail.vue index 77214050..9f14c2c1 100644 --- a/src/views/lawEnforcement/caseAllocation/caseDetail.vue +++ b/src/views/lawEnforcement/caseAllocation/caseDetail.vue @@ -12,15 +12,14 @@ 登记 - - - - - - - - - + + + + + + + +
@@ -30,17 +29,17 @@ 当事人 - - - - - - - - - - - + + + + + + + + + + +
@@ -87,17 +86,17 @@ 带队人 - + {{index+1}} - 庞东旭{{index}} - 2303888{{index}} + {{item.enforcerName}} + {{item.enforcerNum}}
- +
- + @@ -106,7 +105,7 @@