Procházet zdrojové kódy

优化编辑出错问题

wuxw před 6 roky
rodič
revize
2ec083f02e

+ 0 - 2
OrderService/src/main/java/com/java110/order/smo/impl/PrivilegeSMOImpl.java

@@ -117,8 +117,6 @@ public class PrivilegeSMOImpl implements IPrivilegeSMO {
         Assert.jsonObjectHaveKey(privilegeGroupInfo, "storeTypeCd", "请求报文中未包含storeTypeCd节点");
         JSONObject privilegeGroupObj = JSONObject.parseObject(privilegeGroupInfo);
 
-        privilegeGroupObj.put("pgId", GenerateCodeFactory.getPgId());
-
         if (privilegeDAOImpl.updatePrivilegeGroup(privilegeGroupObj)) {
             return new ResponseEntity<String>("成功", HttpStatus.OK);
         }

+ 5 - 5
WebService/src/main/resources/components/privilegePackage/privilege-manage/privilege.html

@@ -31,7 +31,7 @@
                         <th>权限名称</th>
                         <th>权限描述</th>
                         <th>创建时间</th>
-                        <th>操作</th>
+                        <th class="text-right">操作</th>
                     </tr>
                 </thead>
                 <tbody>
@@ -42,10 +42,10 @@
                     <td class="mail-ontact">{{privilege.name}}</td>
                     <td class="mail-subject">{{privilege.description}}</td>
                     <td class="">{{vc.dateFormat(privilege.createTime)}}</td>
-                    <td class="text-right mail-date">
-                        <button v-on:click="openDeletePrivilegeModel(privilege)" class="btn btn-sm btn-primary">
-                            删除
-                        </button>
+                    <td class="text-right">
+                        <div class="btn-group">
+                            <button class="btn-white btn btn-xs" v-on:click="openDeletePrivilegeModel(privilege)">删除</button>
+                        </div>
                     </td>
                 </tr>