From fd1274d07f1e68ed28bdb08bd95e5bb27c4e2da1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sun, 25 Jun 2023 14:24:23 +0800
Subject: [PATCH] git无法使用期间修改……

---
 src/views/home/components/dialog/areaDetailsBox.vue |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/src/views/home/components/dialog/areaDetailsBox.vue b/src/views/home/components/dialog/areaDetailsBox.vue
index f7fce5a..768f218 100644
--- a/src/views/home/components/dialog/areaDetailsBox.vue
+++ b/src/views/home/components/dialog/areaDetailsBox.vue
@@ -11,6 +11,10 @@
                 联系电话:
                 <input type="text" v-model="peopleCallPhone" placeholder="请输入联系电话" />
             </div>
+            <div>
+                身份证号:
+                <input type="text" v-model="peopleCardID" placeholder="请输入身份证号" />
+            </div>
             <el-button type="primary" icon="el-icon-search" @click="searchPeopleDetail">搜索</el-button>
             <el-button type="primary" icon="el-icon-delete" @click="clearPeopleDetailSearchValue">清空</el-button>
         </div>
@@ -69,6 +73,7 @@
 
             peoplePoliceName: '',
             peopleCallPhone: '',
+            peopleCardID: '',
             peopleInfoList: [],
             peoplePage: {
                 total: 0,
@@ -91,6 +96,7 @@
         personInfoClose () {
             this.peoplePoliceName = ''
             this.peopleCallPhone = ''
+            this.peopleCardID = ''
             this.peoplePage.currentPage = 1
 
             this.peopleInfoList = []
@@ -115,6 +121,7 @@
         clearPeopleDetailSearchValue () {
             this.peoplePoliceName = ''
             this.peopleCallPhone = ''
+            this.peopleCardID = ''
             this.peoplePage.currentPage = 1
             this.peopleInfoList = []
             this.getPersonInfoPage(1)
@@ -140,10 +147,11 @@
 
             getPersonInfoPage({
                 status,
-                depaId: this.userInfo.dept_id,
+                deptId: this.userInfo.dept_id,
                 areaId: this.peopleSearchQuery.id,
                 realName: this.peoplePoliceName,
                 phone: this.peopleCallPhone,
+                cardNo: this.peopleCardID,
                 current: this.peoplePage.currentPage,
                 size: this.peoplePage.pageSize
             }).then(res => {
@@ -168,12 +176,19 @@
             })
         },
 
-        showpeopledetail (id, name) {
+        showpeopledetail (id, name, isIncludeKeypeople) {
             this.peopleTitle = name
             this.peopleSearchQuery.id = id
             this.peopleVisible = true
             this.peopleInfoList = []
-            this.getPersonInfoPage(1)
+            console.log('id, name, isIncludeKeypeople', id, name, isIncludeKeypeople)
+            if (isIncludeKeypeople == 'includeKeypeople') {
+                this.getPersonInfoPage()
+            } else if (isIncludeKeypeople == 'onlyKeypeople') {
+                this.getPersonInfoPage(2)
+            } else {
+                this.getPersonInfoPage(1)
+            }
         }
     },
 }

--
Gitblit v1.9.3