From a76cec91cf4adf1feede5dda61d97d2bbf18266a Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 11 七月 2019 20:27:20 +0800
Subject: [PATCH] 加入服务绑定功能

---
 WebService/src/main/resources/components/service-manage/serviceManage.html |   90 +++++++++++++++++++++++++++------------------
 1 files changed, 54 insertions(+), 36 deletions(-)

diff --git a/WebService/src/main/resources/components/service-manage/serviceManage.html b/WebService/src/main/resources/components/service-manage/serviceManage.html
index 6e9bf5e..5bc609e 100644
--- a/WebService/src/main/resources/components/service-manage/serviceManage.html
+++ b/WebService/src/main/resources/components/service-manage/serviceManage.html
@@ -1,60 +1,78 @@
-<div id="component" class="wrapper wrapper-content animated fadeInRight ecommerce">
+<div id="component">
     <div class="row">
         <div class="col-lg-12">
             <div class="ibox">
                 <div class="ibox-title">
                     <h5>鏈嶅姟淇℃伅</h5>
                     <div class="ibox-tools" style="top:10px;">
-                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddServiceModal()">
-                            <i class="glyphicon glyphicon-plus"></i>
-                            娣诲姞鏈嶅姟
-                        </button>
+                        <form>
+                            <div class="form-row">
+                                <div class="col-8 input-group input-group-sm">
+                                    <input type="text" placeholder="璇峰~鍐欐湇鍔″悕绉�" class=" form-control" v-model="serviceManageInfo.name">
+                                    <div class="input-group-prepend">
+                                        <button type="button" class="btn btn-primary btn-sm"  v-on:click="_queryServiceMethod()">
+                                            <i class="glyphicon glyphicon-search"></i> 椹笂鏌ヨ</button>
+                                    </div>
+                                </div>
+
+                                <div class="col">
+                                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddServiceModal()">
+                                        <i class="glyphicon glyphicon-plus"></i>
+                                        娣诲姞鏈嶅姟
+                                    </button>
+                                </div>
+                            </div>
+                        </form>
+
                     </div>
                 </div>
                 <div class="ibox-content">
 
-                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
+                    <table class="footable table table-stripped toggle-arrow-tiny"
+                           data-page-size="15"
+                           style="table-layout: fixed;word-break:break-all;"
+                    >
                         <thead>
                         <tr>
-                                                        <th>鏈嶅姟ID</th>
-                            <th>鏈嶅姟鍚嶇О</th>
-                            <th>鏈嶅姟缂栫爜</th>
-                            <th>绉橀挜</th>
-                            <th>搴忓垪</th>
-                            <th>娑堟伅闃熷垪</th>
-                            <th>鏄惁瀹炰緥</th>
-                            <th>璋冪敤鍦板潃</th>
-                            <th>璋冪敤鏂瑰紡</th>
-                            <th>瓒呮椂鏃堕棿</th>
-                            <th>閲嶈瘯娆℃暟</th>
-                            <th>鎻愪緵鏈嶅姟</th>
-                            <th class="text-right">鎿嶄綔</th>
+                            <th class="text-center">鏈嶅姟ID</th>
+                            <th class="text-center">鏈嶅姟鍚嶇О</th>
+                            <th class="text-center">鏈嶅姟缂栫爜</th>
+                            <th class="text-center">绉橀挜</th>
+                            <th class="text-center">搴忓垪</th>
+                            <th class="text-center">娑堟伅闃熷垪</th>
+                            <th class="text-center">鏄惁瀹炰緥</th>
+                            <th class="text-center">璋冪敤鍦板潃</th>
+                            <th class="text-center">璋冪敤鏂瑰紡</th>
+                            <th class="text-center">瓒呮椂鏃堕棿</th>
+                            <th class="text-center">閲嶈瘯娆℃暟</th>
+                            <th class="text-center">鎻愪緵鏈嶅姟</th>
+                            <th class="text-center">鎿嶄綔</th>
 
 
                         </tr>
                         </thead>
                         <tbody>
-                            <tr v-for="service in serviceManageInfo.services">
-                                                            <td>{{service.serviceId}}</td>
-                            <td>{{service.name}}</td>
-                            <td>{{service.serviceCode}}</td>
-                            <td>{{service.businessTypeCd}}</td>
-                            <td>{{service.seq}}</td>
-                            <td>{{service.messageQueueName}}</td>
-                            <td>{{service.isInstance}}</td>
-                            <td>{{service.url}}</td>
-                            <td>{{service.method}}</td>
-                            <td>{{service.timeout}}</td>
-                            <td>{{service.retryCount}}</td>
-                            <td>{{service.provideAppId}}</td>
-                            <td><div class="btn-group">
-                                    <button class="btn-white btn btn-xs" v-on:click="_openEditServiceModel(service)">淇敼</button>
-                                </div>
+                        <tr v-for="service in serviceManageInfo.services">
+                            <td class="text-center">{{service.serviceId}}</td>
+                            <td class="text-center">{{service.name}}</td>
+                            <td class="text-center">{{service.serviceCode}}</td>
+                            <td class="text-center">{{service.businessTypeCd}}</td>
+                            <td class="text-center">{{service.seq}}</td>
+                            <td class="text-center">{{service.messageQueueName}}</td>
+                            <td class="text-center">{{service.isInstance}}</td>
+                            <td class="text-center">{{service.url}}</td>
+                            <td class="text-center">{{service.method}}</td>
+                            <td class="text-center">{{service.timeout}}</td>
+                            <td class="text-center">{{service.retryCount}}</td>
+                            <td class="text-center">{{service.provideAppId}}</td>
+                            <td class="text-center"><div class="btn-group">
+                                <button class="btn-white btn btn-xs" v-on:click="_openEditServiceModel(service)">淇敼</button>
+                            </div>
                                 <div class="btn-group">
                                     <button class="btn-white btn btn-xs" v-on:click="_openDeleteServiceModel(service)">鍒犻櫎</button>
                                 </div></td>
 
-                            </tr>
+                        </tr>
                         </tbody>
                         <tfoot>
                         <tr>

--
Gitblit v1.8.0