Commit 7489aa07 by 唐玉峰

.

parent 82988876
......@@ -3,9 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --open ",
"build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build ",
"lint": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint"
"dev": "vue-cli-service serve --open ",
"build": "vue-cli-service build ",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@vue/composition-api": "^1.6.2",
......
......@@ -298,17 +298,15 @@
<div class="outaddrecordEnrollment_centent_totalnum_left">
<div class="outaddrecordEnrollment_centent_totalnum_left_text1">
<span>分组编码:{{ item.code }}</span>
<span>分组名称:{{ item.coreName }}</span>
<span class="one-txt-cut" :title="item.coreName">分组名称:{{ item.coreName }}</span>
<span>病种分值:{{ item.score }}</span>
<span>预计DIP支付费用:{{ decimal(item.actualfee) }}</span>
<span>分组类型:{{ item.disNature }}</span>
</div>
<!--
<div class="outaddrecordEnrollment_centent_totalnum_left_text3">
<span>预计DIP支付费用:{{ item.unitfee }}</span
><span>院内历年平均费用:{{ item.avgFee }}</span
><span>院内历年平均住院天数:{{ item.avgInHosDay }}</span>
</div> -->
<div class="outaddrecordEnrollment_centent_totalnum_left_text1">
<span>手术操作编码:{{ item.opsCode }}</span
><span class="one-txt-cut" :title="item.opsName">手术操作名称:{{ item.opsName }}</span>
</div>
</div>
<!-- <div class="outaddrecordEnrollment_centent_totalnum_right">
<div :id="`indexChart11` + index" class="outaddrecordEnrollment_centent_totalnum_right_echar1"></div>
......@@ -458,14 +456,8 @@ export default {
gosear() {
this.addrecordEnrollmentShow = true;
this.outaddsearchForm = {
diagName: this.casehisObj.drgs.code,
diagName: this.casehisObj.c03C || "",
};
if (this.outaddsearchForm.diagName) {
this.diagList.push({
diagCode: this.outaddsearchForm.diagName,
diagOrder: "0",
});
}
this.addsearch();
},
//获取基本数据
......@@ -572,55 +564,16 @@ export default {
},
//查询
addsearch() {
//诊断
if (this.otdiagName.length > 0 && this.outaddsearchForm.diagName) {
this.diagList.push({
diagCode: this.outaddsearchForm.diagName,
diagOrder: "0",
});
this.otdiagName.forEach((i) => {
this.diagList.push({
diagCode: i,
diagOrder: "1",
});
});
} else if (this.outaddsearchForm.diagName) {
//主诊断
if (this.outaddsearchForm.diagName) {
this.diagList.push({
diagCode: this.outaddsearchForm.diagName,
diagOrder: "0",
});
} else if (this.otdiagName.length > 0) {
this.otdiagName.forEach((i) => {
this.diagList.push({
diagCode: i,
diagOrder: "1",
});
});
}
// 手术
if (this.otopsName.length > 0 && this.outaddsearchForm.opsName) {
this.opsList.push({
opsCode: this.outaddsearchForm.opsName,
diagOrder: "0",
});
this.otopsName.forEach((i) => {
this.opsList.push({
opsCode: i,
diagOrder: "1",
});
});
} else if (this.outaddsearchForm.opsName) {
this.opsList.push({
opsCode: this.outaddsearchForm.opsName,
diagOrder: "0",
});
} else if (this.otopsName.length > 0) {
this.otopsName.forEach((i) => {
this.opsList.push({
opsCode: i,
diagOrder: "1",
});
});
if (!this.outaddsearchForm.diagName) {
Message.warning("请输入主诊断");
return;
}
this.addgetlist();
},
......@@ -1776,7 +1729,7 @@ export default {
height: 70vh;
overflow-y: auto;
&_totalnum {
padding: 15px;
// padding: 15px;
background-color: #fff;
margin: 12px;
display: flex;
......@@ -1785,9 +1738,9 @@ export default {
&_left {
flex: 1;
width: 50%;
padding: 5px 0;
background-color: rgba(44, 171, 227, 0.08);
margin: 0 15px;
// margin: 0 15px;
display: flex;
flex-direction: column;
align-items: center;
......@@ -1796,20 +1749,17 @@ export default {
width: 100%;
height: 30%;
display: flex;
margin-top: 5px;
margin-bottom: 10px;
justify-content: space-between;
justify-content: start;
span {
width: 50%;
width: 17%;
padding: 10px;
margin: 5px 10px;
background-color: #fff;
display: flex;
justify-content: start;
align-items: center;
// display: flex;
// justify-content: start;
// align-items: center;
font-size: 14px;
padding-left: 10px;
font-family: PingFang SC;
font-weight: 300;
color: #6a707e;
}
......
......@@ -9,86 +9,135 @@
<span class="color-666 font-14">{{ key }}</span>
</div>
</div>
<div>
<el-input
size="mini"
class="mar-right-10"
v-model.trim="a48"
style="width: 150px"
placeholder="请输入病案号"
clearable
@clear="search"
@keyup.enter.native="search"
>
</el-input>
<el-input
size="mini"
class="mar-right-10"
v-model.trim="a11"
style="width: 150px"
placeholder="请输入患者姓名"
clearable
@clear="search"
@keyup.enter.native="search"
>
</el-input>
<el-select
size="mini"
class="mar-right-10"
v-model.trim="b16C"
filterable
style="width: 150px"
placeholder="当前科室"
clearable
@clear="search"
>
<el-option v-for="item in deptList" :key="item.deptCode" :label="item.deptName" :value="item.deptCode"> </el-option>
</el-select>
<el-select v-model="isout" placeholder="是否出院" size="mini" class="mar-right-10" clearable style="width: 150px" @clear="search">
<el-option label="已出院" :value="1"> </el-option>
<el-option label="未出院" :value="0"> </el-option>
</el-select>
<el-select v-model="insuranceType" placeholder="医保类型" size="mini" class="mar-right-10" clearable style="width: 150px" @clear="search">
<el-option label="自费" :value="2"> </el-option>
<el-option label="医保" :value="1"> </el-option>
<el-option label="未填写" :value="0"> </el-option>
</el-select>
<el-select v-model="isjoin" placeholder="分组状态" size="mini" class="mar-right-10" clearable style="width: 150px" @clear="search">
<el-option label="已分组" :value="1"> </el-option>
<el-option label="未分组" :value="0"> </el-option>
</el-select>
<el-date-picker
v-model="time"
size="mini"
style="width: 210px"
type="daterange"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
class="mar-right-10"
@change="search"
@focus="search"
range-separator="至"
start-placeholder="入院日期"
end-placeholder="结束日期"
>
</el-date-picker>
<div class="flex-between">
<div>
<div class="mar-bottom-10">
<el-input
size="mini"
class="mar-right-10"
v-model.trim="a48"
style="width: 180px"
placeholder="请输入病案号"
clearable
@clear="search"
@keyup.enter.native="search"
>
</el-input>
<el-input
size="mini"
class="mar-right-10"
v-model.trim="a11"
style="width: 190px"
placeholder="请输入患者姓名"
clearable
@clear="search"
@keyup.enter.native="search"
>
</el-input>
<el-button
type="primary"
style="background: rgb(2, 131, 187); border-color: rgb(2, 131, 187)"
size="mini"
slot="append"
icon="el-icon-search"
@click="search"
>查询</el-button
>
<el-select
size="mini"
class="mar-right-10"
v-model.trim="b16C"
filterable
style="width: 180px"
placeholder="当前科室"
clearable
@clear="search"
>
<el-option v-for="item in deptList" :key="item.deptCode" :label="item.deptName" :value="item.deptCode"> </el-option>
</el-select>
<el-select v-model="isout" placeholder="是否出院" size="mini" class="mar-right-10" clearable style="width: 180px" @clear="search">
<el-option label="已出院" :value="1"> </el-option>
<el-option label="未出院" :value="0"> </el-option>
</el-select>
<el-select
v-model="insuranceType"
placeholder="医保类型"
size="mini"
class="mar-right-10"
clearable
style="width: 210px"
@clear="search"
>
<el-option label="自费" :value="2"> </el-option>
<el-option label="医保" :value="1"> </el-option>
<el-option label="未填写" :value="0"> </el-option>
</el-select>
</div>
<div>
<el-input
size="mini"
class="mar-right-10"
v-model.trim="doctorName"
style="width: 180px"
placeholder="请输入主治医生"
clearable
@clear="search"
@keyup.enter.native="search"
>
</el-input>
<el-input
size="mini"
class="mar-right-10"
v-model.trim="codeName"
style="width: 190px"
placeholder="请输入分组编码/分组名称"
clearable
@clear="search"
@keyup.enter.native="search"
>
</el-input>
<el-select
v-model="dis_type"
placeholder="请选择倍率"
size="mini"
class="mar-right-10"
clearable
style="width: 180px"
@clear="search"
>
<el-option label="高倍率病例" value="高倍率病例"> </el-option>
<el-option label="正常病例" value="正常病例"> </el-option>
<el-option label="低倍率病例" value="低倍率病例"> </el-option>
</el-select>
<el-select v-model="isjoin" placeholder="分组状态" size="mini" class="mar-right-10" clearable style="width: 180px" @clear="search">
<el-option label="已分组" :value="1"> </el-option>
<el-option label="未分组" :value="0"> </el-option>
</el-select>
<el-date-picker
v-model="value"
size="mini"
style="width: 210px"
type="daterange"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
class="mar-right-10"
@change="search"
range-separator="至"
start-placeholder="入院日期"
end-placeholder="结束日期"
>
</el-date-picker>
</div>
</div>
<div>
<el-button
type="primary"
style="background: rgb(2, 131, 187); border-color: rgb(2, 131, 187)"
size="mini"
slot="append"
icon="el-icon-search"
@click="search"
>查询</el-button
>
</div>
</div>
</div>
<div class="table flex-1 mar-top-20">
<el-table border ref="tableRef" height="93%" :data="tableData" size="mini">
<el-table-column align="center" type="index" width="50"></el-table-column>
<el-table-column prop="regcode" label="病案号" sortable align="center" min-width="120" show-overflow-tooltip>
<el-table border ref="tableRef" height="93%" :data="tableData" size="mini" :highlight-current-row="true">
<el-table-column align="center" type="index" width="50" fixed="left"></el-table-column>
<el-table-column prop="regcode" label="病案号" sortable align="center" min-width="120" show-overflow-tooltip fixed="left">
<template #default="scope">
<!-- 正常病例 低倍率病例 高倍率病例 dis_type-->
<div class="flex-center-center">
......@@ -97,7 +146,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="name" label="姓名" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column>
<el-table-column prop="name" label="姓名" sortable align="center" min-width="120" show-overflow-tooltip fixed="left"></el-table-column>
<el-table-column prop="inhostime" label="入院日期" sortable align="center" min-width="120" show-overflow-tooltip>
<template #default="scope">
<span>{{ scope.row.inhostime ? formatYMD(scope.row.inhostime) : "" }}</span>
......@@ -130,6 +179,11 @@
<el-table-column prop="disname" label="分组名称" sortable align="center" min-width="180" show-overflow-tooltip> </el-table-column>
<el-table-column prop="rw" label="实际分值" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column>
<el-table-column prop="standardrw" label="标准分值" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column>
<el-table-column label="二级医院标准分值" sortable align="center" min-width="160" show-overflow-tooltip>
<template #default="scope">
<span>{{ scope.row.isbasiclevel == "是" ? scope.row.standardrw : decimal(scope.row.standardrw * 0.8) }}</span>
</template>
</el-table-column>
<el-table-column prop="medactalfee" label="预计DIP支付费用" sortable align="center" min-width="140" show-overflow-tooltip>
<template #default="scope">
<span>{{ decimal(scope.row.medactalfee) }}</span>
......@@ -181,15 +235,18 @@ export default {
name: "patientinfo",
data() {
return {
time: "",
value: "",
pageNumber: 1,
pageSize: 10,
pageSize: 100,
a48: "",
a11: "",
b16C: "",
isjoin: null,
isout: null,
insuranceType: null,
doctorName: "",
codeName: "",
dis_type: "",
obj: {
正常病例: "#22d016",
低倍率病例: "#e9c622",
......@@ -200,8 +257,9 @@ export default {
deptList: [],
};
},
beforeMount() {},
mounted() {
this.time = [
this.value = [
`${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
];
......@@ -209,8 +267,8 @@ export default {
},
methods: {
decimal,
formatYMD(time) {
return dayjs(time).format("YYYY-MM-DD");
formatYMD(t) {
return dayjs(t).format("YYYY-MM-DD");
},
getDayNumByYearMonth(year, month) {
......@@ -247,8 +305,8 @@ export default {
//查询
search() {
this.pageSize = 10;
this.currentPage = 1;
this.pageSize = 100;
this.pageNumber = 1;
this.getList();
},
//获取频率,频率的下拉数据
......@@ -259,10 +317,13 @@ export default {
a48: this.a48,
a11: this.a11,
b16C: this.b16C,
beginDate: this.time ? this.time[0] : "",
endDate: this.time ? this.time[1] : "",
beginDate: this.value ? this.value[0] : "",
endDate: this.value ? this.value[1] : "",
isjoin: this.isjoin,
isout: this.isout,
doctorName: this.doctorName,
codeName: this.codeName,
dis_type: this.dis_type,
insuranceType: this.insuranceType,
};
http.post(`/screen/hos/GetHistoryList`, parmar)
......
......@@ -115,6 +115,28 @@
>
<el-form size="mini" :model="ruleForm" ref="ruleFormRef" label-width="100px" class="demo-ruleForm">
<el-form-item
label="路径名称"
:rules="[
{
required: true,
message: '请输入',
},
]"
>
<el-select
v-model="ruleForm.clinical_route_name"
style="width: 100%"
filterable
remote
reserve-keyword
placeholder="请输入关键词"
:remote-method="remoteMethod"
@change="cridChange"
>
<el-option v-for="item in options" :key="item.crid" :label="item.clinical_route_name" :value="item.crid"> </el-option>
</el-select>
</el-form-item>
<el-form-item
label="方案名称"
prop="advice_name"
:rules="[
......@@ -356,12 +378,14 @@ export default {
daysnum: 0,
describe: "",
crid: this.$route.query.cid ? parseInt(this.$route.query.cid) : 0,
clinical_route_name: this.$route.query.clinical_route_name,
},
formadd: {
leftaddtable: [],
},
currentRow: null,
type: 0,
options: [],
};
},
mounted() {
......@@ -369,6 +393,23 @@ export default {
this.GetMapCRAdviceType();
},
methods: {
remoteMethod(query) {
if (query !== "") {
setTimeout(() => {
this.GetCopyGetCRInfo(query);
}, 200);
} else {
this.options = [];
}
},
cridChange(e) {
this.ruleForm.crid = e;
},
GetCopyGetCRInfo(query) {
http.post(`/ClinicalRoute/ClinicalRoute/CopyGetCRInfo?searchQuery=${query}`, {}).then((data) => {
this.options = data;
});
},
querySearch(queryString, cb) {
const results = queryString ? this.typeList.filter(this.createFilter(queryString)) : this.typeList;
cb(results);
......@@ -427,6 +468,7 @@ export default {
daysnum: parseInt(row.daysnum), //项目名称
describe: row.describe, //项目名称
crid: this.$route.query.cid ? parseInt(this.$route.query.cid) : 0,
clinical_route_name: this.$route.query.clinical_route_name,
};
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment