From 2ec083f02ede9f14ca1067adebe4196050e37028 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 16 二月 2020 20:30:03 +0800
Subject: [PATCH] 优化编辑出错问题

---
 WebService/src/main/resources/components/privilegePackage/privilege-manage/privilege.html |   42 ++++++++++++++++++++----------------------
 1 files changed, 20 insertions(+), 22 deletions(-)

diff --git a/WebService/src/main/resources/components/privilegePackage/privilege-manage/privilege.html b/WebService/src/main/resources/components/privilegePackage/privilege-manage/privilege.html
index ccf3e70..83a6c2f 100644
--- a/WebService/src/main/resources/components/privilegePackage/privilege-manage/privilege.html
+++ b/WebService/src/main/resources/components/privilegePackage/privilege-manage/privilege.html
@@ -7,15 +7,15 @@
                     data-toggle="tooltip"
                     title="Refresh inbox"
                     v-on:click="openAddPrivilegeModel()"
-            ><i class="fa fa-plus"></i> 娣诲姞鏉冮檺
-            </button>
-            <div class="input-group">
-                <input type="text" class="form-control form-control-sm" v-model="privilegeInfo._currentPgName"
-                       name="search" placeholder="璇疯緭鍏ユ潈闄愬悕绉�">
-                <div class="input-group-btn">
-                    <button v-on:click="queryPrivilege()" class="btn btn-sm btn-primary">
-                        鏌ヨ
-                    </button>
+            ><i class="fa fa-plus"></i> 娣诲姞鏉冮檺</button>
+            <div class="float-right mail-search" style="margin-right:10px">
+                <div class="input-group">
+                    <input type="text" class="form-control form-control-sm" v-model="privilegeInfo._pName" name="search" placeholder="璇疯緭鍏ユ潈闄愬悕绉�">
+                    <div class="input-group-btn">
+                        <button v-on:click="queryPrivilege()" class="btn btn-sm btn-primary">
+                            鏌ヨ
+                        </button>
+                    </div>
                 </div>
             </div>
             <h2>
@@ -26,14 +26,13 @@
 
             <table class="table table-hover table-mail">
                 <thead>
-                <tr>
-                    <th>鏉冮檺缂栫爜</th>
-                    <th>鏉冮檺鍚嶇О</th>
-                    <th>璧勬簮璺緞</th>
-                    <th>鏉冮檺鎻忚堪</th>
-                    <th>鍒涘缓鏃堕棿</th>
-                    <th>鎿嶄綔</th>
-                </tr>
+                    <tr>
+                        <th>鏉冮檺缂栫爜</th>
+                        <th>鏉冮檺鍚嶇О</th>
+                        <th>鏉冮檺鎻忚堪</th>
+                        <th>鍒涘缓鏃堕棿</th>
+                        <th class="text-right">鎿嶄綔</th>
+                    </tr>
                 </thead>
                 <tbody>
                 <tr v-for="privilege in privilegeInfo._privileges" class="read">
@@ -41,13 +40,12 @@
                         {{privilege.pId}}
                     </td>
                     <td class="mail-ontact">{{privilege.name}}</td>
-                    <td class="mail-ontact">{{privilege.resource}}</td>
                     <td class="mail-subject">{{privilege.description}}</td>
                     <td class="">{{vc.dateFormat(privilege.createTime)}}</td>
-                    <td class="text-right mail-date">
-                        <i v-if="privilegeInfo._currentStoreId != '9999'"
-                           v-on:click="openDeletePrivilegeModel(privilege)"
-                           class="glyphicon glyphicon-remove"></i>
+                    <td class="text-right">
+                        <div class="btn-group">
+                            <button class="btn-white btn btn-xs" v-on:click="openDeletePrivilegeModel(privilege)">鍒犻櫎</button>
+                        </div>
                     </td>
                 </tr>
 

--
Gitblit v1.8.0