| | |
| | | <option value="1">-已开通-</option> |
| | | <option value="0">-未开通-</option> |
| | | </select> |
| | | <input id="hosName" class="layui-input search-input" type="text" placeholder="按医院名" /> |
| | | <input id="hosName" class="layui-input search-input" type="text" autocomplete="off" placeholder="按医院名" /> |
| | | <button id="hospita-btn-search" class="layui-btn icon-btn"><i class="layui-icon permissions" |
| | | permissions="hospital-get"></i>搜索</button>  |
| | | <button id="hospital-btn-add" class="layui-btn icon-btn"><i class="layui-icon permissions" |
| | |
| | | }, |
| | | { |
| | | field: 'hospitalLink', |
| | | width: "6%", |
| | | width: "7%", |
| | | title: '联系人' |
| | | }, |
| | | { |
| | |
| | | title: '联系方式' |
| | | }, |
| | | { |
| | | field: 'departmentLink', |
| | | width: "6%", |
| | | title: '科室联系人' |
| | | }, |
| | | { |
| | | field: 'departmentTel', |
| | | width: "8%", |
| | | title: '科室联系方式' |
| | | }, |
| | | { |
| | | field: 'orderType', width: 80, title: '状态', templet: function (d) { |
| | | if(d.orderType==null){ |
| | | return ""; |
| | | } |
| | | return d.orderType ? "试用" : "正式" |
| | | return d.orderType ? "正式" : "试用" |
| | | } |
| | | }, |
| | | { |
| | |
| | | method: 'GET', |
| | | where: { |
| | | 'hospitalId': data.hospitalId, |
| | | 'departmentId': data.departmentId |
| | | 'departmentId': data.departmentId, |
| | | 'enabled': true |
| | | }, |
| | | headers: { |
| | | 'Authorization': 'Bearer ' + config.getToken().access_token |
| | |
| | | field: 'ailightCount', |
| | | width: 150, |
| | | title: '读片量(剩余)' |
| | | }, |
| | | { |
| | | field: 'ailightCount', |
| | | width: 150, |
| | | title: '读片使用量', |
| | | templet: function (d) { |
| | | return d.orderAilightCount-d.ailightCount; |
| | | } |
| | | }, |
| | | { |
| | | field: 'recordCount', |
| | |
| | | title: '开始时间', |
| | | templet: function (d) { |
| | | return new Date(d.proBegintime) |
| | | .dateFormat("yyyy/MM/dd"); |
| | | .dateFormat("yyyy/MM/dd hh:mm:ss"); |
| | | } |
| | | }, |
| | | { |
| | |
| | | width: 180, |
| | | title: '结束时间', |
| | | templet: function (d) { |
| | | return new Date(d.proEndtime) |
| | | .dateFormat("yyyy/MM/dd"); |
| | | var dateTime=new Date(d.proEndtime); |
| | | dateTime=dateTime.setDate(dateTime.getDate()-1); |
| | | dateTime=new Date(dateTime); |
| | | return dateTime |
| | | .dateFormat("yyyy/MM/dd")+" 24:00:00"; |
| | | } |
| | | }, |
| | | { |