dingxin 6 years ago
parent
commit
72833ee876
15 changed files with 54 additions and 88 deletions
  1. 1
    1
      CODE/smart-community/app-api/src/main/java/com/community/huiju/dao/TpEquipmentMapper.java
  2. 1
    0
      CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserServiceImpl.java
  3. 19
    4
      CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserVerifyServicelmpl.java
  4. BIN
      CODE/smart-community/community-common/target/community-common-0.0.1.jar
  5. 0
    4
      CODE/smart-community/community-common/target/maven-archiver/pom.properties
  6. 0
    32
      CODE/smart-community/community-common/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
  7. 0
    29
      CODE/smart-community/community-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  8. 6
    2
      CODE/smart-community/property-api/src/main/java/com/community/huiju/controller/UserVerifyController.java
  9. 3
    1
      CODE/smart-community/property-api/src/main/java/com/community/huiju/model/TpBuildingOwnerInfo.java
  10. 4
    2
      CODE/smart-community/property-api/src/main/java/com/community/huiju/service/ITaUserVerifyService.java
  11. 1
    1
      CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BuildingOwnerInfoServiceImpl.java
  12. 14
    4
      CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/TaUserVerifyServiceImpl.java
  13. 2
    2
      CODE/smart-community/property-api/src/main/resources/mapper/TpBuildingOwnerInfoMapper.xml
  14. 2
    2
      VUECODE/smart-property-manage/src/views/building/index.vue
  15. 1
    4
      VUECODE/smart-property-manage/src/views/building/info/index.vue

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/dao/TpEquipmentMapper.java View File

@@ -33,7 +33,7 @@ public interface TpEquipmentMapper {
33 33
             "(select configuration_value FROM tp_configuration WHERE id = tm.url_id) as monitoringUrl, " +
34 34
             "(select configuration_value FROM tp_configuration WHERE id = tm.security_guard_tel_id) as securityGuardTel, " +
35 35
             "(select configuration_value FROM tp_configuration WHERE id = tm.security_room_tel_id) as securityRoomTel, " +
36
-            "(select configuration_value FROM tp_configuration WHERE id = tm.address_id) as monitoringAddressId " +
36
+            "(select configuration_value FROM tp_configuration WHERE id = tm.address_id) as monitoringAddress " +
37 37
             "FROM " +
38 38
             "tp_equipment tm " +
39 39
             "where tm.community_id = #{communityId} and tm.equipment_type = 1")

+ 1
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserServiceImpl.java View File

