| | |
| | | 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 |
| | |
| | | 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: '操作' }, |