| | |
| | | headers: { 'Authorization': 'Bearer ' + config.getToken().access_token }, |
| | | page: true, |
| | | cols: [[ |
| | | { field: 'diagnosticHospitalName', width: 300, title: '医院名称' }, |
| | | { field: 'diagnosticDepartName', width: 100, title: '科室名称' }, |
| | | { field: 'diagnosticDoctorName', width: 100, title: '医生姓名' }, |
| | | { field: 'childName', width: 100, title: '患者姓名' }, |
| | | { field: 'childSex', width: 80, title: '性别' }, |
| | | { field: 'childBirthday', width: 120, title: '出生日期',templet:function(d){ |
| | | { field: 'diagnosticHospitalName',width: "10%", title: '医院名称' }, |
| | | { field: 'diagnosticDepartName', width: "10%", title: '科室名称' }, |
| | | { field: 'diagnosticDoctorName', width: "10%", title: '医生姓名' }, |
| | | { field: 'childName', width: "10%", title: '患者姓名' }, |
| | | { field: 'childSex', width: "10%", title: '性别' }, |
| | | { field: 'childBirthday', width: "10%", title: '出生日期',templet:function(d){ |
| | | return new Date(d.createTime).dateFormat("yyyy-MM-dd"); |
| | | }}, |
| | | { field: 'childPhone', width: 150, title: '联系电话' }, |
| | | { field: 'childPhone', width: "10%", title: '联系电话' }, |
| | | { |
| | | field: 'isDelete', sort: true, align: 'center', width: 100, templet: function (d) { |
| | | if (d.proType === 0) |
| | |
| | | }, title: '状态' |
| | | }, |
| | | { |
| | | field: 'createTime', width: 170, sort: true, title: '创建时间', templet: function (d) { |
| | | field: 'createTime', width: "10%", sort: true, title: '创建时间', templet: function (d) { |
| | | return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm"); |
| | | } |
| | | },{ |
| | | field: 'diagnosticDiagnoseTime', width: 120, sort: true, title: '诊断时间', templet: function (d) { |
| | | field: 'diagnosticDiagnoseTime',width: "10%", sort: true, title: '诊断时间', templet: function (d) { |
| | | return new Date(d.diagnosticDiagnoseTime).dateFormat("yyyy-MM-dd"); |
| | | } |
| | | }, |
| | | { |
| | | field: 'updateTime', width: 170, sort: true, title: '修改时间', templet: function (d) { |
| | | field: 'updateTime', width: "10%", sort: true, title: '修改时间', templet: function (d) { |
| | | return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm"); |
| | | } |
| | | }, |
| | | { field: 'enabled', width: 100, templet: '#diagnostic-table-bar', title: '查看' } |
| | | { field: 'enabled', width: "10%", templet: '#diagnostic-table-bar', title: '查看' } |
| | | ]], |
| | | done:function(res){ |
| | | permissionsInput(res,config); |
| | |
| | | headers: { 'Authorization': 'Bearer ' + config.getToken().access_token }, |
| | | page: true, |
| | | cols: [[ |
| | | { field: 'proName', width: '20%', title: '产品名称' }, |
| | | { field: 'proName',width: "10%",align: 'center', title: '产品名称' }, |
| | | { |
| | | field: 'proType', align: 'center', width: '10%', templet: function (d) { |
| | | if (d.proType === 0) |
| | |
| | | }, title: '类型' |
| | | }, |
| | | { |
| | | field: 'proTime', width: '10%', title: '有效时长', templet: function (d) { |
| | | field: 'proTime', width: '10%', align: 'center', title: '有效时长', templet: function (d) { |
| | | switch (d.proTimeUnit) { |
| | | case 0: |
| | | return d.proTime + "天"; |
| | |
| | | } |
| | | } |
| | | }, |
| | | { field: 'proPrice', width: '10%', title: '价格' }, |
| | | { field: 'recordCount', width: '10%', title: '报告数' }, |
| | | { field: 'ailightCount', width: '10%', title: '读片量' }, |
| | | { field: 'enabled', width: '10%', templet: '#product-tpl-state', sort: true, title: '状态' }, |
| | | { field: 'proPrice', width: '10%', align: 'center', title: '价格' }, |
| | | { field: 'recordCount', width: '10%', align: 'center', title: '报告数' }, |
| | | { field: 'ailightCount', width: '10%', align: 'center', title: '读片量' }, |
| | | { field: 'enabled', width: '10%', align: 'center', templet: '#product-tpl-state', sort: true, title: '状态' }, |
| | | { |
| | | field: 'createTime', width: '10%', sort: true, title: '创建时间', templet: function (d) { |
| | | field: 'createTime', width: '10%', align: 'center', sort: true, title: '创建时间', templet: function (d) { |
| | | return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm"); |
| | | } |
| | | }, |
| | |
| | | headers: { 'Authorization': 'Bearer ' + config.getToken().access_token }, |
| | | page: true, |
| | | cols: [[ |
| | | { type: 'numbers' }, |
| | | { type: 'numbers', width: "10%",align: 'center',}, |
| | | { |
| | | field: 'dictionariesClassId', width: 180, title: '字典类型', templet: function (d) { |
| | | field: 'dictionariesClassId', width: "10%",align: 'center', title: '字典类型', templet: function (d) { |
| | | return d.dictionariesClassId == undefined ? "分类" : "字典" |
| | | } |
| | | }, |
| | | { field: 'dictionariesClassName', width: 200, title: '字典分类' }, |
| | | { field: 'dictionariesKey', width: 180, title: '字典Key' }, |
| | | { field: 'dictionariesName', width: 264, title: '字典值' }, |
| | | { field: 'id', width: 250, align: 'center', toolbar: '#dictionaries-tpl-state', title: '状态' },// 0就诊数据 1筛查 |
| | | { field: 'createTime', width: 250, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy-MM-dd HH:mm')}}</div>" }, |
| | | { field: 'id', width: 250, align: 'center', toolbar: '#dictionaries-table-bar', title: '操作' },// 0就诊数据 1筛查 |
| | | { field: 'dictionariesClassName', width: "10%",align: 'center', title: '字典分类' }, |
| | | { field: 'dictionariesKey', width: "20%",align: 'center', title: '字典Key' }, |
| | | { field: 'dictionariesName', width: "10%",align: 'center', title: '字典值' }, |
| | | { field: 'id', width: "10%",align: 'center', toolbar: '#dictionaries-tpl-state', title: '状态' },// 0就诊数据 1筛查 |
| | | { field: 'createTime', width: "10%",align: 'center', title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy-MM-dd HH:mm')}}</div>" }, |
| | | { field: 'id', width: "10%",align: 'center', toolbar: '#dictionaries-table-bar', title: '操作' },// 0就诊数据 1筛查 |
| | | ]], |
| | | done:function(res){ |
| | | permissionsInput(res,config); |
| | |
| | | where: param, |
| | | page: false, |
| | | cols: [[ |
| | | { type: 'numbers' }, |
| | | { field: 'name', minWidth: 200, title: '菜单名称' }, |
| | | { field: 'tenantId', minWidth: 80, title: '应用标识' }, |
| | | { field: 'url', title: '菜单url' }, |
| | | { field: 'path', title: '菜单path' }, |
| | | { field: 'css', align: 'center', title: '样式' }, |
| | | { field: 'sort', width: 80, align: 'center', title: '排序号' }, |
| | | { 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' }, |
| | | { field: 'css',width: "10%", align: 'center', title: '样式' }, |
| | | { field: 'sort', width: "10%", align: 'center', title: '排序号' }, |
| | | { |
| | | field: 'type', width: 80, align: 'center', templet: function (d) { |
| | | field: 'type', width: "10%", align: 'center', templet: function (d) { |
| | | if (d.type === 2) { |
| | | return '<span class="layui-badge layui-bg-gray">资源</span>'; |
| | | } |
| | |
| | | } |
| | | }, title: '类型' |
| | | }, |
| | | { field: 'enabled', width: 100, sort: true, templet: '#menu-tpl-state', title: '状态' }, |
| | | { templet: '#menus-state', width: 120, align: 'center', title: '操作' } |
| | | { field: 'enabled', width: "10%", sort: true, templet: '#menu-tpl-state', title: '状态' }, |
| | | { templet: '#menus-state', width: "10%", align: 'center', title: '操作' } |
| | | ]], |
| | | done: function (res) { |
| | | permissionsInput(res,config); |
| | |
| | | where: param, |
| | | page: false, |
| | | cols: [[ |
| | | { field: 'areaName', minWidth: 200, title: '区域名称' }, |
| | | { field: 'areaCh', align: 'center', title: '拼音' }, |
| | | { field: 'areaShortname', minWidth: 80, title: '简称' }, |
| | | { field: 'areaCitycode', title: '区号' }, |
| | | { field: 'areaZipcode', title: '邮编' }, |
| | | { field: 'sort', width: 80, align: 'center', title: '排序号' }, |
| | | { field: 'areaName', width: "10%",align: 'center', title: '区域名称' }, |
| | | { field: 'areaCh',width: "10%",align: 'center', title: '拼音' }, |
| | | { field: 'areaShortname',width: "10%",align: 'center', title: '简称' }, |
| | | { field: 'areaCitycode',width: "10%",align: 'center', title: '区号' }, |
| | | { field: 'areaZipcode',width: "10%",align: 'center', title: '邮编' }, |
| | | { field: 'sort', width: "10%",align: 'center', title: '排序号' }, |
| | | { |
| | | field: 'areaLeveltype', width: 80, align: 'center', templet: function (d) { |
| | | field: 'areaLeveltype', width: "10%",align: 'center', templet: function (d) { |
| | | switch (d.areaLeveltype) { |
| | | case 0: |
| | | return '<span class="layui-badge layui-bg-red">国家</span>'; |
| | |
| | | } |
| | | }, title: '级别' |
| | | }, |
| | | { field: 'enabled', width: 100, sort: true, templet: '#area-tpl-state', title: '状态' }, |
| | | { templet: '#area-table-bar', width: 120, align: 'center', title: '操作' } |
| | | { field: 'enabled', width: "10%",align: 'center', sort: true, templet: '#area-tpl-state', title: '状态' }, |
| | | { templet: '#area-table-bar', width: "10%",align: 'center', title: '操作' } |
| | | ]], |
| | | done: function (res) { |
| | | layer.closeAll('loading'); |
| | |
| | | headers: { 'Authorization': 'Bearer ' + config.getToken().access_token}, |
| | | page: true, |
| | | cols: [[ |
| | | { field: 'username', width: 100, title: '账号' }, |
| | | { field: 'nickname', width: 200, title: '用户名' }, |
| | | { field: 'mobile', width: 150, title: '手机号' }, |
| | | { field: 'username', width: "10%",align: 'center', title: '账号' }, |
| | | { field: 'nickname', width: "10%",align: 'center', title: '用户名' }, |
| | | { field: 'mobile', width: "10%",align: 'center', title: '手机号' }, |
| | | { |
| | | sort: true, title: '性别', templet: function (d) { |
| | | sort: true, width: "10%",align: 'center', title: '性别', templet: function (d) { |
| | | var value=""; |
| | | if(d.sex == 0){ |
| | | value="男"; |
| | | }else if(d.sex == 1){ |
| | | value="女"; |
| | | } |
| | | return value |
| | | return value; |
| | | }, width: 100 |
| | | }, |
| | | { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, |
| | | { field: 'enabled', width: 100, sort: true, templet: '#user-tpl-state', title: '状态' }, |
| | | { fixed: 'right', align: 'center', toolbar: '#user-table-bar', title: '操作', width: 300 } |
| | | { field: 'createTime', width: "20%",align: 'center', sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, |
| | | { field: 'enabled', width: "10%",align: 'center', sort: true, templet: '#user-tpl-state', title: '状态' }, |
| | | { fixed: 'right', width: "10%",align: 'center', toolbar: '#user-table-bar', title: '操作', width: 300 } |
| | | ]], |
| | | done:function(res){ |
| | | permissionsInput(res,config); |