|
@@ -104,24 +104,17 @@ function getTabData(activePage){
|
|
|
// const param = {
|
|
|
// current:activePage,
|
|
|
// behospitalCode: behospitalCode,
|
|
|
- // patName: name, //病人姓名
|
|
|
+ // name: name, //条目名
|
|
|
// level:level,//病历等级
|
|
|
- // // behDeptName: deptName,
|
|
|
- // ascs:data_asc, //升序
|
|
|
- // descs:data_desc, //降序
|
|
|
- // startDate: behosDateStart, //出院日期--开始时间
|
|
|
- // endDate: behosDateEnd, //出院日期--结束时间
|
|
|
-
|
|
|
- // // casesEntryName: casesEntryName,
|
|
|
- // // casesEntryId:casesId,
|
|
|
- // // size: 15,
|
|
|
- // // isReject: isSingleReject,
|
|
|
-
|
|
|
- // // name: name, //条目名
|
|
|
- // // deptId: deptId,
|
|
|
- // // doctorName: doctorName,
|
|
|
- // // doctorCode: doctorNum,
|
|
|
- // // statisticsType:statisticsType
|
|
|
+ // deptId: deptId,
|
|
|
+ // asc:data_asc, //升序
|
|
|
+ // desc:data_desc, //降序
|
|
|
+ // doctorName: doctorName,
|
|
|
+ // doctorCode: doctorNum,
|
|
|
+ // leaveHosDateStart: behosDateStart, //出院日期--开始时间
|
|
|
+ // leaveHosDateEnd: behosDateEnd, //出院日期--结束时间
|
|
|
+ // size: 15,
|
|
|
+ // statisticsType:statisticsType
|
|
|
// }
|
|
|
const param = {"current":1,"behospitalCode":"","patName":"","level":"","behDeptName":"","ascs":[],"descs":["leaveHospitalDate"],"startDate":"2020-01-01 00:00:00","endDate":"2020-07-01 23:59:59","casesEntryName":"整份病历无主治医师查房记录","casesEntryId":"","size":15,"isReject":"0"}
|
|
|
|
|
@@ -242,8 +235,7 @@ function renderTab(data,hisId){
|
|
|
}
|
|
|
str += `
|
|
|
<tr data-index=${i}>
|
|
|
- <td class="scoreOperaItem textCenter">${item.hasSelect ? `<img class="iconCheck" src=${iconCheck} />`:`<img class="iconCheck" src=${iconUnCheck} />`}</td>
|
|
|
- <td class="recordScoreOperaBtn textCenter" style="opacity:${hasData('FUNC000017')?'1':'0.5'}">评分</td>`
|
|
|
+ <td class="textCenter">${i+1}</td>`
|
|
|
for(let j = 0; j < pageSet.length; j++){
|
|
|
if(pageSet[j].status == 1){
|
|
|
str += `<td class="${isTextCenter(pageSet[j].val) ? 'textCenter':''}"><span data-index=${i} class="${pageSet[j].val=='name'?'patientNameSpan':'' } ">${item[pageSet[j].val] || "-"}<span></td>`
|
|
@@ -418,8 +410,8 @@ function getPageSet(){
|
|
|
}
|
|
|
|
|
|
function renderTabTitle(data){
|
|
|
- let str = ` <th class="textCenter" ></th>
|
|
|
- <th class="recordScoreOpera textCenter" style="width: 65px;">操作</th>`
|
|
|
+ let str = `
|
|
|
+ <th class="textCenter" style="width: 65px;">序号</th>`
|
|
|
for(let i = 0; i < data.length; i++){
|
|
|
const item = data[i]
|
|
|
if(item.status == 1){
|
|
@@ -431,8 +423,6 @@ function renderTabTitle(data){
|
|
|
}
|
|
|
let operStr=`<td colspan="${showNum+2}" style="background: #fff">
|
|
|
<div class="tabFoot">
|
|
|
- <span class="scoreOpera" data-selectAll=false><img class="iconCheck" src="${iconUnCheck}" alt="checkbox">全选</span>
|
|
|
- <span class="recordScoreBtn">评分</span>
|
|
|
<span class="setCol"><img class="iconSetting" src=${require('./../images/setting.png')} alt="关闭" />列设置</span>
|
|
|
</div>
|
|
|
</td>`
|
|
@@ -898,8 +888,8 @@ $((function($){
|
|
|
"level": level,
|
|
|
"name": name
|
|
|
}
|
|
|
- expJson(api.exportQcList,param).then(res =>{
|
|
|
- downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
|
|
|
+ expJson(api.qcResultShortPageExport,param).then(res =>{
|
|
|
+ downloadExportedData(res.data, $(".partTitle").text()+".xls")
|
|
|
})
|
|
|
|
|
|
})
|