From e6bdc34995298e807824097e555c3e46fb746e3b Mon Sep 17 00:00:00 2001
From: zxh <279049017@qq.com>
Date: Wed, 26 Aug 2020 09:48:53 +0800
Subject: [PATCH] 调整表格的宽度

---
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html |   22 +++++++++++-----------
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html    |   14 +++++++-------
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js           |    3 ++-
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/attestation/app.html |   12 ++++++------
 4 files changed, 26 insertions(+), 25 deletions(-)

diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js
index 0818a18..aa81bd3 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js
@@ -1,7 +1,8 @@
 // var my_api_server_url = 'http://zuul.kidgrow.com/';
   // var my_api_server_url = 'http://192.168.2.240:8888/';
-var my_api_server_url = 'http://127.0.0.1:8888/';
+// var my_api_server_url = 'http://127.0.0.1:8888/';
 // var my_api_server_url = 'http://192.168.2.240:8888/';
+var my_api_server_url = 'http://open.zuul.kidgrow.cloud/';
 // var my_api_server_url = 'http://uat.zuul.kidgrow.cloud/';
 // var my_api_server_url = 'https://zuul.kidgrow.cloud/';
 //var my_api_server_url = 'http://123.57.164.62:8888/';
diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/attestation/app.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/attestation/app.html
index 9544b6a..ae1206c 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/attestation/app.html
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/attestation/app.html
@@ -80,12 +80,12 @@
             page: true,
             cols: [[
                 {type: 'numbers'},
-                {field: 'clientId',width:180, sort: true, title: '应用标识'},
-                {field: 'clientName',width:200, sort: true, title: '应用名称'},
-                {field: 'clientSecretStr', width:180, sort: true, title: '应用密钥'},
-                {field: 'webServerRedirectUri',sort: true, title: '回调地址'},
-                {field: 'authorizedGrantTypes',width:250, sort: true, title: 'oauth授权方式'},
-                {align: 'center',width:150, toolbar: '#app-table-bar', title: '操作'}
+                {field: 'clientId',width:"10%", sort: true, title: '应用标识'},
+                {field: 'clientName',width:"10%", sort: true, title: '应用名称'},
+                {field: 'clientSecretStr', width:"10%", sort: true, title: '应用密钥'},
+                {field: 'webServerRedirectUri',width:"25%",sort: true, title: '回调地址'},
+                {field: 'authorizedGrantTypes',width:"35%", sort: true, title: 'oauth授权方式'},
+                {align: 'center',width:"10%", toolbar: '#app-table-bar', title: '操作'}
             ]],
             done:function(res){
                 permissionsInput(res,config);
diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html
index e57d22c..683b7e9 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html
@@ -399,40 +399,40 @@
                 cols: [
                     [{
                             field: 'hospitalName',
-                            width: 180,
+                            width: "10%",
                             title: '医院名称',
                             fixed: 'left'
                         },
                         {
                             field: 'departmentName',
-                            width: 80,
+                            width: "9%",
                             title: '科室',
                             fixed: 'left'
                         },
                         {
                             field: 'doctorName',
-                            width: 100,
+                            width: "7%",
                             title: '医生姓名',
                             fixed: 'left'
                         },
                         {
                             field: 'doctorRank',
-                            width: 100,
+                            width: "8%",
                             title: '职称'
                         },
                         {
                             field: 'username',
-                            width: 150,
+                            width: "10%",
                             title: '登录帐号'
                         },
                         {
                             field: 'doctorTel',
-                            width: 150,
+                            width: "10%",
                             title: '联系方式'
                         },
                         {
                             field: 'isAnswer',
-                            width: 100,
+                            width: "5%",
                             title: '医答',
                             templet: function (d) {
                                 return d.isAnswer ? "是" : "否"
@@ -440,7 +440,7 @@
                         },
                         {
                             field: 'isSigning',
-                            width: 100,
+                            width: "5%",
                             title: '签约',
                             templet: function (d) {
                                 return d.isSigning ? "是" : "否"
@@ -456,18 +456,18 @@
                         // { field: 'createTime', width: 150, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy-MM-dd HH:mm')}}</div>" },
                         {
                             field: 'createTime',
-                            width: 150,
+                            width: "10%",
                             sort: true,
                             title: '创建时间',
                             templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>"
                         },
                         {
                             field: 'serverUserName',
-                            width: 100,
+                            width: "6%",
                             title: '销售代表'
                         },
                         {
-                            width: 300,
+                            width: "20%",
                             align: 'center',
                             toolbar: '#doctor-table-bar',
                             title: '操作',
diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html
index 0ce76ef..1ba0812 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html
@@ -65,15 +65,15 @@
                 where: param,
                 page: false,
                 cols: [[
-                    { type: 'numbers' ,width: "10%" },
-                    { field: 'name',width: "10%", minWidth: 200, title: '菜单名称' },
-                    { field: 'tenantId',width: "10%", minWidth: 80, title: '应用标识' },
-                    { field: 'url',width: "10%", title: '菜单url' },
-                    { field: 'path',width: "10%", title: '菜单path' },
+                    { type: 'numbers' ,width: "3%" },
+                    { field: 'name',width: "15%", minWidth: 200, title: '菜单名称' },
+                    { field: 'tenantId',width: "7%", minWidth: 80, title: '应用标识' },
+                    { field: 'url',width: "20%", title: '菜单url' },
+                    { field: 'path',width: "15%", title: '菜单path' },
                     { field: 'css',width: "10%", align: 'center', title: '样式' },
-                    { field: 'sort', width: "10%", align: 'center', title: '排序号' },
+                    { field: 'sort', width: "5%", align: 'center', title: '排序号' },
                     {
-                        field: 'type', width: "10%", align: 'center', templet: function (d) {
+                        field: 'type', width: "5%", align: 'center', templet: function (d) {
                             if (d.type === 2) {
                                 return '<span class="layui-badge layui-bg-gray">资源</span>';
                             }

--
Gitblit v1.8.0