@@ -990,6 +990,7 @@ public class TaUserServiceImpl implements ITaUserService {
990 990
     private ResponseBean checkHouse(ResponseBean responseBean, TaUserVO taUserVO, TaUserVerify userVerify) {
991 991
         // 设置 这个审核id (这个要返给前端)
992 992
         taUserVO.setUserVerifyId(userVerify.getId());
993
+        taUserVO.setVerifyStatus(userVerify.getVerifyStatus());
993 994
 
994 995
         // 认证状态  0 是未审核   1是审核通过   2是审核不通过
995 996
         String verifyStatus = userVerify.getVerifyStatus();

+ 19
- 4
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserVerifyServicelmpl.java View File

@@ -113,13 +113,28 @@ public class TaUserVerifyServicelmpl implements TaUserVerifyServicel {
113 113
         // 通过 角色名称 查询出角色的id
114 114
         String roleName = jsonObject.getString("roleName");
115 115
         TaSysRole sysRole = taSysRoleMapper.selectByRoleName(roleName);
116
+        if (null == sysRole) {
117
+            responseBean.addError("非法角色!");
118
+            return responseBean;
119
+        }
120
+
121
+        // 如果申请的是户主
122
+        if (sysRole.getId().intValue() == 1) {
123
+            // 校验是否有审核通过的业主
124
+            TaUserVerify hasUserVerify = taUserVerifyMapper.selectCommunityAndAddressAndRoleId(taUserVerify.getCommunityId(), taUserVerify.getPhaseId(), taUserVerify.getBuildingId(), taUserVerify.getUnitId(), taUserVerify.getLevelId(), taUserVerify.getRoomNoId());
125
+            if (null != hasUserVerify) {
126
+                responseBean.addError("此房产已存在户主!");
127
+                return responseBean;
128
+            }
129
+        }
130
+
116 131
 
117 132
         // 校验该用户是否已经提交了一个当前房产的审核, 包含 待审核和已审核通过
118
-        List<TaUserVerify> userVerifyList = taUserVerifyMapper.selectCommunityAndAddressAndNotVerifyStatus2(userElement.getId(), userElement.getCommunityId(),
119
-                userElement.getPhaseId(), userElement.getBuildingId(), userElement.getUnitId(),
120
-                userElement.getLevelId(), userElement.getRoomNoId());
133
+        List<TaUserVerify> userVerifyList = taUserVerifyMapper.selectCommunityAndAddressAndNotVerifyStatus2(userElement.getId(), taUserVerify.getCommunityId(),
134
+                taUserVerify.getPhaseId(), taUserVerify.getBuildingId(), taUserVerify.getUnitId(),
135
+                taUserVerify.getLevelId(), taUserVerify.getRoomNoId());
121 136
         if (null != userVerifyList && userVerifyList.size() > 0) {
122
-            responseBean.addError("您已提交了这个房产的审核!请等待业主或者物业审核后,在进行下一步操作!");
137
+            responseBean.addError("您已提交了这个房产的审核!请等待主或者物业审核后,在进行下一步操作!");
123 138
             return responseBean;
124 139
         }
125 140
 

BIN
CODE/smart-community/community-common/target/community-common-0.0.1.jar View File


+ 0
- 4
CODE/smart-community/community-common/target/maven-archiver/pom.properties View File

@@ -1,4 +0,0 @@
1
-#Created by Apache Maven 3.3.9
2
-version=0.0.1
3
-groupId=com.community
4
-artifactId=community-common

+ 0
- 32
CODE/smart-community/community-common/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst View File

@@ -1,32 +0,0 @@
1
-com\community\commom\redis\RedisTemplate.class
2
-com\community\commom\redis\RedisConfiguration.class
3
-com\community\commom\utils\OssUtil.class
4
-com\community\commom\redis\SingleRedisTemplate.class
5
-com\community\commom\utils\EnumUtils.class
6
-com\community\commom\hk\HttpClientSSLUtils$2.class
7
-com\community\commom\redis\RedisJsonSerializer.class
8
-com\community\commom\uuid\IdGen.class
9
-com\community\commom\utils\BeanTools.class
10
-com\community\commom\hk\HttpClientSSLUtils.class
11
-com\community\commom\session\UserElement.class
12
-com\community\commom\utils\CommonUtils.class
13
-com\community\commom\redis\RedisSerializer.class
14
-com\community\commom\utils\StringConverter.class
15
-com\community\commom\mode\ResponseBean.class
16
-com\community\commom\utils\DESUtils.class
17
-com\community\commom\redis\FastJsonSerializer.class
18
-com\community\commom\utils\DateUtils.class
19
-com\community\commom\utils\HttpClientUtils.class
20
-com\community\commom\constant\Constant.class
21
-com\community\commom\utils\CookieUtil.class
22
-com\community\commom\mode\HkResponseBean.class
23
-com\community\commom\ailiyun\AESDecode.class
24
-com\community\commom\uuid\IdGen$IdGenHolder.class
25
-com\community\commom\utils\PayPriceUtils.class
26
-com\community\commom\hk\HttpClientSSLUtils$1.class
27
-com\community\commom\utils\MD5Utils.class
28
-com\community\commom\redis\RedisObjectSerializer.class
29
-com\community\commom\utils\QRCodeGeneratorUtils.class
30
-com\community\commom\redis\SerializationFailedException.class
31
-com\community\commom\hk\Digests.class
32
-com\community\commom\utils\AccountValidatorUtil.class

+ 0
- 29
CODE/smart-community/community-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst View File

@@ -1,29 +0,0 @@
1
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\redis\RedisJsonSerializer.java
2
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\ailiyun\AESDecode.java
3
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\hk\HttpClientSSLUtils.java
4
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\PayPriceUtils.java
5
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\DateUtils.java
6
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\HttpClientUtils.java
7
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\DESUtils.java
8
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\redis\RedisSerializer.java
9
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\BeanTools.java
10
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\OssUtil.java
11
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\redis\RedisObjectSerializer.java
12
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\EnumUtils.java
13
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\redis\RedisTemplate.java
14
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\mode\HkResponseBean.java
15
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\redis\SerializationFailedException.java
16
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\CommonUtils.java
17
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\MD5Utils.java
18
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\session\UserElement.java
19
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\redis\SingleRedisTemplate.java
20
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\hk\Digests.java
21
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\QRCodeGeneratorUtils.java
22
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\redis\RedisConfiguration.java
23
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\AccountValidatorUtil.java
24
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\uuid\IdGen.java
25
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\mode\ResponseBean.java
26
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\StringConverter.java
27
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\redis\FastJsonSerializer.java
28
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\constant\Constant.java
29
-E:\weiximei\smartCommunity\CODE\smart-community\community-common\src\main\java\com\community\commom\utils\CookieUtil.java

+ 6
- 2
CODE/smart-community/property-api/src/main/java/com/community/huiju/controller/UserVerifyController.java View File

@@ -63,14 +63,16 @@ public class UserVerifyController extends BaseController {
63 63
             @ApiImplicitParam(paramType = "header", dataTypeClass = String.class, name = "X-Auth-Token", value = "token"),
64 64
             @ApiImplicitParam(paramType = "path", dataTypeClass = String.class, name = "userVerifyId", value = "审核id"),
65 65
             @ApiImplicitParam(paramType = "query", dataTypeClass = Boolean.class, name = "verifyStatus", value = "true通过;false不通过"),
66
+            @ApiImplicitParam(paramType = "query", dataTypeClass = String.class, name = "remark", value = "审核不通过的原因"),
66 67
     })
67 68
     public ResponseBean getAll(@PathVariable("userVerifyId") Integer userVerifyId,
68 69
                                @RequestParam("verifyStatus") Boolean verifyStatus,
70
+                               @RequestParam(value = "remark", required = false) String remark,
69 71
                                HttpSession session) {
70 72
 
71 73
         ResponseBean responseBean = new ResponseBean();
72 74
         UserElement userElement = getUserElement(session);
73
-        responseBean = iTaUserVerifyService.auditUser(userElement, userVerifyId, verifyStatus);
75
+        responseBean = iTaUserVerifyService.auditUser(userElement, userVerifyId, verifyStatus, remark);
74 76
         return responseBean;
75 77
     }
76 78
 
@@ -159,14 +161,16 @@ public class UserVerifyController extends BaseController {
159 161
             @ApiImplicitParam(paramType = "path", dataTypeClass = String.class, name = "userVerifyId", value = "审核id"),
160 162
             @ApiImplicitParam(paramType = "path", dataTypeClass = String.class, name = "roleState", value = "1:业主,2:租客,3:家属"),
161 163
             @ApiImplicitParam(paramType = "query", dataTypeClass = String.class, name = "verifyStatus", value = "0 是未审核1是审核通过2是审核不通过"),
164
+            @ApiImplicitParam(paramType = "query", dataTypeClass = String.class, name = "remark", value = "审核不通过的原因"),
162 165
     })
163 166
     public ResponseBean verifyinfoAdd(@PathVariable("userVerifyId") Integer userVerifyId,
164 167
                                @RequestParam("verifyStatus") String verifyStatus,
165 168
                                @RequestParam("roleState") String roleState,
169
+                               @RequestParam(value = "remark", required = false) String remark,
166 170
                                HttpSession session) {
167 171
         ResponseBean responseBean = new ResponseBean();
168 172
         UserElement userElement = getUserElement(session);
169
-        responseBean = iTaUserVerifyService.verifyinfoAdd(userElement, userVerifyId, verifyStatus, roleState);
173
+        responseBean = iTaUserVerifyService.verifyinfoAdd(userElement, userVerifyId, verifyStatus, roleState,remark);
170 174
         return responseBean;
171 175
     }
172 176
 

+ 3
- 1
CODE/smart-community/property-api/src/main/java/com/community/huiju/model/TpBuildingOwnerInfo.java View File

@@ -156,7 +156,9 @@ public class TpBuildingOwnerInfo implements Serializable {
156 156
     private String updateName;
157 157
 
158 158
     /**
159
-     * 审核id
159
+     * 审核id,(这个字段是临时的)
160
+     *
161
+     * 上面还有个 taUserVerifyId 字段,是楼栋资料库映射的, 和楼栋资料库是 一一对应的
160 162
      */
161 163
     @TableField(exist = false)
162 164
     private Integer userVerifyId;

+ 4
- 2
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/ITaUserVerifyService.java View File

@@ -26,17 +26,19 @@ public interface ITaUserVerifyService extends IService<TaUserVerify> {
26 26
      * @param userElement
27 27
      * @param userVerifyId
28 28
      * @param verifyStatus
29
+     * @param remark
29 30
      * @return
30 31
      */
31
-    ResponseBean auditUser(UserElement userElement, Integer userVerifyId, Boolean verifyStatus);
32
+    ResponseBean auditUser(UserElement userElement, Integer userVerifyId, Boolean verifyStatus, String remark);
32 33
 
33 34
     /**
34 35
      * 楼栋详情页面审核审核
35 36
      * @param userElement
36 37
      * @param userVerifyId
37 38
      * @param verifyStatus
39
+     * @param remark
38 40
      * @return
39 41
      */
40
-    ResponseBean verifyinfoAdd(UserElement userElement, Integer userVerifyId, String verifyStatus ,String roleState);
42
+    ResponseBean verifyinfoAdd(UserElement userElement, Integer userVerifyId, String verifyStatus ,String roleState, String remark);
41 43
 
42 44
 }

+ 1
- 1
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BuildingOwnerInfoServiceImpl.java View File

@@ -797,7 +797,7 @@ public class BuildingOwnerInfoServiceImpl extends ServiceImpl<TpBuildingOwnerInf
797 797
         ids.stream().forEach(e->{
798 798
             TpBuildingOwnerInfo tpBuildingOwnerInfo = tpBuildingOwnerInfoMapper.selectById(e);
799 799
             if (null != tpBuildingOwnerInfo) {
800
-                taUserVerifyMapper.deleteById(tpBuildingOwnerInfo.getUserVerifyId());
800
+                taUserVerifyMapper.deleteById(tpBuildingOwnerInfo.getTaUserVerifyId());
801 801
             }
802 802
             tpBuildingOwnerInfoMapper.deleteById(e);
803 803
         });

+ 14
- 4
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/TaUserVerifyServiceImpl.java View File

@@ -77,7 +77,7 @@ public class TaUserVerifyServiceImpl extends ServiceImpl<TaUserVerifyMapper, TaU
77 77
     }
78 78
 
79 79
     @Override
80
-    public ResponseBean auditUser(UserElement userElement, Integer userVerifyId, Boolean verifyStatus) {
80
+    public ResponseBean auditUser(UserElement userElement, Integer userVerifyId, Boolean verifyStatus, String remark) {
81 81
         ResponseBean responseBean = new ResponseBean();
82 82
 
83 83
         TaUserVerify userVerify = taUserVerifyMapper.selectById(userVerifyId);
@@ -107,6 +107,10 @@ public class TaUserVerifyServiceImpl extends ServiceImpl<TaUserVerifyMapper, TaU
107 107
         if (verifyStatus && null == tpBuildingOwnerInfo) {
108 108
             insertBuildingOwnerInfo(userVerify, user);
109 109
         }
110
+        // 只有审核不通过的时候,写入不通过原因
111
+        if (Constant.REJECTED.equals(status)) {
112
+            userVerify.setRemark(remark);
113
+        }
110 114
         userVerify.setVerifyStatus(status);
111 115
         userVerify.setVerifyName(user.getUserName());
112 116
         taUserVerifyMapper.updateById(userVerify);
@@ -144,7 +148,7 @@ public class TaUserVerifyServiceImpl extends ServiceImpl<TaUserVerifyMapper, TaU
144 148
     private void hasUserVerify(UserElement userElement, TaUserVerify userVerify, boolean hasOwner){
145 149
         TaUserVerify hasUserVerify = null;
146 150
         // 校验这个房产有没有业主,只能存在一个业主
147
-        if (hasOwner) {
151
+        if (hasOwner && userVerify.getRoleId().intValue() == 1) {
148 152
             hasUserVerify = taUserVerifyMapper.selectCommunityAndAddress(userElement.getCommunityId(), userVerify.getPhaseId(),
149 153
                     userVerify.getBuildingId(), userVerify.getUnitId(),
150 154
                     userVerify.getLevelId(), userVerify.getRoomNoId());
@@ -196,6 +200,7 @@ public class TaUserVerifyServiceImpl extends ServiceImpl<TaUserVerifyMapper, TaU
196 200
         tpBuildingOwnerInfo.setVerifyStatus("1");
197 201
         tpBuildingOwnerInfo.setCreateDate(LocalDateTime.now());
198 202
         tpBuildingOwnerInfo.setCreateUser(user.getId());
203
+        tpBuildingOwnerInfo.setTaUserVerifyId(userVerify.getId());
199 204
 
200 205
         tpBuildingOwnerInfoMapper.insert(tpBuildingOwnerInfo);
201 206
         return tpBuildingOwnerInfo;
@@ -203,7 +208,7 @@ public class TaUserVerifyServiceImpl extends ServiceImpl<TaUserVerifyMapper, TaU
203 208
 
204 209
     @Override
205 210
     @Transactional(rollbackFor = Exception.class)
206
-    public ResponseBean verifyinfoAdd(UserElement userElement, Integer userVerifyId, String verifyStatus, String roleState) {
211
+    public ResponseBean verifyinfoAdd(UserElement userElement, Integer userVerifyId, String verifyStatus, String roleState, String remark) {
207 212
         ResponseBean responseBean = new ResponseBean();
208 213
 
209 214
         TaUserVerify userVerify = taUserVerifyMapper.selectById(userVerifyId);
@@ -211,6 +216,9 @@ public class TaUserVerifyServiceImpl extends ServiceImpl<TaUserVerifyMapper, TaU
211 216
             responseBean.addError("审核数据不存在!");
212 217
             return responseBean;
213 218
         }
219
+        // 不通过的原因
220
+        userVerify.setRemark(remark);
221
+        userVerify.setRoleId(Integer.valueOf(roleState));
214 222
         //判断审核数据是否冲突
215 223
         hasUserVerify(userElement,  userVerify,  true);
216 224
 
@@ -224,9 +232,11 @@ public class TaUserVerifyServiceImpl extends ServiceImpl<TaUserVerifyMapper, TaU
224 232
                 taUser.getLoginName());
225 233
 
226 234
         userVerify.setVerifyStatus(verifyStatus);
227
-        userVerify.setRoleId(Integer.valueOf(roleState));
235
+
228 236
         // 审核通过的情况
229 237
         if ("1".equals(verifyStatus) && StringUtils.isNotBlank(roleState)) {
238
+            // 审核通过就把 不通过的原因拿掉
239
+            userVerify.setRemark("");
230 240
             userVerify.setRoleId(Integer.valueOf(roleState));
231 241
             // 只有这个人在当前房产没有楼栋资料的时候才添加
232 242
             if (null == tpBuildingOwnerInfo) {

+ 2
- 2
CODE/smart-community/property-api/src/main/resources/mapper/TpBuildingOwnerInfoMapper.xml View File

@@ -70,12 +70,12 @@
70 70
             r.description as roleName,
71 71
             u.verify_status as verifyStatus,
72 72
             m.user_name AS updateName,
73
-            t.update_date as updateDate
73
+            t.create_date as createDate
74 74
         FROM
75 75
             tp_building_owner_info t
76 76
             INNER JOIN ta_user_verify u ON t.ta_user_verify_id = u.id
77 77
             LEFT JOIN ta_sys_role r ON u.role_id = r.id
78
-            LEFT JOIN tp_user m ON t.update_user = m.id
78
+            LEFT JOIN tp_user m ON t.create_user = m.id
79 79
         WHERE
80 80
 
81 81
         t.community_id=#{tpBuildingOwnerInfo.communityId,jdbcType=INTEGER}

+ 2
- 2
VUECODE/smart-property-manage/src/views/building/index.vue View File

@@ -92,8 +92,8 @@
92 92
         </template>
93 93
       </el-table-column>
94 94
       <el-table-column prop="updateName" label="编辑人" align="center" />
95
-      <el-table-column prop="updateDate" label="编辑时间" align="center" >
96
-        <template slot-scope="scope">{{ formatDate(scope.row.updateDate) }}</template>
95
+      <el-table-column prop="createDate" label="编辑时间" align="center" >
96
+        <template slot-scope="scope">{{ formatDate(scope.row.createDate) }}</template>
97 97
       </el-table-column>
98 98
     </el-table>
99 99
     <div class="block">

+ 1
- 4
VUECODE/smart-property-manage/src/views/building/info/index.vue View File

@@ -189,10 +189,7 @@ export default {
189 189
           this.$router.push({ name: 'building-index' })
190 190
         }
191 191
         if (resCode === '1') {
192
-          this.$message({
193
-            message: res.message,
194
-            type: 'success'
195
-          })
192
+          this.$message.error(res.message)
196 193
         }
197 194
       }).catch(() => {
198 195
         console.log('UserVerifyAudit error')