From 6e4a2ec471cfe98ecd8fec3b65d19b5e583f22d0 Mon Sep 17 00:00:00 2001 From: HH Date: Thu, 1 Sep 2022 21:12:58 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=B8=88=E5=82=85=E6=8A=80=E8=83=BD=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E5=A2=9E=E5=8A=A0=E7=82=B9=E5=87=BB=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E8=BA=AB=E4=BB=BD=E8=AF=81=E7=85=A7=E7=89=87=EF=BC=9B=202.?= =?UTF-8?q?=E5=88=86=E9=94=80=E7=94=B3=E8=AF=B7=E5=90=8C=E6=84=8F/?= =?UTF-8?q?=E6=8B=92=E7=BB=9D=EF=BC=9B=203.=E5=88=86=E9=94=80=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=AE=A1=E6=A0=B8=E5=A2=9E=E5=8A=A0=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/customer/place/place.html | 12 ++++++++++-- .../worker/certification/certification.html | 12 ++++++++++-- .../java/com/ghy/customer/domain/CustomerPlace.java | 10 ++++++++++ .../mapper/customer/CustomerPlaceMapper.xml | 3 ++- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/ghy-admin/src/main/resources/templates/customer/place/place.html b/ghy-admin/src/main/resources/templates/customer/place/place.html index 4bacf724..8badc26a 100644 --- a/ghy-admin/src/main/resources/templates/customer/place/place.html +++ b/ghy-admin/src/main/resources/templates/customer/place/place.html @@ -36,10 +36,10 @@
- + 通过 - + 拒绝 @@ -59,6 +59,7 @@ var editFlag = [[${@permission.hasPermi('customer:place:edit')}]]; var removeFlag = [[${@permission.hasPermi('customer:place:remove')}]]; var prefix = ctx + "customer/place"; + var customerPlaceStatus = [[${@dict.getType('customer_place_status')}]]; $(function() { var options = { @@ -90,6 +91,13 @@ field: 'city', title: '城市id' }, + { + field: 'status', + title: '审核状态', + formatter: function(value) { + return $.table.selectDictLabel(customerPlaceStatus, value); + } + }, { field: 'remark', title: '备注' diff --git a/ghy-admin/src/main/resources/templates/worker/certification/certification.html b/ghy-admin/src/main/resources/templates/worker/certification/certification.html index 94c0fcf1..5c268175 100644 --- a/ghy-admin/src/main/resources/templates/worker/certification/certification.html +++ b/ghy-admin/src/main/resources/templates/worker/certification/certification.html @@ -87,11 +87,19 @@ }, { field: 'idCardUrl1', - title: '身份证照片' + title: '身份证正面照片', + formatter: function(value) { + if (value != null && value !== ''){return '查看图片';} + else {return ''} + } }, { field: 'idCardUrl2', - title: '身份证照片' + title: '身份证反面照片', + formatter: function(value) { + if (value != null && value !== ''){return '查看图片';} + else {return ''} + } }, { field: 'brandName', diff --git a/ghy-custom/src/main/java/com/ghy/customer/domain/CustomerPlace.java b/ghy-custom/src/main/java/com/ghy/customer/domain/CustomerPlace.java index b3f545a6..15a438c3 100644 --- a/ghy-custom/src/main/java/com/ghy/customer/domain/CustomerPlace.java +++ b/ghy-custom/src/main/java/com/ghy/customer/domain/CustomerPlace.java @@ -36,6 +36,8 @@ public class CustomerPlace extends BaseEntity public String code; + public Integer status; + public void setId(String id) { this.id = id; @@ -90,6 +92,14 @@ public class CustomerPlace extends BaseEntity this.code = code; } + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) diff --git a/ghy-custom/src/main/resources/mapper/customer/CustomerPlaceMapper.xml b/ghy-custom/src/main/resources/mapper/customer/CustomerPlaceMapper.xml index 6279103f..163ba922 100644 --- a/ghy-custom/src/main/resources/mapper/customer/CustomerPlaceMapper.xml +++ b/ghy-custom/src/main/resources/mapper/customer/CustomerPlaceMapper.xml @@ -10,6 +10,7 @@ + @@ -18,7 +19,7 @@ - select id, name, customer_id, phone, city, create_by, create_time, update_by, update_time, remark from customer_place + select id, name, customer_id, phone, city, status, create_by, create_time, update_by, update_time, remark from customer_place