From 95e95592052e5572cdb95dfe09eb8adc7e59090b Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Wed, 13 May 2020 10:04:16 +0800
Subject: [PATCH] 修改宽度,,,,,

---
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html |   22 +++++++++++-----------
 kidgrow-business/kidgrow-code-generator/src/main/resources/application.yml           |    2 +-
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/kidgrow-business/kidgrow-code-generator/src/main/resources/application.yml b/kidgrow-business/kidgrow-code-generator/src/main/resources/application.yml
index 03f891f..32da5c4 100644
--- a/kidgrow-business/kidgrow-code-generator/src/main/resources/application.yml
+++ b/kidgrow-business/kidgrow-code-generator/src/main/resources/application.yml
@@ -4,7 +4,7 @@
   application:
     name: code-generator
   datasource:
-    url: jdbc:mysql://${kidgrow.datasource.ip}:3306/user_center?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+    url: jdbc:mysql://${kidgrow.datasource.ip}:3306/xigao?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
     username: ${kidgrow.datasource.username}
     password: ${kidgrow.datasource.password}
 #    driver-class-name: com.mysql.jdbc.Driver
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 a12a7b0..3af7eb2 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
@@ -467,26 +467,26 @@
             cols: [[
                 { type: 'numbers' },
                 { field: 'hospitalName', width: 180, title: '医院名称' },
-                { field: 'doctorName', width: 200, title: '医生姓名' },
+                { field: 'doctorName', width: 120, title: '医生姓名' },
                 { field: 'doctorRank', width: 180, title: '职称' },
-                { field: 'username', width: 300, title: '登录帐号' },
-                { field: 'doctorTel', width: 300, title: '联系方式' },
+                { field: 'username', width: 150, title: '登录帐号' },
+                { field: 'doctorTel', width: 150, title: '联系方式' },
+                // {
+                //     field: 'doctorState', width: 300, title: '状态', templet: function (d) {
+                //         return d.doctorState ? "正式" : "试用"
+                //     }
+                // },
                 {
-                    field: 'doctorState', width: 300, title: '状态', templet: function (d) {
-                        return d.doctorState ? "正式" : "试用"
-                    }
-                },
-                {
-                    field: 'isAnswer', width: 300, title: '医答', templet: function (d) {
+                    field: 'isAnswer', width: 100, title: '医答', templet: function (d) {
                         return d.isAnswer ? "是" : "否"
                     }
                 },
                 {
-                    field: 'isSigning', width: 300, title: '签约', templet: function (d) {
+                    field: 'isSigning', width: 100, title: '签约', templet: function (d) {
                         return d.isSigning ? "是" : "否"
                     }
                 },
-                { field: 'enabled', width: 250, align: 'center', templet: '#doctor-tpl-state', title: '状态' },
+                { field: 'enabled', width: 150, align: 'center', templet: '#doctor-tpl-state', title: '状态' },
                 { field: 'createTime', width: 250, title: '时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy年MM月dd日 HH:mm:ss')}}</div>" },
                 { field: 'serverUserName', width: 100, title: '销售代表' },
                 { width: 200, width: 300, align: 'center', toolbar: '#doctor-table-bar', title: '操作' },

--
Gitblit v1.8.0