Browse Source

nsy update 查看详情

ningsy 4 years ago
parent
commit
68c3b25a4d

+ 2 - 2
suishenbang-order/src/main/resources/templates/order/evaluate/evaluateList.html

@@ -40,7 +40,7 @@
             </div>
 
             <div class="btn-group-sm" id="toolbar" role="group">
-                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="orderBase:evaluateManage:details">
+                <a class="btn btn-primary single disabled" onclick="$.operate.detail()" shiro:hasPermission="orderBase:evaluateManage:details">
                     <i class="fa fa-edit"></i> 详情
                 </a>
                 <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="orderBase:evaluateManage:export">
@@ -59,7 +59,7 @@
         $(function() {
             var options = {
                 url: prefix + "/list",
-                updateUrl: prefix + "/details/{id}",
+                detailUrl: prefix + "/details/{id}",
                 exportUrl: prefix + "/export",
                 modalName: "评价列表",
                 columns: [{

+ 2 - 2
suishenbang-order/src/main/resources/templates/order/orderSalesDetail/orderSalesDetail.html

@@ -54,7 +54,7 @@
             </div>
 
             <div class="btn-group-sm" id="toolbar" role="group">
-                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="order:orderSalesDetail:info">
+                <a class="btn btn-primary single disabled" onclick="$.operate.detail()" shiro:hasPermission="order:orderSalesDetail:info">
                     <i class="fa fa-edit"></i> 详情
                 </a>
             </div>
@@ -71,7 +71,7 @@
         $(function() {
             var options = {
                 url: prefix + "/list",
-                updateUrl: prefix + "/info/{id}",
+                detailUrl: prefix + "/info/{id}",
                 modalName: "销售目标达成",
                 columns: [{
                     checkbox: true