From 3a5d58dc0356456c0dbc90714445ab1b2738c06c 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, 28 Oct 2022 10:19:46 +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 --- .../lawEnforcement/caseAllocation/caseAdd.vue | 25 +++++++++++++++---- .../caseAllocation/caseListNew.vue | 12 ++++++++- src/views/lawEnforcement/task/taskHandle.vue | 8 +++--- 3 files changed, 36 insertions(+), 9 deletions(-) diff --git a/src/views/lawEnforcement/caseAllocation/caseAdd.vue b/src/views/lawEnforcement/caseAllocation/caseAdd.vue index 2ed53591..92099307 100644 --- a/src/views/lawEnforcement/caseAllocation/caseAdd.vue +++ b/src/views/lawEnforcement/caseAllocation/caseAdd.vue @@ -179,8 +179,8 @@
- - + +

{{item.name}}{{item.phone}}

@@ -244,7 +244,8 @@
- + +

{{item.companyName}}

@@ -337,7 +338,19 @@ caseStatus:'1', attachement:[], attachementList:[], - id:null + id:null, + name : '' , + cardNum : '' , + birthday : '' , + nation : '' , + companyPosition : '' , + duties : '' , + zihao : '' , + companyName : '' , + legalName : '' , + phone : '' , + address : '' , + uniformCode : '' , }, registerDate:new Date(), birthday:new Date(), @@ -561,6 +574,8 @@ }, takePeople(item){ + + console.log(item) this.form.bodyId = item.id; this.form.name = item.name; this.form.sex = item.sex == null ? '1' : item.sex; @@ -600,7 +615,7 @@ this.form.phone = item.phone; this.form.address = item.address; this.form.uniformCode = item.uniformCode; - this.showPopover = false; + this.showCompany = false; } }, watch: { diff --git a/src/views/lawEnforcement/caseAllocation/caseListNew.vue b/src/views/lawEnforcement/caseAllocation/caseListNew.vue index 88311f39..4ce367c6 100644 --- a/src/views/lawEnforcement/caseAllocation/caseListNew.vue +++ b/src/views/lawEnforcement/caseAllocation/caseListNew.vue @@ -8,7 +8,7 @@ @@ -92,6 +92,16 @@ methods: { getList(){ var _this = this; + if (this.searchInput != ''){ + if (this.searchInput == this.queryApplyParams.caseName){ + return; + } + this.list = []; + this.queryApplyParams.caseName = this.searchInput; + this.queryApplyParams.pageNum = 1 ; + this.loading = false; + this.finished = false; + } listCase(_this.queryApplyParams).then(response => { response.rows.map(res=>{ res.caseSourceText = res.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, res.caseSource); diff --git a/src/views/lawEnforcement/task/taskHandle.vue b/src/views/lawEnforcement/task/taskHandle.vue index adfd166a..9db11b86 100644 --- a/src/views/lawEnforcement/task/taskHandle.vue +++ b/src/views/lawEnforcement/task/taskHandle.vue @@ -372,7 +372,7 @@
-