| | |
| | | // 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/'; |
| | |
| | | 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); |
| | |
| | | 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 ? "是" : "否" |
| | |
| | | }, |
| | | { |
| | | field: 'isSigning', |
| | | width: 100, |
| | | width: "5%", |
| | | title: '签约', |
| | | templet: function (d) { |
| | | return d.isSigning ? "是" : "否" |
| | |
| | | // { 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: '操作', |
| | |
| | | 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>'; |
| | | } |