|
@@ -3,8 +3,8 @@
|
|
|
<crumbs
|
|
|
:title="
|
|
|
type === 'success'
|
|
|
- ? '开单合理性提醒-通用规则测试-成功条数'
|
|
|
- : '开单合理性提醒-通用规则测试-失败条数'
|
|
|
+ ? `${titleName}-通用规则测试-成功条数`
|
|
|
+ : `${titleName}-通用规则测试-失败条数`
|
|
|
"
|
|
|
class="topBack"
|
|
|
:param="$route.params"
|
|
@@ -142,7 +142,7 @@
|
|
|
<el-table-column
|
|
|
:resizable="false"
|
|
|
prop="ruleBaseHisDetailName"
|
|
|
- label="基础规则医院术语细则"
|
|
|
+ label="基础规则医院术语细项"
|
|
|
:show-overflow-tooltip="true"
|
|
|
className="collectTwo"
|
|
|
>
|
|
@@ -236,10 +236,10 @@ export default {
|
|
|
typeBaseList:[],
|
|
|
baseHosTxt:'',
|
|
|
whyTxt:'',
|
|
|
+ titleName:''
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- const localAuto = localStorage.getItem('localAuto');
|
|
|
let params = this.handleInitData();;
|
|
|
// if(localAuto&&!this.$route.param){
|
|
|
// params = JSON.parse(localAuto);
|
|
@@ -299,6 +299,7 @@ export default {
|
|
|
const localAuto = JSON.parse(localStorage.getItem('localAuto'));
|
|
|
const { data, type,hospitalName } = this.$route.params;
|
|
|
this.type = type||localAuto.type;
|
|
|
+ this.titleName = localAuto.caseName||data.caseName.split('_')[0]
|
|
|
return {
|
|
|
current: this.inCurrentPage || this.currentPage,
|
|
|
size: this.pageSize,
|
|
@@ -352,27 +353,19 @@ export default {
|
|
|
},
|
|
|
// 导出
|
|
|
exportData() {
|
|
|
-
|
|
|
- const localAuto = localStorage.getItem('localAuto');
|
|
|
- let parm;
|
|
|
- if(localAuto){
|
|
|
- parm = JSON.parse(localAuto);
|
|
|
- }else{
|
|
|
- parm = this.handleInitData();
|
|
|
- }
|
|
|
-
|
|
|
- let params = {
|
|
|
- success: parm.success,
|
|
|
- resultId: parm.resultId,
|
|
|
- billType: 1, //1:通用,2:输血
|
|
|
- };
|
|
|
+ let parm = this.handleInitData();
|
|
|
+ // let params = {
|
|
|
+ // success: parm.success,
|
|
|
+ // resultId: parm.resultId,
|
|
|
+ // billType: 1, //1:通用,2:输血
|
|
|
+ // };
|
|
|
this.$alert('确定要导出规则测试结果吗?', '', {
|
|
|
confirmButtonText: '确定',
|
|
|
title: '提示',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
.then(() => {
|
|
|
- api.ruleExportExcel(params).then((res) => {
|
|
|
+ api.ruleExportExcel(parm).then((res) => {
|
|
|
if (res.status === 200) {
|
|
|
this.$message({ message: '导出成功', type: 'success' });
|
|
|
utils.downloadExportedData(
|