123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>续方详情</title>
- <meta name="keywords" content="">
- <meta name="description" content="">
- <link rel="shortcut icon" href="favicon.ico">
- <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
- <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
- <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="js/plugins/artDialog/6.0.5/css/ui-dialog.min.css"/>
- <link href="css/animate.min.css" rel="stylesheet">
- <link href="css/style.css?v=4.1.0" rel="stylesheet">
- <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
- <style>
- table td { padding-top: 5px; padding-bottom: 5px; }
- .ibox-content { padding-left: 0; padding-bottom: 0; }
- .ibox { margin-bottom: 0; }
- #adjustReason { padding: 0; }
- #adjustReason li.active {
- background-color: #12b7f5;
- color: #fff;
- }
- #adjustReason li{
- cursor: pointer;
- }
- .wordCount {
- position:absolute;
- bottom: 5px;
- right: 15px;
- }
- #disagreeAudit, #agreeAudit { display: none; }
- </style>
- </head>
- <body class="white-bg plr10">
-
- <div id="main"></div>
-
- <script id="detailTmpl" type="text/html">
- <div class="ibox">
- <div class="mt15">
- <p class="c-333 c-f16 mb5">原处方记录</p>
- </div>
- <div class="ibox-content">
- <table class="c-wp100 c-999">
- <tr>
- <td>开方时间:{{primary.createTime}}</td>
- <td>开方医生:{{primary.doctorName}}</td>
- </tr>
- <tr>
- <td>剩余药品可用天数:{{# setRestTime(prescription.minDrugDay,prescription.presCreateTime)}}</td>
- <td>医院/科室:{{prescription.hospitalName}} / {{prescription.deptName}}</td>
- </tr>
- </table>
- </div>
- </div>
- <div class="ibox">
- <div class="mt15">
- <p class="c-333 c-f16 mb5">居民信息</p>
- </div>
- <div class="ibox-content">
- <table class="c-wp100 c-999">
- <tr>
- <td>续方居民:{{patient.name}}</td>
- <td>医保卡号:{{patient.ssc}}</td>
- <td>身份证号:{{patient.idcard | idcardWidthStar}}</td>
- </tr>
- </table>
- </div>
- </div>
- <div class="ibox mb5">
- <div class="mt15">
- <p class="c-333 c-f16 mb5">临床诊断</p>
- </div>
- <div class="ibox-content">
- <table class="c-wp100 c-999">
- <tr>
- <td>诊断结果:<span class="c-333">{{diagnosisNames}}</span></td>
- </tr>
- </table>
- </div>
- </div>
- <div class="ibox">
- <div class="mt15">
- <p class="c-333 c-f16 mb5">RP
- {{if prescriptionAdjust && prescriptionAdjust.id }}
- <span class="fr c-f14 c-12b7f5">已调整</span>
- {{/if}}
- </p>
- </div>
- <div class="ibox-content">
- <table ble class="c-wp100 c-999">
- {{each prescriptionInfo as p i}}
- <tr>
- <td class="c-333">{{p.drugName}}</td>
- <td>用法: <span class="c-333 mr10">{{p.usageName}}</span><span class="c-333 mr10">{{p.physicDose ? '每次'+p.physicDose+p.physicDoseUnitName : ''}}</span><span class="c-333">{{p.drugRateName}}</span></td>
- <td>总量:<span class="c-333">{{p.num}}{{p.drugNumUnitName}}</span></td>
- <td>规格:<span class="c-333">{{p.drugFormat}}</span></td>
- </tr>
- {{/each}}
- </table>
- {{if prescriptionAdjust && prescriptionAdjust.id }}
- <p class="c-999 mt10">调整原因:{{prescriptionAdjust.reason || '-'}}</p>
- {{/if}}
- </div>
- </div>
- <div class="ibox mb5">
- <div class="mt15">
- <p class="c-333 c-f16 mb5">续方信息</p>
- </div>
- <div class="ibox-content">
- {{if prescription.status == '31' }}
- <table class="c-wp100 c-999">
- <tr>
- <td>续方状态:<span class="c-333">{{ prescription.status | setStatus}}</span></td>
- <td>失败时间:<span class="c-333">{{prescription.prescribeTime || ''}}</span></td>
- </tr>
- <tr>
- <td colspan="2">续方说明:<span class="c-333">{{prescription.reason}}</span></td>
- </tr>
- <tr>
- <td colspan="2">失败原因:<span class="c-333">{{prescription.prescribeReason}}</span></td>
- </tr>
- </table>
- {{else}}
- <table class="c-wp100 c-999">
- <tr>
- <td>续方状态:<span class="c-333">{{ prescription.status | setStatus }}</span></td>
- </tr>
- <tr>
- <td>续方说明:<span class="c-333">{{prescription.reason}}</span></td>
- </tr>
- </table>
- {{/if}}
- </div>
- </div>
- <!--
- prescription.status 2、3 为线下调整,应屏蔽,31为开方失败,可以继续审核
- -->
- {{if isLeader && ((prescription.status >= 0 && prescription.status != 2 && prescription.status != 3 && prescription.status <= 10 ) || (prescription.status == 31)) }}
- <div id="presctiptionAudit" class="ibox mb5">
- <div class="mt15">
- <p class="c-333 c-f16 mb5">续方审核</p>
- </div>
- <div class="ibox-content">
- <form class="form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label c-w100">审核结果:</label>
- <div class="col-sm-8 c-w270">
- <select id="auditResultSel" class="form-control" name="auditResultSel">
- <option>请选择审核结果</option>
- <option value="1">审核通过</option>
- <option value="2">审核不通过</option>
- </select>
- </div>
- </div>
- <div id="agreeAudit">
- <div class="form-group">
- <label class="col-sm-3 control-label c-w100" >诊查费用:</label>
- <div class="col-sm-8 c-w270">
- <select id="feeSel" class="form-control" name="feeSel">
- <option>请按医生级别选择诊查费用</option>
- {{each feeRes as fee i}}
- <option value="{{fee.registerType}} {{fee.registerFee}}">{{fee.registerTypeName}} {{fee.registerFee?fee.registerFee+'元': '0元'}}</option>
- {{/each}}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label c-w100">开方科室:</label>
- <div class="col-sm-8 c-w270">
- <select id="deptSel" class="form-control" name="deptSel">
- {{if depts.length == 1}}
- <option value="{{depts[0].deptCode}}">{{depts[0].deptName}}</option>
- {{else}}
- <option>请选择你所在的科室</option>
- {{each depts as dept i}}
- <option value="{{dept.deptCode}}">{{dept.deptName}}</option>
- {{/each}}
- {{/if}}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label c-w100" >审方密码:</label>
- <div class="col-sm-8" >
- {{if isAuthentication}}
- <input id="reviewPassword" type="password" placeholder="请输入审方密码" class="form-control" style="width: 240px;">
- {{else}}
- <div class="pt7 c-f96565">审方密码:您暂未申请CA认证,请先在i健康APP上完成CA认证,认证路径:我的——设置——CA认证</div>
- {{/if}}
- </div>
- </div>
- </div>
- <div id="disagreeAudit">
- <table style="width: 80%">
- <tr>
- <td class="c-w100 pt10 c-vat">
- 不通过原因:
- </td>
- <td>
- <ul id="adjustReason" class="clearfix">
- {{each reasonTypes as r i}}
- <li data-code="{{r.code}}" class="fl c-b-c12b7f5 c-border c-12b7f5 ptb5 plr20 c-b-r20 mt10 mr10">
- {{r.value}}
- </li>
- {{/each}}
- </ul>
- <div class="pr">
- <textarea id="disagreeReason" class="c-wp100 mt10 c-h100 ptb10 plr10" calcWorld="200"></textarea>
- <span class="c-999 wordCount">0/200</span>
- </div>
- </td>
- </tr>
- </table>
- </div>
- </form>
- </div>
- </div>
-
- {{else if reviewed && reviewed.id}}
- <div class="ibox mb5">
- <div class="mt15">
- <p class="c-333 c-f16 mb5">审核记录</p>
- </div>
- <div class="ibox-content">
- <table class="c-wp100 c-999">
- <tr>
- <td>申请时间:<span class="c-333">{{reviewed.createTime}}</span></td>
- <td>审核医生:<span class="c-333">{{reviewed.doctorName}}</span></td>
- </tr>
- <tr>
- <td>审核机构:<span class="c-333">{{reviewed.hospitalName}}</span></td>
- <td>审核时间:<span class="c-333">{{reviewed.reviewedTime}}</span></td>
- </tr>
- <tr>
- <td>审核结果:<span class="c-333">{{# setReview(reviewed.status)}}</span></td>
- <td>{{ reviewed.reason ? '原因:<span class="c-333">' + reviewed.reason + '</span>' : ''}}</td>
- </tr>
- </table>
- </div>
- </div>
-
- {{/if}}
- <div class="c-tac mb20 mt20">
- {{if isLeader && ((prescription.status >= 0 && prescription.status != 2 && prescription.status != 3 && prescription.status <= 10) || (prescription.status == 31)) }}
- <button id="reviewBtn" type="button" class="btn btn-w-m btn-success mlr20">确认</button>
- {{/if}}
- {{if (prescription.status == 0 || prescription.status == 31)&& prescription.status != 2 && prescription.status != 3 && isLeader }}
- <button id="editBtn" type="button" class="btn btn-w-m btn-primary mlr20">调整处方</button>
- {{/if}}
- <button id="backBtn" type="button" class="btn btn-w-m btn-danger mlr20">返回</button>
- </div>
- </script>
- <script src="js/jquery.min.js?v=2.1.4"></script>
- <script src="js/bootstrap.min.js?v=3.3.6"></script>
- <script src="js/content.min.js?v=1.0.0"></script>
- <script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
- <script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
- <script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
- <script src="js/plugins/toastr/toastr.min.js"></script>
- <script src="js/plugins/pace/pace.min.js"></script>
- <script src="js/plugins/artDialog/6.0.5/js/dialog-plus.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="js/es6-promise.js"></script>
- <script src="js/underscore.js"></script>
- <script src="js/api-service.js"></script>
- <script src="js/prescription-detail-api.js"></script>
- <script src="js/util.js"></script>
- <script src="js/template.js"></script>
- <script src="js/buz/prescription-detail.js"></script>
- </body>
- </html>
|