From 42732fda8d3fdef36b33e2c46f2988df7424bf6a Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <279049017@qq.com>
Date: Fri, 26 Feb 2021 11:08:17 +0800
Subject: [PATCH] 修改单次支付, 禁用状态可以添加套餐的bug

---
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

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 6b072f7..26d43ab 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
@@ -52,7 +52,7 @@
 </script>
 <!-- 表单弹窗 -->
 <script type="text/html" id="app-model">
-    <form id="app-form" lay-filter="app-form" class="layui-form model-form">
+    <form id="app-form" lay-filter="app-form" class="layui-form model-form" autocomplete="off">
         <input name="id" type="hidden" />
         <div style="display:flex">
             <div class="layui-form-item">
@@ -410,7 +410,7 @@
                         },
                         {
                             field: 'doctorName',
-                            width: "150",
+                            width: "100",
                             title: '医生姓名',
                             fixed: 'left'
                         },
@@ -431,7 +431,7 @@
                         },
                         {
                             field: 'isAnswer',
-                            width: "100",
+                            width: "75",
                             title: '医答',
                             templet: function (d) {
                                 return d.isAnswer ? "是" : "否"
@@ -439,10 +439,18 @@
                         },
                         {
                             field: 'isSigning',
-                            width: "100",
+                            width: "75",
                             title: '签约',
                             templet: function (d) {
                                 return d.isSigning ? "是" : "否"
+                            }
+                        },
+                        {
+                            field: 'isAdminUser',
+                            width: "100",
+                            title: '是否管理员',
+                            templet: function (d) {
+                                return d.isAdminUser ? "管理员" : "普通医生"
                             }
                         },
                         {
@@ -586,13 +594,18 @@
                 var hospitalName = $("#hospitalName-seach").val();
                 var doctorTel = $('#doctorTel').val();
                 var doctorName = $('#doctorName').val();
+                var hospitalId=$("#hospitalId").val();
                 table.reload('app-table', {
                     where: {
                         doctorState: doctorState,
                         hospitalName: hospitalName,
+                        hospitalId,
                         doctorTel: doctorTel,
                         doctorName: doctorName
-                    }
+                    },
+                    page: {
+                        curr: 1 
+                    } 
                 });
             });
 

--
Gitblit v1.8.0