From afb0fa2343163188cdfc99a9ac90cbabce63ca82 Mon Sep 17 00:00:00 2001
From: zxh <279049017@qq.com>
Date: Tue, 01 Sep 2020 14:28:01 +0800
Subject: [PATCH] 修改上传byte数组接口
---
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html | 45 ++++++++++++++++++++++++++++-----------------
1 files changed, 28 insertions(+), 17 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 d944e82..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
@@ -40,7 +40,7 @@
<button class="layui-btn layui-btn-primary layui-btn-xs permissions" permissions="users-edit"
lay-event="reset">重置密码</button>
{{#}}}
-
+
<button class="layui-btn layui-btn-primary layui-btn-xs permissions" permissions="sysdoctor-edit"
lay-event="edit">修改</button>
<button class="layui-btn layui-btn-xs permissions" permissions="sysdoctor-del" lay-event="del">删除</button>
@@ -399,32 +399,40 @@
cols: [
[{
field: 'hospitalName',
- width: 180,
- title: '医院名称'
+ width: "10%",
+ title: '医院名称',
+ fixed: 'left'
+ },
+ {
+ field: 'departmentName',
+ width: "9%",
+ title: '科室',
+ fixed: 'left'
},
{
field: 'doctorName',
- width: 120,
- title: '医生姓名'
+ 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 ? "是" : "否"
@@ -432,7 +440,7 @@
},
{
field: 'isSigning',
- width: 100,
+ width: "5%",
title: '签约',
templet: function (d) {
return d.isSigning ? "是" : "否"
@@ -448,21 +456,22 @@
// { 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: 350,
+ width: "20%",
align: 'center',
toolbar: '#doctor-table-bar',
- title: '操作'
+ title: '操作',
+ fixed: 'right'
},
]
],
@@ -541,7 +550,9 @@
data) {
layer.closeAll('loading');
if (data.code == 0) {
- layer.alert("密码重置为:"+data.data, {icon: 1});
+ layer.alert("密码重置为:" + data.data, {
+ icon: 1
+ });
} else {
layer.msg(data.msg, {
icon: 2,
@@ -551,7 +562,7 @@
}, 'PUT');
});
} else if (layEvent === 'edit') {
- showEditModel_add("编辑",data);
+ showEditModel_add("编辑", data);
} else if (layEvent === 'del') {
layer.confirm('确定删除此用户吗?', function (i) {
layer.close(i);
@@ -595,7 +606,7 @@
});
// 显示新增弹窗
- var showEditModel_add = function (title,data) {
+ var showEditModel_add = function (title, data) {
admin.putTempData('t_doctor', data);
admin.popupCenter({
title: title,
--
Gitblit v1.8.0